1 |
commit: 2c4dff2dd79c185c0e4a9bb17d0fe485f4f976f6 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 24 09:55:27 2018 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 24 09:55:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4dff2d |
7 |
|
8 |
app-text/pdftk: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
app-text/pdftk/Manifest | 1 - |
14 |
app-text/pdftk/files/pdftk-2.02-flags.patch | 43 ----------------------------- |
15 |
app-text/pdftk/pdftk-2.02.ebuild | 43 ----------------------------- |
16 |
3 files changed, 87 deletions(-) |
17 |
|
18 |
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest |
19 |
index c305177200f..f86be2eafbd 100644 |
20 |
--- a/app-text/pdftk/Manifest |
21 |
+++ b/app-text/pdftk/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST pdftk-2.02-src.zip 2239008 BLAKE2B 9bb55fb687b85de2ee0f9bec4ff16772646613b1519afb6d432985ad452cd09d04636788cb2deedb9924833cc10a802057c0e8ff146789da29cd4969cd614c39 SHA512 5c73ab3b7b12cfc24a17c2737d224fdde2ae684e1712031a968b83f5b8d91c521d477e932fc47f8b4a8c0ff0ba183678aaa13a1e7b29107c5c47ded8d960ef54 |
24 |
DIST pdftk-v3.0.0.tar.bz2 546821 BLAKE2B 1d1935322f1468d9e2e8044e748fbb816e399599e445e078866d416d5e99866739134fb794ff42dbfcc37271d66655440f706db46f152722ab7030cba16edf38 SHA512 3b487f7532140366c9ac41222cd366d387b93e67aada845772f60ff20601e25611e34a190a65fbcec9d776a0b5683100fdd54453357bf7c43cebea7dda0c6229 |
25 |
|
26 |
diff --git a/app-text/pdftk/files/pdftk-2.02-flags.patch b/app-text/pdftk/files/pdftk-2.02-flags.patch |
27 |
deleted file mode 100644 |
28 |
index 5b20c9701cc..00000000000 |
29 |
--- a/app-text/pdftk/files/pdftk-2.02-flags.patch |
30 |
+++ /dev/null |
31 |
@@ -1,43 +0,0 @@ |
32 |
-Based on Debian patch, see http://patch-tracker.debian.org/patch/series/view/pdftk/2.01-1/customise_build_parameters |
33 |
- |
34 |
-diff -ruN pdftk-2.01-dist/pdftk/Makefile.Base pdftk-2.01-dist/pdftk/Makefile.Base |
35 |
---- pdftk-2.01-dist/pdftk/Makefile.Base 2012-12-06 19:57:36.000000000 +0100 |
36 |
-+++ pdftk-2.01-dist/pdftk/Makefile.Base 2013-03-24 18:32:52.669492230 +0100 |
37 |
-@@ -43,7 +43,7 @@ |
38 |
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I$(JAVALIBPATH) pdftk.cc -c |
39 |
- |
40 |
- pdftk : pdftk.o attachments.o report.o passwords.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) |
41 |
-- $(CXX) $(CXXFLAGS) attachments.o report.o passwords.o pdftk.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk |
42 |
-+ $(CXX) $(LDFLAGS) $(CXXFLAGS) attachments.o report.o passwords.o pdftk.o $(JAVALIB) $(LIBGCJ_SUPPLEMENT_FULL_O) $(LDLIBS) -o pdftk |
43 |
- |
44 |
- install: |
45 |
- /usr/bin/install pdftk /usr/local/bin |
46 |
-diff -ruN pdftk-2.01-dist/pdftk/Makefile.Debian pdftk-2.01-dist/pdftk/Makefile.Debian |
47 |
---- pdftk-2.01-dist/pdftk/Makefile.Debian 2012-12-06 19:58:44.000000000 +0100 |
48 |
-+++ pdftk-2.01-dist/pdftk/Makefile.Debian 2013-03-24 18:34:39.034540850 +0100 |
49 |
-@@ -21,7 +21,7 @@ |
50 |
- # tools |
51 |
- # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien GÉRÔME) |
52 |
- TOOLPATH= |
53 |
--export VERSUFF=-4.6 |
54 |
-+export VERSUFF= |
55 |
- export CPP= $(TOOLPATH)cpp$(VERSUFF) |
56 |
- export CXX= $(TOOLPATH)g++$(VERSUFF) |
57 |
- export GCJ= $(TOOLPATH)gcj$(VERSUFF) |
58 |
-@@ -64,13 +64,12 @@ |
59 |
- # only effects libraries following option on the command line |
60 |
- # |
61 |
- # |
62 |
--export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers |
63 |
--export CXXFLAGS= -Wall -Wextra -Weffc++ -O2 |
64 |
--export GCJFLAGS= -fsource=1.3 -O2 |
65 |
--export GCJHFLAGS= -force |
66 |
-+export CPPFLAGS+= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers |
67 |
-+export GCJFLAGS+= -fsource=1.3 |
68 |
-+export GCJHFLAGS+= -force |
69 |
- export LDLIBS= -lgcj |
70 |
- |
71 |
- include Makefile.Base |
72 |
- |
73 |
- # required packages (xubuntu 12.04) |
74 |
- # gcj-jdk, g++ |
75 |
|
76 |
diff --git a/app-text/pdftk/pdftk-2.02.ebuild b/app-text/pdftk/pdftk-2.02.ebuild |
77 |
deleted file mode 100644 |
78 |
index cd88040b524..00000000000 |
79 |
--- a/app-text/pdftk/pdftk-2.02.ebuild |
80 |
+++ /dev/null |
81 |
@@ -1,43 +0,0 @@ |
82 |
-# Copyright 1999-2018 Gentoo Foundation |
83 |
-# Distributed under the terms of the GNU General Public License v2 |
84 |
- |
85 |
-EAPI="5" |
86 |
- |
87 |
-inherit eutils |
88 |
- |
89 |
-DESCRIPTION="A tool for manipulating PDF documents" |
90 |
-HOMEPAGE="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/" |
91 |
-SRC_URI="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${P}-src.zip" |
92 |
- |
93 |
-LICENSE="GPL-2" |
94 |
-SLOT="0" |
95 |
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux" |
96 |
- |
97 |
-RDEPEND="sys-devel/gcc:5.4.0[gcj]" |
98 |
-DEPEND="${RDEPEND} |
99 |
- sys-devel/gcc-config |
100 |
-" |
101 |
- |
102 |
-S="${WORKDIR}/${P}-dist/${PN}" |
103 |
- |
104 |
-src_prepare() { |
105 |
- epatch "${FILESDIR}"/${P}-flags.patch |
106 |
-} |
107 |
- |
108 |
-src_compile() { |
109 |
- # Settings by java-config break compilation by gcj. |
110 |
- unset CLASSPATH |
111 |
- unset JAVA_HOME |
112 |
- |
113 |
- # We need gcc-5 because of Java |
114 |
- export PATH="$(gcc-config -B 5.4.0):${PATH}" |
115 |
- |
116 |
- # Parallel make fails; confirmed, still not fixed in version 2.02. |
117 |
- emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed." |
118 |
-} |
119 |
- |
120 |
-src_install() { |
121 |
- dobin pdftk |
122 |
- doman ../pdftk.1 |
123 |
- dohtml ../pdftk.1.html |
124 |
-} |