[authconfig] gnome-screensaver does not exist anymore

Tomáš Mráz tmraz at fedoraproject.org
Mon Nov 25 14:20:09 UTC 2013


commit 5750ad4956521ada52a5a7231715294c75a7e194
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Mon Nov 25 15:19:58 2013 +0100

    gnome-screensaver does not exist anymore

 authconfig-6.2.8-no-gnome-screensaver.patch |   14 ++++++++++++++
 authconfig.spec                             |    7 ++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/authconfig-6.2.8-no-gnome-screensaver.patch b/authconfig-6.2.8-no-gnome-screensaver.patch
new file mode 100644
index 0000000..8f7e1a4
--- /dev/null
+++ b/authconfig-6.2.8-no-gnome-screensaver.patch
@@ -0,0 +1,14 @@
+diff -r e99c8cee9479 authconfig-gtk.py
+--- a/authconfig-gtk.py	Fri Nov 01 16:54:05 2013 +0100
++++ b/authconfig-gtk.py	Mon Nov 25 15:02:45 2013 +0100
+@@ -334,10 +334,6 @@
+ 
+ 	def update_widgets(self, mapname, map, xml, topparent):
+ 		self.info.update()
+-		if mapname == "smartcard_map":
+-			widget = xml.get_widget("scaction")
+-			if not os.access("/usr/bin/gnome-screensaver", os.X_OK):
+-				widget.set_sensitive(False)
+ 		for entry in map.keys():
+ 			widget = xml.get_widget(entry)
+ 			if type(widget) == type(gtk.ComboBox()):
diff --git a/authconfig.spec b/authconfig.spec
index b4f33f1..c6e3a79 100644
--- a/authconfig.spec
+++ b/authconfig.spec
@@ -1,13 +1,14 @@
 Summary: Command line tool for setting up authentication from network services
 Name: authconfig
 Version: 6.2.8
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 ExclusiveOS: Linux
 Group: System Environment/Base
 URL: https://fedorahosted.org/authconfig
 Source: https://fedorahosted.org/releases/a/u/%{name}/%{name}-%{version}.tar.bz2
 Patch1: authconfig-6.2.6-gdm-nolastlog.patch
+Patch2: authconfig-6.2.8-no-gnome-screensaver.patch
 Requires: newt-python, pam >= 0.99.10.0, python, libpwquality > 0.9
 Conflicts: pam_krb5 < 1.49, samba-common < 3.0, samba-client < 3.0
 Conflicts: nss_ldap < 254, sssd < 0.99.1
@@ -37,6 +38,7 @@ authentication schemes.
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p1 -b .nolastlog
+%patch2 -p1 -b .no-gnome-screensaver
 
 %build
 %configure
@@ -119,6 +121,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/hicolor/256x256/apps/system-config-authentication.*
 
 %changelog
+* Mon Nov 2 2013 Tomáš Mráz <tmraz at redhat.com> - 6.2.8-2
+- gnome-screensaver does not exist anymore
+
 * Fri Nov  1 2013 Tomáš Mráz <tmraz at redhat.com> - 6.2.8-1
 - detect invalid LDAP uri and report error
 - fix handling of IPA domain join errors and uninstall


More information about the scm-commits mailing list