[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] gnu: docbook-xml: Substite remote xml_catalog uris with loca
From: |
John Darrington |
Subject: |
[PATCH 3/6] gnu: docbook-xml: Substite remote xml_catalog uris with local ones. |
Date: |
Tue, 15 Jul 2014 20:31:33 +0200 |
* gnu/packages/docbook.scm: substitute remote uri with local ones.
---
gnu/packages/docbook.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 1a48d97..431da7f 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -50,8 +50,12 @@
(dtd (string-append out "/xml/dtd/docbook")))
(mkdir-p dtd)
(with-directory-excursion dtd
- (system* unzip source))))
- #:modules ((guix build utils))))
+ (system* unzip source))
+ (substitute* (string-append out
"/xml/dtd/docbook/catalog.xml")
+ (("uri=\"")
+ (string-append
+ "uri=\"file://" dtd "/")))))
+ #:modules ((guix build utils))))
(native-inputs `(("unzip" ,unzip)))
(home-page "http://docbook.org")
(synopsis "DocBook XML DTDs for document authoring")
--
1.7.10.4
- [PATCH 2/6] gnu: Add docbook-xml version 4.3 and 4.4, (continued)
[PATCH 6/6] gnu: Tinyproxy: Cleanup xml dependencies, John Darrington, 2014/07/15
[PATCH 3/6] gnu: docbook-xml: Substite remote xml_catalog uris with local ones.,
John Darrington <=
[PATCH 4/6] gnu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones, John Darrington, 2014/07/15
Re: [PATCH 1/6] gnu: docbook-xsl update to 1.78.1, Ludovic Courtès, 2014/07/15