From: Andrew Whatson <whatson@gmail.com>
To: 50131@debbugs.gnu.org
Cc: Andrew Whatson <whatson@gmail.com>
Subject: [bug#50131] [PATCH 3/3] gnu: Generate man pages for lxc.
Date: Fri, 20 Aug 2021 22:09:07 +1000 [thread overview]
Message-ID: <20210820120907.83191-3-whatson@gmail.com> (raw)
In-Reply-To: <20210820120907.83191-1-whatson@gmail.com>
* gnu/packages/virtualization.scm (lxc)[inputs]: Add docboo2x.
[phases]{patch-docbook-dtd}: New phase.
---
gnu/packages/virtualization.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 1bbcb46b99..f1a9e28d3f 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1008,7 +1008,8 @@ all common programming languages. Vala bindings are also provided.")
"0qz4l7mlhq7hx53q606qgvkyzyr01glsw290v8ppzvxn1fydlrci"))))
(build-system gnu-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("docbook2x" ,docbook2x)))
(inputs
`(("gnutls" ,gnutls)
("libcap" ,libcap)
@@ -1022,6 +1023,12 @@ all common programming languages. Vala bindings are also provided.")
"--localstatedir=/var")
#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'patch-docbook-dtd
+ (lambda _
+ ;; Fix incorrect DocBook DTD
+ (substitute* "configure"
+ (("\\\\\"-//Davenport//DTD DocBook V3\\.0//EN\\\\\"")
+ "\\\"-//OASIS//DTD DocBook XML\\\" \\\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\\""))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
--
2.32.0
next prev parent reply other threads:[~2021-08-20 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-20 12:03 [bug#50131] [PATCH 0/3] Add docbook2x and generate lxc man pages Andrew Whatson
2021-08-20 12:09 ` [bug#50131] [PATCH 1/3] gnu: Prefix licenses in docbook module Andrew Whatson
2021-08-20 12:09 ` [bug#50131] [PATCH 2/3] gnu: Add docbook2x Andrew Whatson
2021-08-26 15:36 ` Thiago Jung Bauermann via Guix-patches via
2021-08-20 12:09 ` Andrew Whatson [this message]
2021-08-26 15:49 ` [bug#50131] [PATCH 3/3] gnu: Generate man pages for lxc Thiago Jung Bauermann via Guix-patches via
2021-08-27 4:21 ` Andrew Whatson
2021-08-27 4:15 ` [bug#50131] [PATCH 2/3 v2] gnu: Add docbook2x Andrew Whatson
2021-08-27 4:15 ` [bug#50131] [PATCH 3/3 v2] gnu: Generate man pages for lxc Andrew Whatson
2021-08-27 17:48 ` Thiago Jung Bauermann via Guix-patches via
2021-09-13 10:30 ` bug#50131: [PATCH 0/3] Add docbook2x and generate lxc man pages Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210820120907.83191-3-whatson@gmail.com \
--to=whatson@gmail.com \
--cc=50131@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).