public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mate-screensaver] f45: Enable support for oo7 managed keyrings
@ 2026-10-20  9:25 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-20  9:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mate-screensaver
Branch : f45
Commit : 3ec21e5acdbd136e2ed202bd2dd9fc456211d9b3
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2026-10-20T05:24:58-04:00
Stats  : +47/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mate-screensaver/c/3ec21e5acdbd136e2ed202bd2dd9fc456211d9b3?branch=f45

Log:
Enable support for oo7 managed keyrings

---
diff --git a/331.patch b/331.patch
new file mode 100644
index 0000000..88e9b2b
--- /dev/null
+++ b/331.patch
@@ -0,0 +1,36 @@
+From 1ed04591e795d06ad6bdf5c3cca31a82b672ca6a Mon Sep 17 00:00:00 2001
+From: Neal Gompa <ngompa@fedoraproject.org>
+Date: Tue, 20 Oct 2026 05:08:02 -0400
+Subject: [PATCH] data: pam: Enable support for oo7 managed keyrings
+
+This also includes making gnome-keyring failures no longer throw errors,
+to make it straightforward for distributors to ship MATE without GNOME Keyring.
+
+Reference: https://fedoraproject.org/wiki/Changes/oo7_Secrets_Service_Provider
+---
+ data/mate-screensaver | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/data/mate-screensaver b/data/mate-screensaver
+index 47e65a2c..3360e6cf 100644
+--- a/data/mate-screensaver
++++ b/data/mate-screensaver
+@@ -2,14 +2,16 @@
+ 
+ # Fedora Core
+ auth       include	system-auth
+-auth       optional     pam_gnome_keyring.so
++-auth       optional     pam_gnome_keyring.so
++-auth       optional     pam_oo7.so
+ account    include	system-auth
+ password   include	system-auth
+ session    include	system-auth
+ 
+ # SuSE/Novell
+ #auth       include      common-auth
+-#auth       optional     pam_gnome_keyring.so
++#-auth       optional     pam_gnome_keyring.so
++#-auth       optional     pam_oo7.so
+ #account    include      common-account
+ #password   include      common-password
+ #session    include      common-session

diff --git a/mate-screensaver.spec b/mate-screensaver.spec
index e6c4ece..f260cae 100644
--- a/mate-screensaver.spec
+++ b/mate-screensaver.spec
@@ -9,9 +9,12 @@ License:       GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
 URL:           http://pub.mate-desktop.org
 Source0:       http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz
 
+# Support oo7
+Patch0:        https://github.com/mate-desktop/mate-screensaver/pull/331.patch
+
 Requires:      redhat-menus
 Requires:      system-logos
-Requires:      gnome-keyring-pam
+Requires:      (pam_oo7 or gnome-keyring-pam)
 
 BuildRequires: dbus-glib-devel
 BuildRequires: desktop-file-utils
@@ -66,11 +69,11 @@ Development files for mate-screensaver
             --enable-pam            \
             --without-console-kit
 
-make %{?_smp_mflags} V=1
+%make_build
 
 
 %install
-%{make_install}
+%make_install
 
 desktop-file-install --delete-original             \
   --dir %{buildroot}%{_datadir}/applications    \
@@ -85,13 +88,17 @@ desktop-file-install                                          \
 mkdir -p %{buildroot}%{_docdir}/mate-screensaver
 mv %{buildroot}%{_docdir}/mate-screensaver-%{version}/mate-screensaver.html %{buildroot}%{_docdir}/mate-screensaver/mate-screensaver.html
 
+# fix pam config dir
+mkdir -p %{buildroot}%{_prefix}/lib
+mv %{buildroot}%{_sysconfdir}/pam.d %{buildroot}%{_prefix}/lib
+
 %find_lang %{name} --with-gnome --all-name
 
 
 %files -f %{name}.lang
 %doc AUTHORS NEWS README COPYING
 %{_bindir}/mate-screensaver*
-%{_sysconfdir}/pam.d/mate-screensaver
+%{_prefix}/lib/pam.d/mate-screensaver
 %{_sysconfdir}/xdg/menus/mate-screensavers.menu
 %{_sysconfdir}/xdg/autostart/mate-screensaver.desktop
 %{_libexecdir}/mate-screensaver-*

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20  9:25 [rpms/mate-screensaver] f45: Enable support for oo7 managed keyrings Neal Gompa

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