guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

45/122: gnu: vala: Fix documentation.


From: guix-commits
Subject: 45/122: gnu: vala: Fix documentation.
Date: Fri, 11 Jun 2021 12:12:02 -0400 (EDT)

raghavgururajan pushed a commit to branch wip-gnome
in repository guix.

commit ba1db4093702709f8222399cbec4fa88096ccc2e
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 11 11:30:26 2021 -0500

    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>
---
 gnu/packages/gnome.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fa16d81..798ab73 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4403,6 +4403,14 @@ passwords in the GNOME keyring.")
      '(#: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")
@@ -4412,6 +4420,8 @@ passwords in the GNOME keyring.")
                 (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]