[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/115: gnu: glib-with-documentation: Make some cosmetic changes.
From: |
guix-commits |
Subject: |
05/115: gnu: glib-with-documentation: Make some cosmetic changes. |
Date: |
Fri, 7 May 2021 16:56:21 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 88e16b1a444961e5cabc577388e1638334682958
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 f851aa2..c32e643 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.
- 94/115: gnu: gst-plugins-base: Enable more features., (continued)
- 94/115: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/05/07
- 95/115: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/05/07
- 96/115: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/05/07
- 99/115: gnu: gst-plugins-bad: Add missing inputs to enable more features., guix-commits, 2021/05/07
- 98/115: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/05/07
- 101/115: gnu: cairo: Reintroduce security patches [security fixes]., guix-commits, 2021/05/07
- 111/115: gnu: python-pycairo: Update to 1.20.0., guix-commits, 2021/05/07
- 105/115: gnu: pango: Use meson-0.55, as required by the project., guix-commits, 2021/05/07
- 110/115: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/05/07
- 102/115: gnu: glib: Disable failing test., guix-commits, 2021/05/07
- 05/115: gnu: glib-with-documentation: Make some cosmetic changes.,
guix-commits <=
- 109/115: gnu: gnutls: Enable PKCS#11 support., guix-commits, 2021/05/07
- 108/115: gnu: glib-networking: Update home-page, synopsis, description and license., guix-commits, 2021/05/07
- 104/115: gnu: docbook-xsl: Update to 1.79.2., guix-commits, 2021/05/07
- 107/115: gnu: glib-networking: Enable libproxy and openssl support., guix-commits, 2021/05/07
- 112/115: gnu: python-pygobject: Update to 3.40.1., guix-commits, 2021/05/07
- 106/115: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/05/07
- 114/115: gnu: gtkmm@2: Override inheritance of certain changes from gtkmm., guix-commits, 2021/05/07