sddm: respect system locale

sddm always defaults to en_US, sourcing `/etc/locale.conf` solves it.

Fixes: #9954
This commit is contained in:
Piraty 2019-03-17 11:54:18 +01:00 committed by maxice8
parent e9ca00a334
commit 4655236145
2 changed files with 4 additions and 1 deletions

View file

@ -9,4 +9,7 @@ if [ -x /usr/bin/elogind-inhibit ]; then
string:org.freedesktop.login1 uint32:0 string:org.freedesktop.login1 uint32:0
fi fi
# respect system locale
[ -r /etc/locale.conf ] && . /etc/locale.conf && export LANG
exec sddm 2>&1 exec sddm 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'sddm' # Template file for 'sddm'
pkgname=sddm pkgname=sddm
version=0.18.0 version=0.18.0
revision=3 revision=4
build_style=cmake build_style=cmake
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1 configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs -DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs