mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
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>
This commit is contained in:
parent
94bbc4e410
commit
011db530aa
1 changed files with 8 additions and 2 deletions
|
@ -341,10 +341,16 @@ (define-public owncloud-client
|
||||||
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
|
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
|
||||||
#t))
|
#t))
|
||||||
(delete 'patch-dot-desktop-files))
|
(delete 'patch-dot-desktop-files))
|
||||||
#:configure-flags '("-DUNIT_TESTING=ON"
|
#:configure-flags `("-DUNIT_TESTING=ON"
|
||||||
;; build without qtwebkit, which causes the
|
;; build without qtwebkit, which causes the
|
||||||
;; package to FTBFS while looking for QWebView.
|
;; 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
|
(native-inputs
|
||||||
`(("cmocka" ,cmocka)
|
`(("cmocka" ,cmocka)
|
||||||
("extra-cmake-modules" ,extra-cmake-modules)
|
("extra-cmake-modules" ,extra-cmake-modules)
|
||||||
|
|
Loading…
Reference in a new issue