rpms/gnome-packagekit/devel gnome-packagekit-0.3.9-not-local-just-exit.patch, NONE, 1.1 gnome-packagekit.spec, 1.62, 1.63

Warren Togami 砥上勇 wtogami at fedoraproject.org
Sat Nov 8 00:47:15 UTC 2008


Author: wtogami

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

Modified Files:
	gnome-packagekit.spec 
Added Files:
	gnome-packagekit-0.3.9-not-local-just-exit.patch 
Log Message:
Bug #470617 Just exit instead of complaining about a non-local session


gnome-packagekit-0.3.9-not-local-just-exit.patch:

--- NEW FILE gnome-packagekit-0.3.9-not-local-just-exit.patch ---
diff -urN gnome-packagekit-0.3.9.orig/src/gpk-common.c gnome-packagekit-0.3.9/src/gpk-common.c
--- gnome-packagekit-0.3.9.orig/src/gpk-common.c	2008-10-24 05:16:45.000000000 -0400
+++ gnome-packagekit-0.3.9/src/gpk-common.c	2008-11-07 19:16:32.000000000 -0500
@@ -195,16 +195,6 @@
 	/* we are not local */
 	ret = egg_console_kit_is_local (ck);
 	if (!ret) {
-		if (application_name == NULL)
-			title = g_strdup (_("This application is running when the session is not local"));
-		else
-			title = g_strdup_printf (_("%s is running when the session is not local"), application_name);
-		message = g_strjoin ("\n",
-				     _("These applications should be run only when on local console."),
-				     _("This normally indicates a bug with ConsoleKit or with the way your session has started."), NULL);
-		gpk_error_dialog (title, message, "");
-		g_free (title);
-		g_free (message);
 		egg_warning ("not LOCAL so closing");
 		goto out;
 	}


Index: gnome-packagekit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-packagekit/devel/gnome-packagekit.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- gnome-packagekit.spec	5 Nov 2008 11:29:57 -0000	1.62
+++ gnome-packagekit.spec	8 Nov 2008 00:46:45 -0000	1.63
@@ -4,7 +4,7 @@
 Summary:   GNOME PackageKit Client
 Name:      gnome-packagekit
 Version:   0.3.9
-Release:   6%{?dist}
+Release:   7%{?dist}
 License:   GPLv2+
 Group:     Applications/System
 URL:       http://www.packagekit.org
@@ -16,6 +16,7 @@
 
 # Upstream: 35209ff843ce0e90c886bdcdb16a7475ec300b06
 Patch1:    gpk-size-request.patch
+Patch2:    gnome-packagekit-0.3.9-not-local-just-exit.patch
 
 Requires:  gtk2 >= 2.12.0
 Requires:  gnome-icon-theme
@@ -74,6 +75,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure --disable-scrollkeeper --disable-schemas-install
@@ -207,6 +209,9 @@
 %{_datadir}/applications/gpk-service-pack.desktop
 
 %changelog
+* Fri Nov 07 2008 Warren Togami <wtogami at redhat.com> - 0.3.9-7
+- Bug #470617 Just exit instead of complaining about a non-local session
+
 * Wed Nov 05 2008 Richard Hughes  <rhughes at redhat.com> - 0.3.9-6
 - Fix up the fedora system-install-packages compatibility script.
 - Fixes #468568




More information about the fedora-extras-commits mailing list