me
/
guix
Archived
1
0
Fork 0

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.
master
Maxim Cournoyer 2021-10-16 02:26:34 -04:00
parent 698e6f17bb
commit f7d88cd470
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
2 changed files with 53 additions and 20 deletions

View File

@ -4409,6 +4409,19 @@ the GObject type system and has additional code generation routines that make
targeting the GNOME stack simple.") targeting the GNOME stack simple.")
(license license:lgpl2.1+))) (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 (define-public vte
(package (package
(name "vte") (name "vte")
@ -4825,7 +4838,7 @@ from the GSettings schemas in gsettings-desktop-schemas.")
(propagated-inputs (propagated-inputs
;; rest-0.7.pc refers to all these. ;; rest-0.7.pc refers to all these.
`(("glib" ,glib) `(("glib" ,glib)
("libsoup" ,libsoup-minimal) ("libsoup" ,libsoup-minimal-2)
("libxml2" ,libxml2))) ("libxml2" ,libxml2)))
(home-page "https://www.gtk.org/") (home-page "https://www.gtk.org/")
(synopsis "RESTful web api query library") (synopsis "RESTful web api query library")
@ -4839,7 +4852,7 @@ libxml to ease remote use of the RESTful API.")
(define-public libsoup-minimal (define-public libsoup-minimal
(package (package
(name "libsoup-minimal") (name "libsoup-minimal")
(version "2.72.0") (version "3.0.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/libsoup/" (uri (string-append "mirror://gnome/sources/libsoup/"
@ -4847,14 +4860,10 @@ libxml to ease remote use of the RESTful API.")
"libsoup-" version ".tar.xz")) "libsoup-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p")))) "0ixwj6d0ryvana6lq1fmbbbin0f2wd5n9iv4ynb8nigq21nk233g"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:modules ((guix build utils) `(#:configure-flags '("-Dgtk_doc=false")
(guix build meson-build-system)
(ice-9 popen))
#:configure-flags '("-Dgtk_doc=false")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'adjust-tests (add-after 'unpack 'adjust-tests
@ -4872,14 +4881,9 @@ libxml to ease remote use of the RESTful API.")
((".*/hsts/superdomain.*") "") ((".*/hsts/superdomain.*") "")
((".*/hsts/utf8-address.*") "")) ((".*/hsts/utf8-address.*") ""))
(substitute* "tests/hsts-db-test.c" (substitute* "tests/hsts-db-test.c"
((".*/hsts-db/subdomains.*") "")) ((".*/hsts-db/subdomains.*") "")))))))
;; FIXME: ssl-test fails, starting with
;; glib-networking 2.68.x.
(substitute* "tests/meson.build"
(("[ \t]*\\['ssl', true, \\[\\]\\],") "")))))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums `(("glib:bin" ,glib "bin") ;for glib-mkenums
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool) ("intltool" ,intltool)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
@ -4887,13 +4891,16 @@ libxml to ease remote use of the RESTful API.")
("vala" ,vala) ("vala" ,vala)
("php" ,php) ("php" ,php)
("curl" ,curl) ("curl" ,curl)
("gnutls" ,gnutls) ;for 'certtool'
("httpd" ,httpd))) ("httpd" ,httpd)))
(propagated-inputs (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) `(("brotli" ,brotli)
("glib" ,glib) ("glib" ,glib)
("glib-networking" ,glib-networking) ; for GIO runtime modules ("glib-networking" ,glib-networking) ; for GIO runtime modules
("libpsl" ,libpsl) ("libpsl" ,libpsl)
("nghttp2" ,nghttp2) ;for pkg-config
("nghttp2:lib" ,nghttp2 "lib")
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("sqlite" ,sqlite) ("sqlite" ,sqlite)
("zlib" ,zlib))) ("zlib" ,zlib)))
@ -4907,6 +4914,32 @@ libxml to ease remote use of the RESTful API.")
and the GLib main loop, to integrate well with GNOME applications.") and the GLib main loop, to integrate well with GNOME applications.")
(license license:lgpl2.0+))) (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 (define-public libsoup
(package/inherit libsoup-minimal (package/inherit libsoup-minimal
(name "libsoup") (name "libsoup")
@ -5340,7 +5373,7 @@ output devices.")
("glib:bin" ,glib "bin") ("glib:bin" ,glib "bin")
("glib-networking" ,glib-networking) ("glib-networking" ,glib-networking)
("json-glib" ,json-glib) ("json-glib" ,json-glib)
("libsoup" ,libsoup))) ("libsoup" ,libsoup-minimal-2)))
(home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home") (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
(synopsis "Geolocation service") (synopsis "Geolocation service")
(description "Geoclue is a D-Bus service that provides location (description "Geoclue is a D-Bus service that provides location

View File

@ -206,7 +206,7 @@ endif()~%~%"
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("libxslt" ,libxslt) ("libxslt" ,libxslt)
("libgc" ,libgc) ("libgc" ,libgc)
("libsoup" ,libsoup-minimal) ("libsoup" ,libsoup-minimal-2)
("libcdr" ,libcdr) ("libcdr" ,libcdr)
("libvisio" ,libvisio) ("libvisio" ,libvisio)
("libwpd" ,libwpd) ("libwpd" ,libwpd)