Gentoo Archives: gentoo-commits

From: "Saleem Abdulrasool (compnerd)" <compnerd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/poppler-bindings: ChangeLog poppler-bindings-0.9.2.ebuild
Date: Sat, 27 Sep 2008 00:37:59
Message-Id: E1KjNoq-0007GY-T6@stork.gentoo.org
1 compnerd 08/09/27 00:37:56
2
3 Modified: ChangeLog
4 Added: poppler-bindings-0.9.2.ebuild
5 Log:
6 version bump for cairo 1.8
7 (Portage version: 2.2_rc9/cvs/Linux 2.6.27-rc3-git3 i686)
8
9 Revision Changes Path
10 1.100 app-text/poppler-bindings/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?rev=1.100&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?rev=1.100&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?r1=1.99&r2=1.100
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v
19 retrieving revision 1.99
20 retrieving revision 1.100
21 diff -u -r1.99 -r1.100
22 --- ChangeLog 3 Sep 2008 20:21:28 -0000 1.99
23 +++ ChangeLog 27 Sep 2008 00:37:56 -0000 1.100
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/poppler-bindings
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.99 2008/09/03 20:21:28 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.100 2008/09/27 00:37:56 compnerd Exp $
29 +
30 +*poppler-bindings-0.9.2 (27 Sep 2008)
31 +
32 + 27 Sep 2008; Saleem Abdulrasool <compnerd@g.o>
33 + +poppler-bindings-0.9.2.ebuild:
34 + version bump for cairo 1.8
35
36 *poppler-bindings-0.8.7 (03 Sep 2008)
37
38
39
40
41 1.1 app-text/poppler-bindings/poppler-bindings-0.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: poppler-bindings-0.9.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.9.2.ebuild,v 1.1 2008/09/27 00:37:56 compnerd Exp $
51
52 EAPI="1"
53
54 inherit autotools eutils multilib
55
56 MY_P=${P/-bindings/}
57 DESCRIPTION="rendering bindings for GUI toolkits for poppler"
58 HOMEPAGE="http://poppler.freedesktop.org/"
59
60 # Creating the testsuite tarball (must be done for every release)
61 #
62 # git://anongit.freedesktop.org/git/poppler/test
63 # git archive --format=tar --prefix=test/ HEAD | bzip2 > ${PN}-test-${PV}.tar.bz2
64 # upload to d.g.o/space/distfiles-local
65
66 SRC_URI="http://poppler.freedesktop.org/${MY_P}.tar.gz
67 test? ( mirror://gentoo/poppler-test-0.9.2.tar.bz2 )"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
72 IUSE="gtk qt3 cairo qt4 test"
73
74 RDEPEND="~app-text/poppler-${PV}
75 cairo? ( >=x11-libs/cairo-1.4 )
76 gtk? (
77 >=x11-libs/gtk+-2.8
78 >=dev-libs/glib-2.8
79 )
80 qt3? ( =x11-libs/qt-3* )
81 qt4? ( || ( ( x11-libs/qt-core:4
82 x11-libs/qt-gui:4
83 x11-libs/qt-test:4 )
84 =x11-libs/qt-4.3*:4 ) )"
85 DEPEND="${RDEPEND}
86 dev-util/pkgconfig
87 test? ( gtk? ( >=gnome-base/libglade-2 ) )"
88
89 S="${WORKDIR}/${MY_P}"
90
91 src_unpack(){
92 unpack ${A}
93 cd "${S}"
94
95 epatch "${FILESDIR}"/poppler-0.6-bindings.patch
96
97 AT_M4DIR="m4" eautoreconf
98 cd poppler
99 ln -s /usr/lib/libpoppler.la
100 }
101
102 src_compile() {
103 # Configure needs help finding qt libs on multilib systems
104 export QTLIB="${QTDIR}/$(get_libdir)"
105 echo $QTLIB
106
107 econf $(use_enable cairo cairo-output) \
108 $(use_enable gtk poppler-glib) \
109 $(use_enable qt3 poppler-qt) \
110 $(use_enable qt4 poppler-qt4) \
111 || die "configuration failed"
112 cd poppler
113 if use cairo; then
114 emake libpoppler-cairo.la || die "cairo failed"
115 fi
116 if use qt4; then
117 emake libpoppler-arthur.la || die "arthur failed"
118 fi
119 cd ..
120 emake || die "compilation failed"
121 }
122
123 src_install() {
124 emake DESTDIR="${D}" install || die "emake install failed"
125 }
126
127 pkg_postinst() {
128 ewarn "You need to rebuild everything depending on poppler, use revdep-rebuild"
129 }