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

commit 4e4953bb107dc9f1edea5f54602b227dcc95bc06
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Wed Jul 17 22:41:53 2024 +0200

    gnu: gnome-weather: Update to 46.0.
    
    * gnu/packages/gnome.scm (gnome-weather): Update to 46.0.
    [#:phases]<disable-gtk-update-icon-cache>: Adjust accordingly.
    [inputs]: Add desktop-file-utils.
---
 gnu/packages/gnome.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d9cefbdd4e..842b7b8ab3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10279,7 +10279,7 @@ associations for GNOME.")
 (define-public gnome-weather
   (package
     (name "gnome-weather")
-    (version "44.0")
+    (version "46.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -10287,7 +10287,7 @@ associations for GNOME.")
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1brvjawwc69a49697mp0dq4glpvvvcsnx4i8ysfnjhahg2n3h3bb"))))
+                "17fllgkvsbsklnazxap4rg2bg2cf5xwgqkgyy8a2wrygbiq2cf0m"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -10302,7 +10302,9 @@ associations for GNOME.")
                                 "/bin/gnome-weather")))))
           (add-after 'unpack 'disable-gtk-update-icon-cache
             (lambda _
-              (setenv "DESTDIR" "/")))
+              (substitute* "meson.build"
+               (("gtk_update_icon_cache: true")
+                "gtk_update_icon_cache: false"))))
           (add-after 'install 'fix-desktop-file
             ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
             ;; reason.  See https://issues.guix.gnu.org/issue/39324.
@@ -10319,7 +10321,8 @@ associations for GNOME.")
                 `("GI_TYPELIB_PATH" ":" prefix
                   (,(getenv "GI_TYPELIB_PATH")))))))))
     (native-inputs
-     (list gettext-minimal
+     (list desktop-file-utils
+           gettext-minimal
            `(,glib "bin")
            gobject-introspection
            pkg-config))

Reply via email to