diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/docbook2X | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/docbook2X')
7 files changed, 0 insertions, 251 deletions
diff --git a/app-text/docbook2X/Manifest b/app-text/docbook2X/Manifest deleted file mode 100644 index ef42c70bbe91..000000000000 --- a/app-text/docbook2X/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX docbook2X-0.8.8-drop-htmldir.patch 327 BLAKE2B 052e6e19a639182c8fb04ddfbde371ec0e154ee9049d97827fa6b65db7e745aefc65c3a49f5c8e49f710abfdabc88784a256535d0f2c0c203990e4999b32a7a7 SHA512 c8e3cbbf1f18aeb5489d12f8fd661c38adae7e60ef3861135ff0aa3c515cc509ecc9ae19ace81e94cd181dac15b08bbb4783b39bd96674bdc83abc95aac5ddcc -AUX docbook2X-0.8.8-error_on_missing_refentry.patch 1247 BLAKE2B 1afaf90f76030c63ce5828d5a2d450cafd9989af98f99e2aab89c940074105806d85156acadc1b3ea35aee159956da4e7d3d22c6e2bbc10f3bed899b76787db8 SHA512 ea9ed94190edb2ac2055694bb927457f94eeadf0eff340b9f5fdba6fad5b1dc0b9617829ce3470914cbe0ba0be145dfb000218d57f22ee767ebb8082d6c06bfb -AUX docbook2X-0.8.8-filename_whitespace_handling.patch 2080 BLAKE2B ca60c0da237260893d9c4d75b95dafde605ac5ef0d01d311f52ca3a77817ce389a3f0bc7edde06f83593bc24ddc0170507898da4cfd57a7aa081884d3be7f503 SHA512 3a72979c03a1b5135662ad5cedefd0d508001994e727a0820d628ff5ad2476c09befeb921b9562230fdec3db547e5eec4b301aa08430dd6c2ce2632624a1c375 -AUX docbook2X-0.8.8-preprocessor_declaration_syntax.patch 3358 BLAKE2B e5c8c38c4504e03d7bb003929c3723cc0d15448258b8d0770571f94279e66d565f5c7cf2926cafc0a71f66e2976039401acd6b3486a9a177115b56b44437827c SHA512 af88626ca61847a25ef8c4cf8a09ea27cd1dce6510952e9629b704d3637097b10d85b9727e502dd7eecea1d2152a71cd26bf6abf4a8370eb8647258faa30be45 -DIST docbook2X-0.8.8.tar.gz 723909 BLAKE2B 17593d104a8b50a3ab56e5de464785d86d41c8a3fd04f76037c5482de867efa6dfa1ed4047e11814ed18275cd3b856440deafb637dcec17267a946d5cb1bd085 SHA512 cc336017ad734fc62d96d289105e8ea154c418a03a37f3e21b0b3520063f8b466b4aae5a5aec2e0b83f6324c6c79b5557247a93338d0a9882a94a44112f6b65c -EBUILD docbook2X-0.8.8-r4.ebuild 1564 BLAKE2B 10d1dc9014784b6cf72037c1d139ef787a9fae9cc8dfa9057e04460b8bf7e96ad8c3bc8e619a548875846b5ab0102c79cd28d39a4eb49308b12fa5fbe67a9d21 SHA512 7718a0eadc029faa32d909e5374d9bd86fc3a61281dc03405064e8ed46de0129f0f26ce1b32270bd4e80b7fb92f3dcf134ae05e44f28e603b5e99d250e2b26ff -MISC metadata.xml 246 BLAKE2B aa5c9c8df66314e0c3f156b1f79b96a87103809e228bff9935544e5b0d9e61165dc0bd0080ecb78595e6e93d0e06c1b8c979b47b8a29f6bdae22fc3abe7a3f95 SHA512 751233aacee2a81a9b2e02bf872dc788d2fe39fa6d6b3781146dbd19e4eebf5854620b2ae9d62e0d4dada2a64903ecf789e94b3eefecedd131808bc575617759 diff --git a/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild b/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild deleted file mode 100644 index b91b8f23d5d9..000000000000 --- a/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -AUTOTOOLS_AUTORECONF=1 #290284 -inherit autotools-utils - -DESCRIPTION="Tools to convert docbook to man and info" -SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz" -HOMEPAGE="http://docbook2x.sourceforge.net/" - -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-solaris" -IUSE="test" -LICENSE="MIT" - -# dev-perl/XML-LibXML - although not mentioned upstream is required -# for make check to complete. -DEPEND="dev-lang/perl - dev-libs/libxslt - dev-perl/XML-NamespaceSupport - dev-perl/XML-SAX - dev-perl/XML-LibXML - app-text/docbook-xsl-stylesheets - =app-text/docbook-xml-dtd-4.2*" -RDEPEND="${DEPEND}" - -PATCHES=( - # Patches from debian, for description see patches itself. - "${FILESDIR}/${P}-filename_whitespace_handling.patch" - "${FILESDIR}/${P}-preprocessor_declaration_syntax.patch" - "${FILESDIR}/${P}-error_on_missing_refentry.patch" - # bug #296112 - "${FILESDIR}/${P}-drop-htmldir.patch" -) -src_prepare() { - sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die 'sed on configure.ac failed' - - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" - --with-xslt-processor=libxslt - --program-transform-name='/^docbook2/s,$,.pl,' - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - dosym docbook2man.pl /usr/bin/docbook2x-man - dosym docbook2texi.pl /usr/bin/docbook2x-texi -} 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 deleted file mode 100644 index a7e11b2dfd7e..000000000000 --- a/app-text/docbook2X/files/docbook2X-0.8.8-drop-htmldir.patch +++ /dev/null @@ -1,14 +0,0 @@ -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 deleted file mode 100644 index b8a493be2f36..000000000000 --- a/app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 05_fix_439214_error_on_missing_refentry.dpatch by Daniel Leidert <daniel.leidert@wgdd.de> -## -## 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: <URL:http://bugs.debian.org/439214> -## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html> - -@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 @@ - <xsl:when test="child::refentry"> - <xsl:apply-templates /> - </xsl:when> -- -- <xsl:otherwise> -+ <xsl:when test="descendant-or-self::refentry"> - <manpageset> - <xsl:apply-templates select="descendant-or-self::refentry" /> - </manpageset> -+ </xsl:when> -+ <xsl:otherwise> -+ <xsl:message terminate="no"> -+ <xsl:text>WARNING: Sorry, but I cannot find a refentry element in your source!</xsl:text> -+ </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:template> 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 deleted file mode 100644 index 26cdf8e1baea..000000000000 --- a/app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 03_fix_420153_filename_whitespace_handling.dpatch by -## Daniel Leidert (dale) <daniel.leidert@wgdd.de> -## -## 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 @@ - - <xsl:template name="manpage-filename"> - <xsl:param name="filename" /> -- <xsl:value-of select="normalize-space(translate($filename, " /", "__"))" /> -+ <xsl:value-of select="translate(normalize-space($filename), ' /', '__')" /> - </xsl:template> - - -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 @@ - <xsl:template name="refentry-filename"> - <xsl:param name="title" /> - -- <xsl:variable name="title2" select="translate($title, " /", "__")" /> -+ <xsl:variable name="title2"> -+ <xsl:call-template name="manpage-filename"> -+ <xsl:with-param name="filename" select="$title" /> -+ </xsl:call-template> -+ </xsl:variable> - - <!-- not using gentext here since man page names tend not to have - accented chars / non-Latin chars ... diff --git a/app-text/docbook2X/files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch b/app-text/docbook2X/files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch deleted file mode 100644 index b6ddbfa2a0d3..000000000000 --- a/app-text/docbook2X/files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch +++ /dev/null @@ -1,90 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 04_fix_442782_preprocessor_declaration_syntax.dpatch by Colin Watson <cjwatson@debian.org>. -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Conventionally, preprocessor declarations should start with -## DP: '\" -## DP: rather than -## DP: .\" -## DP: Current man-db only supports the first (and recommended) syntax. So -## DP: Colin Watson provided this patch to fix docbook2x. -## DP: -## DP: <URL:http://bugs.debian.org/442782> -## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html> - -@DPATCH@ -diff -urNad trunk~/perl/db2x_manxml.pl trunk/perl/db2x_manxml.pl ---- trunk~/perl/db2x_manxml.pl 2006-04-22 17:21:32.000000000 +0200 -+++ trunk/perl/db2x_manxml.pl 2007-11-24 01:27:37.000000000 +0100 -@@ -342,6 +342,25 @@ - $self->{line_start} = 1; - } - -+# -+# Print a comment in the output, without causing a break. -+# Params: comment - the comment text. -+# May use any characters; they need not be escaped. -+# -+sub comment_nobreak -+{ -+ my ($self, $comment) = @_; -+ $self->write("\n") unless $self->{line_start}; -+ -+ foreach my $line (split(/\n/, $comment)) { -+ $self->write('\'\" '); -+ $self->write($line); -+ $self->write("\n"); -+ } -+ -+ $self->{line_start} = 1; -+} -+ - - # - # Use a roff "escape" i.e. commands embedded in text starting with \ -@@ -510,16 +529,20 @@ - - $self->{'adjust-stack'} = [ 'b' ]; - -- $self->{rw}->comment($elem->attr('preprocessors')) -- if($elem->attr('preprocessors') ne ''); -- -+ my $preprocessors = $elem->attr('preprocessors'); - # I've dug through the Internet to see if there was any - # standard way to specify encoding with man pages. - # The following seems to be a reasonable proposal: - # <URL:http://mail.nl.linux.org/linux-utf8/2001-04/msg00168.html> - my $encoding = $self->{options}->{'encoding'}; - $encoding =~ s#//TRANSLIT$##i; -- $self->{rw}->comment("-*- coding: $encoding -*-"); -+ $encoding = "-*- coding: $encoding -*-"; -+ if ($preprocessors eq '') { -+ $preprocessors = $encoding; -+ } else { -+ $preprocessors = "$preprocessors $encoding"; -+ } -+ $self->{rw}->comment_nobreak($preprocessors); - - # Define escapes for switching to and from monospace fonts (groff only) - $self->{rw}->request(qw{ .if \n(.g .ds T< \\\\FC}); -diff -urNad trunk~/xslt/backend/db2x_manxml.xsl trunk/xslt/backend/db2x_manxml.xsl ---- trunk~/xslt/backend/db2x_manxml.xsl 2006-04-23 16:44:52.000000000 +0200 -+++ trunk/xslt/backend/db2x_manxml.xsl 2007-11-24 01:27:37.000000000 +0100 -@@ -528,7 +528,7 @@ - <exslt:document method="text" - encoding="{$encoding}" - href="{$path}"> -- <xsl:text>.\" -*- coding: </xsl:text> -+ <xsl:text>'\" -*- coding: </xsl:text> - <xsl:value-of select="$encoding" /> - <xsl:text> -*- </xsl:text> - <xsl:copy-of select="$content" /> -@@ -538,7 +538,7 @@ - <saxon:output method="text" - encoding="{$encoding}" - href="{$path}"> -- <xsl:text>.\" -*- coding: </xsl:text> -+ <xsl:text>'\" -*- coding: </xsl:text> - <xsl:value-of select="$encoding" /> - <xsl:text> -*- </xsl:text> - <xsl:copy-of select="$content" /> diff --git a/app-text/docbook2X/metadata.xml b/app-text/docbook2X/metadata.xml deleted file mode 100644 index f5186760fa4a..000000000000 --- a/app-text/docbook2X/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">docbook2x</remote-id> - </upstream> -</pkgmetadata> |