Package Details: gnome-keyring-git 1:3.36.0+12+g4f531000-1

Git Clone URL: https://aur.archlinux.org/gnome-keyring-git.git (read-only, click to copy)
Package Base: gnome-keyring-git
Description: Stores passwords and encryption keys
Upstream URL: https://wiki.gnome.org/Projects/GnomeKeyring
Licenses: GPL, LGPL
Groups: gnome
Conflicts: gnome-keyring
Provides: gnome-keyring, org.freedesktop.secrets
Submitter: fisch02
Maintainer: tallero (truocolo)
Last Packager: truocolo
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-22 17:48 (UTC)
Last Updated: 2023-12-22 18:16 (UTC)

Required by (191)

Sources (3)

Latest Comments

stef204 commented on 2022-03-04 15:30 (UTC) (edited on 2022-03-08 12:54 (UTC) by stef204)

@smoogipoo Have you filed a bug in Arch's system with regards to glib2-2.70 breaking gnome-keyring?
Edit: I've filed a bug. https://bugs.archlinux.org/task/74037

smoogipoo commented on 2021-12-09 12:03 (UTC)

glib-2.70 breaks the latest gnome-keyring. This is an issue with the official Arch Linux package and this one.

The suggestion seems to be to compile without cap_ipc_lock so I suggest applying the following fix:

diff --git a/PKGBUILD b/PKGBUILD
index ed4e8de..cd3449e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,17 +7,14 @@ pkgdesc="Stores passwords and encryption keys"
 url="https://wiki.gnome.org/Projects/GnomeKeyring"
 arch=(x86_64)
 license=(GPL LGPL)
-depends=('gcr' 'libcap-ng' 'pam' 'openssh')
+depends=('gcr' 'pam' 'openssh')
 makedepends=('git' 'docbook-xsl' 'python')
 provides=('gnome-keyring' 'org.freedesktop.secrets')
 conflicts=('gnome-keyring')
 groups=('gnome')
-install=gnome-keyring.install
 source=("git+https://gitlab.gnome.org/GNOME/gnome-keyring.git"
-        33.patch
         add-cinnamon.diff)
 sha256sums=('SKIP'
-            '23294d6569bb7c8297cc2f95071576fac48ee82ec1ead1b818dd69fbbc72b069'
             'd05210f5b0a7d4b22c0dff2854854af2eb5708aa2b296095e070dca68e9f815a')

 pkgver() {
@@ -28,10 +25,6 @@ pkgver() {
 prepare() {
   cd $_pkgname

-  # https://bugs.archlinux.org/task/68664
-  # https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/33
-  git apply -3 ../33.patch
-
   # Autolaunch in Cinnamon
   git apply -3 ../add-cinnamon.diff

@@ -46,7 +39,8 @@ build() {
     --libexecdir=/usr/lib \
     --with-pam-dir=/usr/lib/security \
     --disable-static \
-    --disable-schemas-compile
+    --disable-schemas-compile \
+    --without-libcap-ng
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }

Note that I've also removed 33.patch because it's not required anymore, as adamant.pwn pointed out.

See: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a3e929650d327c5f57ec2f646b1cb749d60843

adamant.pwn commented on 2021-09-25 21:01 (UTC)

33.patch doesn't seem to be required anymore (because of this, I think) and it produces merge conflicts. Better remove it?