lilyp pushed a commit to branch gnome-team
in repository guix.
commit 5f91fb70a7d38ecf738e5e23557d7650d496ad13
Author: Liliana Marie Prikler <[email protected]>
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 23177cdac3..4b87e50c83 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10736,7 +10736,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 "/"
@@ -10744,7 +10744,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
@@ -10755,11 +10755,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