[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47672: [PATCH] gnu: owncloud-client: Fix sysconfdir path
From: |
Daniel Meißner |
Subject: |
bug#47672: [PATCH] gnu: owncloud-client: Fix sysconfdir path |
Date: |
Wed, 16 Jun 2021 14:16:10 +0200 |
Hi,
I have also noticed this issue and found a fix here:
https://github.com/owncloud/client/issues/8373
Somehow sysconfdir is not set correctly so that owncloud searched for
sync-exclude.lst in the relative path etc/ownCloud/sync-exclude.lst instead
of the /gnu/store/...-owncloud-client/etc/ownCloud/sync-exclude.lst.
The following patch fixes this behaviour:
* gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to
configure flags.
---
gnu/packages/sync.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 2b64117dc6..f9c3855e08 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -341,10 +341,16 @@ See also: megacmd, the official tool set by MEGA.")
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
#t))
(delete 'patch-dot-desktop-files))
- #:configure-flags '("-DUNIT_TESTING=ON"
- ;; build without qtwebkit, which causes the
- ;; package to FTBFS while looking for QWebView.
- "-DNO_SHIBBOLETH=1")))
+ #:configure-flags `("-DUNIT_TESTING=ON"
+ ;; build without qtwebkit, which causes the
+ ;; package to FTBFS while looking for QWebView.
+ "-DNO_SHIBBOLETH=1"
+ ;; Fix sync-exclude.list problem
+ ;; See:
https://github.com/owncloud/client/issues/8373
+ ;; See: https://issues.guix.gnu.org/47672
+ ,(string-append "-DSYSCONF_INSTALL_DIR="
+ (assoc-ref %outputs "out")
+ "/etc"))))
(native-inputs
`(("cmocka" ,cmocka)
("extra-cmake-modules" ,extra-cmake-modules)
--
2.32.0
Best regards
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#47672: [PATCH] gnu: owncloud-client: Fix sysconfdir path,
Daniel Meißner <=