Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/pdftk: ChangeLog pdftk-1.41-r1.ebuild
Date: Fri, 26 Dec 2008 21:44:39
Message-Id: E1LGKU1-0007KO-CT@stork.gentoo.org
1 caster 08/12/26 21:44:37
2
3 Modified: ChangeLog
4 Added: pdftk-1.41-r1.ebuild
5 Log:
6 Revbump fixing build with gcc 4.3 (bug #225709 and #235645 and #251796) thanks to patch adapted from Debian submitted by <andrex@××××.ee>. Fixes LDFLAGS and man page (bug #209802 and #234832) thanks to Stephan Springer <Gentoo-bugs@××××.de>. Uses EAPI2 use deps for gcc[gcj] dep.
7 (Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64)
8
9 Revision Changes Path
10 1.27 app-text/pdftk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/pdftk/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/pdftk/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/pdftk/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 2 Aug 2008 07:21:17 -0000 1.26
23 +++ ChangeLog 26 Dec 2008 21:44:37 -0000 1.27
24 @@ -1,6 +1,16 @@
25 # ChangeLog for app-text/pdftk
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.26 2008/08/02 07:21:17 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.27 2008/12/26 21:44:37 caster Exp $
29 +
30 +*pdftk-1.41-r1 (26 Dec 2008)
31 +
32 + 26 Dec 2008; Vlastimil Babka <caster@g.o>
33 + +files/pdftk-1.41-gcc-4.3.patch, +files/pdftk-1.41-honor-ldflags.patch,
34 + +pdftk-1.41-r1.ebuild:
35 + Revbump fixing build with gcc 4.3 (bug #225709 and #235645 and #251796)
36 + thanks to patch adapted from Debian submitted by <andrex@××××.ee>. Fixes
37 + LDFLAGS and man page (bug #209802 and #234832) thanks to Stephan Springer
38 + <Gentoo-bugs@××××.de>. Uses EAPI2 use deps for gcc[gcj] dep.
39
40 02 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
41 Add USE flag description to metadata wrt GLEP 56.
42
43
44
45 1.1 app-text/pdftk/pdftk-1.41-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pdftk-1.41-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.41-r1.ebuild,v 1.1 2008/12/26 21:44:37 caster Exp $
55
56 EAPI="2"
57
58 inherit eutils
59
60 DESCRIPTION="A tool for manipulating PDF documents"
61 HOMEPAGE="http://www.pdfhacks.com/pdftk"
62 SRC_URI="http://www.pdfhacks.com/pdftk/${P}.tar.gz"
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
66 IUSE=""
67 DEPEND=">=sys-devel/gcc-4.3.1[gcj]"
68
69 S="${WORKDIR}/${P}/${PN}"
70
71 src_unpack() {
72 unpack ${A}
73
74 bug #225709 and #251796
75 epatch "${FILESDIR}/${P}-gcc-4.3.patch"
76 bug #209802
77 epatch "${FILESDIR}/${P}-honor-ldflags.patch"
78 # force usage of custom CFLAGS.
79 sed -iorig 's:-O2:\$(CFLAGS):g' "${S}"/Makefile.Generic
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 Makefile.Generic || die "Compilation failed."
88 }
89
90 src_install() {
91 dobin pdftk
92 newman ../debian/pdftk.1 pdftk.1
93 dohtml ../pdftk.1.html
94 }