[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
129/217: gnu: libsoup: Update to 3.0.1.
From: |
guix-commits |
Subject: |
129/217: gnu: libsoup: Update to 3.0.1. |
Date: |
Sun, 14 Nov 2021 19:21:02 -0500 (EST) |
vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 1d6a39c6825eb07cd3ab8b91836ec608dead9403
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Oct 16 02:26:34 2021 -0400
gnu: libsoup: Update to 3.0.1.
* gnu/packages/gnome.scm (libsoup-minimal): Update to 3.0.1.
[modules]: Delete argument.
[phases]{adjust-tests}: Re-enable ssl-test.
[native-inputs]: Add gnutls, for tests. Move nghttp2:lib to...
[propagated-inputs]: ... here. Add nghttp2, which contains the pkg-config
files.
(vala-0.52): Add older variant.
(libsoup-minimal-2): New variable.
(rest)[propagated-inputs]: Use libsoup-minimal-2.
(geoclue)[inputs]: Likewise.
* gnu/packages/inkscape.scm (inkscape)[inputs]: Likewise.
---
gnu/packages/gnome.scm | 71 ++++++++++++++++++++++++++++++++++-------------
gnu/packages/inkscape.scm | 2 +-
2 files changed, 53 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a422868..a8a3a76 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4408,6 +4408,19 @@ the GObject type system and has additional code
generation routines that make
targeting the GNOME stack simple.")
(license license:lgpl2.1+)))
+;;; An older variant kept to build libsoup-minimal-2.
+(define-public vala-0.52
+ (package/inherit vala
+ (version "0.52.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/vala/"
+ (version-major+minor version) "/"
+ "vala-" version ".tar.xz"))
+ (sha256
+ (base32
+ "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
+
(define-public vte
(package
(name "vte")
@@ -4824,7 +4837,7 @@ from the GSettings schemas in gsettings-desktop-schemas.")
(propagated-inputs
;; rest-0.7.pc refers to all these.
`(("glib" ,glib)
- ("libsoup" ,libsoup-minimal)
+ ("libsoup" ,libsoup-minimal-2)
("libxml2" ,libxml2)))
(home-page "https://www.gtk.org/")
(synopsis "RESTful web api query library")
@@ -4838,7 +4851,7 @@ libxml to ease remote use of the RESTful API.")
(define-public libsoup-minimal
(package
(name "libsoup-minimal")
- (version "2.72.0")
+ (version "3.0.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/libsoup/"
@@ -4846,14 +4859,10 @@ libxml to ease remote use of the RESTful API.")
"libsoup-" version ".tar.xz"))
(sha256
(base32
- "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
+ "0ixwj6d0ryvana6lq1fmbbbin0f2wd5n9iv4ynb8nigq21nk233g"))))
(build-system meson-build-system)
(arguments
- `(#:modules ((guix build utils)
- (guix build meson-build-system)
- (ice-9 popen))
-
- #:configure-flags '("-Dgtk_doc=false")
+ `(#:configure-flags '("-Dgtk_doc=false")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'adjust-tests
@@ -4871,14 +4880,9 @@ libxml to ease remote use of the RESTful API.")
((".*/hsts/superdomain.*") "")
((".*/hsts/utf8-address.*") ""))
(substitute* "tests/hsts-db-test.c"
- ((".*/hsts-db/subdomains.*") ""))
-
- ;; FIXME: ssl-test fails, starting with
- ;; glib-networking 2.68.x.
- (substitute* "tests/meson.build"
- (("[ \t]*\\['ssl', true, \\[\\]\\],") "")))))))
+ ((".*/hsts-db/subdomains.*") "")))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ `(("glib:bin" ,glib "bin") ;for glib-mkenums
("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("pkg-config" ,pkg-config)
@@ -4886,19 +4890,22 @@ libxml to ease remote use of the RESTful API.")
("vala" ,vala)
("php" ,php)
("curl" ,curl)
+ ("gnutls" ,gnutls) ;for 'certtool'
("httpd" ,httpd)))
(propagated-inputs
- ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
+ ;; libsoup-3.0.pc refers to all of these (except where otherwise noted)
`(("brotli" ,brotli)
("glib" ,glib)
- ("glib-networking" ,glib-networking) ; for GIO runtime modules
+ ("glib-networking" ,glib-networking) ; for GIO runtime modules
("libpsl" ,libpsl)
+ ("nghttp2" ,nghttp2) ;for pkg-config
+ ("nghttp2:lib" ,nghttp2 "lib")
("libxml2" ,libxml2)
("sqlite" ,sqlite)
("zlib" ,zlib)))
(inputs
`(("mit-krb5" ,mit-krb5)
- ("ntlm_auth" ,samba))) ; For ntlm_auth support
+ ("ntlm_auth" ,samba))) ; For ntlm_auth support
(home-page "https://wiki.gnome.org/Projects/libsoup")
(synopsis "GLib-based HTTP Library")
(description
@@ -4906,6 +4913,32 @@ libxml to ease remote use of the RESTful API.")
and the GLib main loop, to integrate well with GNOME applications.")
(license license:lgpl2.0+)))
+;;; An older variant kept to build the 'rest' package.
+(define-public libsoup-minimal-2
+ (package/inherit libsoup-minimal
+ (version "2.72.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/libsoup/"
+ (version-major+minor version) "/"
+ "libsoup-" version ".tar.xz"))
+ (sha256
+ (base32
+ "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments libsoup-minimal)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; Disable the SSL test, failing since 2.68 and resolved in
+ ;; libsoup 3.
+ (substitute* "tests/meson.build"
+ (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))))))))
+ (native-inputs
+ (cons `("vala" ,vala-0.52)
+ (delete "vala" (package-native-inputs libsoup-minimal))))))
+
(define-public libsoup
(package/inherit libsoup-minimal
(name "libsoup")
@@ -5339,7 +5372,7 @@ output devices.")
("glib:bin" ,glib "bin")
("glib-networking" ,glib-networking)
("json-glib" ,json-glib)
- ("libsoup" ,libsoup)))
+ ("libsoup" ,libsoup-minimal-2)))
(home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
(synopsis "Geolocation service")
(description "Geoclue is a D-Bus service that provides location
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 2328410..ed40322 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -206,7 +206,7 @@ endif()~%~%"
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("libgc" ,libgc)
- ("libsoup" ,libsoup-minimal)
+ ("libsoup" ,libsoup-minimal-2)
("libcdr" ,libcdr)
("libvisio" ,libvisio)
("libwpd" ,libwpd)
- 95/217: gnu: Move a few Python packages to (gnu packages python-build)., (continued)
- 95/217: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/11/14
- 93/217: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/11/14
- 98/217: gnu: Add python-tomli., guix-commits, 2021/11/14
- 99/217: gnu: python-setuptools-scm: Update to 6.3.2, guix-commits, 2021/11/14
- 102/217: gnu: meson: Patch to allow installing to independent prefixes., guix-commits, 2021/11/14
- 101/217: gnu: python-pathlib2: Update to 2.3.6., guix-commits, 2021/11/14
- 111/217: gnu: colord-minimal: Introduce minimal variant., guix-commits, 2021/11/14
- 116/217: gnu: mesa: Update to 21.2.4., guix-commits, 2021/11/14
- 128/217: gnu: libsoup: Reverse inheritance relationship with libsoup-minimal., guix-commits, 2021/11/14
- 132/217: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/14
- 129/217: gnu: libsoup: Update to 3.0.1.,
guix-commits <=
- 130/217: gnu: webkitgtk: Use libsoup 3 and build with GCC., guix-commits, 2021/11/14
- 131/217: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/11/14
- 134/217: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/11/14
- 139/217: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/14
- 147/217: gnu: nss: Update to 3.71., guix-commits, 2021/11/14
- 145/217: gnu: mariadb: Only run the main test suite to avoid flaky tests., guix-commits, 2021/11/14
- 151/217: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/14
- 153/217: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/14
- 156/217: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/14
- 161/217: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/14