guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/84: gnu: gnome-calendar: Update to 46.1.


From: guix-commits
Subject: 11/84: gnu: gnome-calendar: Update to 46.1.
Date: Sat, 9 Nov 2024 03:54:31 -0500 (EST)

lilyp pushed a commit to branch gnome-team
in repository guix.

commit 8b04a8ea660d6dd5c77f7be61a3306cb851f837c
Author: Liliana Marie Prikler <liliana.prikler@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 c5916ee2a4..17f574310a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10663,7 +10663,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 "/"
@@ -10671,7 +10671,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
@@ -10682,11 +10682,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]