From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FB25138334 for ; Sun, 28 Apr 2019 12:53:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D5E8E0841; Sun, 28 Apr 2019 12:53:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F4F1E0841 for ; Sun, 28 Apr 2019 12:53:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85CDE342B3B for ; Sun, 28 Apr 2019 12:53:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFC87503 for ; Sun, 28 Apr 2019 12:53:37 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1556456004.0957f99dcbfa6585b93828a9f3373601c3e71ca9.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 0957f99dcbfa6585b93828a9f3373601c3e71ca9 X-VCS-Branch: master Date: Sun, 28 Apr 2019 12:53:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7954d505-ac99-426e-92d9-91cbd47eb1a5 X-Archives-Hash: cdffffb5b65dc0c36e68075201f473cb commit: 0957f99dcbfa6585b93828a9f3373601c3e71ca9 Author: Michael Palimaka gentoo org> AuthorDate: Sun Apr 28 12:50:13 2019 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sun Apr 28 12:53:24 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0957f99d 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 stikonas.eu> Signed-off-by: Michael Palimaka gentoo.org> eclass/kde5.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 14aa80ef27..40a146e33c 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -497,7 +497,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