1 |
commit: 0957f99dcbfa6585b93828a9f3373601c3e71ca9 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 28 12:50:13 2019 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 28 12:53:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0957f99d |
7 |
|
8 |
kde5.eclass: install linguas-related files unconditionally for kconfigwidgets |
9 |
|
10 |
See https://api.kde.org/frameworks/kconfigwidgets/html/klanguagename_8cpp_source.html#l00040 |
11 |
for source reference. |
12 |
|
13 |
Reported-by: Andrius Štikonas <andrius <AT> stikonas.eu> |
14 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
15 |
|
16 |
eclass/kde5.eclass | 5 ++++- |
17 |
1 file changed, 4 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass |
20 |
index 14aa80ef27..40a146e33c 100644 |
21 |
--- a/eclass/kde5.eclass |
22 |
+++ b/eclass/kde5.eclass |
23 |
@@ -497,7 +497,10 @@ kde5_src_prepare() { |
24 |
fi |
25 |
|
26 |
# enable only the requested translations when required |
27 |
- if [[ -v LINGUAS ]] ; then |
28 |
+ # always install unconditionally for kconfigwidgets - if you use language |
29 |
+ # X as system language, and there is a combobox with language names, the |
30 |
+ # translated language name for language Y is taken from /usr/share/locale/Y/kf5_entry.desktop |
31 |
+ if [[ -v LINGUAS && ${PN} != kconfigwidgets ]] ; then |
32 |
local po |
33 |
for po in ${KDE_PO_DIRS}; do |
34 |
if [[ -d ${po} ]] ; then |