diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-08-06 17:42:36 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-07 13:44:24 +0100 |
commit | c8bdf589c97cc4e5276d434d11d4186252f15b80 (patch) | |
tree | cfdf786043b92eaa9c351a99bc65f8cd32c105cd | |
parent | 8356aefafc9ccd40874b2eb46644d996a00b8fc2 (diff) | |
download | gnu-guix-c8bdf589c97cc4e5276d434d11d4186252f15b80.tar gnu-guix-c8bdf589c97cc4e5276d434d11d4186252f15b80.tar.gz |
gnu: tracker: Update to 2.0.4.
* gnu/packages/gnome.scm (tracker): Update to 2.0.4.
[arguments]: Add phases "disable-broken-tests" and "pre-check"; enable tests.
[inputs]: Remove nettle, add python.
-rw-r--r-- | gnu/packages/gnome.scm | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3e0d2f4daa..b4fbda72b2 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5917,7 +5917,7 @@ easy, safe, and automatic.") (define-public tracker (package (name "tracker") - (version "1.12.3") + (version "2.0.4") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -5925,8 +5925,43 @@ easy, safe, and automatic.") name "-" version ".tar.xz")) (sha256 (base32 - "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3")))) + "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf")))) (build-system glib-or-gtk-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-broken-tests + (lambda _ + ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings + ;; schema 'org.freedesktop.Tracker.FTS' is not installed. + (substitute* "tests/libtracker-miner/Makefile.in" + (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "") + (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "") + (("tracker-monitor-test\\$\\(EXEEXT\\)") "")) + (substitute* "tests/libtracker-fts/Makefile.in" + (("tracker-fts-test\\$\\(EXEEXT\\)") "")) + (substitute* "tests/libtracker-data/Makefile.in" + (("tracker-ontology\\$\\(EXEEXT\\)") "") + (("tracker-ontology-change\\$\\(EXEEXT\\)") "") + (("tracker-backup\\$\\(EXEEXT\\)") "") + (("tracker-sparql-blank\\$\\(EXEEXT\\)") "") + (("tracker-sparql\\$\\(EXEEXT\\)") "")) + ;; These fail because the SPARQL backend could not be loaded. + ;; That's because /etc/machine-id is missing, but + ;; DBUS_FATAL_WARNINGS does not help here. + (substitute* "tests/libtracker-sparql/Makefile.in" + (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "") + (("tracker-sparql-test\\$\\(EXEEXT\\)") "")) + (substitute* "tests/tracker-steroids/Makefile.in" + (("tracker-test\\$\\(EXEEXT\\)") "")) + #t)) + ;; Two tests fail if LANG is not set. + (add-before 'check 'pre-check + (lambda _ + (setenv "LANG" "en_US.UTF-8") + ;; For the missing /etc/machine-id. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t))))) (native-inputs `(("gnome-common" ,gnome-common) ("gobject-introspection" ,gobject-introspection) @@ -5940,6 +5975,7 @@ easy, safe, and automatic.") ("gst-plugins-base" ,gst-plugins-base) ("sqlite" ,sqlite) ("nettle" ,nettle) ; XXX why is this needed? + ("python" ,python) ("poppler" ,poppler) ("libgsf" ,libgsf) ("libexif" ,libexif) @@ -5961,7 +5997,6 @@ easy, safe, and automatic.") ("libseccomp" ,libseccomp) ("libsoup" ,libsoup) ("libuuid" ,util-linux))) - (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail) (synopsis "Metadata database, indexer and search tool") (home-page "https://wiki.gnome.org/Projects/Tracker") (description |