Debian Patches

Status for docbook-utils/0.6.14-4

Patch Description Author Forwarded Bugs Origin Last update
autotools_dev.patch autotools_dev results Mathieu Malaterre <malat@debian.org> no
spellingtypo.patch Fix some typos in man pages
===================================================================
Mathieu Malaterre <malat@debian.org> no
bug_212088.patch WARNING: I know very little about the docbook toolchain! Please
double-check and triple-check my suggestion. Works For Me (tm)


Running

db2html foo.xml

causes unnecessary long waits (up to 30 seconds or so) if the
input document is an XML document.

I traced down the problem to the file
/usr/share/sgml/docbook/utils-0.6.13/frontend/docbook (which is
called from /usr/bin/jw). Apparently it runs 'sgmlnorm' even
over XML documents (which should be expected to be well-formed, no?).
This is because $SGML_NORM is set to either 'sgml' or 'xml' in
/usr/bin/jw in any case (and exported), so that the check in docbook
will always lead to sgmlnorm being used.

To me it seems unnecessary to run sgmlnorm over XML input, but I
may well be wrong :)

If there is something to it, please have a look at the attached
patch, which works fine for me and fixes those long waits for me.

===================================================================
Tim-Philipp Müller <tim-mailinglists@zen.co.uk> not-needed debian
bug_214982.patch patch to get the <date> from the sgml file For the moment, docbook2man doesn't use the tag date in <date> </date>
to but `date "+%d %B %Y"`, and thus depend on the current locale.

<refentry>
<docinfo>
<date>06 September 2003</>
</docinfo>
</refentry>

A patch against /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl
allows to use the date written in the source SGML file (which can be
localized) instead of the current date.

However, if no correct date tag is present in the SGML file, the date
written in the manpage will depend on the current locale.

===================================================================
Simon Paillard <simon.paillard@resel.enst-bretagne.fr> not-needed debian
bug_394511.patch docbook2man should translate the NAME section according to the REFENTRY's lang attribute Currently, docbook2man translates the NAME section according to the lang
attribute provided to the REFNAMEDIV tag.
When a lang attribute is specified in the REFENTRY tag and no lang
attribute is specified with the REFNAMEDIV, the lang attribute of the
REFENTRY should be used.

===================================================================
Nicolas François <nicolas.francois@centraliens.net> not-needed debian
bug_528334.patch incorrectly strips whitespace (patch included) In the previous upload, docbook2man was patched to escape the special
characters . and ' at the beginning of a line (see #399947).
Unfortunately that patch was incorrect -- as well as escaping the special
characters, it also removes all whitespace from the beginning of
affected lines. As a result, if you are in a block where whitespace
matters (such as <screen>...</screen>) then the output is now incorrect.

This is very easy to fix -- just match the whitespace and preserve it,
instead of tossing it away. The full patch (just two lines) is included
below.

===================================================================
Ben Burton <bab@debian.org> not-needed debian
support_source_date_epoch.patch Support SOURCE_DATE_EPOCH for timestamps To allow generating documents in a reproducible way,
allow overriding the timestamp through the environment.
.
See also: https://reproducible-builds.org/specs/source-date-epoch/
Reiner Herrmann <reiner@reiner-h.de> no debian
remove-jade-sp.patch Change dependencies on jade and sp to openjade and opensp Neil Roeth <neil@debian.org> no 2016-07-24

All known versions for source package 'docbook-utils'

Links