[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
258/377: gnu: glib-with-documentation: Make some cosmetic changes.
From: |
guix-commits |
Subject: |
258/377: gnu: glib-with-documentation: Make some cosmetic changes. |
Date: |
Sun, 5 Sep 2021 10:08:02 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 5b2c7d356d8fa4b7bca0dc2e1b97ce5c4b10124e
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 11 09:37:00 2021 -0500
gnu: glib-with-documentation: Make some cosmetic changes.
* gnu/packages/glib.scm (glib-with-documentation): Make some cosmetic
changes.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/glib.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2a09f71..c8790c1 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -320,8 +320,8 @@ functions for strings and common data structures.")
(properties (alist-delete 'hidden? (package-properties glib)))
(outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc reference
(native-inputs
- `(("gtk-doc" ,gtk-doc) ; for the doc
- ("docbook-xml" ,docbook-xml)
+ `(("docbook-xml" ,docbook-xml)
+ ("gtk-doc" ,gtk-doc) ; for the doc
("libxml2" ,libxml2)
,@(package-native-inputs glib)))
(arguments
@@ -332,12 +332,13 @@ functions for strings and common data structures.")
`(modify-phases ,phases
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc"))
- (html (string-append "/share/gtk-doc")))
- (copy-recursively (string-append out html)
- (string-append doc html))
- (delete-file-recursively (string-append out html))
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc"))
+ (html (string-append "/share/gtk-doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out html)
+ (string-append doc html))
#t)))))))))
;;; TODO: Merge into glib as a 'static' output on core-updates.
- 372/377: gnu: tracker: Update to 3.1.1 and make related changes., (continued)
- 372/377: gnu: tracker: Update to 3.1.1 and make related changes., guix-commits, 2021/09/05
- 217/377: gnu: rofi: Update to 1.7.0., guix-commits, 2021/09/05
- 221/377: gnu: Add emacs-helm-xref., guix-commits, 2021/09/05
- 226/377: bootloader: Report location of the deprecated 'target' field., guix-commits, 2021/09/05
- 228/377: build: Build (gnu packages rocm)., guix-commits, 2021/09/05
- 229/377: gnu: scrot: Update to 1.6., guix-commits, 2021/09/05
- 236/377: gnu: Add python-svgutils., guix-commits, 2021/09/05
- 237/377: gnu: Add python-dna-features-viewer., guix-commits, 2021/09/05
- 240/377: gnu: Add python-pytest-mock-3., guix-commits, 2021/09/05
- 257/377: gnu: glib: Update synopsis, description and home-page., guix-commits, 2021/09/05
- 258/377: gnu: glib-with-documentation: Make some cosmetic changes.,
guix-commits <=
- 259/377: gnu: glib-with-documentation: Fix documentation build., guix-commits, 2021/09/05
- 261/377: gnu: libsigc++: Update to 3.0.6., guix-commits, 2021/09/05
- 262/377: gnu: libsigc++: Enable documentation., guix-commits, 2021/09/05
- 269/377: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/09/05
- 273/377: gnu: cairo: Make some cosmetic changes., guix-commits, 2021/09/05
- 274/377: gnu: cairo: Change build-system., guix-commits, 2021/09/05
- 276/377: gnu: cairo: Enable some features., guix-commits, 2021/09/05
- 277/377: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/09/05
- 192/377: gnu: Add emacs-company-org-block., guix-commits, 2021/09/05
- 202/377: gnu: python-rope: Update to 0.19.0 and remove python2-rope., guix-commits, 2021/09/05