[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/181: gnu: gnome-keyring: Update to 42.1 and enable tests.
From: |
guix-commits |
Subject: |
75/181: gnu: gnome-keyring: Update to 42.1 and enable tests. |
Date: |
Tue, 13 Sep 2022 02:25:49 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 051c5d9bf1c06096ee054cd9222d97fe06632828
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 5 20:07:53 2022 -0400
gnu: gnome-keyring: Update to 42.1 and enable tests.
* gnu/packages/gnome.scm (gnome-keyring): Update to 42.1.
[phases]{check}: Move after install and override.
[inputs]: Sort.
[native-inputs]: Add dbus and docbook-xml-4.3. Replace intltool with
gettext-minimal. Remove autoconf and automake.
---
gnu/packages/gnome.scm | 46 ++++++++++++++++++++++++++++++----------------
1 file changed, 30 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 43f14a29ab..22fa076b76 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2493,7 +2493,7 @@ GNOME Desktop.")
(define-public gnome-keyring
(package
(name "gnome-keyring")
- (version "40.0")
+ (version "42.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -2501,12 +2501,10 @@ GNOME Desktop.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0cdrlcw814zayhvlaxqs1sm9bqlfijlp22dzzd0g5zg2isq4vlm3"))))
+ "1rp38v4s9116ivycp27w806wihqid48gk3p0czzbg9knri0d1x67"))))
(build-system gnu-build-system)
(arguments
(list
- #:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
- ;not exist
#:configure-flags
#~(list
(string-append "--with-pkcs11-config="
@@ -2518,29 +2516,45 @@ GNOME Desktop.")
(add-after 'unpack 'fix-/bin/sh-reference
(lambda _
(substitute* "po/Makefile.in.in"
- (("/bin/sh") (which "sh"))))))))
+ (("/bin/sh") (which "sh")))))
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp") ;some tests require a writable HOME
+ (setenv "XDG_DATA_DIRS" (string-append (getenv "XDG_DATA_DIRS")
+ ":" #$output "/share"))
+ (invoke "dbus-run-session" "make" "check" "-j"
+ (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))))))))
(inputs
- (list libgcrypt linux-pam openssh dbus gcr))
+ (list dbus
+ gcr
+ libgcrypt
+ linux-pam
+ openssh))
(native-inputs
- (list pkg-config
+ (list dbus ;for tests
+ docbook-xml-4.3
+ docbook-xml
+ docbook-xsl
+ gettext-minimal
`(,glib "bin")
glib ;for m4 macros
- python-wrapper ;for tests
- intltool
- autoconf
- automake
libxml2 ;for XML_CATALOG_FILES
libxslt ;for documentation
- docbook-xml
- docbook-xsl))
+ pkg-config
+ python-wrapper)) ;for tests
(propagated-inputs
(list gcr))
(home-page "https://www.gnome.org")
(synopsis "Daemon to store passwords and encryption keys")
(description
- "gnome-keyring is a program that keeps passwords and other secrets for
-users. It is run as a daemon in the session, similar to ssh-agent, and other
-applications locate it via an environment variable or D-Bus.
+ "@command{gnome-keyring} is a program that keeps passwords and other
+secrets for users. It is run as a daemon in the session, similar to
+@command{ssh-agent}, and other applications locate it via an environment
+variable or D-Bus.
The program can manage several keyrings, each with its own master password,
and there is also a session keyring which is never stored to disk, but
- 161/181: gnu: numix-gtk-theme: Remove input labels., (continued)
- 161/181: gnu: numix-gtk-theme: Remove input labels., guix-commits, 2022/09/13
- 156/181: gnu: apostrophe: Update to 2.6.3., guix-commits, 2022/09/13
- 173/181: gnu: arc-theme: Update to 20220405., guix-commits, 2022/09/13
- 175/181: gnu: Add libshumate., guix-commits, 2022/09/13
- 174/181: gnu: gnome-shell: Use libsoup 3 to fix tests., guix-commits, 2022/09/13
- 181/181: gnu: gnome-screenshot: Remove meson patch., guix-commits, 2022/09/13
- 110/181: gnu: seahorse: Update to 42.0., guix-commits, 2022/09/13
- 155/181: gnu: setzer: Update to 0.4.8., guix-commits, 2022/09/13
- 153/181: gnu: gnote: Update to 42.1., guix-commits, 2022/09/13
- 167/181: gnu: gnucash: Update to 4.11 and use gexps., guix-commits, 2022/09/13
- 75/181: gnu: gnome-keyring: Update to 42.1 and enable tests.,
guix-commits <=
- 85/181: gnu: gnome-tweaks: Update to 40.10., guix-commits, 2022/09/13
- 54/181: gnu: libgweather4: Update to 4.1.1 and run tests., guix-commits, 2022/09/13
- 95/181: gnu: gssdp: Update to 1.5.2, guix-commits, 2022/09/13
- 115/181: gnu: devhelp: Update to 41.3., guix-commits, 2022/09/13
- 108/181: gnu: libwnck: Update to 40.1., guix-commits, 2022/09/13
- 158/181: gnu: jsonrpc-glib: Update to 3.42.0., guix-commits, 2022/09/13
- 170/181: gnu: Add folks-with-libsoup2., guix-commits, 2022/09/13
- 157/181: gnu: piper: Update to 0.7 and enable tests., guix-commits, 2022/09/13
- 169/181: gnu: libgweather: Use geocode-glib-with-libsoup2., guix-commits, 2022/09/13
- 164/181: gnu: evolution-data-server: Update to 3.45.3., guix-commits, 2022/09/13