rpms/PolicyKit-gnome/devel PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch, NONE, 1.1 PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 PolicyKit-gnome.spec, 1.24, 1.25 sources, 1.8, 1.9 PolicyKit-gnome-0.8-dont-spawn-when-running-under-gdm.patch, 1.1, NONE icon-names.patch, 1.1, NONE

Richard Hughes rhughes at fedoraproject.org
Fri Feb 6 18:06:04 UTC 2009


Author: rhughes

Update of /cvs/pkgs/rpms/PolicyKit-gnome/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30841

Modified Files:
	.cvsignore PolicyKit-gnome.spec sources 
Added Files:
	PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch 
	PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch 
Removed Files:
	PolicyKit-gnome-0.8-dont-spawn-when-running-under-gdm.patch 
	icon-names.patch 
Log Message:
* Fri Feb 06 2009 Richard Hughes <rhughes at redhat.com> - 0.9.2-1%{?dist}
- Update to upstream release 0.9.2
- Drop patches that are upstream and resync the others
- Drop libsexy and gnome-vfs2, and update dbus and gtk2 BRs
- Apply a patch to fix applications using PolicyKit-gnome with widgets
  that only email clicked events. More bugs to find yet.


PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch:

--- NEW FILE PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch ---
--- src/polkit-gnome-auth-dialog.c.old	2009-02-06 17:45:56.000000000 +0000
+++ src/polkit-gnome-auth-dialog.c	2009-02-06 17:50:03.000000000 +0000
@@ -609,7 +609,10 @@ static void
 vendor_url_activated (SexyUrlLabel *url_label, char *url, gpointer user_data)
 {
         if (url != NULL) {
-                gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL);
+                /* don't spawn anything when running under gdm */
+                if (g_getenv ("RUNNING_UNDER_GDM") == NULL) {
+                        gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL);
+                }
         }
 }
 
@@ -620,6 +623,10 @@ action_id_activated (SexyUrlLabel *url_l
         DBusGConnection *bus;
         DBusGProxy *manager_proxy;
 
+        /* don't spawn anything when running under gdm */
+        if (g_getenv ("RUNNING_UNDER_GDM") != NULL)
+                goto out;
+
         error = NULL;
         bus = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
         if (bus == NULL) {

PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch:

--- NEW FILE PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch ---
--- ./polkit-gnome/polkit-gnome-action.c.old	2009-02-06 17:31:46.000000000 +0000
+++ ./polkit-gnome/polkit-gnome-action.c	2009-02-06 17:32:03.000000000 +0000
@@ -2062,6 +2062,8 @@ _button_clicked (GtkButton *button, PolK
         case POLKIT_RESULT_ONLY_VIA_SELF_AUTH_KEEP_ALWAYS:
                 /* g_debug ("blocking clicked"); */
                 g_signal_stop_emission_by_name (button, "clicked");
+                if (action->priv->polkit_action != NULL)
+                        g_signal_emit (action, signals [AUTH_START_SIGNAL], 0);
                 break;
 
         default:


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/PolicyKit-gnome/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	22 Jul 2008 18:40:00 -0000	1.8
+++ .cvsignore	6 Feb 2009 18:05:33 -0000	1.9
@@ -1,7 +1 @@
-PolicyKit-gnome-0.5.git20070731.tar.bz2
-PolicyKit-gnome-0.5.tar.bz2
-PolicyKit-gnome-0.6.git20070925.tar.bz2
-PolicyKit-gnome-0.6.tar.bz2
-PolicyKit-gnome-0.7.tar.bz2
-PolicyKit-gnome-0.8.tar.bz2
-PolicyKit-gnome-0.9.tar.bz2
+PolicyKit-gnome-0.9.2.tar.bz2


Index: PolicyKit-gnome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PolicyKit-gnome/devel/PolicyKit-gnome.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- PolicyKit-gnome.spec	8 Aug 2008 14:55:55 -0000	1.24
+++ PolicyKit-gnome.spec	6 Feb 2009 18:05:33 -0000	1.25
@@ -1,16 +1,16 @@
-%define dbus_version    	0.90
+%define dbus_version    	1.0
 %define dbus_glib_version	0.71
-%define gtk2_version            2.12
+%define gtk2_version            2.13.6
 %define gnome_vfs2_version      2.4
 %define libsexy_version         0.1.11
 %define gnome_doc_utils_version 0.3.2
-%define polkit_version          0.8
+%define polkit_version          0.9
 %define intltool_version        0.35
 
 Summary: PolicyKit integration for the GNOME desktop
 Name: PolicyKit-gnome
-Version: 0.9
-Release: 3%{?dist}
+Version: 0.9.2
+Release: 1%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
 URL: http://svn.gnome.org/viewvc/policykit-gnome/trunk
@@ -20,8 +20,6 @@
 BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
 BuildRequires: dbus-glib >= %{dbus_glib_version}
 BuildRequires: gtk2-devel >= %{gtk2_version}
-BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
-BuildRequires: libsexy-devel >= %{libsexy_version}
 BuildRequires: PolicyKit-devel >= %{polkit_version}
 BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
 BuildRequires: intltool >= %{intltool_version}
@@ -31,15 +29,12 @@
 Requires: dbus >= %{dbus_version}
 Requires: dbus-glib >= %{dbus_glib_version}
 Requires: gtk2 >= %{gtk2_version}
-Requires: gnome-vfs2 >= %{gnome_vfs2_version}
 Requires: PolicyKit >= %{polkit_version}
-Requires: libsexy >= %{libsexy_version}
 Requires(post): GConf2 >= 2.14
 Requires(preun): GConf2 >= 2.14
 
-Patch0: PolicyKit-gnome-0.8-dont-spawn-when-running-under-gdm.patch
-# fixed in upstream svn
-Patch1: icon-names.patch
+Patch0: PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch
+Patch1: PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch
 
 %description 
 PolicyKit-gnome provides a GNOME integration library and tools for
@@ -82,8 +77,8 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .no-spawning-under-gdm
-%patch1 -p1 -b .icon-names
+%patch0 -p0 -b .no-spawning-under-gdm
+%patch1 -p0 -b .fix-clickable-buttons
 
 %build
 %configure
@@ -156,6 +151,13 @@
 %{_datadir}/PolicyKit/policy/*.policy
 
 %changelog
+* Fri Feb 06 2009 Richard Hughes <rhughes at redhat.com> - 0.9.2-1%{?dist}
+- Update to upstream release 0.9.2
+- Drop patches that are upstream and resync the others
+- Drop libsexy and gnome-vfs2, and update dbus and gtk2 BRs
+- Apply a patch to fix applications using PolicyKit-gnome with widgets
+  that only email clicked events. More bugs to find yet.
+
 * Fri Aug  8 2008 Matthias Clasen <mclasen at redhat.com> 
 - Use standard icon names
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/PolicyKit-gnome/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	22 Jul 2008 18:40:00 -0000	1.8
+++ sources	6 Feb 2009 18:05:33 -0000	1.9
@@ -1 +1 @@
-68374b04289ce99d95a9df19d6217344  PolicyKit-gnome-0.9.tar.bz2
+fc478b168d0c926a9766b0b415ff4bbf  PolicyKit-gnome-0.9.2.tar.bz2


--- PolicyKit-gnome-0.8-dont-spawn-when-running-under-gdm.patch DELETED ---


--- icon-names.patch DELETED ---




More information about the fedora-extras-commits mailing list