Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/poppler: poppler-0.26.2.ebuild ChangeLog poppler-9999.ebuild
Date: Sun, 22 Jun 2014 18:58:00
Message-Id: 20140622185756.387802004E@flycatcher.gentoo.org
1 dilfridge 14/06/22 18:57:56
2
3 Modified: ChangeLog
4 Added: poppler-0.26.2.ebuild poppler-9999.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.426 app-text/poppler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.426&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.426&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?r1=1.425&r2=1.426
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v
20 retrieving revision 1.425
21 retrieving revision 1.426
22 diff -u -r1.425 -r1.426
23 --- ChangeLog 24 May 2014 20:07:56 -0000 1.425
24 +++ ChangeLog 22 Jun 2014 18:57:56 -0000 1.426
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-text/poppler
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.425 2014/05/24 20:07:56 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.426 2014/06/22 18:57:56 dilfridge Exp $
30 +
31 +*poppler-9999 (22 Jun 2014)
32 +*poppler-0.26.2 (22 Jun 2014)
33 +
34 + 22 Jun 2014; Andreas K. Huettel <dilfridge@g.o>
35 + +poppler-0.26.2.ebuild, +poppler-9999.ebuild:
36 + Version bump
37
38 24 May 2014; Andreas K. Huettel <dilfridge@g.o>
39 -poppler-0.26.0.ebuild:
40
41
42
43 1.1 app-text/poppler/poppler-0.26.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.26.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.26.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: poppler-0.26.2.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.26.2.ebuild,v 1.1 2014/06/22 18:57:56 dilfridge Exp $
53
54 EAPI=5
55
56 inherit cmake-utils toolchain-funcs
57
58 if [[ "${PV}" == "9999" ]] ; then
59 inherit git-r3
60 EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
61 KEYWORDS=""
62 SLOT="0/9999"
63 else
64 SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
65 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"
66 SLOT="0/46"
67 fi
68
69 DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
70 HOMEPAGE="http://poppler.freedesktop.org/"
71
72 LICENSE="GPL-2"
73 IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils"
74
75 # No test data provided
76 RESTRICT="test"
77
78 COMMON_DEPEND="
79 >=media-libs/fontconfig-2.6.0
80 >=media-libs/freetype-2.3.9
81 sys-libs/zlib
82 cairo? (
83 dev-libs/glib:2
84 >=x11-libs/cairo-1.10.0
85 introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
86 )
87 curl? ( net-misc/curl )
88 jpeg? ( virtual/jpeg:0 )
89 jpeg2k? ( media-libs/openjpeg:0 )
90 lcms? ( media-libs/lcms:2 )
91 png? ( media-libs/libpng:0= )
92 qt4? (
93 dev-qt/qtcore:4
94 dev-qt/qtgui:4
95 )
96 qt5? (
97 dev-qt/qtcore:5
98 dev-qt/qtgui:5
99 dev-qt/qtxml:5
100 )
101 tiff? ( media-libs/tiff:0 )
102 "
103 DEPEND="${COMMON_DEPEND}
104 virtual/pkgconfig
105 "
106 RDEPEND="${COMMON_DEPEND}
107 cjk? ( >=app-text/poppler-data-0.4.4 )
108 "
109
110 DOCS=(AUTHORS NEWS README README-XPDF TODO)
111
112 PATCHES=( "${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch" )
113
114 src_configure() {
115 # this is needed for multilib, see bug 459394
116 local ft_libdir ft_includedir
117 ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)"
118 ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)"
119 export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}"
120 einfo "Detected FreeType at ${FREETYPE_DIR}"
121
122 mycmakeargs=(
123 -DBUILD_GTK_TESTS=OFF
124 -DBUILD_QT4_TESTS=OFF
125 -DBUILD_QT5_TESTS=OFF
126 -DBUILD_CPP_TESTS=OFF
127 -DENABLE_SPLASH=ON
128 -DENABLE_ZLIB=ON
129 -DENABLE_XPDF_HEADERS=ON
130 $(cmake-utils_use_enable curl LIBCURL)
131 $(cmake-utils_use_enable cxx CPP)
132 $(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
133 $(cmake-utils_use_enable utils)
134 $(cmake-utils_use_with cairo)
135 $(cmake-utils_use_with introspection GObjectIntrospection)
136 $(cmake-utils_use_with jpeg)
137 $(cmake-utils_use_with png)
138 $(cmake-utils_use_with qt4)
139 $(cmake-utils_use_find_package qt5 Qt5Core)
140 $(cmake-utils_use_with tiff)
141 )
142 if use lcms; then
143 mycmakeargs+=(-DENABLE_CMS=lcms2)
144 else
145 mycmakeargs+=(-DENABLE_CMS=)
146 fi
147
148 cmake-utils_src_configure
149 }
150
151 src_install() {
152 cmake-utils_src_install
153
154 if use cairo && use doc; then
155 # For now install gtk-doc there
156 insinto /usr/share/gtk-doc/html/poppler
157 doins -r "${S}"/glib/reference/html/*
158 fi
159 }
160
161
162
163 1.1 app-text/poppler/poppler-9999.ebuild
164
165 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-9999.ebuild?rev=1.1&view=markup
166 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-9999.ebuild?rev=1.1&content-type=text/plain
167
168 Index: poppler-9999.ebuild
169 ===================================================================
170 # Copyright 1999-2014 Gentoo Foundation
171 # Distributed under the terms of the GNU General Public License v2
172 # $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-9999.ebuild,v 1.1 2014/06/22 18:57:56 dilfridge Exp $
173
174 EAPI=5
175
176 inherit cmake-utils toolchain-funcs
177
178 if [[ "${PV}" == "9999" ]] ; then
179 inherit git-r3
180 EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
181 KEYWORDS=""
182 SLOT="0/9999"
183 else
184 SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
185 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"
186 SLOT="0/46" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
187 fi
188
189 DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
190 HOMEPAGE="http://poppler.freedesktop.org/"
191
192 LICENSE="GPL-2"
193 IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils"
194
195 # No test data provided
196 RESTRICT="test"
197
198 COMMON_DEPEND="
199 >=media-libs/fontconfig-2.6.0
200 >=media-libs/freetype-2.3.9
201 sys-libs/zlib
202 cairo? (
203 dev-libs/glib:2
204 >=x11-libs/cairo-1.10.0
205 introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
206 )
207 curl? ( net-misc/curl )
208 jpeg? ( virtual/jpeg:0 )
209 jpeg2k? ( media-libs/openjpeg:0 )
210 lcms? ( media-libs/lcms:2 )
211 png? ( media-libs/libpng:0= )
212 qt4? (
213 dev-qt/qtcore:4
214 dev-qt/qtgui:4
215 )
216 qt5? (
217 dev-qt/qtcore:5
218 dev-qt/qtgui:5
219 dev-qt/qtxml:5
220 )
221 tiff? ( media-libs/tiff:0 )
222 "
223 DEPEND="${COMMON_DEPEND}
224 virtual/pkgconfig
225 "
226 RDEPEND="${COMMON_DEPEND}
227 cjk? ( >=app-text/poppler-data-0.4.4 )
228 "
229
230 DOCS=(AUTHORS NEWS README README-XPDF TODO)
231
232 PATCHES=( "${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch" )
233
234 src_configure() {
235 # this is needed for multilib, see bug 459394
236 local ft_libdir ft_includedir
237 ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)"
238 ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)"
239 export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}"
240 einfo "Detected FreeType at ${FREETYPE_DIR}"
241
242 mycmakeargs=(
243 -DBUILD_GTK_TESTS=OFF
244 -DBUILD_QT4_TESTS=OFF
245 -DBUILD_QT5_TESTS=OFF
246 -DBUILD_CPP_TESTS=OFF
247 -DENABLE_SPLASH=ON
248 -DENABLE_ZLIB=ON
249 -DENABLE_XPDF_HEADERS=ON
250 $(cmake-utils_use_enable curl LIBCURL)
251 $(cmake-utils_use_enable cxx CPP)
252 $(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
253 $(cmake-utils_use_enable utils)
254 $(cmake-utils_use_with cairo)
255 $(cmake-utils_use_with introspection GObjectIntrospection)
256 $(cmake-utils_use_with jpeg)
257 $(cmake-utils_use_with png)
258 $(cmake-utils_use_with qt4)
259 $(cmake-utils_use_find_package qt5 Qt5Core)
260 $(cmake-utils_use_with tiff)
261 )
262 if use lcms; then
263 mycmakeargs+=(-DENABLE_CMS=lcms2)
264 else
265 mycmakeargs+=(-DENABLE_CMS=)
266 fi
267
268 cmake-utils_src_configure
269 }
270
271 src_install() {
272 cmake-utils_src_install
273
274 if use cairo && use doc; then
275 # For now install gtk-doc there
276 insinto /usr/share/gtk-doc/html/poppler
277 doins -r "${S}"/glib/reference/html/*
278 fi
279 }