gnu: libgda: Do not use the bundled sqlite.

* gnu/packages/gnome.scm (libgda)[source]: Add snippet.
[arguments]: Pass "--enable-system-sqlite".
[inputs]: Add SQLITE.
This commit is contained in:
Ludovic Courtès 2021-12-03 09:03:18 +01:00
parent 634b46a469
commit 3f03f502ee
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -12703,10 +12703,15 @@ (define-public libgda
version "." "_")))))
(file-name (git-file-name name version))
(sha256
(base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
(base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))
(modules '((guix build utils)))
(snippet
;; Remove the bundled sqlite, but keep its header because code relies
;; on this header variant.
'(delete-file "libgda/sqlite/sqlite-src/sqlite3.c"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--enable-vala")
`(#:configure-flags '("--enable-system-sqlite" "--enable-vala")
;; There's a race between check_cnc_lock and check_threaded_cnc
;; in tests/multi-threading.
#:parallel-tests? #f
@ -12745,6 +12750,7 @@ (define-public libgda
("libsecret" ,libsecret)
("libxslt" ,libxslt)
("openssl" ,openssl)
("sqlite" ,sqlite)
("vala" ,vala)))
(native-inputs
`(("autoconf" ,autoconf)