[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/124: gnu: at-spi2-core: Fix documentation.
From: |
guix-commits |
Subject: |
63/124: gnu: at-spi2-core: Fix documentation. |
Date: |
Tue, 10 Aug 2021 20:21:15 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 255d7f7c83937cbc8c238b12ff6c9ab9abae6965
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 387b24b..2615d84 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -717,6 +717,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"))
@@ -745,7 +753,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)
- 66/124: gnu: at-spi2-atk: Update home-page and license., (continued)
- 66/124: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/08/10
- 68/124: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/08/10
- 74/124: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/08/10
- 80/124: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/08/10
- 47/124: gnu: vala: Update synopsis and description., guix-commits, 2021/08/10
- 50/124: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/08/10
- 56/124: gnu: atk: Update to 2.36.0., guix-commits, 2021/08/10
- 57/124: gnu: atk: Update home-page and license., guix-commits, 2021/08/10
- 58/124: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/08/10
- 60/124: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/08/10
- 63/124: gnu: at-spi2-core: Fix documentation.,
guix-commits <=
- 67/124: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/08/10
- 72/124: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/08/10
- 73/124: gnu: wayland-protocols: Update description., guix-commits, 2021/08/10
- 75/124: gnu: gtk+-2: Enable tests., guix-commits, 2021/08/10
- 76/124: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/08/10
- 79/124: gnu: gtk+: Add missing inputs., guix-commits, 2021/08/10
- 55/124: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/08/10
- 62/124: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/08/10
- 64/124: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/08/10
- 69/124: gnu: json-glib: Update synopsis and description., guix-commits, 2021/08/10