[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/115: gnu: at-spi2-core: Fix documentation.
From: |
guix-commits |
Subject: |
63/115: gnu: at-spi2-core: Fix documentation. |
Date: |
Fri, 7 May 2021 16:56:39 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit e6fbadab953306e13cd52a3ba956e4f354160849
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 6a7c820..5dac076 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)
- 29/115: gnu: pango: Re-arrange inputs in alphabetical order., (continued)
- 29/115: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 33/115: gnu: pangomm: Enable documentation., guix-commits, 2021/05/07
- 44/115: gnu: vala: Enable coverage support., guix-commits, 2021/05/07
- 45/115: gnu: vala: Fix documentation., guix-commits, 2021/05/07
- 46/115: gnu: vala: Update to 0.52.0., guix-commits, 2021/05/07
- 50/115: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 53/115: gnu: libgsf: Enable documentation., guix-commits, 2021/05/07
- 57/115: gnu: atk: Update home-page and license., guix-commits, 2021/05/07
- 59/115: gnu: atkmm: Enable documentation., guix-commits, 2021/05/07
- 60/115: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 63/115: gnu: at-spi2-core: Fix documentation.,
guix-commits <=
- 66/115: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/05/07
- 83/115: gnu: gtkmm-2: Fix build., guix-commits, 2021/05/07
- 86/115: gnu: ibus: Enable memconf., guix-commits, 2021/05/07
- 21/115: gnu: cairo: Change build-system., guix-commits, 2021/05/07
- 47/115: gnu: vala: Update synopsis and description., guix-commits, 2021/05/07
- 54/115: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 55/115: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 62/115: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/05/07
- 64/115: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/05/07
- 67/115: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/05/07