1 |
loki_val 08/10/12 21:48:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poppler-bindings-0.10.0.ebuild |
5 |
Removed: poppler-bindings-0.9.3.ebuild |
6 |
Log: |
7 |
Bump. Watch for API breakage. ABI is broke for sure, remember rebuild. |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc8 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.110 app-text/poppler-bindings/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?rev=1.110&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?rev=1.110&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/ChangeLog?r1=1.109&r2=1.110 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v |
20 |
retrieving revision 1.109 |
21 |
retrieving revision 1.110 |
22 |
diff -u -r1.109 -r1.110 |
23 |
--- ChangeLog 8 Oct 2008 19:29:10 -0000 1.109 |
24 |
+++ ChangeLog 12 Oct 2008 21:48:08 -0000 1.110 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-text/poppler-bindings |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.109 2008/10/08 19:29:10 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.110 2008/10/12 21:48:08 loki_val Exp $ |
30 |
+ |
31 |
+*poppler-bindings-0.10.0 (12 Oct 2008) |
32 |
+ |
33 |
+ 12 Oct 2008; Peter Alfredsen <loki_val@g.o> |
34 |
+ -poppler-bindings-0.9.3.ebuild, +poppler-bindings-0.10.0.ebuild: |
35 |
+ Bump. Watch for API breakage. ABI is broke for sure, remember rebuild. |
36 |
|
37 |
08 Oct 2008; Raúl Porcel <armin76@g.o> |
38 |
poppler-bindings-0.8.7.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/poppler-bindings/poppler-bindings-0.10.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.10.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.10.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: poppler-bindings-0.10.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.10.0.ebuild,v 1.1 2008/10/12 21:48:08 loki_val Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit autotools eutils multilib |
56 |
|
57 |
MY_P=${P/-bindings/} |
58 |
DESCRIPTION="rendering bindings for GUI toolkits for poppler" |
59 |
HOMEPAGE="http://poppler.freedesktop.org/" |
60 |
|
61 |
# Creating the testsuite tarball |
62 |
# must be done if upstream has added tests since last release. |
63 |
# can be checked at cgit.freedesktop.org |
64 |
# |
65 |
# git clone git://anongit.freedesktop.org/git/poppler/test |
66 |
# rm -rf test/.git |
67 |
# tar czf poppler-test-${PV}.tar.gz test |
68 |
|
69 |
SRC_URI="http://poppler.freedesktop.org/${MY_P}.tar.gz |
70 |
test? ( mirror://gentoo/poppler-test-0.9.2.tar.bz2 )" |
71 |
|
72 |
LICENSE="GPL-2" |
73 |
SLOT="0" |
74 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
75 |
IUSE="gtk qt3 cairo qt4 test" |
76 |
|
77 |
RDEPEND="~app-text/poppler-${PV} |
78 |
cairo? ( |
79 |
>=x11-libs/cairo-1.4 |
80 |
!gtk? ( |
81 |
>=x11-libs/gtk+-2.8 |
82 |
>=dev-libs/glib-2.8 |
83 |
) |
84 |
) |
85 |
gtk? ( |
86 |
>=x11-libs/gtk+-2.8 |
87 |
>=dev-libs/glib-2.8 |
88 |
) |
89 |
qt3? ( =x11-libs/qt-3* ) |
90 |
qt4? ( || ( ( x11-libs/qt-core:4 |
91 |
x11-libs/qt-gui:4 |
92 |
x11-libs/qt-test:4 ) |
93 |
=x11-libs/qt-4.3*:4 ) )" |
94 |
DEPEND="${RDEPEND} |
95 |
dev-util/pkgconfig |
96 |
test? ( gtk? ( >=gnome-base/libglade-2 ) )" |
97 |
|
98 |
S="${WORKDIR}/${MY_P}" |
99 |
|
100 |
pkg_setup() { |
101 |
if ! { use gtk || use qt3 || use qt4 || use cairo; } |
102 |
then |
103 |
eerror "You've selected to build no bindings for poppler." |
104 |
eerror "Please select at least one of:" |
105 |
eerror "gtk, qt3, qt4, cairo" |
106 |
die "Please select a toolkit" |
107 |
fi |
108 |
|
109 |
} |
110 |
|
111 |
src_prepare() { |
112 |
sed -i \ |
113 |
-e 's:$(top_builddir)/poppler/libpoppler.la:-lpoppler:' \ |
114 |
$(find . -name 'Makefile.am' ) || die "404" |
115 |
sed -i \ |
116 |
-e '/libpoppler_la_LIBADD/,/win32_libs/d' \ |
117 |
-e '/libpoppler_la_SOURCES/,/XpdfPluginAPI.cc/d' \ |
118 |
-e '/libpoppler.la/d' \ |
119 |
-e '/libpoppler_la/d' \ |
120 |
poppler/Makefile.am || die "404" |
121 |
|
122 |
sed -i \ |
123 |
-e '/if BUILD_SPLASH_OUTPUT/,/endif/d' \ |
124 |
-e '/poppler.pc\t/d' \ |
125 |
-e ':$(splash_pc_file):d' \ |
126 |
Makefile.am || die "404" |
127 |
|
128 |
eautoreconf |
129 |
} |
130 |
|
131 |
src_configure() { |
132 |
# Configure needs help finding qt libs on multilib systems |
133 |
export QTLIB="${QTDIR}/$(get_libdir)" |
134 |
echo $QTLIB |
135 |
|
136 |
econf --disable-utils \ |
137 |
--disable-static \ |
138 |
$(use_enable gtk poppler-glib) \ |
139 |
$(use_enable qt3 poppler-qt) \ |
140 |
$(use_enable qt4 poppler-qt4) \ |
141 |
$(use_enable cairo poppler-glib) \ |
142 |
$(use_enable cairo cairo-output) \ |
143 |
|| die "configuration failed" |
144 |
} |
145 |
|
146 |
src_compile() { |
147 |
cd poppler |
148 |
if use cairo; then |
149 |
emake libpoppler-cairo.la || die "cairo failed" |
150 |
fi |
151 |
if use qt4; then |
152 |
emake libpoppler-arthur.la || die "arthur failed" |
153 |
fi |
154 |
cd .. |
155 |
emake || die "compilation failed" |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
emake DESTDIR="${D}" install || die "emake install failed" |
160 |
rm -f $(find "${D}" -name '*.la') |
161 |
} |
162 |
|
163 |
pkg_postinst() { |
164 |
ewarn "You need to rebuild everything depending on poppler, use revdep-rebuild" |
165 |
} |