[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/124: gnu: wayland: Fix and move documentation.
From: |
guix-commits |
Subject: |
71/124: gnu: wayland: Fix and move documentation. |
Date: |
Mon, 30 Aug 2021 16:28:57 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 1bc1f1ba8d794324f36fb094c75d9f2f72f98407
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 68bc147..b296e60 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -963,8 +963,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)
- 69/124: gnu: json-glib: Update synopsis and description., (continued)
- 69/124: gnu: json-glib: Update synopsis and description., guix-commits, 2021/08/30
- 73/124: gnu: wayland-protocols: Update description., guix-commits, 2021/08/30
- 83/124: gnu: gtkmm-2: Fix build., guix-commits, 2021/08/30
- 80/124: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/08/30
- 92/124: gnu: gstreamer: Update to 1.18.4., guix-commits, 2021/08/30
- 97/124: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/08/30
- 110/124: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/08/30
- 106/124: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/08/30
- 103/124: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/08/30
- 61/124: gnu: Add atkmm-2.28., guix-commits, 2021/08/30
- 71/124: gnu: wayland: Fix and move documentation.,
guix-commits <=
- 76/124: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/08/30
- 74/124: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/08/30
- 82/124: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/08/30
- 91/124: gnu: zbar: Update to 0.23.90., guix-commits, 2021/08/30
- 90/124: gnu: faac: Correct source uri., guix-commits, 2021/08/30
- 87/124: gnu: ibus: Enable tests., guix-commits, 2021/08/30
- 96/124: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/08/30
- 94/124: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/08/30
- 95/124: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/08/30
- 105/124: gnu: pango: Use meson-0.55, as required by the project., guix-commits, 2021/08/30