GNU bug report logs - #75470
[PATCH gnome-team 00/59] To 46.7 and beyond

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Thu, 9 Jan 2025 21:50:03 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 75470 <at> debbugs.gnu.org
Cc: liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu
Subject: [bug#75470] [PATCH gnome-team 12/59] gnu: libgweather: Update to 4.4.4.
Date: Thu, 9 Jan 2025 22:38:04 +0100
* gnu/packages/gnome.scm (libgweather): Update to 4.4.4.
[#:phases]: Add ‘set-home’.
[native-inputs]: Add gi-docgen.
[inputs]: Add json-glib.  Replace libsoup-minimal-2 with libsoup and
geocode-glib-with-libsoup2 with geocode-glib.
---
 gnu/packages/gnome.scm | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index faacb275bc..e9e25bb141 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5998,7 +5998,7 @@ (define-public upower
 (define-public libgweather
   (package
     (name "libgweather")
-    (version "40.0")
+    (version "4.4.4")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -6006,7 +6006,7 @@ (define-public libgweather
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna"))))
+                "10s2pyf96yj287929px8jfbkda7bn76vzr2mqgyx3xydadvnf5vh"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -6014,11 +6014,18 @@ (define-public libgweather
       #:configure-flags
       #~(list (string-append "-Dzoneinfo_dir="
                              (search-input-directory %build-inputs
-                                                     "share/zoneinfo")))))
+                                                     "share/zoneinfo")))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-home
+            (lambda _
+              ;; Build writes to $HOME via fontconfig.
+              (setenv "HOME" (getcwd)))))))
     (native-inputs
      (list gettext-minimal
            `(,glib "bin")               ;for glib-mkenums
            gobject-introspection
+           gi-docgen
            pkg-config
            python
            vala
@@ -6028,12 +6035,13 @@ (define-public libgweather
      ;; libsoup.
      (list gtk+
            gdk-pixbuf
+           json-glib
            libxml2
-           libsoup-minimal-2
-           geocode-glib-with-libsoup2))
+           libsoup
+           geocode-glib))
     (inputs
      (list tzdata))
-    (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
+    (home-page "https://gnome.pages.gitlab.gnome.org/libgweather/")
     (synopsis "Location, time zone, and weather library for GNOME")
     (description
      "libgweather is a library to access weather information from online
-- 
2.47.1





This bug report was last modified 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.