commit:     2c4dff2dd79c185c0e4a9bb17d0fe485f4f976f6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 09:55:27 2018 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov 24 09:55:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4dff2d

app-text/pdftk: Remove old

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-text/pdftk/Manifest                     |  1 -
 app-text/pdftk/files/pdftk-2.02-flags.patch | 43 -----------------------------
 app-text/pdftk/pdftk-2.02.ebuild            | 43 -----------------------------
 3 files changed, 87 deletions(-)

diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest
index c305177200f..f86be2eafbd 100644
--- a/app-text/pdftk/Manifest
+++ b/app-text/pdftk/Manifest
@@ -1,2 +1 @@
-DIST pdftk-2.02-src.zip 2239008 BLAKE2B 
9bb55fb687b85de2ee0f9bec4ff16772646613b1519afb6d432985ad452cd09d04636788cb2deedb9924833cc10a802057c0e8ff146789da29cd4969cd614c39
 SHA512 
5c73ab3b7b12cfc24a17c2737d224fdde2ae684e1712031a968b83f5b8d91c521d477e932fc47f8b4a8c0ff0ba183678aaa13a1e7b29107c5c47ded8d960ef54
 DIST pdftk-v3.0.0.tar.bz2 546821 BLAKE2B 
1d1935322f1468d9e2e8044e748fbb816e399599e445e078866d416d5e99866739134fb794ff42dbfcc37271d66655440f706db46f152722ab7030cba16edf38
 SHA512 
3b487f7532140366c9ac41222cd366d387b93e67aada845772f60ff20601e25611e34a190a65fbcec9d776a0b5683100fdd54453357bf7c43cebea7dda0c6229

diff --git a/app-text/pdftk/files/pdftk-2.02-flags.patch 
b/app-text/pdftk/files/pdftk-2.02-flags.patch
deleted file mode 100644
index 5b20c9701cc..00000000000
--- a/app-text/pdftk/files/pdftk-2.02-flags.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Based on Debian patch, see 
http://patch-tracker.debian.org/patch/series/view/pdftk/2.01-1/customise_build_parameters
-
-diff -ruN pdftk-2.01-dist/pdftk/Makefile.Base 
pdftk-2.01-dist/pdftk/Makefile.Base
---- pdftk-2.01-dist/pdftk/Makefile.Base        2012-12-06 19:57:36.000000000 
+0100
-+++ pdftk-2.01-dist/pdftk/Makefile.Base        2013-03-24 18:32:52.669492230 
+0100
-@@ -43,7 +43,7 @@
-       $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(JAVALIBPATH) pdftk.cc -c
- 
- pdftk : pdftk.o attachments.o report.o passwords.o $(JAVALIB) 
$(LIBGCJ_SUPPLEMENT_FULL_O)
--      $(CXX) $(CXXFLAGS) attachments.o report.o passwords.o pdftk.o 
$(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk
-+      $(CXX) $(LDFLAGS) $(CXXFLAGS) attachments.o report.o passwords.o 
pdftk.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk
- 
- install:
-       /usr/bin/install pdftk /usr/local/bin 
-diff -ruN pdftk-2.01-dist/pdftk/Makefile.Debian 
pdftk-2.01-dist/pdftk/Makefile.Debian
---- pdftk-2.01-dist/pdftk/Makefile.Debian      2012-12-06 19:58:44.000000000 
+0100
-+++ pdftk-2.01-dist/pdftk/Makefile.Debian      2013-03-24 18:34:39.034540850 
+0100
-@@ -21,7 +21,7 @@
- # tools
- # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien 
GÉRÔME)
- TOOLPATH=
--export VERSUFF=-4.6
-+export VERSUFF=
- export CPP= $(TOOLPATH)cpp$(VERSUFF)
- export CXX= $(TOOLPATH)g++$(VERSUFF)
- export GCJ= $(TOOLPATH)gcj$(VERSUFF)
-@@ -64,13 +64,12 @@
- # only effects libraries following option on the command line
- #
- #  
--export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false 
-DUNBLOCK_SIGNALS -fdollars-in-identifiers
--export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
--export GCJFLAGS= -fsource=1.3 -O2
--export GCJHFLAGS= -force
-+export CPPFLAGS+= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false 
-DUNBLOCK_SIGNALS -fdollars-in-identifiers
-+export GCJFLAGS+= -fsource=1.3
-+export GCJHFLAGS+= -force
- export LDLIBS= -lgcj
- 
- include Makefile.Base
- 
- # required packages (xubuntu 12.04)
- # gcj-jdk, g++

diff --git a/app-text/pdftk/pdftk-2.02.ebuild b/app-text/pdftk/pdftk-2.02.ebuild
deleted file mode 100644
index cd88040b524..00000000000
--- a/app-text/pdftk/pdftk-2.02.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils
-
-DESCRIPTION="A tool for manipulating PDF documents"
-HOMEPAGE="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/";
-SRC_URI="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${P}-src.zip";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux"
-
-RDEPEND="sys-devel/gcc:5.4.0[gcj]"
-DEPEND="${RDEPEND}
-       sys-devel/gcc-config
-"
-
-S="${WORKDIR}/${P}-dist/${PN}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-flags.patch
-}
-
-src_compile() {
-       # Settings by java-config break compilation by gcj.
-       unset CLASSPATH
-       unset JAVA_HOME
-
-       # We need gcc-5 because of Java
-       export PATH="$(gcc-config -B 5.4.0):${PATH}"
-
-       # Parallel make fails; confirmed, still not fixed in version 2.02.
-       emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed."
-}
-
-src_install() {
-       dobin pdftk
-       doman ../pdftk.1
-       dohtml ../pdftk.1.html
-}

Reply via email to