1 |
dilfridge 12/07/31 08:51:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poppler-0.20.2-r1.ebuild |
5 |
Log: |
6 |
Fix printing of some pdf files, bug 426674 |
7 |
|
8 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.328 app-text/poppler/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.328&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.328&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?r1=1.327&r2=1.328 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v |
20 |
retrieving revision 1.327 |
21 |
retrieving revision 1.328 |
22 |
diff -u -r1.327 -r1.328 |
23 |
--- ChangeLog 23 Jul 2012 21:36:52 -0000 1.327 |
24 |
+++ ChangeLog 31 Jul 2012 08:51:13 -0000 1.328 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-text/poppler |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.327 2012/07/23 21:36:52 dilfridge Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.328 2012/07/31 08:51:13 dilfridge Exp $ |
30 |
+ |
31 |
+*poppler-0.20.2-r1 (31 Jul 2012) |
32 |
+ |
33 |
+ 31 Jul 2012; Andreas K. Huettel <dilfridge@g.o> |
34 |
+ +poppler-0.20.2-r1.ebuild, +files/poppler-0.20.2-xyscale.patch: |
35 |
+ Fix printing of some pdf files, bug 426674 |
36 |
|
37 |
23 Jul 2012; Andreas K. Huettel <dilfridge@g.o> poppler-0.20.2.ebuild: |
38 |
Needs newer gobject-introspection, bug 379527 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/poppler/poppler-0.20.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.20.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.20.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: poppler-0.20.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 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.20.2-r1.ebuild,v 1.1 2012/07/31 08:51:14 dilfridge Exp $ |
52 |
|
53 |
EAPI="4" |
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 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~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" |
63 |
SLOT="0" |
64 |
IUSE="cairo cjk curl cxx debug doc +introspection jpeg jpeg2k +lcms png qt4 tiff +utils +xpdf-headers" |
65 |
|
66 |
# No test data provided |
67 |
RESTRICT="test" |
68 |
|
69 |
COMMON_DEPEND=" |
70 |
>=media-libs/fontconfig-2.6.0 |
71 |
>=media-libs/freetype-2.3.9 |
72 |
sys-libs/zlib |
73 |
cairo? ( |
74 |
dev-libs/glib:2 |
75 |
>=x11-libs/cairo-1.10.0 |
76 |
introspection? ( >=dev-libs/gobject-introspection-1.32.1 ) |
77 |
) |
78 |
curl? ( net-misc/curl ) |
79 |
jpeg? ( virtual/jpeg ) |
80 |
jpeg2k? ( media-libs/openjpeg ) |
81 |
lcms? ( media-libs/lcms:2 ) |
82 |
png? ( >=media-libs/libpng-1.4:0 ) |
83 |
qt4? ( |
84 |
x11-libs/qt-core:4 |
85 |
x11-libs/qt-gui:4 |
86 |
) |
87 |
tiff? ( media-libs/tiff:0 ) |
88 |
" |
89 |
DEPEND="${COMMON_DEPEND} |
90 |
virtual/pkgconfig |
91 |
" |
92 |
RDEPEND="${COMMON_DEPEND} |
93 |
!dev-libs/poppler |
94 |
!dev-libs/poppler-glib |
95 |
!dev-libs/poppler-qt3 |
96 |
!dev-libs/poppler-qt4 |
97 |
!app-text/poppler-utils |
98 |
cjk? ( >=app-text/poppler-data-0.4.4 ) |
99 |
" |
100 |
|
101 |
PATCHES=( |
102 |
"${FILESDIR}/${PN}-0.20.1-lcms-automagic.patch" |
103 |
"${FILESDIR}/${PN}-0.20.2-xyscale.patch" |
104 |
) |
105 |
|
106 |
DOCS=(AUTHORS ChangeLog NEWS README README-XPDF TODO) |
107 |
|
108 |
src_configure() { |
109 |
mycmakeargs=( |
110 |
-DBUILD_GTK_TESTS=OFF |
111 |
-DBUILD_QT4_TESTS=OFF |
112 |
-DBUILD_CPP_TESTS=OFF |
113 |
-DENABLE_SPLASH=ON |
114 |
-DENABLE_ZLIB=ON |
115 |
$(cmake-utils_use_enable curl LIBCURL) |
116 |
$(cmake-utils_use_enable cxx CPP) |
117 |
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG) |
118 |
$(cmake-utils_use_enable utils) |
119 |
$(cmake-utils_use_enable xpdf-headers XPDF_HEADERS) |
120 |
$(cmake-utils_use_with cairo) |
121 |
$(cmake-utils_use_with introspection GObjectIntrospection) |
122 |
$(cmake-utils_use_with jpeg) |
123 |
$(cmake-utils_use_with png) |
124 |
$(cmake-utils_use_with qt4) |
125 |
$(cmake-utils_use_with tiff) |
126 |
) |
127 |
if use lcms; then |
128 |
mycmakeargs+=(-DENABLE_CMS=lcms2) |
129 |
else |
130 |
mycmakeargs+=(-DENABLE_CMS=) |
131 |
fi |
132 |
|
133 |
cmake-utils_src_configure |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
cmake-utils_src_install |
138 |
|
139 |
if use cairo && use doc; then |
140 |
# For now install gtk-doc there |
141 |
insinto /usr/share/gtk-doc/html/poppler |
142 |
doins -r "${S}"/glib/reference/html/* || die 'failed to install API documentation' |
143 |
fi |
144 |
} |
145 |
|
146 |
pkg_postinst() { |
147 |
ewarn "After upgrading app-text/poppler you may need to reinstall packages" |
148 |
ewarn "linking to it. If you're not a portage-2.2_rc user, you're advised" |
149 |
ewarn "to run revdep-rebuild" |
150 |
} |