[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/30: gnu: kdoctools: Symlink some files referred to by different names
From: |
Hartmut Goebel |
Subject: |
29/30: gnu: kdoctools: Symlink some files referred to by different names. |
Date: |
Fri, 13 Oct 2017 09:29:08 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit f96302abe7c9009eceeb65d06ccb67a80c9bb1a6
Author: Hartmut Goebel <address@hidden>
Date: Fri Oct 6 11:41:43 2017 +0200
gnu: kdoctools: Symlink some files referred to by different names.
* gnu/package/kde-frameworks.scm (kdoctools)[arguments]
<#:phases>'add-symlinks': New phase.
---
gnu/packages/kde-frameworks.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3bffeb2..3495164 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1474,6 +1474,15 @@ application crashes.")
(("^.*xml/docbook/stylesheet.*$")
(string-append "xml/xsl/docbook-xsl-"
,(package-version docbook-xsl) "\n")))
+ #t))
+ (add-after 'install 'add-symlinks
+ ;; Some package(s) (e.g. kdelibs4support) refer to this locale 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 xsl "pt_br.xml")
+ (string-append xsl "pt-BR.xml")))
#t)))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Create documentation from DocBook")
- 05/30: gnu: qscintilla: Adjust installation directory layout., (continued)
- 05/30: gnu: qscintilla: Adjust installation directory layout., Hartmut Goebel, 2017/10/13
- 14/30: gnu: kdesignerplugin: Add optional inputs., Hartmut Goebel, 2017/10/13
- 13/30: gnu: Add kdewebkit., Hartmut Goebel, 2017/10/13
- 28/30: gnu: ktexteditor: Symlink some files referred to by different names., Hartmut Goebel, 2017/10/13
- 25/30: gnu: sonnet: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/13
- 23/30: gnu: kio: Symlink some files referred to by different names., Hartmut Goebel, 2017/10/13
- 20/30: gnu: kparts: Make tests pass again., Hartmut Goebel, 2017/10/13
- 19/30: gnu: bluez-qt: Add comment about status of tests., Hartmut Goebel, 2017/10/13
- 24/30: gnu: kidletime: Enable fallback mode to X-Screensaver based poller., Hartmut Goebel, 2017/10/13
- 30/30: gnu: kdelibs4support: Remove redundant inputs., Hartmut Goebel, 2017/10/13
- 29/30: gnu: kdoctools: Symlink some files referred to by different names.,
Hartmut Goebel <=