[arch-commits] Commit in xfce4-session/trunk (PKGBUILD gdm.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Aug 22 13:07:22 UTC 2011


    Date: Monday, August 22, 2011 @ 09:07:22
  Author: andyrtr
Revision: 136074

upgpkg: xfce4-session 4.8.1-3

	fix to work with gdm and custom languages; FS#24327

Added:
  xfce4-session/trunk/gdm.patch
Modified:
  xfce4-session/trunk/PKGBUILD

-----------+
 PKGBUILD  |   10 +++++++---
 gdm.patch |   21 +++++++++++++++++++++
 2 files changed, 28 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-22 13:06:08 UTC (rev 136073)
+++ PKGBUILD	2011-08-22 13:07:22 UTC (rev 136074)
@@ -4,7 +4,7 @@
 
 pkgname=xfce4-session
 pkgver=4.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A session manager for Xfce"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -22,13 +22,17 @@
 install=${pkgname}.install
 source=(http://archive.xfce.org/src/xfce/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2
 	org.freedesktop.consolekit.pkla
-	org.freedesktop.upower.pkla)
+	org.freedesktop.upower.pkla
+	gdm.patch)
 md5sums=('478080ff666fdd36786a243829663efd'
          '2e2519950d8c591dc9440ed8957a49ed'
-         '5fa270637b5e685f033863d8664795a2')
+         '5fa270637b5e685f033863d8664795a2'
+         '61423d0e235cad7ffcbbdacc96c9151b')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  # fix usage with gdm and custom langs https://bugs.archlinux.org/task/24327
+  patch -Np1 -i ${srcdir}/gdm.patch
   ./configure --prefix=/usr \
 	--sysconfdir=/etc \
 	--libexecdir=/usr/lib/xfce4 \

Added: gdm.patch
===================================================================
--- gdm.patch	                        (rev 0)
+++ gdm.patch	2011-08-22 13:07:22 UTC (rev 136074)
@@ -0,0 +1,21 @@
+From 3bba8eb773a96339fb841c76b04f2d4fd3317814 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai at laiskiainen.org>
+Date: Wed, 23 Mar 2011 21:13:40 +0000
+Subject: Fix GDM_LANG usage to be compatible with GDM3 (bug #7400).
+
+---
+diff --git a/xfce4-session/main.c b/xfce4-session/main.c
+index ff6e324..fcf69f8 100644
+--- a/xfce4-session/main.c
++++ b/xfce4-session/main.c
+@@ -103,7 +103,7 @@ setup_environment (void)
+ 
+   /* this is for compatibility with the GNOME Display Manager */
+   lang = g_getenv ("GDM_LANG");
+-  if (lang != NULL)
++  if (lang != NULL && strlen (lang) > 0)
+     {
+       xfce_setenv ("LANG", lang, TRUE);
+       xfce_unsetenv ("GDM_LANG");
+--
+cgit 




More information about the arch-commits mailing list