From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../files/docbook2X-0.8.8-drop-htmldir.patch | 14 ++++ ...docbook2X-0.8.8-error_on_missing_refentry.patch | 33 ++++++++ ...book2X-0.8.8-filename_whitespace_handling.patch | 43 +++++++++++ ...k2X-0.8.8-preprocessor_declaration_syntax.patch | 90 ++++++++++++++++++++++ 4 files changed, 180 insertions(+) create mode 100644 app-text/docbook2X/files/docbook2X-0.8.8-drop-htmldir.patch create mode 100644 app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch create mode 100644 app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch create mode 100644 app-text/docbook2X/files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch (limited to 'app-text/docbook2X/files') diff --git a/app-text/docbook2X/files/docbook2X-0.8.8-drop-htmldir.patch b/app-text/docbook2X/files/docbook2X-0.8.8-drop-htmldir.patch new file mode 100644 index 000000000000..a7e11b2dfd7e --- /dev/null +++ b/app-text/docbook2X/files/docbook2X-0.8.8-drop-htmldir.patch @@ -0,0 +1,14 @@ +Put HTML documentation in proper directory. +Patch by Chris Mayo, https://bugs.gentoo.org/show_bug.cgi?id=296112 + +--- doc/Makefile.am.orig ++++ doc/Makefile.am +@@ -182,8 +182,6 @@ + # Install (automake) + # + +-htmldir = $(datadir)/doc/docbook2X +- + man_MANS = $(MAN_FILES) + html_DATA = $(HTML_FILES) + info_TEXINFOS = docbook2X.texi diff --git a/app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch b/app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch new file mode 100644 index 000000000000..b8a493be2f36 --- /dev/null +++ b/app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_fix_439214_error_on_missing_refentry.dpatch by Daniel Leidert +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: If there is no refentry element, the manpage stylesheets silently +## DP: "ignores" this. It has been requested to print at least a +## DP: warning. +## DP: +## DP: +## DP: + +@DPATCH@ +diff -urNad trunk~/xslt/man/docbook.xsl trunk/xslt/man/docbook.xsl +--- trunk~/xslt/man/docbook.xsl 2006-04-11 21:00:19.000000000 +0200 ++++ trunk/xslt/man/docbook.xsl 2008-02-05 03:31:48.000000000 +0100 +@@ -111,11 +111,15 @@ + + + +- +- ++ + + + ++ ++ ++ ++ WARNING: Sorry, but I cannot find a refentry element in your source! ++ + + + diff --git a/app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch b/app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch new file mode 100644 index 000000000000..26cdf8e1baea --- /dev/null +++ b/app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_fix_420153_filename_whitespace_handling.dpatch by +## Daniel Leidert (dale) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Peter Eisentraut reported a regression in the whitespace handling of +## DP: refentrytitle content during filename creation: +## DP: http://bugs.debian.org/420153. The problem is, that upstream first +## DP: replaces all spaces (but not linebreaks btw) with underlines and then +## DP: it tries to normalize the result. This means, that a linebreak with +## DP: additional whitespaces results in manpage names like 'foo_ ____bar.9'. +## DP: So what we basically do in this patch is, that we first normalize the +## DP: refentrytitle and then replace any spaces left with underlines. + +@DPATCH@ +diff -urNad docbook2x-0.8.8~/xslt/man/manpage.xsl docbook2x-0.8.8/xslt/man/manpage.xsl +--- docbook2x-0.8.8~/xslt/man/manpage.xsl 2006-04-20 15:45:55.000000000 +0200 ++++ docbook2x-0.8.8/xslt/man/manpage.xsl 2007-04-20 16:19:28.000000000 +0200 +@@ -30,7 +30,7 @@ + + + +- ++ + + + +diff -urNad docbook2x-0.8.8~/xslt/man/refentry.xsl docbook2x-0.8.8/xslt/man/refentry.xsl +--- docbook2x-0.8.8~/xslt/man/refentry.xsl 2006-04-21 04:39:55.000000000 +0200 ++++ docbook2x-0.8.8/xslt/man/refentry.xsl 2007-04-20 16:21:53.000000000 +0200 +@@ -38,7 +38,11 @@ + + + +- ++ ++ ++ ++ ++ + +