summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-05-05 03:40:18 +0300
committerIan Delaney <idella4@gentoo.org>2016-05-09 20:21:53 +0800
commitfe50ac25f37ae0fab75240a1b3a412d06c51b881 (patch)
treeb98498db653d8f57cd1224afe570bc1dfb5aca1c
parentapp-text/linuxdoc-tools: verbump to 0.9.72 (diff)
downloadgentoo-fe50ac25f37ae0fab75240a1b3a412d06c51b881.tar.gz
gentoo-fe50ac25f37ae0fab75240a1b3a412d06c51b881.tar.bz2
gentoo-fe50ac25f37ae0fab75240a1b3a412d06c51b881.zip
app-text/linuxdoc-tools: remove old
Closes: https://github.com/gentoo/gentoo/pull/1437 Package-Manager: portage-2.2.28 Signed-off-by: Ian Delaney <idella4@gentoo.org>
-rw-r--r--app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-fix-build-with-flex-2.6.1.patch35
-rw-r--r--app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-latex-commands.patch24
-rw-r--r--app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-perl-regexs.patch53
-rw-r--r--app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r2.ebuild93
4 files changed, 0 insertions, 205 deletions
diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-fix-build-with-flex-2.6.1.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-fix-build-with-flex-2.6.1.patch
deleted file mode 100644
index 621c04213a76..000000000000
--- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-fix-build-with-flex-2.6.1.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8ac62cf2aa07576763af2ae2dff1bebcd8a80083 Mon Sep 17 00:00:00 2001
-From: Ilya Tumaykin <itumaykin@gmail.com>
-Date: Mon, 11 Apr 2016 19:53:56 +0300
-Subject: Fix compilation with >=flex-2.6.1
-
-flex devs reverted yyleng's type back to `int' in 2.6.1 [1].
-It was previously changed from `int' to `yy_size_t' in 2.5.36 [2,3].
-
-Adjust the related guard accordingly.
-
-See also https://bugs.gentoo.org/show_bug.cgi?id=579490
-
-[1]: https://github.com/westes/flex/commit/7a7c3dfe1bcb8230447ba1656f926b4b4cdfc457
-[2]: https://github.com/westes/flex/commit/9ba3187a537d6a58d345f2874d06087fd4050399
-[3]: https://gitlab.com/agmartin/linuxdoc-tools/commit/ada178bdcd05f57024934ea6a00cecfa95973509
----
- rtf-fix/rtf2rtf.l | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/rtf-fix/rtf2rtf.l b/rtf-fix/rtf2rtf.l
-index d1f6a66..274b6ee 100644
---- a/rtf-fix/rtf2rtf.l
-+++ b/rtf-fix/rtf2rtf.l
-@@ -73,9 +73,8 @@ int skipnewline = 0;
-
- extern char *yytext;
-
--#if YY_FLEX_MAJOR_VERSION > 2 \
-- || (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION > 5) \
-- || (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION == 5 && YY_FLEX_SUBMINOR_VERSION > 35)
-+#if (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION == 5 && YY_FLEX_SUBMINOR_VERSION > 35) \
-+ || (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION == 6 && YY_FLEX_SUBMINOR_VERSION == 0)
- extern yy_size_t yyleng;
- #else
- extern int yyleng;
diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-latex-commands.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-latex-commands.patch
deleted file mode 100644
index 55cb3f46ca5a..000000000000
--- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-latex-commands.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From b0665954791978c9fede736bc7e0c19efe21f9e9 Mon Sep 17 00:00:00 2001
-From: Agustin Martin Domingo <agmartin@debian.org>
-Date: Tue, 5 Apr 2016 18:46:24 +0200
-Subject: fmt_latex2e.pl: Upgrade deprecated latex2e commands: {\em } ->
- \emph{} and {\tt } -> \texttt{}
-
-Signed-off-by: Agustin Martin Domingo <agmartin@debian.org>
----
- lib/fmt/fmt_latex2e.pl | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/fmt/fmt_latex2e.pl b/lib/fmt/fmt_latex2e.pl
-index 69d8e62..a9b3c00 100644
---- a/lib/fmt/fmt_latex2e.pl
-+++ b/lib/fmt/fmt_latex2e.pl
-@@ -288,7 +288,7 @@ $latex2e->{postASP} = sub
- print $urlnum . ": " . $urlid . "\n" if ( $global->{debug} );
-
- $urldef = latex2e_defnam($urlnum) . "url";
-- s/\\nameurl\{.*\}\{.*\}/{\\em $urlnam} {\\tt \\$urldef}/;
-+ s/\\nameurl\{.*\}\{.*\}/\\emph{$urlnam} \\texttt{\\$urldef}/;
- push @urlnames, $_;
- push @urldefines, "\\urldef{\\$urldef} \\url{$urlid}\n";
- $urlnum++;
diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-perl-regexs.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-perl-regexs.patch
deleted file mode 100644
index 4686c82a43c6..000000000000
--- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgrade-deprecated-perl-regexs.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From cd05ec78c8374980362347a226d9c0cc5f6bb624 Mon Sep 17 00:00:00 2001
-From: Agustin Martin Domingo <agmartin@debian.org>
-Date: Tue, 5 Apr 2016 18:43:13 +0200
-Subject: fmt_latex2e.pl: Handle perl 5.22 deprecation of unescaped left brace
- in regular expressions.
-
-This is to deal with new perl 5.22 warnings like
-
- Unescaped left brace in regex is deprecated, passed through in regex;
- marked by <-- HERE in m/\\nameurl{ <-- HERE (.*)}{(.*)}/
- at /usr/share/linuxdoc-tools/fmt/fmt_latex2e.pl line 287.
-
-For consistency, right brackets are also escaped, although they
-currently don't trigger any warning.
-
-Signed-off-by: Agustin Martin Domingo <agmartin@debian.org>
----
- lib/fmt/fmt_latex2e.pl | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/lib/fmt/fmt_latex2e.pl b/lib/fmt/fmt_latex2e.pl
-index 050cf06..69d8e62 100644
---- a/lib/fmt/fmt_latex2e.pl
-+++ b/lib/fmt/fmt_latex2e.pl
-@@ -284,11 +284,11 @@ $latex2e->{postASP} = sub
- push @texlines, $_;
- # and check for nameurl
- if ( /\\nameurl/ ){
-- ($urlid, $urlnam) = ($_ =~ /\\nameurl{(.*)}{(.*)}/);
-+ ($urlid, $urlnam) = ($_ =~ /\\nameurl\{(.*)\}\{(.*)\}/);
- print $urlnum . ": " . $urlid . "\n" if ( $global->{debug} );
-
- $urldef = latex2e_defnam($urlnum) . "url";
-- s/\\nameurl{.*}{.*}/{\\em $urlnam} {\\tt \\$urldef}/;
-+ s/\\nameurl\{.*\}\{.*\}/{\\em $urlnam} {\\tt \\$urldef}/;
- push @urlnames, $_;
- push @urldefines, "\\urldef{\\$urldef} \\url{$urlid}\n";
- $urlnum++;
-@@ -367,12 +367,12 @@ $latex2e->{postASP} = sub
- $_ = $_ . "\\makeindex\n" if ($latex2e->{makeindex});
- }
- # Set correct DTD name
-- elsif (/^\\usepackage{\@LINUXDOC_DTD\@-sgml}/) {
-+ elsif (/^\\usepackage\{\@LINUXDOC_DTD\@-sgml\}/) {
- my $dtd = $global->{"dtd"};
- s/\@LINUXDOC_DTD\@/$dtd/;
- }
- # Set correct babel options
-- elsif (/^\\usepackage\[\@BABELOPTIONS\@\]{babel}/) {
-+ elsif (/^\\usepackage\[\@BABELOPTIONS\@\]\{babel\}/) {
- if ( $babeloptions ) {
- s/\@BABELOPTIONS\@/$babeloptions/;
- } else {
diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r2.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r2.ebuild
deleted file mode 100644
index 1be8bb76f692..000000000000
--- a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-# Source tarball has SHA1 of release in the name of the second topmost directory
-GIT_SHA1="5a46c4ced4ef899b398bcedf8ccd29d6f2584100"
-
-inherit autotools-utils latex-package perl-module sgml-catalog toolchain-funcs
-
-DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
-HOMEPAGE="https://gitlab.com/agmartin/linuxdoc-tools"
-SRC_URI="https://gitlab.com/agmartin/${PN}/repository/archive.tar.gz?ref=upstream/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT SGMLUG"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
-IUSE="doc"
-
-RDEPEND="
- || ( app-text/openjade app-text/opensp )
- app-text/sgml-common
- dev-lang/perl:=
- || ( sys-apps/gawk sys-apps/mawk )
- sys-apps/groff
-"
-DEPEND="${RDEPEND}
- sys-devel/flex
- doc? (
- dev-texlive/texlive-fontsrecommended
- virtual/latex-base
- )
-"
-
-DOCS=( ChangeLog README )
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-parallel-doc-build.patch"
- "${FILESDIR}/${P}-upgrade-deprecated-perl-regexs.patch"
- "${FILESDIR}/${P}-upgrade-deprecated-latex-commands.patch"
- "${FILESDIR}/${P}-fix-build-with-flex-2.6.1.patch"
-)
-
-S="${WORKDIR}/${PN}-upstream/${PV}-${GIT_SHA1}"
-
-src_prepare() {
- # Use Gentoo doc install path.
- sed -i \
- -e "s%/share/doc/${PN}%/share/doc/${PF}%" \
- Makefile.in || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- perl_set_version
- tc-export CC
- local myeconfargs=(
- --disable-docs
- --with-texdir="${TEXMF}/tex/latex/${PN}"
- --with-perllibdir="${VENDOR_ARCH}"
- --with-installed-iso-entities
- )
- use doc && myeconfargs+=(--enable-docs="txt pdf html")
-
- autotools-utils_src_configure
-}
-
-src_compile() {
- autotools-utils_src_compile
-}
-
-src_install() {
- # Prevent access violations from bitmap font files generation.
- export VARTEXFONTS="${T}/fonts"
-
- autotools-utils_src_install
-}
-
-sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" "/usr/share/${PN}/${PN}.catalog"
-
-pkg_postinst() {
- latex-package_pkg_postinst
- sgml-catalog_pkg_postinst
-}
-
-pkg_postrm() {
- latex-package_pkg_postrm
- sgml-catalog_pkg_postrm
-}