me
/
guix
Archived
1
0
Fork 0

gnu: tracker: Update to 3.6.0.

* gnu/packages/gnome.scm (tracker): Update to 3.6.0.
[#:phases]: Add 'disable-failing-tests'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
master
Vivien Kraus 2023-09-17 13:29:18 +02:00 committed by Liliana Marie Prikler
parent e68bf6e1f4
commit 0dfbb723a0
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 18 additions and 2 deletions

View File

@ -9398,7 +9398,7 @@ easy, safe, and automatic.")
(define-public tracker
(package
(name "tracker")
(version "3.5.3")
(version "3.6.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/tracker/"
@ -9406,7 +9406,7 @@ easy, safe, and automatic.")
"tracker-" version ".tar.xz"))
(sha256
(base32
"1vi878f95a2nlvqz46ph6f05hywjb2ni0znqavhdkrbvi6qchrhl"))))
"1whdqidxmagsc35pmz9kcc5vs3bmvbkmnis7prnx3zxs37z2qnaj"))))
(build-system meson-build-system)
(arguments
(list
@ -9428,6 +9428,22 @@ easy, safe, and automatic.")
(substitute* "utils/trackertestutils/__main__.py"
(("/bin/bash")
(search-input-file inputs "bin/bash")))))
(add-after 'unpack 'disable-failing-tests
(lambda _
#$@(if (target-x86-32?)
;; On 32-bit systems, the far away dates are incorrect,
;; and the floats are not parsed exactly.
'((substitute*
"tests/libtracker-sparql/tracker-statement-test.c"
(("g_assert_cmpfloat *\\((.*), ==, ([0-9.e-]+)\\);"
total actual expected)
(string-append "g_assert_cmpfloat_with_epsilon ("
actual ", " expected ", 1e-12);")))
(substitute* "tests/core/tracker-sparql-test.c"
(("\\{ \"datetime/direct-1\", .* \\},")
"/* datetime test disabled */")))
'())
*unspecified*))
(add-before 'configure 'set-shell
(lambda _
(setenv "SHELL" (which "bash"))))