From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0RZ6-0004bJ-C1 for guix-patches@gnu.org; Fri, 06 Oct 2017 08:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0RZ5-0004Il-8d for guix-patches@gnu.org; Fri, 06 Oct 2017 08:17:16 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0RZ5-0004I0-2q for guix-patches@gnu.org; Fri, 06 Oct 2017 08:17:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0RZ4-00078x-RJ for guix-patches@gnu.org; Fri, 06 Oct 2017 08:17:14 -0400 Subject: [bug#28720] [PATCH 23/23] gnu: kdoctools: Symlink some files referred to by different names. Resent-Message-ID: From: Hartmut Goebel Date: Fri, 6 Oct 2017 14:16:36 +0200 Message-Id: <20171006121636.30904-24-h.goebel@crazy-compilers.com> In-Reply-To: <20171006121636.30904-1-h.goebel@crazy-compilers.com> References: <20171006121636.30904-1-h.goebel@crazy-compilers.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28720@debbugs.gnu.org * gnu/package/kde-frameworks.scm (kdoctools)[arguments] <#:phases>'add-symlinks': New phase. --- gnu/packages/kde-frameworks.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 8c0a33677..1c725413b 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -2034,7 +2034,15 @@ KCModules can be created with the KConfigWidgets framework.") (lambda _ ;; make Qt render "offscreen", required for tests (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) + #t)) + (add-after 'install 'add-symlinks + ;; Some package(s) (e.g. plasma-desktop) refer to these locales by + ;; a different spelling. + (lambda* (#:key outputs #:allow-other-keys) + (let ((xsl (string-append (assoc-ref outputs "out") + "share/kf5/kdoctools/customization/xsl/"))) + (symlink (string-append kst5 "pt_br.xml") + (string-append kst5 "pt-BR.xml")))))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Widgets for configuration dialogs") (description "KConfigWidgets provides easy-to-use classes to create -- 2.13.5