1 |
commit: 07e7afc6c6a93548605794e0516ba29d061a532e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 07:28:00 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 07:38:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e7afc6 |
7 |
|
8 |
sci-geosciences/mapnik: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735556 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 1 - |
14 |
sci-geosciences/mapnik/Manifest | 2 - |
15 |
.../files/mapnik-2.2.0-configure-only-once.patch | 20 ---- |
16 |
.../files/mapnik-2.2.0-dont-run-ldconfig.patch | 11 -- |
17 |
.../mapnik/files/mapnik-3.0.18-icu-61.patch | 54 ---------- |
18 |
.../mapnik/files/mapnik-3.0.18-scons.patch | 39 ------- |
19 |
.../mapnik-3.0.9-harbuzz_sharper-upstream.patch | 25 ----- |
20 |
.../files/mapnik-3.0.9-unicode-upstream.patch | 11 -- |
21 |
sci-geosciences/mapnik/mapnik-3.0.18.ebuild | 118 --------------------- |
22 |
sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild | 106 ------------------ |
23 |
sci-geosciences/mapnik/metadata.xml | 19 ---- |
24 |
11 files changed, 406 deletions(-) |
25 |
|
26 |
diff --git a/profiles/package.mask b/profiles/package.mask |
27 |
index 565e3dce965..34df9b0b31e 100644 |
28 |
--- a/profiles/package.mask |
29 |
+++ b/profiles/package.mask |
30 |
@@ -266,7 +266,6 @@ games-sports/vdrift |
31 |
games-strategy/endless-sky |
32 |
games-strategy/glob2 |
33 |
net-vpn/freelan |
34 |
-sci-geosciences/mapnik |
35 |
|
36 |
# Michał Górny <mgorny@g.o> (2020-09-25) |
37 |
# PyPy3.7 alpha. Known to break a few packages. Masked until it |
38 |
|
39 |
diff --git a/sci-geosciences/mapnik/Manifest b/sci-geosciences/mapnik/Manifest |
40 |
deleted file mode 100644 |
41 |
index 814739a065b..00000000000 |
42 |
--- a/sci-geosciences/mapnik/Manifest |
43 |
+++ /dev/null |
44 |
@@ -1,2 +0,0 @@ |
45 |
-DIST mapnik-3.0.18.tar.bz2 10103474 BLAKE2B de914ffe31940b74114cdf07a9ff13f36c7210d27b84cecd16fda7c429f0c4be7ffb9e677cf1bc8d156298b5f10ed2a41adcbf4f7727bbf85d2f0099950f5c4f SHA512 7af04b9437c83cddedf2b43f7da0622e44178b4ecce80c0349bacf551bf747698d9ec9e4d6eee68c0265feeae5833281215a759de5a1394abbdfdd39eef39661 |
46 |
-DIST mapnik-3.0.9.tar.gz 13434729 BLAKE2B 49cf90089b34cfc706f85950d090609d5f9a5a6e9cfb56f6e1f1a6279f864b35f3f8d456caa2365787261affc4acb85ad93621d6471efed85f560c808dc0535a SHA512 ad45ecbb2661e860b7057e0a235542a390ae5790f401ef2c04f1517b6487e83cdb8e307072681847cb72a3abc242e0114bc15d48f504dec1f92df970dd1556e1 |
47 |
|
48 |
diff --git a/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch b/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch |
49 |
deleted file mode 100644 |
50 |
index 89541cb85ed..00000000000 |
51 |
--- a/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch |
52 |
+++ /dev/null |
53 |
@@ -1,20 +0,0 @@ |
54 |
---- a/SConstruct |
55 |
-+++ b/SConstruct |
56 |
-@@ -503,16 +503,7 @@ for opt in pickle_store: |
57 |
- #print 'missing opt', opt |
58 |
- preconfigured = False |
59 |
- |
60 |
--# if custom arguments are supplied make sure to accept them |
61 |
--if opts.args: |
62 |
-- # since we have custom arguments update environment with all opts to |
63 |
-- # make sure to absorb the custom ones |
64 |
-- opts.Update(env) |
65 |
-- # now since we've got custom arguments we'll disregard any |
66 |
-- # pickled environment and force another configuration |
67 |
-- preconfigured = False |
68 |
-- |
69 |
--elif preconfigured: |
70 |
-+if preconfigured: |
71 |
- if not HELP_REQUESTED: |
72 |
- color_print(4,'Using previous successful configuration...') |
73 |
- color_print(4,'Re-configure by running "python scons/scons.py configure".') |
74 |
|
75 |
diff --git a/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch b/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch |
76 |
deleted file mode 100644 |
77 |
index c92c0e9a02a..00000000000 |
78 |
--- a/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch |
79 |
+++ /dev/null |
80 |
@@ -1,11 +0,0 @@ |
81 |
---- a/src/build.py |
82 |
-+++ b/src/build.py |
83 |
-@@ -38,7 +38,7 @@ def call(cmd, silent=True): |
84 |
- print stderr |
85 |
- |
86 |
- def ldconfig(*args,**kwargs): |
87 |
-- call('ldconfig') |
88 |
-+ pass |
89 |
- |
90 |
- if env['LINKING'] == 'static': |
91 |
- lib_env.Append(CXXFLAGS="-fPIC") |
92 |
|
93 |
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch b/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch |
94 |
deleted file mode 100644 |
95 |
index 1330fe6c0fb..00000000000 |
96 |
--- a/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch |
97 |
+++ /dev/null |
98 |
@@ -1,54 +0,0 @@ |
99 |
-From 1ddfe6c315487a802f2ea38119255a203a25913c Mon Sep 17 00:00:00 2001 |
100 |
-From: Raul Marin <git@×××.ninja> |
101 |
-Date: Tue, 3 Apr 2018 13:18:03 +0200 |
102 |
-Subject: [PATCH] Qualify ICU types explicitly |
103 |
- |
104 |
-ICU 61 has dropped the global `using namespace icu;` |
105 |
-http://site.icu-project.org/download/61#TOC-Migration-Issues |
106 |
---- |
107 |
- include/mapnik/text/scrptrun.hpp | 2 +- |
108 |
- src/text/text_layout.cpp | 4 +++- |
109 |
- 2 files changed, 4 insertions(+), 2 deletions(-) |
110 |
- |
111 |
-diff --git a/include/mapnik/text/scrptrun.hpp b/include/mapnik/text/scrptrun.hpp |
112 |
-index 2161c510d9..c219a2a0d3 100644 |
113 |
---- a/include/mapnik/text/scrptrun.hpp |
114 |
-+++ b/include/mapnik/text/scrptrun.hpp |
115 |
-@@ -37,7 +37,7 @@ struct ParenStackEntry |
116 |
- UScriptCode scriptCode = USCRIPT_INVALID_CODE; |
117 |
- }; |
118 |
- |
119 |
--class ScriptRun : public UObject { |
120 |
-+class ScriptRun : public icu::UObject { |
121 |
- public: |
122 |
- ScriptRun(); |
123 |
- |
124 |
-diff --git a/src/text/text_layout.cpp b/src/text/text_layout.cpp |
125 |
-index 663cbe11aa..ecf02ab8e3 100644 |
126 |
---- a/src/text/text_layout.cpp |
127 |
-+++ b/src/text/text_layout.cpp |
128 |
-@@ -207,6 +207,7 @@ void text_layout::layout() |
129 |
- // At the end everything that is left over is added as the final line. |
130 |
- void text_layout::break_line_icu(std::pair<unsigned, unsigned> && line_limits) |
131 |
- { |
132 |
-+ using BreakIterator = icu::BreakIterator; |
133 |
- text_line line(line_limits.first, line_limits.second); |
134 |
- shape_text(line); |
135 |
- |
136 |
-@@ -228,7 +229,7 @@ void text_layout::break_line_icu(std::pair<unsigned, unsigned> && line_limits) |
137 |
- } |
138 |
- |
139 |
- mapnik::value_unicode_string const& text = itemizer_.text(); |
140 |
-- Locale locale; // TODO: Is the default constructor correct? |
141 |
-+ icu::Locale locale; // TODO: Is the default constructor correct? |
142 |
- UErrorCode status = U_ZERO_ERROR; |
143 |
- std::unique_ptr<BreakIterator> breakitr(BreakIterator::createLineInstance(locale, status)); |
144 |
- |
145 |
-@@ -336,6 +337,7 @@ inline int adjust_last_break_position (int pos, bool repeat_wrap_char) |
146 |
- |
147 |
- void text_layout::break_line(std::pair<unsigned, unsigned> && line_limits) |
148 |
- { |
149 |
-+ using BreakIterator = icu::BreakIterator; |
150 |
- text_line line(line_limits.first, line_limits.second); |
151 |
- shape_text(line); |
152 |
- double scaled_wrap_width = wrap_width_ * scale_factor_; |
153 |
|
154 |
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch b/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch |
155 |
deleted file mode 100644 |
156 |
index 2414bf95fed..00000000000 |
157 |
--- a/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch |
158 |
+++ /dev/null |
159 |
@@ -1,39 +0,0 @@ |
160 |
---- a/SConstruct |
161 |
-+++ b/SConstruct |
162 |
-@@ -317,7 +317,7 @@ |
163 |
- ('LINK_PRIORITY','Priority list in which to sort library and include paths (default order is internal, other, frameworks, user, then system - see source of `sort_paths` function for more detail)',','.join(DEFAULT_LINK_PRIORITY)), |
164 |
- |
165 |
- # Install Variables |
166 |
-- ('PREFIX', 'The install path "prefix"', '/usr/local'), |
167 |
-+ ('PREFIX', 'The install path "prefix"', '/usr'), |
168 |
- ('LIBDIR_SCHEMA', 'The library sub-directory appended to the "prefix", sometimes lib64 on 64bit linux systems', LIBDIR_SCHEMA_DEFAULT), |
169 |
- ('DESTDIR', 'The root directory to install into. Useful mainly for binary package building', '/'), |
170 |
- ('PATH', 'A custom path (or multiple paths divided by ":") to append to the $PATH env to prioritize usage of command line programs (if multiple are present on the system)', ''), |
171 |
-@@ -1222,6 +1222,8 @@ |
172 |
- |
173 |
- color_print(4,'Configuring build environment...') |
174 |
- |
175 |
-+ OPTIONAL_LIBSHEADERS = [] |
176 |
-+ |
177 |
- if not env['FAST']: |
178 |
- SetCacheMode('force') |
179 |
- |
180 |
-@@ -1410,7 +1412,8 @@ |
181 |
- # https://github.com/mapnik/mapnik/issues/913 |
182 |
- if env.get('XMLPARSER') and env['XMLPARSER'] == 'libxml2': |
183 |
- if env.get('XML2_LIBS') or env.get('XML2_INCLUDES'): |
184 |
-- OPTIONAL_LIBSHEADERS.insert(0,['libxml2','libxml/parser.h',True,'C']) |
185 |
-+ # code doesn't actually use HAVE_XMML2 but set just to have a fifth value |
186 |
-+ OPTIONAL_LIBSHEADERS.append(['libxml2','libxml/parser.h',True,'C','-DHAVE_XML2']) |
187 |
- if env.get('XML2_INCLUDES'): |
188 |
- inc_path = env['XML2_INCLUDES'] |
189 |
- env.AppendUnique(CPPPATH = fix_path(inc_path)) |
190 |
-@@ -1428,8 +1431,6 @@ |
191 |
- else: |
192 |
- env['SKIPPED_DEPS'].extend(['dlfcn']) |
193 |
- |
194 |
-- OPTIONAL_LIBSHEADERS = [] |
195 |
-- |
196 |
- if env['JPEG']: |
197 |
- OPTIONAL_LIBSHEADERS.append(['jpeg', ['stdio.h', 'jpeglib.h'], False,'C','-DHAVE_JPEG']) |
198 |
- inc_path = env['%s_INCLUDES' % 'JPEG'] |
199 |
|
200 |
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch b/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch |
201 |
deleted file mode 100644 |
202 |
index cb81f526568..00000000000 |
203 |
--- a/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch |
204 |
+++ /dev/null |
205 |
@@ -1,25 +0,0 @@ |
206 |
---- a/include/mapnik/text/harfbuzz_shaper.hpp 2017-10-31 17:45:30.737250086 +0100 |
207 |
-+++ b/include/mapnik/text/harfbuzz_shaper.hpp 2017-10-31 17:46:56.002247847 +0100 |
208 |
-@@ -39,10 +39,11 @@ |
209 |
- // harfbuzz |
210 |
- #include <harfbuzz/hb.h> |
211 |
- #include <harfbuzz/hb-ft.h> |
212 |
-- |
213 |
-+#include <unicode/uvernum.h> |
214 |
- // icu |
215 |
- #include <unicode/uscript.h> |
216 |
- |
217 |
-+ |
218 |
- namespace mapnik |
219 |
- { |
220 |
- |
221 |
-@@ -55,7 +56,8 @@ |
222 |
- static inline const uint16_t * uchar_to_utf16(const UChar* src) |
223 |
- { |
224 |
- static_assert(sizeof(UChar) == sizeof(uint16_t),"UChar is eq size to uint16_t"); |
225 |
--#if defined(_MSC_VER) |
226 |
-+#if defined(_MSC_VER) || (U_ICU_VERSION_MAJOR_NUM >= 59) |
227 |
-+ // ^^ http://site.icu-project.org/download/59#TOC-ICU4C-char16_t1 |
228 |
- return reinterpret_cast<const uint16_t *>(src); |
229 |
- #else |
230 |
- return src; |
231 |
|
232 |
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch b/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch |
233 |
deleted file mode 100644 |
234 |
index 0233eb4e3fd..00000000000 |
235 |
--- a/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch |
236 |
+++ /dev/null |
237 |
@@ -1,11 +0,0 @@ |
238 |
---- a/include/mapnik/unicode.hpp 2017-10-31 17:53:23.507237672 +0100 |
239 |
-+++ b/include/mapnik/unicode.hpp 2017-10-31 17:53:47.096237053 +0100 |
240 |
-@@ -31,6 +31,8 @@ |
241 |
- // std |
242 |
- #include <cstdint> |
243 |
- #include <string> |
244 |
-+// icu |
245 |
-+#include <unicode/unistr.h> |
246 |
- |
247 |
- struct UConverter; |
248 |
- |
249 |
|
250 |
diff --git a/sci-geosciences/mapnik/mapnik-3.0.18.ebuild b/sci-geosciences/mapnik/mapnik-3.0.18.ebuild |
251 |
deleted file mode 100644 |
252 |
index 91778820d45..00000000000 |
253 |
--- a/sci-geosciences/mapnik/mapnik-3.0.18.ebuild |
254 |
+++ /dev/null |
255 |
@@ -1,118 +0,0 @@ |
256 |
-# Copyright 1999-2019 Gentoo Authors |
257 |
-# Distributed under the terms of the GNU General Public License v2 |
258 |
- |
259 |
-EAPI=6 |
260 |
- |
261 |
-inherit eutils scons-utils toolchain-funcs |
262 |
- |
263 |
-DESCRIPTION="A Free Toolkit for developing mapping applications" |
264 |
-HOMEPAGE="http://www.mapnik.org/" |
265 |
-SRC_URI="https://github.com/mapnik/mapnik/releases/download/v${PV}/mapnik-v${PV}.tar.bz2 -> ${P}.tar.bz2" |
266 |
-S="${WORKDIR}/mapnik-v${PV}" |
267 |
- |
268 |
-LICENSE="LGPL-3" |
269 |
-SLOT="0" |
270 |
-KEYWORDS="~amd64 ~x86" |
271 |
-IUSE="cairo debug doc gdal osmfonts postgres sqlite" |
272 |
- |
273 |
-RDEPEND=" |
274 |
- >=dev-libs/boost-1.48:=[threads] |
275 |
- dev-libs/icu:= |
276 |
- sys-libs/zlib |
277 |
- media-libs/freetype |
278 |
- media-libs/harfbuzz |
279 |
- dev-libs/libxml2 |
280 |
- media-libs/libpng:0= |
281 |
- media-libs/tiff:0= |
282 |
- virtual/jpeg:0= |
283 |
- media-libs/libwebp:= |
284 |
- sci-libs/proj |
285 |
- media-fonts/dejavu |
286 |
- x11-libs/agg[truetype] |
287 |
- cairo? ( |
288 |
- x11-libs/cairo |
289 |
- dev-cpp/cairomm |
290 |
- ) |
291 |
- osmfonts? ( |
292 |
- media-fonts/dejavu |
293 |
- media-fonts/noto |
294 |
- media-fonts/noto-cjk |
295 |
- media-fonts/unifont |
296 |
- ) |
297 |
- postgres? ( >=dev-db/postgresql-8.3:* ) |
298 |
- gdal? ( sci-libs/gdal ) |
299 |
- sqlite? ( dev-db/sqlite:3 )" |
300 |
-DEPEND="${RDEPEND}" |
301 |
- |
302 |
-PATCHES=( |
303 |
- "${FILESDIR}/${PN}-2.2.0-configure-only-once.patch" |
304 |
- "${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch" |
305 |
- "${FILESDIR}/${PN}-3.0.18-scons.patch" |
306 |
- "${FILESDIR}/${PN}-3.0.18-icu-61.patch" |
307 |
-) |
308 |
- |
309 |
-src_prepare() { |
310 |
- default |
311 |
- |
312 |
- # do not version epidoc data |
313 |
- sed -i \ |
314 |
- -e 's:-`mapnik-config --version`::g' \ |
315 |
- utils/epydoc_config/build_epydoc.sh || die |
316 |
- |
317 |
- # force user flags, optimization level |
318 |
- sed -i -e "s:\-O%s:%s:" \ |
319 |
- -i -e "s:env\['OPTIMIZATION'\]:'${CXXFLAGS}':" \ |
320 |
- SConstruct || die |
321 |
-} |
322 |
- |
323 |
-src_configure() { |
324 |
-# local PYTHONCMD="$(which python2.7)" |
325 |
- local PLUGINS=shape,csv,raster,geojson |
326 |
- use gdal && PLUGINS+=,gdal,ogr |
327 |
- use postgres && PLUGINS+=,postgis |
328 |
- use sqlite && PLUGINS+=,sqlite |
329 |
- |
330 |
- MYSCONS=( |
331 |
- "CC=$(tc-getCC)" |
332 |
- "CXX=$(tc-getCXX)" |
333 |
- "INPUT_PLUGINS=${PLUGINS}" |
334 |
- "PREFIX=/usr" |
335 |
- "DESTDIR=${D}" |
336 |
- "XMLPARSER=libxml2" |
337 |
- "LINKING=shared" |
338 |
- "RUNTIME_LINK=shared" |
339 |
- "PROJ_INCLUDES=/usr/include" |
340 |
- "PROJ_LIBS=/usr/$(get_libdir)" |
341 |
- "LIBDIR_SCHEMA=$(get_libdir)" |
342 |
- "FREETYPE_INCLUDES=/usr/include/freetype2" |
343 |
- "FREETYPE_LIBS=/usr/$(get_libdir)" |
344 |
- "XML2_INCLUDES=/usr/include/libxml2" |
345 |
- "XML2_LIBS=/usr/$(get_libdir)" |
346 |
- "SYSTEM_FONTS=/usr/share/fonts" |
347 |
- CAIRO="$(usex cairo 1 0)" |
348 |
- DEBUG="$(usex debug 1 0)" |
349 |
- XML_DEBUG="$(usex debug 1 0)" |
350 |
- DEMO="$(usex doc 1 0)" |
351 |
- SAMPLE_INPUT_PLUGINS="$(usex doc 1 0)" |
352 |
- "CUSTOM_LDFLAGS=${LDFLAGS}" |
353 |
- "CUSTOM_LDFLAGS+=-L${ED}/usr/$(get_libdir)" |
354 |
- ) |
355 |
- escons "${MYSCONS[@]}" configure |
356 |
-} |
357 |
- |
358 |
-src_compile() { |
359 |
- escons "${MYSCONS[@]}" |
360 |
-} |
361 |
- |
362 |
-src_install() { |
363 |
- escons "${MYSCONS[@]}" DESTDIR="${D}" install |
364 |
- |
365 |
- dodoc AUTHORS.md README.md CHANGELOG.md |
366 |
-} |
367 |
- |
368 |
-pkg_postinst() { |
369 |
- elog "" |
370 |
- elog "See the home page or wiki (https://github.com/mapnik/mapnik/wiki) for more info" |
371 |
- elog "or the installed examples for the default mapnik ogcserver config." |
372 |
- elog "" |
373 |
-} |
374 |
|
375 |
diff --git a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild b/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild |
376 |
deleted file mode 100644 |
377 |
index 2e1d27bf19d..00000000000 |
378 |
--- a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild |
379 |
+++ /dev/null |
380 |
@@ -1,106 +0,0 @@ |
381 |
-# Copyright 1999-2019 Gentoo Authors |
382 |
-# Distributed under the terms of the GNU General Public License v2 |
383 |
- |
384 |
-EAPI=6 |
385 |
- |
386 |
-inherit eutils scons-utils toolchain-funcs |
387 |
- |
388 |
-DESCRIPTION="A Free Toolkit for developing mapping applications" |
389 |
-HOMEPAGE="http://www.mapnik.org/" |
390 |
-SRC_URI="https://github.com/mapnik/mapnik/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
391 |
- |
392 |
-LICENSE="LGPL-3" |
393 |
-SLOT="0" |
394 |
-KEYWORDS="~amd64 ~x86" |
395 |
-IUSE="cairo debug doc gdal postgres sqlite" |
396 |
- |
397 |
-RDEPEND=" |
398 |
- >=dev-libs/boost-1.48:=[threads] |
399 |
- dev-libs/icu:= |
400 |
- sys-libs/zlib |
401 |
- media-libs/freetype |
402 |
- media-libs/harfbuzz |
403 |
- dev-libs/libxml2 |
404 |
- media-libs/libpng:0= |
405 |
- media-libs/tiff:0= |
406 |
- virtual/jpeg:0= |
407 |
- media-libs/libwebp:= |
408 |
- sci-libs/proj |
409 |
- media-fonts/dejavu |
410 |
- x11-libs/agg[truetype] |
411 |
- cairo? ( |
412 |
- x11-libs/cairo |
413 |
- dev-cpp/cairomm |
414 |
- ) |
415 |
- postgres? ( >=dev-db/postgresql-8.3:* ) |
416 |
- gdal? ( sci-libs/gdal ) |
417 |
- sqlite? ( dev-db/sqlite:3 )" |
418 |
-DEPEND="${RDEPEND}" |
419 |
- |
420 |
-PATCHES=( |
421 |
- "${FILESDIR}/${PN}-2.2.0-configure-only-once.patch" |
422 |
- "${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch" |
423 |
- "${FILESDIR}/${P}-harbuzz_sharper-upstream.patch" # upstream patches ported from |
424 |
- "${FILESDIR}/${P}-unicode-upstream.patch" # https://github.com/mapnik/mapnik/commit/9e58c890430db6f0b6f1f7a1690877c9d913d92a |
425 |
-) |
426 |
- |
427 |
-src_prepare() { |
428 |
- default |
429 |
- |
430 |
- # do not version epidoc data |
431 |
- sed -i \ |
432 |
- -e 's:-`mapnik-config --version`::g' \ |
433 |
- utils/epydoc_config/build_epydoc.sh || die |
434 |
- |
435 |
- # force user flags, optimization level |
436 |
- sed -i -e "s:\-O%s:%s:" \ |
437 |
- -i -e "s:env\['OPTIMIZATION'\]:'${CXXFLAGS}':" \ |
438 |
- SConstruct || die |
439 |
-} |
440 |
- |
441 |
-src_configure() { |
442 |
- local PLUGINS=shape,csv,raster,geojson |
443 |
- use gdal && PLUGINS+=,gdal,ogr |
444 |
- use postgres && PLUGINS+=,postgis |
445 |
- use sqlite && PLUGINS+=,sqlite |
446 |
- |
447 |
- MYSCONS=( |
448 |
- "CC=$(tc-getCC)" |
449 |
- "CXX=$(tc-getCXX)" |
450 |
- "INPUT_PLUGINS=${PLUGINS}" |
451 |
- "PREFIX=/usr" |
452 |
- "DESTDIR=${D}" |
453 |
- "XMLPARSER=libxml2" |
454 |
- "LINKING=shared" |
455 |
- "RUNTIME_LINK=shared" |
456 |
- "PROJ_INCLUDES=/usr/include" |
457 |
- "PROJ_LIBS=/usr/$(get_libdir)" |
458 |
- "LIBDIR_SCHEMA=$(get_libdir)" |
459 |
- "SYSTEM_FONTS=/usr/share/fonts" |
460 |
- CAIRO="$(usex cairo 1 0)" |
461 |
- DEBUG="$(usex debug 1 0)" |
462 |
- XML_DEBUG="$(usex debug 1 0)" |
463 |
- DEMO="$(usex doc 1 0)" |
464 |
- SAMPLE_INPUT_PLUGINS="$(usex doc 1 0)" |
465 |
- "CUSTOM_LDFLAGS=${LDFLAGS}" |
466 |
- "CUSTOM_LDFLAGS+=-L${ED}/usr/$(get_libdir)" |
467 |
- ) |
468 |
- escons "${MYSCONS[@]}" configure |
469 |
-} |
470 |
- |
471 |
-src_compile() { |
472 |
- escons "${MYSCONS[@]}" |
473 |
-} |
474 |
- |
475 |
-src_install() { |
476 |
- escons "${MYSCONS[@]}" DESTDIR="${D}" install |
477 |
- |
478 |
- dodoc AUTHORS.md README.md CHANGELOG.md |
479 |
-} |
480 |
- |
481 |
-pkg_postinst() { |
482 |
- elog "" |
483 |
- elog "See the home page or wiki (https://github.com/mapnik/mapnik/wiki) for more info" |
484 |
- elog "or the installed examples for the default mapnik ogcserver config." |
485 |
- elog "" |
486 |
-} |
487 |
|
488 |
diff --git a/sci-geosciences/mapnik/metadata.xml b/sci-geosciences/mapnik/metadata.xml |
489 |
deleted file mode 100644 |
490 |
index 7f8d2fd981b..00000000000 |
491 |
--- a/sci-geosciences/mapnik/metadata.xml |
492 |
+++ /dev/null |
493 |
@@ -1,19 +0,0 @@ |
494 |
-<?xml version="1.0" encoding="UTF-8"?> |
495 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
496 |
-<pkgmetadata> |
497 |
- <maintainer type="project"> |
498 |
- <email>sci-geosciences@g.o</email> |
499 |
- <name>Gentoo Geosciences Project</name> |
500 |
- </maintainer> |
501 |
- <longdescription>Mapnik is a toolkit for developing both web and desktop |
502 |
- mapping applications. The core libraries are written in C++, with |
503 |
- optional Python bindings. |
504 |
- </longdescription> |
505 |
- <use> |
506 |
- <flag name="gdal">Enable <pkg>sci-libs/gdal</pkg> library support</flag> |
507 |
- <flag name="osmfonts">Enable openstreetmaps font styles</flag> |
508 |
- </use> |
509 |
- <upstream> |
510 |
- <remote-id type="github">downloads/mapnik</remote-id> |
511 |
- </upstream> |
512 |
-</pkgmetadata> |