[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61015] [PATCH core-updates 3/9] gnu: docbook-xml: Adapt to copy-bui
From: |
Bruno Victal |
Subject: |
[bug#61015] [PATCH core-updates 3/9] gnu: docbook-xml: Adapt to copy-build-system. |
Date: |
Mon, 23 Jan 2023 03:32:49 +0000 |
* gnu/packages/docbook.scm (docbook-xml)
[arguments]: Adapt to copy-build-system.
[source]: Switch to url-fetch/zipbomb.
---
gnu/packages/docbook.scm | 23 ++---------------------
1 file changed, 2 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 113039616e..11e65b1091 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -83,31 +83,12 @@ (define-public docbook-xml
(name "docbook-xml")
(version "4.5")
(source (origin
- (method url-fetch)
+ (method url-fetch/zipbomb)
(uri (string-append "https://docbook.org/xml/" version
"/docbook-xml-" version ".zip"))
(sha256
(base32
- "1d671lcjckjri28xfbf6dq7y3xnkppa910w1jin8rjc35dx06kjf"))))
- (arguments
- '(#:builder (begin
- (use-modules (guix build utils))
-
- (let* ((unzip
- (string-append (assoc-ref %build-inputs "unzip")
- "/bin/unzip"))
- (source (assoc-ref %build-inputs "source"))
- (out (assoc-ref %outputs "out"))
- (dtd (string-append out "/xml/dtd/docbook")))
- (mkdir-p dtd)
- (with-directory-excursion dtd
- (invoke unzip source))
- (substitute* (string-append out
"/xml/dtd/docbook/catalog.xml")
- (("uri=\"")
- (string-append
- "uri=\"file://" dtd "/")))
- #t))
- #:modules ((guix build utils))))))
+ "1d671lcjckjri28xfbf6dq7y3xnkppa910w1jin8rjc35dx06kjf"))))))
(define-public docbook-xml-4.4
(package (inherit docbook-xml)
--
2.38.1
- [bug#61015] [PATCH core-updates 0/9] Modernize and fix docbook-xml, Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 1/9] gnu: docbook-xml: Use copy-build-system., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 2/9] gnu: docbook-xml-4.1.2: Adapt to copy-build-system., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 3/9] gnu: docbook-xml: Adapt to copy-build-system.,
Bruno Victal <=
- [bug#61015] [PATCH core-updates 4/9] gnu: docbook-xml-4.4: Adapt to copy-build-system., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 5/9] gnu: docbook-xml-4.3: Adapt to copy-build-system., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 6/9] gnu: docbook-xml-4.2: Adapt to copy-build-system., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 7/9] gnu: docbook-xml: Fix permissions., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 8/9] gnu: docbook-xml: Use XSLT to patch catalog.xml., Bruno Victal, 2023/01/22
- [bug#61015] [PATCH core-updates 9/9] gnu: docbook-xml-4.1.2: Add missing catalog.xml., Bruno Victal, 2023/01/22