diff -Nru lxdm-0.4.1/debian/changelog lxdm-0.4.1/debian/changelog --- lxdm-0.4.1/debian/changelog 2012-03-01 19:44:23.000000000 +0000 +++ lxdm-0.4.1/debian/changelog 2012-03-02 22:19:13.000000000 +0000 @@ -1,3 +1,11 @@ +lxdm (0.4.1-0ubuntu7~ppa1) precise; urgency=low + + * debian/patches: + - 91_handle_space_for_session.patch: Start correctly session with + a space in the same. (LP: #875991) + + -- Julien Lavergne Fri, 02 Mar 2012 23:19:08 +0100 + lxdm (0.4.1-0ubuntu6) precise; urgency=low * debian/patches/20_disable_resize_grip.patch: diff -Nru lxdm-0.4.1/debian/patches/90_fix_event_check.patch lxdm-0.4.1/debian/patches/90_fix_event_check.patch --- lxdm-0.4.1/debian/patches/90_fix_event_check.patch 2012-01-01 14:03:00.000000000 +0000 +++ lxdm-0.4.1/debian/patches/90_fix_event_check.patch 2012-03-02 22:13:39.000000000 +0000 @@ -7,11 +7,11 @@ src/lxcom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -diff --git a/src/lxcom.c b/src/lxcom.c -index 02763eb..18ee12e 100644 ---- a/src/lxcom.c -+++ b/src/lxcom.c -@@ -89,7 +89,7 @@ static gboolean lxcom_prepare (GSource *source,gint *timeout) +Index: lxdm-0.4.1/src/lxcom.c +=================================================================== +--- lxdm-0.4.1.orig/src/lxcom.c 2011-07-29 15:42:33.000000000 +0200 ++++ lxdm-0.4.1/src/lxcom.c 2012-03-02 23:09:05.000000000 +0100 +@@ -89,7 +89,7 @@ static gboolean lxcom_check(GSource *source) { @@ -20,5 +20,3 @@ } static gboolean lxcom_dispatch (GSource *source,GSourceFunc callback,gpointer user_data) --- -1.7.4.1 diff -Nru lxdm-0.4.1/debian/patches/91_handle_space_for_session.patch lxdm-0.4.1/debian/patches/91_handle_space_for_session.patch --- lxdm-0.4.1/debian/patches/91_handle_space_for_session.patch 1970-01-01 00:00:00.000000000 +0000 +++ lxdm-0.4.1/debian/patches/91_handle_space_for_session.patch 2012-03-02 22:15:24.000000000 +0000 @@ -0,0 +1,31 @@ +From 0c6d56ba1bfab9d13425a5ab088dd8a31a782bae Mon Sep 17 00:00:00 2001 +From: dgod +Date: Mon, 27 Feb 2012 19:32:21 +0800 +Subject: [PATCH] Remove the quoting of LXSESSION variable to properly interpret spaces in Exec key of xsession desktop entry files + +--- + data/Xsession | 4 ++-- + data/lxdm.conf.in | 2 ++ + 2 files changed, 4 insertions(+), 2 deletions(-) + +Index: lxdm-0.4.1/data/Xsession +=================================================================== +--- lxdm-0.4.1.orig/data/Xsession 2012-03-02 23:15:14.000000000 +0100 ++++ lxdm-0.4.1/data/Xsession 2012-03-02 23:15:20.000000000 +0100 +@@ -31,7 +31,7 @@ + elif [ -x /usr/bin/ck-launch-session -a -z "$CK_XINIT_SESSION" ]; then + CK_XINIT_SESSION="/usr/bin/ck-launch-session" + fi +- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" ++ exec -l $SHELL -c "$CK_XINIT_SESSION $LXSESSION" + elif [ -x /etc/X11/xinit/Xsession ]; then + # fedora + exec /etc/X11/xinit/Xsession "$LXSESSION" +@@ -52,6 +52,6 @@ + elif [ -x /usr/bin/ck-launch-session ]; then + CK_XINIT_SESSION="/usr/bin/ck-launch-session" + fi +- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" ++ exec -l $SHELL -c "$CK_XINIT_SESSION $LXSESSION" + fi + diff -Nru lxdm-0.4.1/debian/patches/series lxdm-0.4.1/debian/patches/series --- lxdm-0.4.1/debian/patches/series 2012-03-01 19:39:12.000000000 +0000 +++ lxdm-0.4.1/debian/patches/series 2012-03-02 22:12:04.000000000 +0000 @@ -2,3 +2,4 @@ 21_fix_greeter_location.patch 22_ubuntu_i18n_oneiric.patch 90_fix_event_check.patch +91_handle_space_for_session.patch