[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/181: gnu: gcr: Update to 3.41.1, delete trailing #t and input labels.
From: |
guix-commits |
Subject: |
13/181: gnu: gcr: Update to 3.41.1, delete trailing #t and input labels. |
Date: |
Tue, 13 Sep 2022 02:25:04 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit bfcd2a86fbbf0ce6eaacc2a7f5177ae7bc8a2b86
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Aug 22 17:35:29 2022 -0400
gnu: gcr: Update to 3.41.1, delete trailing #t and input labels.
* gnu/packages/gnome.scm (gcr): Update to 3.41.1.
[phases]: Delete trailing #t.
{disable-failing-tests}: Delete phase.
{fix-systemd-detection}: Likewise.
{remove-fatal-warnings-option}: New phase.
{check}: New phase override.
[native-inputs, propagated-inputs]: Delete input labels.
[native-inputs]: Sort inputs. Add gi-docgen. Remove autoconf, automake and
libtool.
---
gnu/packages/gnome.scm | 96 +++++++++++++++++++++++++++-----------------------
1 file changed, 51 insertions(+), 45 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6b912ddc8c..c2698bae33 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2325,7 +2325,7 @@ the font would look under various sizes.")
(define-public gcr
(package
(name "gcr")
- (version "3.41.0")
+ (version "3.41.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -2333,56 +2333,62 @@ the font would look under various sizes.")
name "-" version ".tar.xz"))
(sha256
(base32
- "00fsf82ycac8qi0kkiq759p6jrn63pyz4ksn4wnq7m4ax94zq289"))))
+ "0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.60
- #:phases
- (modify-phases %standard-phases
- ;; These fail because /var/lib/dbus/machine-id is not present in the
- ;; build environment.
- (add-after 'unpack 'disable-failing-tests
- (lambda _
- (substitute* "gcr/meson.build"
- (("[[:blank:]]+'system-prompt',")
- ""))
- #t))
- (add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
- (lambda _
- (substitute* "meson_post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t))
- (add-after 'unpack 'fix-systemd-detection
- (lambda _
- (substitute* "gcr/gcr-ssh-agent-service.c"
- (("#ifdef WITH_SYSTEMD")
- "#if (WITH_SYSTEMD)"))))
- (add-before 'check 'pre-check
- (lambda _
- ;; Some tests expect to write to $HOME.
- (setenv "HOME" "/tmp")
- #t)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-fatal-warnings-option
+ ;; Otherwise, the gi-docgen tool would fail because of the
+ ;; "Fontconfig error: No writable cache directories" warnings.
+ (lambda _
+ (substitute* (find-files "." "^meson\\.build$")
+ ((".*'--fatal-warnings',.*") ""))))
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ ;; Don't create 'icon-theme.cache'.
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("gtk-update-icon-cache") "true"))))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Some tests expect to write to $HOME.
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
+ (when tests?
+ (setenv "MESON_TESTTHREADS"
+ (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))
+ ;; Work around the "mock prompter couldn't get session bus
+ ;; address: Cannot spawn a message bus without a machine-id"
+ ;; error by manually creating the session bus via
+ ;; 'dbus-run-session'.
+ (invoke "dbus-run-session" "--"
+ "meson" "test" "-t" "0")))))))
(inputs
- (list dbus gnupg ;called as a child process during tests
- libgcrypt libsecret))
+ (list dbus
+ gnupg
+ libgcrypt
+ libsecret))
(native-inputs
- `(("python" ,python-wrapper) ;for tests
- ("openssh" ,openssh) ;for tests
- ("pkg-config" ,pkg-config)
- ("gettext" ,gettext-minimal)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("gtk-doc" ,gtk-doc)
- ("glib" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("libxml2" ,libxml2)
- ("vala" ,vala)
- ("xsltproc" ,libxslt)))
+ (list gettext-minimal
+ gi-docgen
+ `(,glib "bin")
+ gobject-introspection
+ gtk-doc
+ libxml2
+ libxslt
+ openssh
+ pkg-config
+ python-wrapper
+ vala))
;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
(propagated-inputs
- (list p11-kit glib gtk+))
+ (list glib
+ gtk+
+ p11-kit))
(home-page "https://www.gnome.org")
(synopsis "Libraries for displaying certificates and accessing key stores")
(description
- 04/181: gnu: fcitx: Update to 4.2.9.9, use gexps and remove input labels., (continued)
- 04/181: gnu: fcitx: Update to 4.2.9.9, use gexps and remove input labels., guix-commits, 2022/09/13
- 05/181: gnu: xf86-input-wacom: Update to 1.1.0., guix-commits, 2022/09/13
- 06/181: gnu: libgnomekbd: Update to 3.28.0., guix-commits, 2022/09/13
- 10/181: gnu: xvfb-run: Update to 1.20.11-1., guix-commits, 2022/09/13
- 02/181: gnu: clutter: Update to 1.26.4 and remove input labels., guix-commits, 2022/09/13
- 08/181: gnu: sysprof: Update to 3.44.0, enable tests and remove labels., guix-commits, 2022/09/13
- 03/181: gnu: libmbim: Update to 1.26.4., guix-commits, 2022/09/13
- 07/181: gnu: libdazzle: Update to 3.44.0., guix-commits, 2022/09/13
- 09/181: gnu: egl-wayland: Update to 1.1.10., guix-commits, 2022/09/13
- 12/181: gnu: gtk: Update to 4.8.0 and use gexps., guix-commits, 2022/09/13
- 13/181: gnu: gcr: Update to 3.41.1, delete trailing #t and input labels.,
guix-commits <=
- 11/181: gnu: Add gi-docgen., guix-commits, 2022/09/13
- 18/181: gnu: libqmi: Update to 1.30.8., guix-commits, 2022/09/13
- 16/181: gnu: libhandy: Update to 1.7.90., guix-commits, 2022/09/13
- 19/181: gnu: modem-manager: Update to 1.18.10 and remove input labels., guix-commits, 2022/09/13
- 20/181: gnu: geoclue: Update to 2.6.0 and remove input labels., guix-commits, 2022/09/13
- 24/181: gnu: Add gsettings-desktop-schemas-next., guix-commits, 2022/09/13
- 25/181: gnu: gnome-settings-daemon: Update to 42.2., guix-commits, 2022/09/13
- 21/181: gnu: geocode-glib: Update to 3.26.4 and build with libsoup 3., guix-commits, 2022/09/13
- 23/181: gnu: network-manager: Update to 1.40.0, use gexps and remove input labels., guix-commits, 2022/09/13
- 26/181: gnu: umockdev: Update to 0.17.13., guix-commits, 2022/09/13