mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: sqlite: Build with column metadata.
* gnu/packages/sqlite.scm (sqlite)[arguments]: Add configure flag to enable column metadata. (sqlite-with-column-metadata): Remove variable. * gnu/packages/fontutils.scm (fontmanager)[inputs]: Replace sqlite-with-column-metadata with sqlite. * gnu/packages/messaging (dino)[inputs]: Ditto. * gnu/packages/music.scm (clementine)[inputs]: Ditto. * gnu/packages/qt.scm (qtbase)[inputs]: Ditto. * gnu/packages/telephony.scm (jami)[inputs]: Remove sqlite-with-column-metadata. [arguments]: Remove custom 'wrap phase.
This commit is contained in:
parent
8456f9fcd9
commit
fad5b1a6d8
6 changed files with 8 additions and 39 deletions
|
@ -762,7 +762,7 @@ (define-public fontmanager
|
|||
("desktop-file-utils" ,desktop-file-utils)))
|
||||
(inputs
|
||||
`(("json-glib" ,json-glib)
|
||||
("sqlite-with-column-metadata" ,sqlite-with-column-metadata)
|
||||
("sqlite" ,sqlite)
|
||||
("fonconfig" ,fontconfig)
|
||||
("freetype" ,freetype)
|
||||
("gtk+" ,gtk+)))
|
||||
|
|
|
@ -753,7 +753,7 @@ (define-public dino
|
|||
("libgcrypt" ,libgcrypt)
|
||||
("libsoup" ,libsoup)
|
||||
("qrencode" ,qrencode)
|
||||
("sqlite" ,sqlite-with-column-metadata)
|
||||
("sqlite" ,sqlite)
|
||||
("gpgme" ,gpgme)
|
||||
("gtk+" ,gtk+)
|
||||
("glib-networking" ,glib-networking)
|
||||
|
|
|
@ -297,7 +297,7 @@ (define-public clementine
|
|||
("pulseaudio" ,pulseaudio)
|
||||
("qtbase" ,qtbase)
|
||||
("qtx11extras" ,qtx11extras)
|
||||
("sqlite" ,sqlite-with-column-metadata)
|
||||
("sqlite" ,sqlite)
|
||||
("sparsehash" ,sparsehash)
|
||||
("taglib" ,taglib)))
|
||||
(home-page "https://clementine-player.org")
|
||||
|
|
|
@ -189,7 +189,7 @@ (define-public qt-4
|
|||
("postgresql" ,postgresql)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("pcre2" ,pcre2)
|
||||
("sqlite" ,sqlite-with-column-metadata)
|
||||
("sqlite" ,sqlite)
|
||||
("udev" ,eudev)
|
||||
("unixodbc" ,unixodbc)
|
||||
("wayland" ,wayland)
|
||||
|
@ -385,7 +385,7 @@ (define-public qtbase
|
|||
("pcre2" ,pcre2)
|
||||
("postgresql" ,postgresql)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("sqlite" ,sqlite-with-column-metadata)
|
||||
("sqlite" ,sqlite)
|
||||
("unixodbc" ,unixodbc)
|
||||
("xcb-util" ,xcb-util)
|
||||
("xcb-util-image" ,xcb-util-image)
|
||||
|
|
|
@ -74,7 +74,8 @@ (define-public sqlite
|
|||
(list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
|
||||
"-DSQLITE_ENABLE_FTS3 "
|
||||
"-DSQLITE_ENABLE_UNLOCK_NOTIFY "
|
||||
"-DSQLITE_ENABLE_DBSTAT_VTAB"))))
|
||||
"-DSQLITE_ENABLE_DBSTAT_VTAB "
|
||||
"-DSQLITE_ENABLE_COLUMN_METADATA"))))
|
||||
(home-page "https://www.sqlite.org/")
|
||||
(synopsis "The SQLite database management system")
|
||||
(description
|
||||
|
@ -83,15 +84,3 @@ (define-public sqlite
|
|||
widely deployed SQL database engine in the world. The source code for SQLite
|
||||
is in the public domain.")
|
||||
(license license:public-domain)))
|
||||
|
||||
;; This is used by Qt.
|
||||
(define-public sqlite-with-column-metadata
|
||||
(package/inherit sqlite
|
||||
(name "sqlite-with-column-metadata")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments sqlite)
|
||||
((#:configure-flags flags)
|
||||
`(list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
|
||||
"-DSQLITE_ENABLE_UNLOCK_NOTIFY "
|
||||
"-DSQLITE_ENABLE_DBSTAT_VTAB "
|
||||
"-DSQLITE_ENABLE_COLUMN_METADATA")))))))
|
||||
|
|
|
@ -60,7 +60,6 @@ (define-module (gnu packages telephony)
|
|||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages serialization)
|
||||
#:use-module (gnu packages speech)
|
||||
#:use-module (gnu packages sqlite)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages upnp)
|
||||
#:use-module (gnu packages video)
|
||||
|
@ -858,19 +857,7 @@ (define-public jami
|
|||
("clutter-gtk" ,clutter-gtk)
|
||||
("gettext" ,gnu-gettext)
|
||||
("libcanberra" ,libcanberra)
|
||||
("webkitgtk" ,webkitgtk)
|
||||
;; TODO: We must wrap ring-client-gnome to force using the
|
||||
;; `sqlite-with-column-metadata' package instead of `sqlite' or else it
|
||||
;; fails with:
|
||||
;;
|
||||
;; /gnu/store/...-qtbase-5.11.2/lib/qt5/plugins/sqldrivers/libqsqlite.so:
|
||||
;; undefined symbol: sqlite3_column_table_name16
|
||||
;;
|
||||
;; qtbase is built against sqlite-with-column-metadata but somehow
|
||||
;; jami-client-gnome ends up with both `sqlite' and
|
||||
;; `sqlite-with-column-metadata' as inputs and it seems that
|
||||
;; libqsqlite.so gets confused.
|
||||
("sqlite" ,sqlite-with-column-metadata)))
|
||||
("webkitgtk" ,webkitgtk)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("glib:bin" ,glib "bin")
|
||||
|
@ -886,13 +873,6 @@ (define-public jami
|
|||
(add-after 'unpack 'change-directory
|
||||
(lambda _
|
||||
(chdir "client-gnome")
|
||||
#t))
|
||||
(add-after 'install 'wrap
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(path (string-append (assoc-ref inputs "sqlite") "/lib")))
|
||||
(wrap-program (string-append out "/bin/gnome-ring")
|
||||
`("LD_LIBRARY_PATH" ":" prefix (,path))))
|
||||
#t)))))
|
||||
(synopsis "Distributed multimedia communications platform")
|
||||
(description "Jami (formerly GNU Ring) is a secure and distributed voice,
|
||||
|
|
Loading…
Reference in a new issue