From: Michael Palimaka Date: Sun, 28 Apr 2019 12:50:13 +0000 (+1000) Subject: kde5.eclass: install linguas-related files unconditionally for kconfigwidgets X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29a365a10f3c046fbff9ec8b25bf829ffe425dc1;p=gentoo.git kde5.eclass: install linguas-related files unconditionally for kconfigwidgets See https://api.kde.org/frameworks/kconfigwidgets/html/klanguagename_8cpp_source.html#l00040 for source reference. Reported-by: Andrius Štikonas Signed-off-by: Michael Palimaka Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 6b2712efc36d..f58d991bc584 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -495,7 +495,10 @@ kde5_src_prepare() { fi # enable only the requested translations when required - if [[ -v LINGUAS ]] ; then + # always install unconditionally for kconfigwidgets - if you use language + # X as system language, and there is a combobox with language names, the + # translated language name for language Y is taken from /usr/share/locale/Y/kf5_entry.desktop + if [[ -v LINGUAS && ${PN} != kconfigwidgets ]] ; then local po for po in ${KDE_PO_DIRS}; do if [[ -d ${po} ]] ; then