[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/332: gnu: kdoctools: Use G-expressions.
From: |
guix-commits |
Subject: |
48/332: gnu: kdoctools: Use G-expressions. |
Date: |
Wed, 2 Aug 2023 10:36:41 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit e6d22dfbe976ff7ca4eaf6e91d5d66b08d8f51cc
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Jul 12 14:09:15 2023 +0800
gnu: kdoctools: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kdoctools)[arguments]:
Rewrite as G-expressions.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-frameworks.scm | 46 +++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 91b6262311..d8429576a3 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1705,28 +1705,30 @@ application crashes.")
perl-uri
qtbase-5))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'cmake-find-docbook
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* (find-files "cmake" "\\.cmake$")
- (("CMAKE_SYSTEM_PREFIX_PATH")
- "CMAKE_PREFIX_PATH"))
- (substitute* "cmake/FindDocBookXML4.cmake"
- (("^.*xml/docbook/schema/dtd.*$")
- "xml/dtd/docbook\n"))
- (substitute* "cmake/FindDocBookXSL.cmake"
- (("^.*xml/docbook/stylesheet.*$")
- (string-append "xml/xsl/docbook-xsl-"
- ,(package-version docbook-xsl) "\n")))))
- (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"))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'cmake-find-docbook
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (find-files "cmake" "\\.cmake$")
+ (("CMAKE_SYSTEM_PREFIX_PATH")
+ "CMAKE_PREFIX_PATH"))
+ (substitute* "cmake/FindDocBookXML4.cmake"
+ (("^.*xml/docbook/schema/dtd.*$")
+ "xml/dtd/docbook\n"))
+ (substitute* "cmake/FindDocBookXSL.cmake"
+ (("^.*xml/docbook/stylesheet.*$")
+ (string-append "xml/xsl/docbook-xsl-"
+ #$(package-version docbook-xsl)
+ "\n")))))
+ (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"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Create documentation from DocBook")
(description "Provides tools to generate documentation in various format
- 27/332: gnu: prison: Update to 5.108.0., (continued)
- 27/332: gnu: prison: Update to 5.108.0., guix-commits, 2023/08/02
- 29/332: gnu: ki18n: Use G-expressions., guix-commits, 2023/08/02
- 31/332: gnu: kirigami: Update to 5.108.0., guix-commits, 2023/08/02
- 33/332: gnu: kitemviews: Update to 5.108.0., guix-commits, 2023/08/02
- 40/332: gnu: kjobwidgets: Update to 5.108.0., guix-commits, 2023/08/02
- 38/332: gnu: kcontacts: Update to 5.108.0., guix-commits, 2023/08/02
- 39/332: gnu: kcontacts: Use G-expressions., guix-commits, 2023/08/02
- 45/332: gnu: kunitconversion: Update to 5.108.0., guix-commits, 2023/08/02
- 44/332: gnu: kpty: Use G-expressions., guix-commits, 2023/08/02
- 47/332: gnu: kdoctools: Update to 5.108.0., guix-commits, 2023/08/02
- 48/332: gnu: kdoctools: Use G-expressions.,
guix-commits <=
- 51/332: gnu: kguiaddons: Update to 5.108.0., guix-commits, 2023/08/02
- 58/332: gnu: solid: Use G-expressions., guix-commits, 2023/08/02
- 62/332: gnu: plasma-wayland-protocols: Update to 1.10.0., guix-commits, 2023/08/02
- 61/332: gnu: kjsembed: Update to 5.108.0., guix-commits, 2023/08/02
- 55/332: gnu: kiconthemes: Update to 5.108.0., guix-commits, 2023/08/02
- 63/332: gnu: kwayland: Update to 5.108.0., guix-commits, 2023/08/02
- 14/332: gnu: kcoreaddons: Update to 5.108.0., guix-commits, 2023/08/02
- 10/332: gnu: karchive: Update to 5.108.0., guix-commits, 2023/08/02
- 23/332: gnu: modemmanager-qt: Use G-expressions., guix-commits, 2023/08/02
- 28/332: gnu: ki18n: Update to 5.108.0., guix-commits, 2023/08/02