public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon] rawhide: Drop gnome-keyring-pam requires and add patch to prefer gcr-ssh-agent
@ 2026-10-22 14:20 Leigh Scott
  0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-10-22 14:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cinnamon
Branch : rawhide
Commit : 448a70198f89df83cb57c81374905ada6811a0fb
Author : Leigh Scott <leigh123linux@gmail.com>
Date   : 2026-10-22T15:16:15+01:00
Stats  : +19/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/cinnamon/c/448a70198f89df83cb57c81374905ada6811a0fb?branch=rawhide

Log:
Drop gnome-keyring-pam requires and add patch to prefer gcr-ssh-agent

---
diff --git a/cinnamon.spec b/cinnamon.spec
index 2242628..d982902 100644
--- a/cinnamon.spec
+++ b/cinnamon.spec
@@ -26,9 +26,10 @@ Patch0:  set_wheel.patch
 Patch1:  default_panal_launcher.patch
 Patch2:  remove_crap_from_menu.patch
 Patch3:  set_menu_defaults.patch
-Patch4:  %url/pull/13947.patch#/glycin_ratelimit.patch
-Patch5:  %url/pull/14062.patch#/add_pam_oo7.patch
-Patch6:  %url/pull/14066.patch#/add_oo7-portal.patch
+Patch4:  prefer-gcr-ssh-agent.patch
+Patch5:  %url/pull/13947.patch#/glycin_ratelimit.patch
+Patch6:  %url/pull/14062.patch#/add_pam_oo7.patch
+Patch7:  %url/pull/14066.patch#/add_oo7-portal.patch
 
 ExcludeArch:    %{ix86}
 
@@ -98,8 +99,7 @@ Requires:       %{name}-session%{?_isa}
 Requires:       accountsservice-libs%{?_isa}
 
 # needed for the screen locker
-Requires: (pam_oo7%{?_isa} or gnome-keyring-pam%{?_isa})
-Suggests: pam_oo7%{?_isa}
+Requires: pam_oo7%{?_isa}
 
 # needed for settings
 Requires:       gsound%{?_isa}

diff --git a/prefer-gcr-ssh-agent.patch b/prefer-gcr-ssh-agent.patch
new file mode 100644
index 0000000..c944a14
--- /dev/null
+++ b/prefer-gcr-ssh-agent.patch
@@ -0,0 +1,14 @@
+--- a/files/usr/bin/cinnamon-session-cinnamon
++++ b/files/usr/bin/cinnamon-session-cinnamon
+@@ -1,4 +1,10 @@
+ #!/bin/sh
++
++# Prefer the systemd-managed gcr ssh-agent over any wrapper agent
++if [ -n "$XDG_RUNTIME_DIR" ] && systemctl --user start gcr-ssh-agent.socket 2>/dev/null; then
++    export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
++    unset SSH_AGENT_PID
++fi
+ 
+ if [ "$1" = "--wayland" ]; then
+     shift
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-22 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 14:20 [rpms/cinnamon] rawhide: Drop gnome-keyring-pam requires and add patch to prefer gcr-ssh-agent Leigh Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox