[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: owncloud-client: Fix sysconfdir path
From: |
guix-commits |
Subject: |
02/02: gnu: owncloud-client: Fix sysconfdir path |
Date: |
Mon, 11 Oct 2021 09:23:23 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 011db530aa329ac9160441322a6d55e27fe77df2
Author: Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
AuthorDate: Wed Jun 16 14:16:10 2021 +0200
gnu: owncloud-client: Fix sysconfdir path
Somehow sysconfdir was 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.
* gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to
configure flags.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/sync.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index c1c1e7d..e9fc913 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"
+ #:configure-flags `("-DUNIT_TESTING=ON"
;; build without qtwebkit, which causes the
;; package to FTBFS while looking for QWebView.
- "-DNO_SHIBBOLETH=1")))
+ "-DNO_SHIBBOLETH=1"
+ ;; Fix sync-exclude.list problem, see
+ ;; <https://github.com/owncloud/client/issues/8373>
+ ;; <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)