* gnu/packages/geo.scm (gnome-maps): Update to 46.10.
[arguments]: Add phase to setup time zones for a new test.
[native-inputs]: Add libportal and tzdata-for-tests.
Change-Id: Ife9b17eda68662d2adb289acfeacf1dc8f179a46
---
gnu/packages/geo.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Toggle diff (62 lines)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 985fa77231..1dd0c7ba92 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2022 Roman Scherer <roman.scherer@burningswell.com>
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2024 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -83,6 +84,7 @@ (define-module (gnu packages geo)
#:use-module (gnu packages flex)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
@@ -472,7 +474,7 @@ (define-public geos
(define-public gnome-maps
(package
(name "gnome-maps")
- (version "44.5")
+ (version "46.10")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -480,7 +482,7 @@ (define-public gnome-maps
name "-" version ".tar.xz"))
(sha256
(base32
- "026488yb6azwb2sm0yy0iaipk914l3agvb7d8azks4kyjqlslyb8"))))
+ "1br1ak0cwvvv8rszj9ffyvir7qcbxys940ygy22dzzn2l2byw9az"))))
(build-system meson-build-system)
(arguments
(list
@@ -496,6 +498,12 @@ (define-public gnome-maps
"update_desktop_database"))
(string-append option ": false"))
(else all))))))
+ (add-before 'check 'check-setup
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ ;; for timeTest
+ (setenv "TZDIR"
+ (search-input-directory (or native-inputs inputs)
+ "share/zoneinfo"))))
(add-after 'install 'wrap
(lambda _
(let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
@@ -510,7 +518,9 @@ (define-public gnome-maps
(list gettext-minimal
`(,glib "bin")
gobject-introspection
- pkg-config))
+ libportal
+ pkg-config
+ tzdata-for-tests))
(inputs
(list folks
evolution-data-server