From 465523614515b9c516100681dd5f2950de9b3407 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sun, 17 Mar 2019 11:54:18 +0100 Subject: [PATCH] sddm: respect system locale sddm always defaults to en_US, sourcing `/etc/locale.conf` solves it. Fixes: #9954 --- srcpkgs/sddm/files/sddm/run | 3 +++ srcpkgs/sddm/template | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sddm/files/sddm/run b/srcpkgs/sddm/files/sddm/run index 9e46251d7dd..283a89e2b41 100644 --- a/srcpkgs/sddm/files/sddm/run +++ b/srcpkgs/sddm/files/sddm/run @@ -9,4 +9,7 @@ if [ -x /usr/bin/elogind-inhibit ]; then string:org.freedesktop.login1 uint32:0 fi +# respect system locale +[ -r /etc/locale.conf ] && . /etc/locale.conf && export LANG + exec sddm 2>&1 diff --git a/srcpkgs/sddm/template b/srcpkgs/sddm/template index fbc6b8c1c03..4c8c24fcd2a 100644 --- a/srcpkgs/sddm/template +++ b/srcpkgs/sddm/template @@ -1,7 +1,7 @@ # Template file for 'sddm' pkgname=sddm version=0.18.0 -revision=3 +revision=4 build_style=cmake configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1 -DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs