From b19100ddba69992105fed79d6930c3ab9cedddc3cbbc487d2bdf59058556cdfc Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 6 May 2008 16:58:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-session?expand=0&rev=45 --- gnome-session-parse-autostart-command-line.patch | 2 +- gnome-session.changes | 6 ++++++ gnome-session.spec | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gnome-session-parse-autostart-command-line.patch b/gnome-session-parse-autostart-command-line.patch index cf916d4..25a1ee3 100644 --- a/gnome-session-parse-autostart-command-line.patch +++ b/gnome-session-parse-autostart-command-line.patch @@ -17,7 +17,7 @@ Index: gnome-session/gsm-autostart.c + gs = g_string_new (NULL); + for (p = exec; *p != '\0'; p++) + { -+ if (*p == '%' && p[1] == 'u') ++ if (*p == '%' && (p[1] == 'u' || p[1] == 'U')) + p++; + else + g_string_append_c (gs, *p); diff --git a/gnome-session.changes b/gnome-session.changes index 44fbcde..0fd5957 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:21:42 CEST 2008 - rodrigo@suse.de + +- Updated gnome-session-parse-autostart-command-line.patch to + deal also with %U arguments in .desktop files (bnc#242907) + ------------------------------------------------------------------- Mon May 5 11:49:44 CEST 2008 - vuntz@suse.de diff --git a/gnome-session.spec b/gnome-session.spec index 55001ce..e563e4d 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -16,7 +16,7 @@ BuildRequires: control-center2-devel fdupes gnome-common gnome-desktop-devel gn License: GPL v2 or later; LGPL v2.1 or later Group: System/GUI/GNOME Version: 2.22.1.1 -Release: 21 +Release: 23 Summary: Session Tools for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Source1: gnome @@ -179,6 +179,9 @@ rm -rf $RPM_BUILD_ROOT %files lang -f %{name}-2.0.lang %changelog +* Tue May 06 2008 rodrigo@suse.de +- Updated gnome-session-parse-autostart-command-line.patch to + deal also with %%U arguments in .desktop files (bnc#242907) * Mon May 05 2008 vuntz@suse.de - Drop gnome-session-compiz.patch and replace with gnome-session-gnome-wm-compiz-manager.patch to correctly start