[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/91: gnu: at-spi2-core: Fix documentation.
From: |
guix-commits |
Subject: |
63/91: gnu: at-spi2-core: Fix documentation. |
Date: |
Mon, 19 Apr 2021 17:14:13 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit cb740f535d552e0b8ec86f7ce8a6559bf834c850
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 ea83326..7b294bc 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -714,6 +714,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"))
@@ -742,7 +750,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)
- 76/91: gnu: gtk+-2: Add missing inputs and search-path., (continued)
- 76/91: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/04/19
- 78/91: gnu: gtk+: Enable tests., guix-commits, 2021/04/19
- 79/91: gnu: gtk+: Add missing inputs., guix-commits, 2021/04/19
- 82/91: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/04/19
- 85/91: gnu: ibus: Enable documentation., guix-commits, 2021/04/19
- 88/91: gnu: ibus: Remove trailing #t in phases., guix-commits, 2021/04/19
- 29/91: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/04/19
- 28/91: gnu: pango: Add missing arguments., guix-commits, 2021/04/19
- 31/91: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/04/19
- 53/91: gnu: libgsf: Enable documentation., guix-commits, 2021/04/19
- 63/91: gnu: at-spi2-core: Fix documentation.,
guix-commits <=
- 75/91: gnu: gtk+-2: Enable tests., guix-commits, 2021/04/19
- 87/91: gnu: ibus: Enable tests., guix-commits, 2021/04/19
- 89/91: gnu: iqa: Correct source uri., guix-commits, 2021/04/19
- 90/91: gnu: faac: Correct source uri., guix-commits, 2021/04/19
- 91/91: gnu: zbar: Update to 0.23.90., guix-commits, 2021/04/19