aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-08-03 20:19:09 -0700
committerJunio C Hamano <gitster@pobox.com>2007-08-04 01:55:08 -0700
commit2ec39edad9c3be74b5fed5ab5c122493e6a53c66 (patch)
tree8645f6b045776516fae22aa2537607412829a316
parent33f243308589120a700f084b54ee597ce6c26069 (diff)
downloadgit-2ec39edad9c3be74b5fed5ab5c122493e6a53c66.tar.gz
git-2ec39edad9c3be74b5fed5ab5c122493e6a53c66.tar.xz
INSTALL: add warning on docbook-xsl 1.72 and 1.73
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--INSTALL4
-rw-r--r--contrib/patches/docbook-xsl-manpages-charmap.patch21
2 files changed, 25 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 79e71b692..c62b12c28 100644
--- a/INSTALL
+++ b/INSTALL
@@ -116,3 +116,7 @@ Issues of note:
would instead give you a copy of what you see at:
http://www.kernel.org/pub/software/scm/git/docs/
+
+ It has been reported that docbook-xsl version 1.72 and 1.73 are
+ buggy; 1.72 misformats manual pages for callouts, and 1.73 needs
+ the patch in contrib/patches/docbook-xsl-manpages-charmap.patch
diff --git a/contrib/patches/docbook-xsl-manpages-charmap.patch b/contrib/patches/docbook-xsl-manpages-charmap.patch
new file mode 100644
index 000000000..f2b08b4f4
--- /dev/null
+++ b/contrib/patches/docbook-xsl-manpages-charmap.patch
@@ -0,0 +1,21 @@
+From: Ismail Dönmez <ismail@pardus.org.tr>
+
+Trying to build the documentation with docbook-xsl 1.73 may result in
+the following error. This patch fixes it.
+
+$ xmlto -m callouts.xsl man git-add.xml
+runtime error: file
+file:///usr/share/sgml/docbook/xsl-stylesheets-1.73.0/manpages/other.xsl line
+129 element call-template
+The called template 'read-character-map' was not found.
+
+--- docbook-xsl-1.73.0/manpages/docbook.xsl.manpages-charmap 2007-07-23 16:24:23.000000000 +0100
++++ docbook-xsl-1.73.0/manpages/docbook.xsl 2007-07-23 16:25:16.000000000 +0100
+@@ -37,6 +37,7 @@
+ <xsl:include href="lists.xsl"/>
+ <xsl:include href="endnotes.xsl"/>
+ <xsl:include href="table.xsl"/>
++ <xsl:include href="../common/charmap.xsl"/>
+
+ <!-- * we rename the following just to avoid using params with "man" -->
+ <!-- * prefixes in the table.xsl stylesheet (because that stylesheet -->