[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/181: gnu: libgweather4: Update to 4.1.1 and run tests.
From: |
guix-commits |
Subject: |
54/181: gnu: libgweather4: Update to 4.1.1 and run tests. |
Date: |
Tue, 13 Sep 2022 02:25:27 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7a03ab6ef7ccba59a1a773fd8768fff540625ace
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Sep 11 20:36:43 2022 -0400
gnu: libgweather4: Update to 4.1.1 and run tests.
* gnu/packages/gnome.scm (libgweather4): Update to 4.1.1.
[tests?]: Delete argument.
[configure-flags]: Remove -Dgtk_doc=false.
[phases]{pre-check}: Rename to...
{set-HOME}: ... this.
{disable-problematic-tests}: New phase.
{check}: Move after install phase.
[native-inputs]: Add gi-docgen, glibc-utf8-locales and
gsettings-desktop-schemas.
[propagated-inputs]: Add json-glib2. Replace libsoup-minimal-2 with
libsoup.
(libgweather4-with-libsoup2): New variable.
---
gnu/packages/gnome.scm | 54 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 40 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6fd87cc978..7dd3b12e72 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5660,7 +5660,7 @@ services for numerous locations.")
(package
(inherit libgweather)
(name "libgweather4")
- (version "4.0.0")
+ (version "4.1.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/libgweather/"
@@ -5668,38 +5668,64 @@ services for numerous locations.")
"libgweather-" version ".tar.xz"))
(sha256
(base32
- "0k43mr7vmcg14lkwjk6p9wwy3zlw23wkfpkfcy6b8wkg3f0483a4"))))
+ "1wh3asniv5yiqp0dsk96as2bkx72hamh3ij2md8k0is9yd7ppbjm"))))
(arguments
(list
- ;; FIXME: multiple tests fails as such:
- ;; "GLib-GIO-FATAL-ERROR: Settings schema 'org.gnome.system.proxy'
- ;; is not installed"
- #:tests? #f
#:configure-flags
#~(list (string-append "-Dzoneinfo_dir="
(search-input-directory %build-inputs
- "share/zoneinfo"))
- ;; TODO: Requires 'gi-docgen'.
- "-Dgtk_doc=false")
+ "share/zoneinfo")))
#:phases
#~(modify-phases %standard-phases
- (add-before 'check 'pre-check
+ (add-after 'unpack 'set-HOME
(lambda _
- (setenv "HOME" "/tmp"))))))
+ (setenv "HOME" "/tmp")))
+ (add-after 'unpack 'disable-problematic-tests
+ (lambda _
+ (substitute* "libgweather/tests/meson.build"
+ ;; The timezones test fails for unknown reasons (see:
+ ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
+ ((".*'name': 'timezones'.*") "")
+ ;; The 'metar' test is known to fail, fixed but not yet
released
+ ;; upstream (see:
+ ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
+ ((".*'name': 'metar'.*") ""))))
+ (delete 'check) ;move after the install phase
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check)))))
(native-inputs
(list gettext-minimal
+ gi-docgen
`(,glib "bin") ;for glib-mkenums
gobject-introspection
+ glibc-utf8-locales
+ gsettings-desktop-schemas
pkg-config
python
- vala
- python-pygobject))
+ python-pygobject
+ vala))
;; TODO: It would be good to make the package respect TZDIR instead
;; of using a "hard coded" version of tzdata.
(inputs (list tzdata))
(propagated-inputs
;; gweather4.pc refers to all of these.
- (list glib libxml2 libsoup-minimal-2 geocode-glib))))
+ (list geocode-glib
+ glib
+ json-glib
+ libsoup
+ libxml2))))
+
+(define-public libgweather4-with-libsoup2
+ (package
+ (inherit libgweather4)
+ (name "libgweather4-with-libsoup2")
+ (arguments (substitute-keyword-arguments (package-arguments libgweather4)
+ ((#:configure-flags flags)
+ #~(cons "-Dsoup2=true" #$flags))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs libgweather4)
+ (replace "geocode-glib" geocode-glib-with-libsoup2)
+ (replace "libsoup" libsoup-minimal-2)))))
(define-public gnome-settings-daemon
(package
- 173/181: gnu: arc-theme: Update to 20220405., (continued)
- 173/181: gnu: arc-theme: Update to 20220405., guix-commits, 2022/09/13
- 175/181: gnu: Add libshumate., guix-commits, 2022/09/13
- 174/181: gnu: gnome-shell: Use libsoup 3 to fix tests., guix-commits, 2022/09/13
- 181/181: gnu: gnome-screenshot: Remove meson patch., guix-commits, 2022/09/13
- 110/181: gnu: seahorse: Update to 42.0., guix-commits, 2022/09/13
- 155/181: gnu: setzer: Update to 0.4.8., guix-commits, 2022/09/13
- 153/181: gnu: gnote: Update to 42.1., guix-commits, 2022/09/13
- 167/181: gnu: gnucash: Update to 4.11 and use gexps., guix-commits, 2022/09/13
- 75/181: gnu: gnome-keyring: Update to 42.1 and enable tests., guix-commits, 2022/09/13
- 85/181: gnu: gnome-tweaks: Update to 40.10., guix-commits, 2022/09/13
- 54/181: gnu: libgweather4: Update to 4.1.1 and run tests.,
guix-commits <=
- 95/181: gnu: gssdp: Update to 1.5.2, guix-commits, 2022/09/13
- 115/181: gnu: devhelp: Update to 41.3., guix-commits, 2022/09/13
- 108/181: gnu: libwnck: Update to 40.1., guix-commits, 2022/09/13
- 158/181: gnu: jsonrpc-glib: Update to 3.42.0., guix-commits, 2022/09/13
- 170/181: gnu: Add folks-with-libsoup2., guix-commits, 2022/09/13
- 157/181: gnu: piper: Update to 0.7 and enable tests., guix-commits, 2022/09/13
- 169/181: gnu: libgweather: Use geocode-glib-with-libsoup2., guix-commits, 2022/09/13
- 164/181: gnu: evolution-data-server: Update to 3.45.3., guix-commits, 2022/09/13
- 165/181: gnu: evolution: Update to 3.45.3., guix-commits, 2022/09/13
- 172/181: gnu: chatty: Fix build., guix-commits, 2022/09/13