guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit 387016cec6284807965d159e21715d7e3c160c69
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Thu Dec 11 20:34:23 2025 +0100
gnu: librest: Update to 0.10.2.
* gnu/packages/gnome.scm (rest): Deprecate in favor of and rename to…
(librest): … this.
Update to 0.10.2.
[build-system]: Switch to meson-build-system.
[arguments]: Convert to list of G-Expressions.
<#:configure-flags>: Adjust accordingly.
[native-inputs]: Add gi-docgen.
[inputs]: Replace libsoup-minimal-2 with libsoup. Ad json-glib.
(gnome-recipes, gnome-online-miners, gnome-initial-setup)
(libzapojit, endeavour, gfbgraph)[inputs]: Replace rest with librest.
(msgraph)[inputs]: Replace rest-next with librest.
(gnome-online-accounts-3.44)[inputs]: Don't replace librest.
* gnu/packages/geo.scm (gnome-maps): Replace rest-next with librest.
* gnu/packages/gtk.scm (gtk+, gtk): Replace rest with librest.
---
gnu/packages/geo.scm | 2 +-
gnu/packages/gnome.scm | 93 ++++++++++++++------------------------------------
gnu/packages/gtk.scm | 4 +--
3 files changed, 28 insertions(+), 71 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index b80d499264..f49ce019d6 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -560,12 +560,12 @@ topology functions.")
libadwaita
libgee
libgweather
+ librest
librsvg
libsecret
libshumate
libsoup
libxml2
- rest-next
webkitgtk-for-gtk3))
(synopsis "Graphical map viewer and wayfinding program")
(description "GNOME Maps is a graphical map viewer. It uses map data from
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index aab387b0d4..d71ebcbba3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -822,8 +822,8 @@ patterns.")
gtk+
json-glib
libcanberra
- libsoup
- rest))
+ librest
+ libsoup))
(native-inputs (list desktop-file-utils ;for update-desktop-database
gettext-minimal
`(,glib "bin")
@@ -1251,7 +1251,7 @@ in the GNOME desktop.")
("libgdata" ,libgdata)
("libgfbgraph" ,gfbgraph)
("libzapojit" ,libzapojit)
- ("rest" ,rest)
+ ("rest" ,librest)
("tracker" ,tracker)))
(synopsis "Web Crawlers for GNOME")
(description "GNOME Online Miners provides a set of crawlers that
@@ -1504,11 +1504,11 @@ extraction, and lookup for applications on the
desktop.")
libgweather
libnma
libpwquality
+ librest
libsecret
network-manager
packagekit
polkit
- rest-next
tecla
upower
webkitgtk))
@@ -4961,28 +4961,30 @@ File Shredder, it uses the GNU Core Utility called
shred to securely delete
files.")
(license license:gpl3+)))
-(define-public rest
+(define-public librest
(package
- (name "rest")
- (version "0.8.1")
+ (name "librest")
+ (version "0.10.2")
(source (origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/rest/"
+ (uri (string-append "mirror://gnome/sources/librest/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
- "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
- (build-system gnu-build-system)
+ "1f69hl8qbmp7hsa0j28cvcj31232rdfr41ghvjkwy8ispc9bjv3v"))))
+ (outputs (list "out" "doc"))
+ (build-system meson-build-system)
(arguments
- '(#:tests? #f ; tests require internet connection
- #:configure-flags
- '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
+ (list #:tests? #f ; tests require internet connection
+ #:configure-flags
+ #~(list "-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt"
+ "-Dexamples=false")))
(native-inputs
- (list `(,glib "bin") gobject-introspection pkg-config))
+ (list `(,glib "bin") gi-docgen gobject-introspection pkg-config))
(propagated-inputs
- ;; rest-0.7.pc refers to all these.
- (list glib libsoup-minimal-2 libxml2))
+ ;; rest-0.10.pc refers to all these.
+ (list glib json-glib libsoup libxml2))
(home-page "https://www.gtk.org/")
(synopsis "RESTful web api query library")
(description
@@ -4991,50 +4993,7 @@ claim to be \"RESTful\". It includes convenience
wrappers for libsoup and
libxml to ease remote use of the RESTful API.")
(license license:lgpl2.1+)))
-(define-public rest-next
- (package
- (inherit rest)
- (name "rest")
- (version "0.9.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/rest/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
- (build-system meson-build-system)
- (arguments (substitute-keyword-arguments
- (strip-keyword-arguments
- '(#:tests?)
- (package-arguments rest))
- ((#:configure-flags _)
- ;; Do not build the optional 'librest-demo' program as it
- ;; depends on gtksourceview and libadwaita and thus,
- ;; indirectly, on Rust.
- #~(list "-Dexamples=false"))
- ((#:phases phases '%standard-phases)
- #~(modify-phases #$phases
- (add-after 'unpack 'disable-problematic-tests
- ;; These tests require networking.
- (lambda _
- (substitute* "tests/meson.build"
- ((".*'flickr',.*") "")
- ((".*'lastfm',.*") ""))))
- (add-before 'check 'prepare-for-tests
- (lambda _
- (setenv "HOME" "/tmp")))))))
- (native-inputs
- (modify-inputs (package-native-inputs rest)
- (append gettext-minimal
- gi-docgen
- gsettings-desktop-schemas)))
- (inputs (list json-glib))
- (propagated-inputs
- (modify-inputs (package-propagated-inputs rest)
- (replace "libsoup-minimal" libsoup)
- (append json-glib)))))
+(define-deprecated-package rest librest)
(define-public libshumate
(package
@@ -7005,7 +6964,7 @@ part of udev-extras, then udev, then systemd. It's now a
project on its own.")
(base32
"1c6xkxx2c1jqhy56pfbsmnk418n1rm2fgqyrgi3hf2kzrc0fhhpd"))))
(build-system meson-build-system)
(native-inputs (list gi-docgen gobject-introspection pkg-config uhttpmock))
- (inputs (list gnome-online-accounts json-glib libsoup rest))
+ (inputs (list gnome-online-accounts json-glib libsoup librest))
(home-page "https://gnome.pages.gitlab.gnome.org/msgraph/")
(synopsis "GLib library for accessing MS Graph APIs")
(description "This package provides a GLib-based library for accessing
@@ -8138,8 +8097,8 @@ window manager.")
gcr
json-glib
libsecret
+ librest
mit-krb5
- rest-next
webkitgtk))
(synopsis "Single sign-on framework for GNOME")
(home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
@@ -8177,7 +8136,6 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and
Kerberos.")
#~(modify-phases #$phases
(delete 'disable-gtk-update-icon-cache)))))
(inputs (modify-inputs (package-inputs gnome-online-accounts)
- (replace "rest" rest)
(replace "webkitgtk" webkitgtk-with-libsoup2)))))
(define-public evolution-data-server
@@ -10220,8 +10178,7 @@ associations for GNOME.")
pkg-config))
(propagated-inputs
;; These dependencies are required by govirt-1.0.pc.
- (list glib
- rest-next))
+ (list glib librest))
(synopsis "GoVirt Library")
(description "GoVirt is a GObject wrapper for the oVirt REST API.")
(home-page "https://gitlab.gnome.org/GNOME/libgovirt")
@@ -10619,7 +10576,7 @@ library.")
gtk-doc/stable gobject-introspection
intltool libtool pkg-config))
(inputs
- (list gnome-online-accounts json-glib rest))
+ (list gnome-online-accounts json-glib librest))
(home-page "https://wiki.gnome.org/Projects/Zapojit")
(synopsis "Library for accessing SkyDrive and Hotmail")
(description
@@ -10763,7 +10720,7 @@ desktop. It supports multiple calendars, month, week
and year view.")
itstool
pkg-config))
(inputs
- (list rest ;for Todoist plugin
+ (list librest ;for Todoist plugin
gtk
json-glib ;for Todoist plugin
libadwaita
@@ -11063,7 +11020,7 @@ compiled.")
(inputs
(list gnome-online-accounts
json-glib
- rest))
+ librest))
(synopsis "GLib/GObject wrapper for the Facebook API")
(description "This library allows you to use the Facebook API from
GLib/GObject code.")
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8459ee2abf..fe68677410 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1038,7 +1038,7 @@ application suites.")
iso-codes/pinned
json-glib-minimal
libxml2
- rest))
+ librest))
(native-inputs
(list docbook-xml-4.3
docbook-xsl
@@ -1357,9 +1357,9 @@ application suites.")
libgudev ;for gstreamer-gl
libjpeg-turbo
libpng
+ librest
libtiff
python
- rest
tracker)) ;for filechooser search support
(propagated-inputs
;; Following dependencies are referenced in .pc files.