Hello community,

here is the log from the commit of package xfce4-session for openSUSE:Factory
checked in at Tue May 31 14:46:33 CEST 2011.



--------
--- xfce4-session/xfce4-session.changes 2011-04-01 21:39:08.000000000 +0200
+++ /mounts/work_src_done/STABLE/xfce4-session/xfce4-session.changes    
2011-05-17 11:04:40.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 17 09:03:24 UTC 2011 - g...@opensuse.org
+
+- added xfce4-session-4.8.1-fix-gdm_lang-usage.patch which fixes
+  GDM_LANG usage to be compatible with GDM3 (bnc#694203, bxo#7400)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  xfce4-session-4.8.1-fix-gdm_lang-usage.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-session.spec ++++++
--- /var/tmp/diff_new_pack.e1UjVU/_old  2011-05-31 14:46:12.000000000 +0200
+++ /var/tmp/diff_new_pack.e1UjVU/_new  2011-05-31 14:46:12.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           xfce4-session
 Version:        4.8.1
-Release:        1
+Release:        11
 License:        GPLv2+
 Summary:        Xfce Session manager
 Url:            http://www.xfce.org/projects/xfce4-session/
@@ -27,6 +27,8 @@
 Source:         %{name}-%{version}.tar.bz2
 # PATCH-FEATURE-OPENSUSE xfce4-session-simple-splash-remove-shadows.patch 
g...@opensuse.org -- Improves readability of the simple splash engine text by 
removing the text shadows
 Patch1:         xfce4-session-simple-splash-remove-shadows.patch
+# PATCH-FIX-UPSTREAM xfce4-session-4.8.1-fix-gdm_lang-usage.patch bnc#694203 
bxo#7400 g...@opensuse.org -- Fixes GDM_LANG usage to be compatible with GDM3 
(backported from upstream git)
+Patch2:         xfce4-session-4.8.1-fix-gdm_lang-usage.patch
 BuildRequires:  intltool
 BuildRequires:  perl-XML-Parser
 BuildRequires:  pkgconfig(dbus-glib-1)
@@ -87,6 +89,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure \

++++++ xfce4-session-4.8.1-fix-gdm_lang-usage.patch ++++++
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");

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to