packages (DEVEL): gdm/gdm-polkit.patch, gdm/gdm.spec - start update to 3.1.90

wiget wiget at pld-linux.org
Mon Sep 5 22:04:21 CEST 2011


Author: wiget                        Date: Mon Sep  5 20:04:21 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- start update to 3.1.90

---- Files affected:
packages/gdm:
   gdm-polkit.patch (1.6 -> 1.6.2.1) , gdm.spec (1.271 -> 1.271.2.1) 

---- Diffs:

================================================================
Index: packages/gdm/gdm-polkit.patch
diff -u packages/gdm/gdm-polkit.patch:1.6 packages/gdm/gdm-polkit.patch:1.6.2.1
--- packages/gdm/gdm-polkit.patch:1.6	Wed Apr  6 15:22:38 2011
+++ packages/gdm/gdm-polkit.patch	Mon Sep  5 22:04:15 2011
@@ -5,9 +5,99 @@
 Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/395299
 Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=587750
 
-diff -urN gdm-2.29.92/common/gdm-settings.c gdm-2.29.92.new//common/gdm-settings.c
---- gdm-2.29.92/common/gdm-settings.c	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//common/gdm-settings.c	2010-03-14 21:01:32.864403121 +0100
+--- gdm-3.1.90/data/Makefile.am.wiget	2011-08-31 02:04:37.000000000 +0200
++++ gdm-3.1.90/data/Makefile.am	2011-09-05 21:46:13.070224232 +0200
+@@ -45,6 +45,8 @@ schemasdir = $(pkgdatadir)
+ schemas_in_files = gdm.schemas.in
+ schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+ 
++ at INTLTOOL_POLICY_RULE@
++
+ gdm.schemas.in: $(srcdir)/gdm.schemas.in.in
+ 	sed	-e 's,[@]GDMPREFETCHCMD[@],$(GDMPREFETCHCMD),g' \
+ 		-e 's,[@]GDM_CUSTOM_CONF[@],$(GDM_CUSTOM_CONF),g' \
+@@ -84,11 +86,18 @@ localealias_DATA = locale.alias
+ sessiondir = $(datadir)/gnome-session/sessions
+ session_DATA = gdm-fallback.session gdm-shell.session
+ 
++polkitdir = $(datadir)/polkit-1/actions
++polkit_in_files = gdm.policy.in
++polkit_DATA = $(polkit_in_files:.policy.in=.policy)
++check:
++	$(POLKIT_POLICY_FILE_VALIDATE) $(polkit_DATA)
++
+ EXTRA_DIST =			\
+ 	$(schemas_in_files)	\
+ 	$(schemas_DATA)		\
+ 	$(dbusconf_in_files)	\
+ 	$(localealias_DATA)	\
++	$(polkit_in_files)	\
+ 	gdm.schemas.in.in	\
+ 	gdm.conf-custom.in 	\
+ 	Xsession.in 		\
+@@ -118,6 +127,7 @@ CLEANFILES = 				\
+ 
+ DISTCLEANFILES =			\
+ 	$(dbusconf_DATA)		\
++	$(polkit_DATA)			\
+ 	gdm-shell.session		\
+ 	gdm.schemas			\
+ 	dconf-override-db		\
+--- gdm-3.1.90/data/gdm.conf.in.wiget	2011-08-09 22:08:42.000000000 +0200
++++ gdm-3.1.90/data/gdm.conf.in	2011-09-05 21:44:39.831640332 +0200
+@@ -34,8 +34,6 @@
+     <deny send_destination="org.gnome.DisplayManager"
+           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
+     <deny send_destination="org.gnome.DisplayManager"
+-          send_interface="org.gnome.DisplayManager.Settings"/>
+-    <deny send_destination="org.gnome.DisplayManager"
+           send_interface="org.gnome.DisplayManager.Slave"/>
+     <deny send_destination="org.gnome.DisplayManager"
+           send_interface="org.gnome.DisplayManager.Session"/>
+@@ -44,6 +42,10 @@
+     <allow send_destination="org.gnome.DisplayManager"
+            send_interface="org.freedesktop.DBus.Introspectable"/>
+ 
++    <!-- Controlled by PolicyKit -->
++    <allow send_destination="org.gnome.DisplayManager"
++           send_interface="org.gnome.DisplayManager.Settings"/>
++
+     <allow send_destination="org.gnome.DisplayManager"
+            send_interface="org.gnome.DisplayManager.Display"
+            send_member="GetId"/>
+--- gdm-3.1.90/data/gdm.policy.in.wiget	2011-09-05 21:44:39.831640332 +0200
++++ gdm-3.1.90/data/gdm.policy.in	2011-09-05 21:44:39.831640332 +0200
+@@ -0,0 +1,18 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE policyconfig PUBLIC
++ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
++ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
++<policyconfig>
++  <vendor>The GNOME Project</vendor>
++  <vendor_url>http://www.gnome.org/</vendor_url>
++  <icon_name>gdm</icon_name>
++
++  <action id="org.gnome.displaymanager.settings.write">
++    <description>Change login screen configuration</description>
++    <message>Privileges are required to change the login screen configuration.</message>
++    <defaults>
++      <allow_inactive>no</allow_inactive>
++      <allow_active>auth_admin_keep</allow_active>
++    </defaults>
++  </action>
++</policyconfig>
+--- gdm-3.1.90/common/Makefile.am.wiget	2011-08-09 22:08:42.000000000 +0200
++++ gdm-3.1.90/common/Makefile.am	2011-09-05 21:44:39.831640332 +0200
+@@ -99,6 +99,7 @@ libgdmcommon_la_CFLAGS =		\
+ 	$(NULL)
+ 
+ libgdmcommon_la_LIBADD =		\
++	$(COMMON_LIBS)			\
+ 	$(NULL)
+ 
+ libgdmcommon_la_LDFLAGS = 	\
+--- gdm-3.1.90/common/gdm-settings.c.wiget	2011-08-09 22:08:42.000000000 +0200
++++ gdm-3.1.90/common/gdm-settings.c	2011-09-05 21:44:39.831640332 +0200
 @@ -36,6 +36,7 @@
  #define DBUS_API_SUBJECT_TO_CHANGE
  #include <dbus/dbus-glib.h>
@@ -16,7 +106,7 @@
  
  #include "gdm-settings.h"
  #include "gdm-settings-glue.h"
-@@ -110,6 +111,90 @@
+@@ -108,6 +109,90 @@ gdm_settings_get_value (GdmSettings *set
          return res;
  }
  
@@ -107,7 +197,7 @@
  /*
  dbus-send --system --print-reply --dest=org.gnome.DisplayManager /org/gnome/DisplayManager/Settings org.gnome.DisplayManager.Settings.SetValue string:"xdmcp/Enable" string:"false"
  */
-@@ -118,26 +203,30 @@
+@@ -116,26 +201,30 @@ gboolean
  gdm_settings_set_value (GdmSettings *settings,
                          const char  *key,
                          const char  *value,
@@ -153,9 +243,23 @@
  }
  
  static gboolean
-diff -urN gdm-2.29.92/common/gdm-settings.h gdm-2.29.92.new//common/gdm-settings.h
---- gdm-2.29.92/common/gdm-settings.h	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//common/gdm-settings.h	2010-03-14 21:01:32.864403121 +0100
+--- gdm-3.1.90/common/gdm-settings.xml.wiget	2011-04-25 17:55:04.000000000 +0200
++++ gdm-3.1.90/common/gdm-settings.xml	2011-09-05 21:44:39.831640332 +0200
+@@ -5,7 +5,12 @@
+       <arg name="key" direction="in" type="s"/>
+       <arg name="value" direction="out" type="s"/>
+     </method>
++    <method name="Unlock">
++      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
++      <arg name="is_unlocked" direction="out" type="b"/>
++    </method>
+     <method name="SetValue">
++      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+       <arg name="key" direction="in" type="s"/>
+       <arg name="value" direction="in" type="s"/>
+     </method>
+--- gdm-3.1.90/common/gdm-settings.h.wiget	2011-04-25 17:55:04.000000000 +0200
++++ gdm-3.1.90/common/gdm-settings.h	2011-09-05 21:44:39.831640332 +0200
 @@ -23,6 +23,7 @@
  #define __GDM_SETTINGS_H
  
@@ -164,7 +268,7 @@
  
  G_BEGIN_DECLS
  
-@@ -70,10 +71,12 @@
+@@ -70,10 +71,12 @@ gboolean            gdm_settings_get_val
                                                                   const char  *key,
                                                                   char       **value,
                                                                   GError     **error);
@@ -178,45 +282,17 @@
  
  G_END_DECLS
  
-diff -urN gdm-2.29.92/common/gdm-settings.xml gdm-2.29.92.new//common/gdm-settings.xml
---- gdm-2.29.92/common/gdm-settings.xml	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//common/gdm-settings.xml	2010-03-14 21:01:32.864403121 +0100
-@@ -5,7 +5,12 @@
-       <arg name="key" direction="in" type="s"/>
-       <arg name="value" direction="out" type="s"/>
-     </method>
-+    <method name="Unlock">
-+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
-+      <arg name="is_unlocked" direction="out" type="b"/>
-+    </method>
-     <method name="SetValue">
-+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
-       <arg name="key" direction="in" type="s"/>
-       <arg name="value" direction="in" type="s"/>
-     </method>
-diff -urN gdm-2.29.92/common/Makefile.am gdm-2.29.92.new//common/Makefile.am
---- gdm-2.29.92/common/Makefile.am	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//common/Makefile.am	2010-03-14 21:01:32.867730975 +0100
-@@ -110,6 +110,7 @@
- 	$(NULL)
- 
- libgdmcommon_la_LIBADD =		\
-+	$(COMMON_LIBS)			\
- 	$(NULL)
- 
- libgdmcommon_la_LDFLAGS = 	\
-diff -urN gdm-2.29.92/configure.ac gdm-2.29.92.new//configure.ac
---- gdm-2.29.92/configure.ac	2010-03-08 23:09:47.000000000 +0100
-+++ gdm-2.29.92.new//configure.ac	2010-03-14 21:03:28.747726327 +0100
-@@ -40,6 +40,7 @@
+--- gdm-3.1.90/configure.ac.wiget	2011-08-30 20:24:43.000000000 +0200
++++ gdm-3.1.90/configure.ac	2011-09-05 21:45:16.999745584 +0200
+@@ -56,6 +56,7 @@ dnl - Dependencies
  dnl ---------------------------------------------------------------------------
  
  DBUS_GLIB_REQUIRED_VERSION=0.74
 +POLKIT_GOBJECT_REQUIRED_VERSION=0.92
- GLIB_REQUIRED_VERSION=2.27.4
+ GLIB_REQUIRED_VERSION=2.29.3
  GTK_REQUIRED_VERSION=2.91.1
  PANGO_REQUIRED_VERSION=1.3.0
-@@ -60,6 +61,7 @@
+@@ -78,6 +79,7 @@ AC_SUBST(GTHREAD_LIBS)
  
  PKG_CHECK_MODULES(COMMON,
          dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
@@ -224,97 +300,11 @@
          gobject-2.0 >= $GLIB_REQUIRED_VERSION
          gio-2.0 >= $GLIB_REQUIRED_VERSION
  )
-@@ -68,6 +70,7 @@
+@@ -86,6 +88,7 @@ AC_SUBST(COMMON_LIBS)
  
  PKG_CHECK_MODULES(DAEMON,
          dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
 +        polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED_VERSION
          gobject-2.0 >= $GLIB_REQUIRED_VERSION
          gio-2.0 >= $GLIB_REQUIRED_VERSION
- )
-diff -urN gdm-2.29.92/data/gdm.conf.in gdm-2.29.92.new//data/gdm.conf.in
---- gdm-2.29.92/data/gdm.conf.in	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//data/gdm.conf.in	2010-03-14 21:01:32.867730975 +0100
-@@ -34,8 +34,6 @@
-     <deny send_destination="org.gnome.DisplayManager"
-           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
-     <deny send_destination="org.gnome.DisplayManager"
--          send_interface="org.gnome.DisplayManager.Settings"/>
--    <deny send_destination="org.gnome.DisplayManager"
-           send_interface="org.gnome.DisplayManager.Slave"/>
-     <deny send_destination="org.gnome.DisplayManager"
-           send_interface="org.gnome.DisplayManager.Session"/>
-@@ -44,6 +42,10 @@
-     <allow send_destination="org.gnome.DisplayManager"
-            send_interface="org.freedesktop.DBus.Introspectable"/>
- 
-+    <!-- Controlled by PolicyKit -->
-+    <allow send_destination="org.gnome.DisplayManager"
-+           send_interface="org.gnome.DisplayManager.Settings"/>
-+
-     <allow send_destination="org.gnome.DisplayManager"
-            send_interface="org.gnome.DisplayManager.Display"
-            send_member="GetId"/>
-diff -urN gdm-2.29.92/data/gdm.policy.in gdm-2.29.92.new//data/gdm.policy.in
---- gdm-2.29.92/data/gdm.policy.in	1970-01-01 01:00:00.000000000 +0100
-+++ gdm-2.29.92.new//data/gdm.policy.in	2010-03-14 21:01:32.867730975 +0100
-@@ -0,0 +1,18 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<!DOCTYPE policyconfig PUBLIC
-+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
-+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
-+<policyconfig>
-+  <vendor>The GNOME Project</vendor>
-+  <vendor_url>http://www.gnome.org/</vendor_url>
-+  <icon_name>gdm</icon_name>
-+
-+  <action id="org.gnome.displaymanager.settings.write">
-+    <description>Change login screen configuration</description>
-+    <message>Privileges are required to change the login screen configuration.</message>
-+    <defaults>
-+      <allow_inactive>no</allow_inactive>
-+      <allow_active>auth_admin_keep</allow_active>
-+    </defaults>
-+  </action>
-+</policyconfig>
-diff -urN gdm-2.29.92/data/Makefile.am gdm-2.29.92.new//data/Makefile.am
---- gdm-2.29.92/data/Makefile.am	2010-03-08 22:53:57.000000000 +0100
-+++ gdm-2.29.92.new//data/Makefile.am	2010-03-14 21:06:01.074377153 +0100
-@@ -46,6 +46,8 @@
- schemas_in_files = gdm.schemas.in
- schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
- 
-+ at INTLTOOL_POLICY_RULE@
-+
- gdm.schemas.in: $(srcdir)/gdm.schemas.in.in
- 	sed	-e 's,[@]GDMPREFETCHCMD[@],$(GDMPREFETCHCMD),g' \
- 		-e 's,[@]GDM_CUSTOM_CONF[@],$(GDM_CUSTOM_CONF),g' \
-@@ -78,11 +80,18 @@
- localealiasdir = $(datadir)/gdm
- localealias_DATA = locale.alias
- 
-+polkitdir = $(datadir)/polkit-1/actions
-+polkit_in_files = gdm.policy.in
-+polkit_DATA = $(polkit_in_files:.policy.in=.policy)
-+check:
-+	$(POLKIT_POLICY_FILE_VALIDATE) $(polkit_DATA)
-+
- EXTRA_DIST =			\
- 	$(schemas_in_files)	\
- 	$(schemas_DATA)		\
- 	$(dbusconf_in_files)	\
- 	$(localealias_DATA)	\
-+	$(polkit_in_files)	\
- 	gdm.schemas.in.in	\
- 	gdm.conf-custom.in 	\
- 	Xsession.in 		\
-@@ -105,7 +114,8 @@
- 	$(NULL)
- 
- DISTCLEANFILES =			\
--	$(dbusconf_DATA)			\
-+	$(dbusconf_DATA)		\
-+	$(polkit_DATA)			\
- 	gdm.schemas			\
- 	$(NULL)
- 
+         accountsservice >= $ACCOUNTS_SERVICE_REQUIRED_VERSION

================================================================
Index: packages/gdm/gdm.spec
diff -u packages/gdm/gdm.spec:1.271 packages/gdm/gdm.spec:1.271.2.1
--- packages/gdm/gdm.spec:1.271	Tue Aug 16 20:20:13 2011
+++ packages/gdm/gdm.spec	Mon Sep  5 22:04:15 2011
@@ -15,13 +15,13 @@
 Summary(ru.UTF-8):	Дисплейный менеджер GNOME
 Summary(uk.UTF-8):	Дисплейний менеджер GNOME
 Name:		gdm
-Version:	3.0.4
-Release:	4
+Version:	3.1.90
+Release:	0.1
 Epoch:		2
 License:	GPL/LGPL
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gdm/3.0/%{name}-%{version}.tar.xz
-# Source0-md5:	fd90c847b3988c685cb62f775787672b
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gdm/3.1/%{name}-%{version}.tar.xz
+# Source0-md5:	7e321d02eda07690feed7e7ad5c5b71b
 Source1:	%{name}.pamd
 Source2:	%{name}.init
 Source3:	%{name}-pld-logo.png
@@ -217,6 +217,7 @@
 %useradd -u 55 -r -d /home/services/xdm -s /bin/false -c "X Display Manager" -g xdm xdm
 
 %post
+/sbin/ldconfig
 %gconf_schema_install gdm-simple-greeter.schemas
 %scrollkeeper_update_post
 %update_icon_cache hicolor
@@ -225,6 +226,7 @@
 %gconf_schema_uninstall gdm-simple-greeter.schemas
 
 %postun
+/sbin/ldconfig
 %scrollkeeper_update_postun
 %update_icon_cache hicolor
 
@@ -256,6 +258,16 @@
 %attr(755,root,root) %{_sbindir}/gdm-binary
 %attr(755,root,root) %{_bindir}/gdm-screenshot
 %attr(755,root,root) %{_bindir}/gdmflexiserver
+%attr(755,root,root) %{_libdir}/libgdmgreeter.so.1.0.0
+%attr(755,root,root) %ghost %{_libdir}/libgdmgreeter.so.1
+%attr(755,root,root) %{_libdir}/libgdmsimplegreeter.so.1.0.0
+%attr(755,root,root) %ghost %{_libdir}/libgdmsimplegreeter.so.1
+%dir %{_libdir}/gdm
+%dir %{_libdir}/gdm/simple-greeter
+%attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libfingerprint.so
+%attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libpassword.so
+%attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libsmartcard.so
+%{_libdir}/girepository-1.0/GdmGreeter-1.0.typelib
 %attr(755,root,root) %{_libexecdir}/gdm-crash-logger
 %attr(755,root,root) %{_libexecdir}/gdm-factory-slave
 %attr(755,root,root) %{_libexecdir}/gdm-host-chooser
@@ -265,6 +277,7 @@
 %attr(755,root,root) %{_libexecdir}/gdm-simple-greeter
 %attr(755,root,root) %{_libexecdir}/gdm-simple-slave
 %attr(755,root,root) %{_libexecdir}/gdm-xdmcp-chooser-slave
+%attr(755,root,root) %{_libexecdir}/gdm-smartcard-worker
 %dir %{_sysconfdir}/gdm
 %dir %{_sysconfdir}/gdm/Init
 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init/Default
@@ -296,10 +309,29 @@
 %{_pixmapsdir}/*
 %{_datadir}/gdm
 %{_datadir}/polkit-1/actions/gdm.policy
-%{_datadir}/gnome-session/sessions/gdm.session
+%{_datadir}/gnome-session/sessions/gdm-fallback.session
+%{_datadir}/gnome-session/sessions/gdm-shell.session
 %{_datadir}/xsessions/custom.desktop
 %{_datadir}/xsessions/default.desktop
 %{_iconsdir}/hicolor/*/apps/*.png
+%{_datadir}/glib-2.0/schemas/org.gnome.display-manager.extensions.fingerprint.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.display-manager.extensions.smartcard.gschema.xml
+
+#%files devel
+#%defattr(644,root,root,755)
+#%{_includedir}/gdm/greeter/gdm-greeter-client.h
+#%{_includedir}/gdm/greeter/gdm-greeter-sessions.h
+#%{_includedir}/gdm/simple-greeter/gdm-login-extension.h
+#%{_pkgconfigdir}/gdmgreeter.pc
+#%{_pkgconfigdir}/gdmsimplegreeter.pc
+#%{_libdir}/libgdmgreeter.so
+#%{_libdir}/libgdmsimplegreeter.so
+#%{_datadir}/gir-1.0/GdmGreeter-1.0.gir
+#
+#%files static
+#%defattr(644,root,root,755)
+#%{_libdir}/libgdmgreeter.a
+#%{_libdir}/libgdmsimplegreeter.a
 
 %files init
 %defattr(644,root,root,755)
@@ -312,6 +344,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.271.2.1  2011/09/05 20:04:15  wiget
+- start update to 3.1.90
+
 Revision 1.271  2011/08/16 18:20:13  megabajt
 - R: dbus-x11
 - release 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdm/gdm-polkit.patch?r1=1.6&r2=1.6.2.1&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdm/gdm.spec?r1=1.271&r2=1.271.2.1&f=u



More information about the pld-cvs-commit mailing list