me
/
guix
Archived
1
0
Fork 0

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>
master
Daniel Meißner 2021-06-16 14:16:10 +02:00 committed by Liliana Marie Prikler
parent 94bbc4e410
commit 011db530aa
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 8 additions and 2 deletions

View File

@ -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)