GNU bug report logs -
#50131
[PATCH 0/3] Add docbook2x and generate lxc man pages.
Previous Next
Reported by: Andrew Whatson <whatson <at> gmail.com>
Date: Fri, 20 Aug 2021 12:04:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 50131 <at> debbugs.gnu.org (full text, mbox):
On Thu, 26 Aug 2021 at 15:37, Thiago Jung Bauermann
<bauermann <at> kolabnow.com> wrote:
>
> There’s no need to pass the prefix argument. ‘gnu-build-system’ already
> does it.
Thanks, fixed in the revised patch.
> > + (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\\\""))))
>
> Has this fix been submitted upstream, or is it already available in a newer
> lxc version? Ideally, we wouldn’t have to carry this change indefinitely.
The lxc configure script checks for both db2x_docbook2man and
docbook2man (in that order). If it finds docbook2man, it assumes this
is an older tool and formats the documents with the wrong DTD. I've
revised the docbook2x package to provide a db2x_docbook2man symlink as
it's possible other packages using docbook2x will make the same
assumption. This means patching configure is no longure required.
> The same question would apply to the substitutions made in docbook2x, but
> that project seems abandoned so there’s no point.
Similar fixes for docbook2x are found in the arch & nix builds, and
actually some have been incorporated into its CVS repo but never been
released. I haven't tried to get in touch with upstream, but I guess
it's worth a shot.
Thanks!
This bug report was last modified 3 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.