Subject: [bug#72202] [PATCH 28/38] gnu: gnome-weather: Update to 46.0.

From: Liliana Marie Prikler <[email-masked]>
Date: Wed, 17 Jul 2024 22:41:53 +0200

* 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 a6c242e595..d83ad01e14 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10246,7 +10246,7 @@ (define-public libgovirt
 (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 "/"
@@ -10254,7 +10254,7 @@ (define-public gnome-weather
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1brvjawwc69a49697mp0dq4glpvvvcsnx4i8ysfnjhahg2n3h3bb"))))
+                "17fllgkvsbsklnazxap4rg2bg2cf5xwgqkgyy8a2wrygbiq2cf0m"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -10269,7 +10269,9 @@ (define-public gnome-weather
                                 "/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.
@@ -10286,7 +10288,8 @@ (define-public gnome-weather
                 `("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))
-- 
2.45.2