Bugzilla – Attachment 141594 Details for
Bug 27315
The man pages for the command line utilities do not display properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27315: use the namespace-aware docbook stylesheet
Bug-27315-use-the-namespace-aware-docbook-styleshe.patch (text/plain), 2.04 KB, created by
Andreas Roussos
on 2022-10-11 06:54:27 UTC
(
hide
)
Description:
Bug 27315: use the namespace-aware docbook stylesheet
Filename:
MIME Type:
Creator:
Andreas Roussos
Created:
2022-10-11 06:54:27 UTC
Size:
2.04 KB
patch
obsolete
>From 4697d549de2549aa4d56f8de1d7f28622c39989f Mon Sep 17 00:00:00 2001 >From: Andreas Roussos <a.roussos@dataly.gr> >Date: Tue, 11 Oct 2022 08:41:15 +0200 >Subject: [PATCH] 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 >--- > debian/control.in | 2 +- > debian/rules | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/control.in b/debian/control.in >index e1efe67d3a..2b2b206748 100644 >--- a/debian/control.in >+++ b/debian/control.in >@@ -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 >diff --git a/debian/rules b/debian/rules >index ac84e14219..211649ad1d 100755 >--- a/debian/rules >+++ b/debian/rules >@@ -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: >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27315
:
114741
|
141594
|
141626
|
141930