1 |
xmw 10/11/27 22:16:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pdftk-1.44.ebuild pdftk-1.41-r2.ebuild |
5 |
Log: |
6 |
Revision bump to fix gcc:4.5 problems (bug 339345). |
7 |
|
8 |
(Portage version: 2.1.9.24/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.34 app-text/pdftk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/ChangeLog?rev=1.34&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/ChangeLog?rev=1.34&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/ChangeLog?r1=1.33&r2=1.34 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v |
20 |
retrieving revision 1.33 |
21 |
retrieving revision 1.34 |
22 |
diff -u -r1.33 -r1.34 |
23 |
--- ChangeLog 9 Jul 2010 09:25:37 -0000 1.33 |
24 |
+++ ChangeLog 27 Nov 2010 22:16:39 -0000 1.34 |
25 |
@@ -1,6 +1,19 @@ |
26 |
# ChangeLog for app-text/pdftk |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.33 2010/07/09 09:25:37 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.34 2010/11/27 22:16:39 xmw Exp $ |
30 |
+ |
31 |
+*pdftk-1.41-r2 (27 Nov 2010) |
32 |
+ |
33 |
+ 27 Nov 2010; Michael Weber <xmw@g.o> +pdftk-1.41-r2.ebuild, |
34 |
+ +pdftk-1.44.ebuild, +files/pdftk-1.44-LDFLAGS.patch, |
35 |
+ +files/pdftk-1.44-Makefile.patch: |
36 |
+ Revision bump to fix gcc:4.5 problems (bug 339345). |
37 |
+ |
38 |
+*pdftk-1.44 (27 Nov 2010) |
39 |
+ |
40 |
+ 27 Nov 2010; Michael Weber <xmw@g.o> +pdftk-1.44.ebuild, |
41 |
+ +files/pdftk-1.44-LDFLAGS.patch, +files/pdftk-1.44-Makefile.patch: |
42 |
+ Version bump, thanks to dabbot for the ebuild/patches on bug 343361. |
43 |
|
44 |
09 Jul 2010; Samuli Suominen <ssuominen@g.o> pdftk-1.41-r1.ebuild: |
45 |
Drop ppc64 wrt #196361, Comment #4 |
46 |
|
47 |
|
48 |
|
49 |
1.1 app-text/pdftk/pdftk-1.44.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/pdftk-1.44.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/pdftk-1.44.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: pdftk-1.44.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2010 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.44.ebuild,v 1.1 2010/11/27 22:16:39 xmw Exp $ |
59 |
|
60 |
EAPI="2" |
61 |
|
62 |
inherit eutils |
63 |
|
64 |
DESCRIPTION="A tool for manipulating PDF documents" |
65 |
HOMEPAGE="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/" |
66 |
SRC_URI="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${P}-src.zip" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~ppc ~x86" |
71 |
IUSE="" |
72 |
DEPEND=">=sys-devel/gcc-4.3.1[gcj]" |
73 |
RDEPEND="${DEPEND}" |
74 |
|
75 |
S=${WORKDIR}/${P}-dist/${PN} |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}/${P}-Makefile.patch" |
79 |
epatch "${FILESDIR}/${P}-LDFLAGS.patch" |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
# java-config settings break compilation by gcj. |
84 |
unset CLASSPATH |
85 |
unset JAVA_HOME |
86 |
# parallel make fails |
87 |
emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed." |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
dobin pdftk || die |
92 |
doman ../pdftk.1 || die |
93 |
dohtml ../pdftk.1.html || die |
94 |
} |
95 |
|
96 |
|
97 |
|
98 |
1.1 app-text/pdftk/pdftk-1.41-r2.ebuild |
99 |
|
100 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/pdftk-1.41-r2.ebuild?rev=1.1&view=markup |
101 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pdftk/pdftk-1.41-r2.ebuild?rev=1.1&content-type=text/plain |
102 |
|
103 |
Index: pdftk-1.41-r2.ebuild |
104 |
=================================================================== |
105 |
# Copyright 1999-2010 Gentoo Foundation |
106 |
# Distributed under the terms of the GNU General Public License v2 |
107 |
# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r2.ebuild,v 1.1 2010/11/27 22:16:39 xmw Exp $ |
108 |
|
109 |
EAPI="2" |
110 |
|
111 |
inherit eutils toolchain-funcs |
112 |
|
113 |
DESCRIPTION="A tool for manipulating PDF documents" |
114 |
HOMEPAGE="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/" |
115 |
SRC_URI="http://www.pdfhacks.com/pdftk/${P}.tar.gz |
116 |
http://aur.archlinux.org/packages/pdftk/pdftk/makefile.patch -> ${P}-makefile.patch" |
117 |
|
118 |
LICENSE="GPL-2" |
119 |
SLOT="0" |
120 |
KEYWORDS="~amd64 ~ppc ~x86" |
121 |
IUSE="nodrm" |
122 |
|
123 |
DEPEND=">=sys-devel/gcc-4.3.1[gcj]" |
124 |
RDEPEND="${DEPEND}" |
125 |
|
126 |
S=${WORKDIR}/${P}/${PN} |
127 |
|
128 |
src_prepare() { |
129 |
cd "${WORKDIR}" || die |
130 |
|
131 |
#bug #225709 and #251796 |
132 |
epatch "${FILESDIR}/${P}-gcc-4.3.patch" |
133 |
|
134 |
#bug #269312 |
135 |
epatch "${FILESDIR}/${P}-gcc-4.4.patch" |
136 |
|
137 |
#bug #209802 |
138 |
epatch "${FILESDIR}/${P}-honor-ldflags.patch" |
139 |
|
140 |
cd "${S}"/.. || die |
141 |
#bug 339345 |
142 |
epatch "${DISTDIR}/${P}-makefile.patch" |
143 |
|
144 |
# force usage of custom CFLAGS. |
145 |
sed -iorig 's:-O2:\$(CFLAGS):g' "${S}"/Makefile.Generic |
146 |
# nodrm patch, bug 296455 |
147 |
if use nodrm; then |
148 |
sed -i 's:passwordIsOwner= false:passwordIsOwner= true:' "${WORKDIR}/${P}"/java_libs/com/lowagie/text/pdf/PdfReader.java || die |
149 |
fi |
150 |
|
151 |
sed -e '/^export GCJ=/d' -e '/^export GCJH=/d' \ |
152 |
-i "${WORKDIR}"/${P}/${PN}/Makefile.Generic || die |
153 |
} |
154 |
|
155 |
src_compile() { |
156 |
# java-config settings break compilation by gcj. |
157 |
unset CLASSPATH |
158 |
unset JAVA_HOME |
159 |
|
160 |
tc-export GCJ |
161 |
export GCJH="${GCJ}"h |
162 |
|
163 |
# parallel make fails |
164 |
emake -j1 -f Makefile.Generic || die "Compilation failed." |
165 |
} |
166 |
|
167 |
src_install() { |
168 |
dobin pdftk || die |
169 |
newman ../debian/pdftk.1 pdftk.1 || die |
170 |
dohtml ../pdftk.1.html || die |
171 |
} |