From ac7539d423b602a10e8ffbb1021e238b53f9ec51 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Thu, 9 Jan 2025 22:38:04 +0100 Subject: [PATCH] gnu: libgweather: Update to 4.4.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 ac321170555121d564dc833bf620775fb38166d1..4a587ed87a8028baff55fb22ad29d73047665137 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -6004,7 +6004,7 @@ service via the system message bus.") (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 "/" @@ -6012,7 +6012,7 @@ service via the system message bus.") name "-" version ".tar.xz")) (sha256 (base32 - "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna")))) + "10s2pyf96yj287929px8jfbkda7bn76vzr2mqgyx3xydadvnf5vh")))) (build-system meson-build-system) (arguments (list @@ -6020,11 +6020,18 @@ service via the system message bus.") #: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 @@ -6034,12 +6041,13 @@ service via the system message bus.") ;; 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