[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: |
Thu, 2 Sep 2021 17:56:08 -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)
- 296/377: gnu: vala: Change build-system., (continued)
- 296/377: gnu: vala: Change build-system., guix-commits, 2021/09/02
- 297/377: gnu: vala: Enable coverage support., guix-commits, 2021/09/02
- 300/377: gnu: vala: Update synopsis and description., guix-commits, 2021/09/02
- 305/377: gnu: libgsf: Correct inputs., guix-commits, 2021/09/02
- 308/377: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/02
- 303/377: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/02
- 309/377: gnu: atk: Update to 2.36.0., guix-commits, 2021/09/02
- 310/377: gnu: atk: Update home-page and license., guix-commits, 2021/09/02
- 313/377: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/09/02
- 314/377: gnu: Add atkmm-2.28., guix-commits, 2021/09/02
- 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/02
- 318/377: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/09/02
- 319/377: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/09/02
- 322/377: gnu: json-glib: Update synopsis and description., guix-commits, 2021/09/02
- 323/377: gnu: wayland: Update to 1.19.0., guix-commits, 2021/09/02
- 325/377: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/09/02
- 327/377: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/09/02
- 329/377: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/09/02
- 330/377: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/09/02
- 331/377: gnu: gtk+: Enable tests., guix-commits, 2021/09/02