gnu: tracker: Update to 3.1.2.
* gnu/packages/gnome.scm (tracker): Update to 3.1.2. [arguments]<#:configure-flags>: Fix the rpath. Do not build docs and do not use systemd. <#:phases>: Add 'set-shell and 'fix-paths phases. Merge the 'pre-check phase into the new replaced 'check phase. [native-inputs]: Add docbook-xsl, docbook-xml-4.5, gsettings-desktop-schemas, asciidoc, xsltproc, cmake-minimal, gtk-doc and dbus.
This commit is contained in:
parent
d075684860
commit
2a489b01f6
@ -8683,7 +8683,7 @@ easy, safe, and automatic.")
|
|||||||
(define-public tracker
|
(define-public tracker
|
||||||
(package
|
(package
|
||||||
(name "tracker")
|
(name "tracker")
|
||||||
(version "2.3.5")
|
(version "3.1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/tracker/"
|
(uri (string-append "mirror://gnome/sources/tracker/"
|
||||||
@ -8691,7 +8691,7 @@ easy, safe, and automatic.")
|
|||||||
"tracker-" version ".tar.xz"))
|
"tracker-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
|
"13zcc07wd51sz7kglk3xbjrsq7d835cxfr7iwjr7nn2xcri8jdns"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:glib-or-gtk? #t
|
`(#:glib-or-gtk? #t
|
||||||
@ -8699,19 +8699,41 @@ easy, safe, and automatic.")
|
|||||||
;; Otherwise, the RUNPATH will lack the final path component.
|
;; Otherwise, the RUNPATH will lack the final path component.
|
||||||
(list (string-append "-Dc_link_args=-Wl,-rpath="
|
(list (string-append "-Dc_link_args=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out") "/lib:"
|
(assoc-ref %outputs "out") "/lib:"
|
||||||
(assoc-ref %outputs "out") "/lib/tracker-2.0"))
|
(assoc-ref %outputs "out") "/lib/tracker-3.0")
|
||||||
|
"-Ddocs=false"
|
||||||
|
"-Dsystemd_user_services=false")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'pre-check
|
(add-before 'configure 'set-shell
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Some tests expect to write to $HOME.
|
(setenv "SHELL" (which "bash"))))
|
||||||
(setenv "HOME" "/tmp")
|
(add-before 'configure 'fix-paths
|
||||||
#t)))))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
|
||||||
|
(file (search-input-file inputs manpage)))
|
||||||
|
(substitute* "docs/manpages/meson.build"
|
||||||
|
(("/etc/asciidoc[^']+")
|
||||||
|
file)))))
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
;; Some tests expect to write to $HOME.
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
|
(invoke "dbus-run-session" "--" "meson" "test"
|
||||||
|
"--print-errorlogs")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin")
|
`(("glib:bin" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
("docbook-xsl" ,docbook-xsl)
|
||||||
|
("docbook-xml-4.5" ,docbook-xml)
|
||||||
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
||||||
|
("asciidoc" ,asciidoc)
|
||||||
|
("xsltproc" ,libxslt)
|
||||||
|
("cmake-minimal" ,cmake-minimal)
|
||||||
("python-pygobject" ,python-pygobject)
|
("python-pygobject" ,python-pygobject)
|
||||||
|
("gtk-doc" ,gtk-doc/stable)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
|
("dbus" ,dbus)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("vala" ,vala)))
|
("vala" ,vala)))
|
||||||
(inputs
|
(inputs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user