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