[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/27: gnu: libsoup-minimal: Update to 3.4.4.
From: |
guix-commits |
Subject: |
21/27: gnu: libsoup-minimal: Update to 3.4.4. |
Date: |
Tue, 19 Dec 2023 17:51:27 -0500 (EST) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit 89f79f7129ddfa4140f32440de369afa499025f4
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Sat Dec 2 16:08:01 2023 +0100
gnu: libsoup-minimal: Update to 3.4.4.
The option to build documentation has changed between libsoup 2 and libsoup
3.
The failing socket test has been moved to a different file.
libsoup-minimal-2 introduces a new phase to disable tests, however the
'adjust-tests phase of libsoup-minimal must be removed. For simplicity, we
use
the 'adjust-tests name for the phase of all variants.
* gnu/packages/gnome.scm (libsoup-minimal): Update to 3.4.4.
[#:configure-flags]: Change name of docs option.
[#:phases]<adjust-tests>: Change the file name of socket test.
(libsoup-minimal-2) [arguments]: Override #:configure-flags.
[#:phases]: Override 'adjust-tests.
(libsoup) [version]: Remove field.
[source]: Remove field.
[#:configure-flags]: Replace -Ddocs=disabled with -Ddocs=enabled.
Change-Id: Iace1bf0f1d805a0eed7e484a7cd496ac04631b32
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/gnome.scm | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4da80c67bb..38ed25a5e4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5021,7 +5021,7 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
(define-public libsoup-minimal
(package
(name "libsoup-minimal")
- (version "3.0.7")
+ (version "3.4.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/libsoup/"
@@ -5029,17 +5029,17 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and
Maps.")
"libsoup-" version ".tar.xz"))
(sha256
(base32
- "1j7p3cz6hwi9js9rp0pbas7cdln97yg9v2l1nv5imhcr6p7r1pzb"))))
+ "1an5n2sa70f40my4g20lk38s5ib99c32bzzg8gm91v9nbxr6f719"))))
(build-system meson-build-system)
(arguments
- `(#:configure-flags '("-Dgtk_doc=false")
+ `(#:configure-flags '("-Ddocs=disabled")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'adjust-tests
(lambda _
;; This test fails due to missing /etc/nsswitch.conf
;; in the build environment.
- (substitute* "tests/socket-test.c"
+ (substitute* "tests/unix-socket-test.c"
((".*/sockets/unconnected.*") ""))
;; These fail because "subdomain.localhost" does not resolve in
@@ -5095,9 +5095,13 @@ and the GLib main loop, to integrate well with GNOME
applications.")
"04rgv6hkyhgi7lak9865yxgbgky6gc635p7w6nhcbj64rx0prdz4"))))
(arguments
(substitute-keyword-arguments (package-arguments libsoup-minimal)
+ ((#:configure-flags configure-flags)
+ ;; The option name changed between libsoup 2 and libsoup 3.
+ #~(cons "-Dgtk_doc=false"
+ (delete "-Ddocs=disabled" #$configure-flags)))
((#:phases phases)
`(modify-phases ,phases
- (add-after 'unpack 'disable-failing-tests
+ (replace 'adjust-tests
(lambda _
;; Disable the SSL test, failing since 2.68 and resolved in
;; libsoup 3.
@@ -5110,20 +5114,13 @@ and the GLib main loop, to integrate well with GNOME
applications.")
(define-public libsoup
(package/inherit libsoup-minimal
(name "libsoup")
- (version "3.4.4")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/libsoup/"
- (version-major+minor version) "/"
- "libsoup-" version ".tar.xz"))
- (sha256
- (base32
- "1an5n2sa70f40my4g20lk38s5ib99c32bzzg8gm91v9nbxr6f719"))))
(outputs (cons "doc" (package-outputs libsoup-minimal)))
(arguments
(substitute-keyword-arguments (package-arguments libsoup-minimal)
((#:configure-flags configure-flags)
- #~(delete "-Dgtk_doc=false" #$configure-flags))
+ #~(cons "-Ddocs=enabled"
+ ;; The default value is 'auto', meaning it could be skipped.
+ (delete "-Ddocs=disabled" #$configure-flags)))
((#:phases phases)
#~(modify-phases #$phases
(replace 'adjust-tests
- 18/27: gnu: json-glib: Update to 1.6.6., (continued)
- 18/27: gnu: json-glib: Update to 1.6.6., guix-commits, 2023/12/19
- 20/27: gnu: libsoup: Update to 3.4.4., guix-commits, 2023/12/19
- 22/27: gnu: libsoup-minimal: Update style., guix-commits, 2023/12/19
- 10/27: gnu: rygel: Improve style., guix-commits, 2023/12/19
- 17/27: gnu: gtkmm-3: Update to 3.24.8., guix-commits, 2023/12/19
- 27/27: gnu: vala: Update to 0.56.14., guix-commits, 2023/12/19
- 07/27: gnu: harfbuzz: Update to 8.3.0., guix-commits, 2023/12/19
- 08/27: gnu: mutter: Update to 44.7., guix-commits, 2023/12/19
- 11/27: gnu: Add xdg-desktop-portal-gnome., guix-commits, 2023/12/19
- 23/27: gnu: mm-common: Update to 1.0.5., guix-commits, 2023/12/19
- 21/27: gnu: libsoup-minimal: Update to 3.4.4.,
guix-commits <=
- 26/27: gnu: yelp-xsl: Update to 42.1., guix-commits, 2023/12/19
- 12/27: gnu: gnome: Propagate xdg-desktop-portal-gnome., guix-commits, 2023/12/19
- 09/27: gnu: gnome-shell: Update to 44.7., guix-commits, 2023/12/19
- 15/27: gnu: gnome-backgrounds: Update to 44.0., guix-commits, 2023/12/19
- 02/27: gnu: Add python-dbus-python., guix-commits, 2023/12/19
- 05/27: gnu: gtk-frdp: Improve wording., guix-commits, 2023/12/19
- 04/27: Revert "gnu: sysprof: Do not propagate libadwaita.", guix-commits, 2023/12/19
- 13/27: gnu: gdk-pixbuf: Update to 2.42.10., guix-commits, 2023/12/19
- 19/27: gnu: libnotify: Update to 0.8.3., guix-commits, 2023/12/19
- 25/27: gnu: yelp-tools: Update to 42.1., guix-commits, 2023/12/19