Bug 27315: use the namespace-aware docbook stylesheet
When viewing the man page for the `koha-list` command, the output does
not appear correctly: there appears to be a "staircase"-like effect on
the text. The same is true for all other man pages.
The source XML files for our man pages have the following namespace
declaration at the top: xmlns='http://docbook.org/ns/docbook', which
means they are DocBook V5.0 documents and should be processed by
namespace-aware DocBook XSL stylesheets.
This patch fixes that by using the DocBook-to-man-page transformation
stylesheet from the docbook-xsl-ns package (note the "-ns" suffix).
Test plan:
1) Apply the patch
2) Build and install new package
3) Confirm the man pages display correctly
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 43ecb3c86c
)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
dee700810e
commit
708b8d996a
2 changed files with 2 additions and 2 deletions
2
debian/control.in
vendored
2
debian/control.in
vendored
|
@ -10,7 +10,7 @@ Standards-Version: 3.8.4
|
|||
# See debian/rules, the override_dh_gencontrol rules.
|
||||
# There are some exceptions.
|
||||
Build-Depends:__AUTODEPENDS__,
|
||||
debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl, fonts-dejavu | ttf-dejavu,
|
||||
debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl, docbook-xsl-ns, fonts-dejavu | ttf-dejavu,
|
||||
libxml2-utils, bash-completion, perl-modules-5.26 | libtest-simple-perl (>= 1.302073)
|
||||
|
||||
Package: koha-common
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -40,7 +40,7 @@ override_dh_auto_install:
|
|||
mkdir -p $(TMP)/debian/tmp_docbook
|
||||
xt/verify-debian-docbook.t
|
||||
xsltproc --output $(TMP)/debian/tmp_docbook/ \
|
||||
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
|
||||
/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/docbook.xsl \
|
||||
debian/docs/*.xml
|
||||
|
||||
override_dh_compress:
|
||||
|
|
Loading…
Reference in a new issue