1 |
the_paya 10/04/25 17:37:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poppler-0.12.4-r3.ebuild |
5 |
Log: |
6 |
Apply patch from upstream wrt bug #314925 with revbump. |
7 |
(Portage version: 2.2_rc67/cvs/FreeBSD i386) |
8 |
|
9 |
Revision Changes Path |
10 |
1.230 app-text/poppler/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/ChangeLog?rev=1.230&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/ChangeLog?rev=1.230&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/ChangeLog?r1=1.229&r2=1.230 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v |
19 |
retrieving revision 1.229 |
20 |
retrieving revision 1.230 |
21 |
diff -u -r1.229 -r1.230 |
22 |
--- ChangeLog 10 Apr 2010 02:13:17 -0000 1.229 |
23 |
+++ ChangeLog 25 Apr 2010 17:37:03 -0000 1.230 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-text/poppler |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.229 2010/04/10 02:13:17 reavertm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.230 2010/04/25 17:37:03 the_paya Exp $ |
29 |
+ |
30 |
+*poppler-0.12.4-r3 (25 Apr 2010) |
31 |
+ |
32 |
+ 25 Apr 2010; Javier Villavicencio <the_paya@g.o> |
33 |
+ +poppler-0.12.4-r3.ebuild, +files/poppler-0.12.4-strings_h.patch, |
34 |
+ +files/poppler-0.12.4-xopen_source.patch: |
35 |
+ Apply patch from upstream wrt bug #314925 with revbump. |
36 |
|
37 |
*poppler-0.12.4-r2 (10 Apr 2010) |
38 |
*poppler-0.12.3-r6 (10 Apr 2010) |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/poppler/poppler-0.12.4-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/poppler-0.12.4-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/poppler-0.12.4-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: poppler-0.12.4-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.12.4-r3.ebuild,v 1.1 2010/04/25 17:37:03 the_paya Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit cmake-utils |
56 |
|
57 |
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" |
58 |
HOMEPAGE="http://poppler.freedesktop.org/" |
59 |
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
64 |
IUSE="+abiword cairo cjk debug doc exceptions jpeg jpeg2k +lcms png qt4 +utils +xpdf-headers" |
65 |
|
66 |
COMMON_DEPEND=">=media-libs/fontconfig-2.6.0 |
67 |
>=media-libs/freetype-2.3.9 |
68 |
sys-libs/zlib |
69 |
abiword? ( dev-libs/libxml2:2 ) |
70 |
cairo? ( dev-libs/glib:2 |
71 |
>=x11-libs/cairo-1.8.4 |
72 |
>=x11-libs/gtk+-2.14.0:2 ) |
73 |
jpeg? ( >=media-libs/jpeg-7:0 ) |
74 |
jpeg2k? ( media-libs/openjpeg ) |
75 |
lcms? ( media-libs/lcms ) |
76 |
png? ( media-libs/libpng ) |
77 |
qt4? ( x11-libs/qt-core:4 |
78 |
x11-libs/qt-gui:4 )" |
79 |
DEPEND="${COMMON_DEPEND} |
80 |
dev-util/pkgconfig" |
81 |
RDEPEND="${COMMON_DEPEND} |
82 |
!dev-libs/poppler |
83 |
!dev-libs/poppler-glib |
84 |
!dev-libs/poppler-qt3 |
85 |
!dev-libs/poppler-qt4 |
86 |
!app-text/poppler-utils |
87 |
cjk? ( >=app-text/poppler-data-0.2.1 )" |
88 |
|
89 |
DOCS="AUTHORS ChangeLog NEWS README README-XPDF TODO" |
90 |
|
91 |
src_prepare() { |
92 |
epatch "${FILESDIR}"/${PN}-0.12.3-cmake-disable-tests.patch |
93 |
epatch "${FILESDIR}"/${PN}-0.12.3-fix-headers-installation.patch |
94 |
epatch "${FILESDIR}"/${PN}-0.12.3-gdk.patch |
95 |
epatch "${FILESDIR}"/${PN}-0.12.3-darwin-gtk-link.patch |
96 |
epatch "${FILESDIR}"/${P}-config.patch #304407 |
97 |
epatch "${FILESDIR}"/${PN}-0.12.3-cairo-downscale.patch #303817 |
98 |
epatch "${FILESDIR}"/${PN}-0.12.3-preserve-cflags.patch #309297 |
99 |
epatch "${FILESDIR}"/${PN}-0.12.4-nanosleep-rt.patch |
100 |
epatch "${FILESDIR}"/${PN}-0.12.4-strings_h.patch #314925 |
101 |
epatch "${FILESDIR}"/${PN}-0.12.4-xopen_source.patch #314925 |
102 |
} |
103 |
|
104 |
src_configure() { |
105 |
mycmakeargs=( |
106 |
-DBUILD_GTK_TESTS=OFF |
107 |
-DBUILD_QT4_TESTS=OFF |
108 |
-DWITH_Qt3=OFF |
109 |
-DENABLE_SPLASH=ON |
110 |
-DENABLE_ZLIB=ON |
111 |
$(cmake-utils_use_enable abiword) |
112 |
$(cmake-utils_use_enable lcms) |
113 |
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG) |
114 |
$(cmake-utils_use_enable utils) |
115 |
$(cmake-utils_use_enable xpdf-headers XPDF_HEADERS) |
116 |
$(cmake-utils_use_with cairo) |
117 |
$(cmake-utils_use_with cairo GTK) |
118 |
$(cmake-utils_use_with jpeg) |
119 |
$(cmake-utils_use_with png) |
120 |
$(cmake-utils_use_with qt4) |
121 |
$(cmake-utils_use exceptions USE_EXCEPTIONS) |
122 |
) |
123 |
|
124 |
cmake-utils_src_configure |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
cmake-utils_src_install |
129 |
|
130 |
if use cairo && use doc; then |
131 |
# For now install gtk-doc there |
132 |
insinto /usr/share/gtk-doc/html/poppler |
133 |
doins -r "${S}"/glib/reference/html/* || die 'failed to install API documentation' |
134 |
fi |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
ewarn 'After upgrading app-text/poppler you may need to reinstall packages' |
139 |
ewarn 'depending on it. If you have gentoolkit installed, you can find those' |
140 |
ewarn 'with `equery d poppler`.' |
141 |
} |