[Pkg-xfce-commits] r5911 - in goodies/trunk/lightdm/debian: . patches

Yves-Alexis Perez corsac at alioth.debian.org
Wed Aug 3 08:26:44 UTC 2011


Author: corsac
Date: 2011-08-03 08:26:44 +0000 (Wed, 03 Aug 2011)
New Revision: 5911

Added:
   goodies/trunk/lightdm/debian/patches/05_always-export-XAUTHORITY.patch
Modified:
   goodies/trunk/lightdm/debian/changelog
   goodies/trunk/lightdm/debian/patches/series
Log:
* debian/patches:
  - 05_always-export-XAUTHORITY added, always export path to xauth file.

Modified: goodies/trunk/lightdm/debian/changelog
===================================================================
--- goodies/trunk/lightdm/debian/changelog	2011-08-01 21:16:20 UTC (rev 5910)
+++ goodies/trunk/lightdm/debian/changelog	2011-08-03 08:26:44 UTC (rev 5911)
@@ -1,3 +1,10 @@
+lightdm (0.9.2-3) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - 05_always-export-XAUTHORITY added, always export path to xauth file.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Wed, 03 Aug 2011 10:18:20 +0200
+
 lightdm (0.9.2-2) unstable; urgency=low
 
   * debian/control;

Added: goodies/trunk/lightdm/debian/patches/05_always-export-XAUTHORITY.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/05_always-export-XAUTHORITY.patch	                        (rev 0)
+++ goodies/trunk/lightdm/debian/patches/05_always-export-XAUTHORITY.patch	2011-08-03 08:26:44 UTC (rev 5911)
@@ -0,0 +1,17 @@
+diff --git a/src/xsession.c b/src/xsession.c
+index 6474799..01cbea1 100644
+--- a/src/xsession.c
++++ b/src/xsession.c
+@@ -67,11 +67,11 @@ xsession_start (Session *session)
+             path = g_build_filename (dir, "xauthority", NULL);
+             g_free (dir);
+ 
+-            process_set_env (PROCESS (session), "XAUTHORITY", path);
+         }
+         else
+             path = g_build_filename (user_get_home_directory (session_get_user (session)), ".Xauthority", NULL);
+ 
++        process_set_env (PROCESS (session), "XAUTHORITY", path);
+         XSESSION (session)->priv->authority_file = g_file_new_for_path (path);
+         g_free (path);
+ 

Modified: goodies/trunk/lightdm/debian/patches/series
===================================================================
--- goodies/trunk/lightdm/debian/patches/series	2011-08-01 21:16:20 UTC (rev 5910)
+++ goodies/trunk/lightdm/debian/patches/series	2011-08-03 08:26:44 UTC (rev 5911)
@@ -2,3 +2,4 @@
 02_default-config.patch
 03_quit-plymouth.patch
 04_default-gtk-greeter-config.patch
+05_always-export-XAUTHORITY.patch




More information about the Pkg-xfce-commits mailing list