lilyp pushed a commit to branch gnome-team in repository guix. commit 1973c111addc0abe4737afc9e890d2a8a8661bad Author: Liliana Marie Prikler <liliana.prik...@gmail.com> AuthorDate: Sat Jul 13 19:43:49 2024 +0200
gnu: gnome-calendar: Update to 46.1. * gnu/packages/gnome.scm (gnome-calendar): Update to 46.1. [#:phases]: Add ‘pre-check’ to set TZDIR and TZ. [native-inputs]: Add tzdata-for-tests. --- gnu/packages/gnome.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0c18776fa8..792464417d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10740,7 +10740,7 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.") (define-public gnome-calendar (package (name "gnome-calendar") - (version "44.1") + (version "46.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -10748,7 +10748,7 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.") name "-" version ".tar.xz")) (sha256 (base32 - "0zmpyd5qgryrxflgcapfp6jxph3z31qycs148r715gbhnqwbg89h")))) + "15q8c70mis5inllrw9k6nlscazicajvmx98bd4h7nnxxi9xzyqcq")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t @@ -10759,11 +10759,18 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.") (lambda _ (substitute* "meson.build" (("gtk_update_icon_cache: true") - "gtk_update_icon_cache: false"))))))) + "gtk_update_icon_cache: false")))) + (add-before 'check 'pre-check + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (setenv "TZDIR" + (search-input-directory + (or native-inputs inputs) "share/zoneinfo")) + (setenv "TZ" "UTC")))))) (native-inputs (list gettext-minimal `(,glib "bin") ; For glib-compile-schemas - pkg-config)) + pkg-config + tzdata-for-tests)) (inputs (list evolution-data-server geoclue