[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/115: gnu: wayland: Fix and move documentation.
From: |
guix-commits |
Subject: |
71/115: gnu: wayland: Fix and move documentation. |
Date: |
Wed, 12 May 2021 21:01:39 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 8ddf355d7b567718c1a3c20f4133c119f94e8038
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Fri Mar 26 10:42:00 2021 -0400
gnu: wayland: Fix and move documentation.
* gnu/packages/freedesktop.scm (wayland) [outputs]: New output "doc".
[arguments]<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/freedesktop.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a17e806..956dc59 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -928,8 +928,31 @@ Python.")
(base32
"05bd2vphyx8qwa1mhsj1zdaiv4m4v94wrlssrn0lad8d601dkk5s"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:parallel-tests? #f))
+ `(#:parallel-tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (substitute* (find-files "." "\\.xml$")
+ (("http://www.oasis-open.org/docbook/xml/4\\.5/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))
+ (("http://www.oasis-open.org/docbook/xml/4\\.2/")
+ (string-append (assoc-ref inputs "docbook-xml-4.2")
+ "/xml/dtd/docbook/"))))
+ #t))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ #t))))))
(native-inputs
`(("docbook-xml-4.2" ,docbook-xml-4.2)
("docbook-xml" ,docbook-xml)
- 38/115: gnu: gdk-pixbuf: Fix documentation., (continued)
- 38/115: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/05/12
- 41/115: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/05/12
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/05/12
- 47/115: gnu: vala: Update synopsis and description., guix-commits, 2021/05/12
- 51/115: gnu: libgsf: Enable missing features., guix-commits, 2021/05/12
- 54/115: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/05/12
- 57/115: gnu: atk: Update home-page and license., guix-commits, 2021/05/12
- 70/115: gnu: wayland: Update to 1.19.0., guix-commits, 2021/05/12
- 64/115: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/05/12
- 61/115: gnu: Add atkmm-2.28., guix-commits, 2021/05/12
- 71/115: gnu: wayland: Fix and move documentation.,
guix-commits <=
- 59/115: gnu: atkmm: Enable documentation., guix-commits, 2021/05/12
- 65/115: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/05/12
- 60/115: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/05/12
- 74/115: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/05/12
- 79/115: gnu: gtk+: Add missing inputs., guix-commits, 2021/05/12
- 97/115: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/05/12
- 77/115: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/05/12
- 83/115: gnu: gtkmm-2: Fix build., guix-commits, 2021/05/12
- 72/115: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/05/12
- 73/115: gnu: wayland-protocols: Update description., guix-commits, 2021/05/12