mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 20:59:31 -05:00
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>
This commit is contained in:
parent
34d4502729
commit
5e4d1f6c40
1 changed files with 10 additions and 1 deletions
|
@ -713,6 +713,14 @@ (define-public at-spi2-core
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(mkdir-p (string-append (assoc-ref outputs "doc") "/share"))
|
(mkdir-p (string-append (assoc-ref outputs "doc") "/share"))
|
||||||
#t))
|
#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
|
(add-after 'install 'move-documentation
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
@ -741,7 +749,8 @@ (define-public at-spi2-core
|
||||||
("libxi" ,libxi)
|
("libxi" ,libxi)
|
||||||
("libxtst" ,libxtst)))
|
("libxtst" ,libxtst)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("docbook-xml" ,docbook-xml-4.3)
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
("glib" ,glib "bin")
|
("glib" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("gtk-doc" ,gtk-doc)
|
("gtk-doc" ,gtk-doc)
|
||||||
|
|
Loading…
Reference in a new issue