[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
316/377: gnu: at-spi2-core: Fix documentation.
From: |
guix-commits |
Subject: |
316/377: gnu: at-spi2-core: Fix documentation. |
Date: |
Sun, 5 Sep 2021 10:08:19 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 5f7b9cdd17432faca79699a3b504c62325d77bcb
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)
- 287/377: gnu: pangomm-2.42: Update to 2.42.2., (continued)
- 287/377: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/09/05
- 288/377: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/09/05
- 292/377: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/09/05
- 298/377: gnu: vala: Fix documentation., guix-commits, 2021/09/05
- 299/377: gnu: vala: Update to 0.52.0., guix-commits, 2021/09/05
- 303/377: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 304/377: gnu: libgsf: Enable missing features., guix-commits, 2021/09/05
- 306/377: gnu: libgsf: Enable documentation., guix-commits, 2021/09/05
- 307/377: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/09/05
- 312/377: gnu: atkmm: Enable documentation., guix-commits, 2021/09/05
- 316/377: gnu: at-spi2-core: Fix documentation.,
guix-commits <=
- 317/377: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/09/05
- 321/377: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/09/05
- 323/377: gnu: wayland: Update to 1.19.0., guix-commits, 2021/09/05
- 324/377: gnu: wayland: Fix and move documentation., guix-commits, 2021/09/05
- 325/377: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/09/05
- 326/377: gnu: wayland-protocols: Update description., guix-commits, 2021/09/05
- 333/377: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/09/05
- 335/377: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/09/05
- 336/377: gnu: gtkmm-2: Fix build., guix-commits, 2021/09/05
- 338/377: gnu: ibus: Enable documentation., guix-commits, 2021/09/05