forked from pool/xfce4-session
Accepting request 72237 from X11:xfce
- 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) OBS-URL: https://build.opensuse.org/request/show/72237 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfce4-session?expand=0&rev=38
This commit is contained in:
commit
3d0d74d633
13
xfce4-session-4.8.1-fix-gdm_lang-usage.patch
Normal file
13
xfce4-session-4.8.1-fix-gdm_lang-usage.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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");
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 17 09:03:24 UTC 2011 - gber@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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 1 19:20:50 UTC 2011 - gber@opensuse.org
|
Fri Apr 1 19:20:50 UTC 2011 - gber@opensuse.org
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ Group: System/GUI/XFCE
|
|||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
# PATCH-FEATURE-OPENSUSE xfce4-session-simple-splash-remove-shadows.patch gber@opensuse.org -- Improves readability of the simple splash engine text by removing the text shadows
|
# PATCH-FEATURE-OPENSUSE xfce4-session-simple-splash-remove-shadows.patch gber@opensuse.org -- Improves readability of the simple splash engine text by removing the text shadows
|
||||||
Patch1: xfce4-session-simple-splash-remove-shadows.patch
|
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 gber@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: intltool
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
BuildRequires: pkgconfig(dbus-glib-1)
|
BuildRequires: pkgconfig(dbus-glib-1)
|
||||||
@ -87,6 +89,7 @@ This package provides the upstream look and feel for the Xfce Session Manager.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user