[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/122: gnu: at-spi2-core: Fix documentation.
From: |
guix-commits |
Subject: |
63/122: gnu: at-spi2-core: Fix documentation. |
Date: |
Wed, 30 Jun 2021 18:26:34 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 23e1c14d1c593f3b5bf2e8ceb1c8daf1eb6ccdd8
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 11 13:24:57 2021 -0500
gnu: at-spi2-core: Fix documentation.
* gnu/packages/gtk.scm (at-spi2-core)
[arguments]<#:phases>['patch-docbook-sgml]: New phase.
[native-inputs]: Add docbook-xml.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/gtk.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0c9ce3c..b63b73e 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -716,6 +716,14 @@ scaled, composited, modified, saved, or rendered.")
(lambda* (#:key outputs #:allow-other-keys)
(mkdir-p (string-append (assoc-ref outputs "doc") "/share"))
#t))
+ (add-after 'unpack 'patch-docbook-sgml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook")))
+ (substitute* "doc/libatspi/libatspi-docs.sgml"
+ (("http://.*/docbookx\\.dtd")
+ (string-append xmldoc "/docbookx.dtd")))
+ #t)))
(add-after 'install 'move-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@@ -744,7 +752,8 @@ scaled, composited, modified, saved, or rendered.")
("libxi" ,libxi)
("libxtst" ,libxtst)))
(native-inputs
- `(("gettext" ,gettext-minimal)
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
- 57/122: gnu: atk: Update home-page and license., (continued)
- 57/122: gnu: atk: Update home-page and license., guix-commits, 2021/06/30
- 60/122: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/06/30
- 62/122: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/06/30
- 64/122: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/06/30
- 65/122: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/06/30
- 66/122: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/06/30
- 73/122: gnu: wayland-protocols: Update description., guix-commits, 2021/06/30
- 78/122: gnu: gtk+: Enable tests., guix-commits, 2021/06/30
- 59/122: gnu: atkmm: Enable documentation., guix-commits, 2021/06/30
- 61/122: gnu: Add atkmm-2.28., guix-commits, 2021/06/30
- 63/122: gnu: at-spi2-core: Fix documentation.,
guix-commits <=
- 69/122: gnu: json-glib: Update synopsis and description., guix-commits, 2021/06/30
- 74/122: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/06/30
- 76/122: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/06/30
- 77/122: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/06/30
- 82/122: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/06/30
- 98/122: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/06/30
- 113/122: gnu: gtkmm: Change build-system and adjust arguments accordingly., guix-commits, 2021/06/30
- 71/122: gnu: wayland: Fix and move documentation., guix-commits, 2021/06/30
- 72/122: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/06/30
- 79/122: gnu: gtk+: Add missing inputs., guix-commits, 2021/06/30