mirror of
https://abf.rosa.ru/djam/kdebase4-workspace.git
synced 2025-02-24 18:22:50 +00:00
Pass locale environment variables to xsession (#bz5189)
This commit is contained in:
parent
34cd5c5668
commit
b85e88eab1
2 changed files with 27 additions and 0 deletions
24
kde-workspace-4.11.15-pass-locale-env.patch
Normal file
24
kde-workspace-4.11.15-pass-locale-env.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -ur kde-workspace-4.11.15/kdm/backend/client.c kde-workspace-4.11.15.new/kdm/backend/client.c
|
||||
--- kde-workspace-4.11.15/kdm/backend/client.c 2015-01-06 14:37:25.000000000 +0300
|
||||
+++ kde-workspace-4.11.15.new/kdm/backend/client.c 2015-03-17 18:49:06.658624504 +0300
|
||||
@@ -1035,6 +1035,20 @@
|
||||
|
||||
static const char *envvars[] = {
|
||||
"TZ", /* SYSV and SVR4, but never hurts */
|
||||
+ "LANG", /* Locale-related variables that can be defined for the system */
|
||||
+ "LANGUAGE",
|
||||
+ "LC_CTYPE",
|
||||
+ "LC_NUMERIC",
|
||||
+ "LC_TIME",
|
||||
+ "LC_COLLATE",
|
||||
+ "LC_MONETARY",
|
||||
+ "LC_MESSAGES",
|
||||
+ "LC_PAPER",
|
||||
+ "LC_NAME",
|
||||
+ "LC_ADDRESS",
|
||||
+ "LC_TELEPHONE",
|
||||
+ "LC_MEASUREMENT",
|
||||
+ "LC_IDENTIFICATION",
|
||||
#ifdef _AIX
|
||||
"AUTHSTATE", /* for kerberos */
|
||||
#endif
|
|
@ -96,6 +96,8 @@ Patch105: kde-workspace-4.11.1-kdm-logind-multiseat.patch
|
|||
# older Fedora patch, let's keep it for Rosa
|
||||
Patch106: kdebase-workspace-4.7.3.fedora-kdm-plymouth.patch
|
||||
Patch107: kdebase-workspace-4.11.0-no-hal.patch
|
||||
# See http://bugs.rosalinux.ru/show_bug.cgi?id=5189
|
||||
Patch108: kde-workspace-4.11.15-pass-locale-env.patch
|
||||
|
||||
BuildRequires: automoc4
|
||||
BuildRequires: bdftopcf
|
||||
|
@ -1626,6 +1628,7 @@ tar xf %{SOURCE6}
|
|||
%endif
|
||||
|
||||
%patch107 -p1
|
||||
%patch108 -p1
|
||||
|
||||
%build
|
||||
%cmake_kde4 \
|
||||
|
|
Loading…
Add table
Reference in a new issue