gnu: gnome-maps: Update to 46.10.

* 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
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Jonathan Brielmaier 2024-05-08 14:51:38 +02:00 committed by Christopher Baines
parent 7db57257d5
commit 173420d73c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -23,6 +23,7 @@
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2024 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -84,6 +85,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)
@ -473,7 +475,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 "/"
@ -481,7 +483,7 @@ (define-public gnome-maps
name "-" version ".tar.xz"))
(sha256
(base32
"026488yb6azwb2sm0yy0iaipk914l3agvb7d8azks4kyjqlslyb8"))))
"1br1ak0cwvvv8rszj9ffyvir7qcbxys940ygy22dzzn2l2byw9az"))))
(build-system meson-build-system)
(arguments
(list
@ -497,6 +499,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")))
@ -511,7 +519,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