gnu: gcr: Update to 4.0.0.

* gnu/packages/gnome.scm (gcr): Update to 4.0.0.
(gcr-3): New variable for current version.
(libgdata)[propagated-inputs]: Replace gcr with gcr-3.
(gnome-keyring)[inputs]: Likewise.
(seahorse)[inputs]: Likewise.
(gnome-settings-daemon)[inputs]: Likewise.
(gvfs)[inputs]: Likewise.
(epiphany)[inputs]: Likewise.
(gexiv2)[inputs]: Likewise.
(shotwell)[inputs]: Likewise.
(gnome-online-accounts)[inputs]: Likewise.
(evolution-data-server)[inputs]: Likewise.
(network-manager-openconnect)[inputs]: Likewise.
(network-manager-applet)[inputs]: Likewise.
(gnome-shell)[inputs]: Likewise.
(evolution)[inputs]: Likewise.
(geary)[inputs]: Likewise.
* gnu/packages/gnome-xyz.scm (gpaste)[native-inputs]: Likewise.
* gnu/packages/gnupg.scm (pinentry-gnome3)[inputs]: Likewise.
* gnu/packages/suckless.scm (surf)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (midori)[inputs]: Likewise.
This commit is contained in:
Liliana Marie Prikler 2023-08-20 09:00:33 +02:00
parent baf5b07454
commit 35a9ebf83e
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
5 changed files with 56 additions and 33 deletions

View file

@ -1030,7 +1030,7 @@ notebooks and tiling window managers.")
(search-patches "gpaste-fix-paths.patch")))) (search-patches "gpaste-fix-paths.patch"))))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
(list gcr (list gcr-3
gettext-minimal gettext-minimal
gobject-introspection gobject-introspection
(list glib "bin") ; for glib-compile-resources (list glib "bin") ; for glib-compile-resources

View file

@ -1775,7 +1775,7 @@ client devices can handle.")
pkg-config pkg-config
vala)) vala))
(inputs (inputs
(list gcr (list gcr-3
(if (supported-package? gtk) gtk gtk+) (if (supported-package? gtk) gtk gtk+)
iso-codes iso-codes
mobile-broadband-provider-info mobile-broadband-provider-info
@ -2021,7 +2021,7 @@ formats like PNG, SVG, PDF and EPS.")
(inputs (inputs
(list cyrus-sasl glib-networking vala)) (list cyrus-sasl glib-networking vala))
(propagated-inputs (propagated-inputs
`(("gcr" ,gcr) `(("gcr" ,gcr-3)
("glib" ,glib) ("glib" ,glib)
("gnome-online-accounts" ,gnome-online-accounts) ("gnome-online-accounts" ,gnome-online-accounts)
("json-glib" ,json-glib) ("json-glib" ,json-glib)
@ -2373,7 +2373,7 @@ the font would look under various sizes.")
(define-public gcr (define-public gcr
(package (package
(name "gcr") (name "gcr")
(version "3.41.1") (version "4.0.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -2381,7 +2381,7 @@ the font would look under various sizes.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv")))) "0z7cviri25qy2v042hw6x731bj1azpx8plrd7ssbmrqf9y95an64"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list (list
@ -2394,10 +2394,10 @@ the font would look under various sizes.")
(substitute* (find-files "." "^meson\\.build$") (substitute* (find-files "." "^meson\\.build$")
((".*'--fatal-warnings',.*") "")))) ((".*'--fatal-warnings',.*") ""))))
(add-after 'unpack 'skip-gtk-update-icon-cache (add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _ (lambda _
(substitute* "meson_post_install.py" (substitute* "meson.build"
(("gtk-update-icon-cache") "true")))) (("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false"))))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda _ (lambda _
;; Some tests expect to write to $HOME. ;; Some tests expect to write to $HOME.
@ -2432,11 +2432,9 @@ the font would look under various sizes.")
pkg-config pkg-config
python-wrapper python-wrapper
vala)) vala))
;; mentioned in gck.pc, gcr.pc and gcr-ui.pc ;; GLib and p11-kit are mentioned in gck.pc and gcr.pc
(propagated-inputs ;; GTK is kept for symmetry with gcr-3, which propagates gtk+.
(list glib (propagated-inputs (list glib gtk p11-kit))
gtk+
p11-kit))
(home-page "https://www.gnome.org") (home-page "https://www.gnome.org")
(synopsis "Libraries for displaying certificates and accessing key stores") (synopsis "Libraries for displaying certificates and accessing key stores")
(description (description
@ -2445,6 +2443,31 @@ accessing key stores. It also provides the viewer for crypto files on the
GNOME Desktop.") GNOME Desktop.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public gcr-3
(package
(inherit gcr)
(name "gcr")
(version "3.41.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
(arguments
(substitute-keyword-arguments (package-arguments gcr)
((#:phases phases)
#~(modify-phases #$phases
(replace 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))))))))
;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
(propagated-inputs (list glib gtk+ p11-kit))))
(define-public gdl (define-public gdl
(package (package
(name "gdl") (name "gdl")
@ -2570,7 +2593,7 @@ GNOME Desktop.")
"1")))))))) "1"))))))))
(inputs (inputs
(list dbus (list dbus
gcr gcr-3
libgcrypt libgcrypt
linux-pam linux-pam
openssh)) openssh))
@ -2587,7 +2610,7 @@ GNOME Desktop.")
pkg-config pkg-config
python-wrapper)) ;for tests python-wrapper)) ;for tests
(propagated-inputs (propagated-inputs
(list gcr)) (list gcr-3))
;; XXX: There are concerning test failures on i686-linux and other 32-bit ;; XXX: There are concerning test failures on i686-linux and other 32-bit
;; platforms: <https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/124>. ;; platforms: <https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/124>.
@ -4374,7 +4397,7 @@ engineering.")
(setenv "HOME" (getcwd))))))) (setenv "HOME" (getcwd)))))))
(inputs (inputs
(list gtk+ (list gtk+
gcr gcr-3
gnupg gnupg
gpgme gpgme
openldap openldap
@ -5952,7 +5975,7 @@ services for numerous locations.")
baobab baobab
colord colord
cups cups
gcr gcr-3
geoclue geoclue
geocode-glib-with-libsoup2 geocode-glib-with-libsoup2
gnome-desktop gnome-desktop
@ -6939,7 +6962,7 @@ part of udev-extras, then udev, then systemd. It's now a project on its own.")
dbus dbus
elogind elogind
fuse fuse
gcr gcr-3
glib glib
gnome-online-accounts gnome-online-accounts
gsettings-desktop-schemas gsettings-desktop-schemas
@ -7117,7 +7140,7 @@ almost all of them.")
xorg-server-for-tests)) xorg-server-for-tests))
(inputs (inputs
(list avahi (list avahi
gcr gcr-3
glib-networking glib-networking
gnome-desktop gnome-desktop
gsettings-desktop-schemas gsettings-desktop-schemas
@ -7402,7 +7425,7 @@ classes for commonly used data structures.")
(python:site-packages %build-inputs %outputs) (python:site-packages %build-inputs %outputs)
"/gi/overrides")))) "/gi/overrides"))))
(native-inputs (native-inputs
(list gcr (list gcr-3
`(,glib "bin") `(,glib "bin")
pkg-config pkg-config
python python
@ -7454,7 +7477,7 @@ metadata in photo and video files of various formats.")
python python
vala)) vala))
(inputs (inputs
(list gcr (list gcr-3
gexiv2 gexiv2
gst-plugins-base gst-plugins-base
gstreamer gstreamer
@ -7981,7 +8004,7 @@ window manager.")
gtk+)) ; required by goa-backend-1.0.pc gtk+)) ; required by goa-backend-1.0.pc
(inputs (inputs
(list docbook-xsl (list docbook-xsl
gcr gcr-3
json-glib json-glib
libsecret libsecret
mit-krb5 mit-krb5
@ -8097,7 +8120,7 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
(inputs (inputs
(list bdb (list bdb
boost boost
gcr gcr-3
gnome-online-accounts gnome-online-accounts
json-glib json-glib
libcanberra libcanberra
@ -8503,7 +8526,7 @@ Compatible with Cisco VPN concentrators configured to use IPsec.")
libnma libnma
pkg-config)) pkg-config))
(inputs (inputs
(list gcr (list gcr-3
gtk gtk
gtk+ gtk+
kmod kmod
@ -8634,7 +8657,7 @@ to virtual private networks (VPNs) via Fortinet SSLVPN.")
;; nm-applet need by org.gnome.nm-applet.gschema.xml ;; nm-applet need by org.gnome.nm-applet.gschema.xml
libnma)) libnma))
(inputs (inputs
(list gcr (list gcr-3
libappindicator libappindicator
libgudev libgudev
libsecret libsecret
@ -9047,7 +9070,7 @@ devices using the GNOME desktop.")
colord-gtk colord-gtk
cups cups
dconf dconf
gcr gcr-3
gnome-bluetooth gnome-bluetooth
gnome-desktop gnome-desktop
gnome-online-accounts gnome-online-accounts
@ -9226,7 +9249,7 @@ printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
caribou caribou
docbook-xsl docbook-xsl
evolution-data-server evolution-data-server
gcr gcr-3
gdm gdm
librsvg librsvg
gjs gjs
@ -11659,7 +11682,7 @@ generic enough to work for everyone.")
(list cmark (list cmark
enchant enchant
evolution-data-server ;must be the same version evolution-data-server ;must be the same version
gcr gcr-3
gsettings-desktop-schemas gsettings-desktop-schemas
gnome-autoar gnome-autoar
gnome-desktop gnome-desktop
@ -12346,7 +12369,7 @@ non-privileged user.")
(inputs (inputs
(list enchant (list enchant
folks folks
gcr gcr-3
glib glib
gmime gmime
gnome-online-accounts gnome-online-accounts

View file

@ -866,7 +866,7 @@ passphrase when @code{gpg} is run and needs it.")))
(name "pinentry-gnome3") (name "pinentry-gnome3")
(inputs (inputs
(modify-inputs (package-inputs pinentry-tty) (modify-inputs (package-inputs pinentry-tty)
(prepend gtk+-2 gcr glib))) (prepend gtk+-2 gcr-3 glib)))
(arguments (arguments
`(#:configure-flags '("--enable-pinentry-gnome3" `(#:configure-flags '("--enable-pinentry-gnome3"
"--enable-fallback-curses"))) "--enable-fallback-curses")))

View file

@ -514,7 +514,7 @@ Vim bindings and Xresource compatibility.")
#t))))) #t)))))
(inputs (inputs
`(("dmenu" ,dmenu) `(("dmenu" ,dmenu)
("gcr" ,gcr) ("gcr" ,gcr-3)
("glib-networking" ,glib-networking) ("glib-networking" ,glib-networking)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("webkitgtk" ,webkitgtk-with-libsoup2) ("webkitgtk" ,webkitgtk-with-libsoup2)

View file

@ -138,7 +138,7 @@
("which" ,which))) ;for tests ("which" ,which))) ;for tests
(inputs (inputs
`(("adwaita-icon-theme" ,adwaita-icon-theme) `(("adwaita-icon-theme" ,adwaita-icon-theme)
("gcr" ,gcr) ("gcr" ,gcr-3)
("glib" ,glib) ("glib" ,glib)
("glib-networking" ,glib-networking) ("glib-networking" ,glib-networking)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)