mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 12:49:45 -05:00
gnu: vala: Fix documentation.
* gnu/packages/gnome.scm (vala) [arguments]<#:phases>['patch-docbook-xml]: New phase. [native-inputs]: Add docbook-xml and docbook-xsl. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
parent
1aed8b6984
commit
31ed6339c4
1 changed files with 10 additions and 0 deletions
|
@ -4284,6 +4284,14 @@ (define-public vala
|
|||
'(#:configure-flags '("--enable-coverage")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-docbook-xml
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(with-directory-excursion "doc/manual"
|
||||
(substitute* '("manual.xml" "version.xml.in")
|
||||
(("http://www.oasis-open.org/docbook/xml/4.4/")
|
||||
(string-append (assoc-ref inputs "docbook-xml")
|
||||
"/xml/dtd/docbook/"))))
|
||||
#t))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "CC" "gcc")
|
||||
|
@ -4293,6 +4301,8 @@ (define-public vala
|
|||
(string-append m "$PKG_CONFIG_PATH:"))))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("docbook-xml" ,docbook-xml-4.4)
|
||||
("docbook-xsl" ,docbook-xsl)
|
||||
("flex" ,flex)
|
||||
("bison" ,bison)
|
||||
("xsltproc" ,libxslt)
|
||||
|
|
Loading…
Reference in a new issue