r21211 - in /packages/unstable/update-notifier/debian: changelog patches/08_gksu_preserve_environment.diff
speijnik-guest at users.alioth.debian.org
speijnik-guest at users.alioth.debian.org
Tue Sep 1 13:42:16 UTC 2009
Author: speijnik-guest
Date: Tue Sep 1 13:42:16 2009
New Revision: 21211
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21211
Log:
Fix for #524600 added.
Added:
packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff
Modified:
packages/unstable/update-notifier/debian/changelog
Modified: packages/unstable/update-notifier/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/update-notifier/debian/changelog?rev=21211&op=diff
==============================================================================
--- packages/unstable/update-notifier/debian/changelog [utf-8] (original)
+++ packages/unstable/update-notifier/debian/changelog [utf-8] Tue Sep 1 13:42:16 2009
@@ -1,7 +1,13 @@
update-notifier (0.70.7.debian-7) UNRELEASED; urgency=low
+ [ Emilio Pozuelo Monfort ]
* debian/control.in: Depend on dbus-x11 rather than dbus-1-utils.
Closes: #451449.
+
+ [ Stephan Peijnik ]
+ * debian/patches/08_gksu_preserve_environment.diff: Added patch that makes
+ gksu preserve its environment (-k switch). Fixes an issue with
+ update-manager-gnome.
-- Emilio Pozuelo Monfort <pochu at debian.org> Sun, 30 Aug 2009 22:21:44 +0200
Added: packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff?rev=21211&op=file
==============================================================================
--- packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff (added)
+++ packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff [utf-8] Tue Sep 1 13:42:16 2009
@@ -1,0 +1,21 @@
+--- src/update-notifier.orig.c 2009-09-01 15:36:58.000000000 +0200
++++ src/update-notifier.c 2009-09-01 15:37:19.000000000 +0200
+@@ -81,12 +81,13 @@
+ invoke_with_gksu(gchar *cmd, gchar *descr, gboolean whole_message)
+ {
+ //g_print("invoke_update_manager ()\n");
+- gchar *argv[5];
++ gchar *argv[6];
+ argv[0] = "/usr/bin/gksu";
+- argv[1] = whole_message ? "--message" : "--desktop";
+- argv[2] = descr;
+- argv[3] = cmd;
+- argv[4] = NULL;
++ argv[1] = "-k";
++ argv[2] = whole_message ? "--message" : "--desktop";
++ argv[3] = descr;
++ argv[4] = cmd;
++ argv[5] = NULL;
+
+ g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, NULL, NULL);
+ }
More information about the pkg-gnome-commits
mailing list