GNU bug report logs - #26131
[PATCH] gnu: asciidoc: Use local docbook-xml package.

Previous Next

Package: guix-patches;

Reported by: Kei <at> openmailbox.org, "Kebreau <kei"@openmailbox.org

Date: Thu, 16 Mar 2017 18:19:02 UTC

Severity: normal

Tags: patch

Done: Kei Kebreau <kei <at> openmailbox.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kei <at> openmailbox.org, "Kebreau <kei"@openmailbox.org
Subject: bug#26131: closed (Re: bug#26131: [PATCH] gnu: asciidoc: Use
 local docbook-xml package.)
Date: Fri, 17 Mar 2017 01:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26131: [PATCH] gnu: asciidoc: Use local docbook-xml package.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26131 <at> debbugs.gnu.org.

-- 
26131: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26131
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kei Kebreau <kei <at> openmailbox.org>
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 26131-done <at> debbugs.gnu.org
Subject: Re: bug#26131: [PATCH] gnu: asciidoc: Use local docbook-xml package.
Date: Thu, 16 Mar 2017 21:37:29 -0400
[Message part 3 (text/plain, inline)]
John Darrington <john <at> darrington.wattle.id.au> writes:

> On Thu, Mar 16, 2017 at 02:32:25PM -0400, Kei Kebreau wrote:
>      Kei <at> openmailbox.org, "Kebreau <kei"@openmailbox.org writes:
>      
>      > From: Kei Kebreau <kei <at> openmailbox.org>
>      >
>      > * gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xml.
>      > [arguments]: Add 'make-local-docbook-xml' phase.
>      > ---
>      >  gnu/packages/documentation.scm | 9 +++++++++
>      >  1 file changed, 9 insertions(+)
>      >
>      > diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
>      > index 94e979c88..8b943788a 100644
>      > --- a/gnu/packages/documentation.scm
>      > +++ b/gnu/packages/documentation.scm
>      > @@ -83,8 +83,17 @@ release/xsl/current")
>      >                             (string-append (assoc-ref inputs "docbook-xsl")
>      >                                            "/xml/xsl/docbook-xsl-"
>      >                                            ,(package-version docbook-xsl)))))
>      > +                       #t))
>      > +         ;; Do the same for docbook-xml.
>      > +         (add-before 'install 'make-local-docbook-xml
>      > +                     (lambda* (#:key inputs #:allow-other-keys)
>      > +                       (substitute* "docbook45.conf"
>      > +                         (("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd")
>      > +                          (string-append (assoc-ref inputs "docbook-xml")
>      > +                                         "/xml/dtd/docbook/docbookx.dtd")))
>      >                         #t)))))
>      >      (inputs `(("python" ,python-2)
>      > +              ("docbook-xml" ,docbook-xml)
>      >                ("docbook-xsl" ,docbook-xsl)
>      >                ("libxml2" ,libxml2)
>      >                ("libxslt" ,libxslt)))
>      
>      This patch fixes some offline validation issues with the docbookx.dtd
>      file, but I still can't remove all the docbook- and libxml2-related
>      things from all packages that use them for building documentation (for
>      example, perf in gnu/packages/linux.scm).
>
> LGTM (assuming it works).

Alright. Pushed to master.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Kei <at> openmailbox.org, "Kebreau <kei"@openmailbox.org
To: guix-patches <at> gnu.org
Cc: Kei Kebreau <kei <at> openmailbox.org>
Subject: [PATCH] gnu: asciidoc: Use local docbook-xml package.
Date: Thu, 16 Mar 2017 14:17:54 -0400
From: Kei Kebreau <kei <at> openmailbox.org>

* gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xml.
[arguments]: Add 'make-local-docbook-xml' phase.
---
 gnu/packages/documentation.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 94e979c88..8b943788a 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -83,8 +83,17 @@ release/xsl/current")
                            (string-append (assoc-ref inputs "docbook-xsl")
                                           "/xml/xsl/docbook-xsl-"
                                           ,(package-version docbook-xsl)))))
+                       #t))
+         ;; Do the same for docbook-xml.
+         (add-before 'install 'make-local-docbook-xml
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (substitute* "docbook45.conf"
+                         (("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd")
+                          (string-append (assoc-ref inputs "docbook-xml")
+                                         "/xml/dtd/docbook/docbookx.dtd")))
                        #t)))))
     (inputs `(("python" ,python-2)
+              ("docbook-xml" ,docbook-xml)
               ("docbook-xsl" ,docbook-xsl)
               ("libxml2" ,libxml2)
               ("libxslt" ,libxslt)))
-- 
2.12.0




This bug report was last modified 8 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.