1 |
commit: a48080e87547149f113585606aa9185aa5d2a70c |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 09:43:56 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 4 09:47:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48080e8 |
7 |
|
8 |
sci-geosciences/mapnik: remove unneeded patch, old 3.0.9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/635462 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
.../mapnik/files/mapnik-2.2.0-scons.patch | 11 --- |
14 |
sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild | 3 +- |
15 |
sci-geosciences/mapnik/mapnik-3.0.9.ebuild | 104 --------------------- |
16 |
3 files changed, 1 insertion(+), 117 deletions(-) |
17 |
|
18 |
diff --git a/sci-geosciences/mapnik/files/mapnik-2.2.0-scons.patch b/sci-geosciences/mapnik/files/mapnik-2.2.0-scons.patch |
19 |
deleted file mode 100644 |
20 |
index 0ddcd0f9e0d..00000000000 |
21 |
--- a/sci-geosciences/mapnik/files/mapnik-2.2.0-scons.patch |
22 |
+++ /dev/null |
23 |
@@ -1,11 +0,0 @@ |
24 |
---- a/SConstruct |
25 |
-+++ b/SConstruct |
26 |
-@@ -291,7 +291,7 @@ opts.AddVariables( |
27 |
- ('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)), |
28 |
- |
29 |
- # Install Variables |
30 |
-- ('PREFIX', 'The install path "prefix"', '/usr/local'), |
31 |
-+ ('PREFIX', 'The install path "prefix"', '/usr'), |
32 |
- ('LIBDIR_SCHEMA', 'The library sub-directory appended to the "prefix", sometimes lib64 on 64bit linux systems', LIBDIR_SCHEMA_DEFAULT), |
33 |
- ('PYTHON_PREFIX','Custom install path "prefix" for python bindings (default of no prefix)',''), |
34 |
- ('DESTDIR', 'The root directory to install into. Useful mainly for binary package building', '/'), |
35 |
|
36 |
diff --git a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild b/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild |
37 |
index 9ed3676d7c4..189477aa414 100644 |
38 |
--- a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild |
39 |
+++ b/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild |
40 |
@@ -1,4 +1,4 @@ |
41 |
-# Copyright 1999-2017 Gentoo Foundation |
42 |
+# Copyright 1999-2018 Gentoo Foundation |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
EAPI=6 |
46 |
@@ -40,7 +40,6 @@ DEPEND="${RDEPEND}" |
47 |
PATCHES=( |
48 |
"${FILESDIR}/${PN}-2.2.0-configure-only-once.patch" |
49 |
"${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch" |
50 |
- "${FILESDIR}/${PN}-2.2.0-scons.patch" |
51 |
"${FILESDIR}/${P}-harbuzz_sharper-upstream.patch" # upstream patches ported from |
52 |
"${FILESDIR}/${P}-unicode-upstream.patch" # https://github.com/mapnik/mapnik/commit/9e58c890430db6f0b6f1f7a1690877c9d913d92a |
53 |
) |
54 |
|
55 |
diff --git a/sci-geosciences/mapnik/mapnik-3.0.9.ebuild b/sci-geosciences/mapnik/mapnik-3.0.9.ebuild |
56 |
deleted file mode 100644 |
57 |
index ae28bff8558..00000000000 |
58 |
--- a/sci-geosciences/mapnik/mapnik-3.0.9.ebuild |
59 |
+++ /dev/null |
60 |
@@ -1,104 +0,0 @@ |
61 |
-# Copyright 1999-2016 Gentoo Foundation |
62 |
-# Distributed under the terms of the GNU General Public License v2 |
63 |
- |
64 |
-EAPI=6 |
65 |
- |
66 |
-inherit eutils scons-utils toolchain-funcs |
67 |
- |
68 |
-DESCRIPTION="A Free Toolkit for developing mapping applications" |
69 |
-HOMEPAGE="http://www.mapnik.org/" |
70 |
-SRC_URI="https://github.com/mapnik/mapnik/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
71 |
- |
72 |
-LICENSE="LGPL-3" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="~amd64 ~x86" |
75 |
-IUSE="cairo debug doc gdal postgres sqlite" |
76 |
- |
77 |
-RDEPEND=" |
78 |
- >=dev-libs/boost-1.48[threads] |
79 |
- dev-libs/icu:= |
80 |
- sys-libs/zlib |
81 |
- media-libs/freetype |
82 |
- media-libs/harfbuzz |
83 |
- dev-libs/libxml2 |
84 |
- media-libs/libpng:0= |
85 |
- media-libs/tiff:0= |
86 |
- virtual/jpeg:0= |
87 |
- media-libs/libwebp |
88 |
- sci-libs/proj |
89 |
- media-fonts/dejavu |
90 |
- x11-libs/agg[truetype] |
91 |
- cairo? ( |
92 |
- x11-libs/cairo |
93 |
- dev-cpp/cairomm |
94 |
- ) |
95 |
- postgres? ( >=dev-db/postgresql-8.3:* ) |
96 |
- gdal? ( sci-libs/gdal ) |
97 |
- sqlite? ( dev-db/sqlite:3 )" |
98 |
-DEPEND="${RDEPEND}" |
99 |
- |
100 |
-PATCHES=( |
101 |
- "${FILESDIR}/${PN}-2.2.0-configure-only-once.patch" |
102 |
- "${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch" |
103 |
- "${FILESDIR}/${PN}-2.2.0-scons.patch" |
104 |
-) |
105 |
- |
106 |
-src_prepare() { |
107 |
- default |
108 |
- |
109 |
- # do not version epidoc data |
110 |
- sed -i \ |
111 |
- -e 's:-`mapnik-config --version`::g' \ |
112 |
- utils/epydoc_config/build_epydoc.sh || die |
113 |
- |
114 |
- # force user flags, optimization level |
115 |
- sed -i -e "s:\-O%s:%s:" \ |
116 |
- -i -e "s:env\['OPTIMIZATION'\]:'${CXXFLAGS}':" \ |
117 |
- SConstruct || die |
118 |
-} |
119 |
- |
120 |
-src_configure() { |
121 |
- local PLUGINS=shape,csv,raster,geojson |
122 |
- use gdal && PLUGINS+=,gdal,ogr |
123 |
- use postgres && PLUGINS+=,postgis |
124 |
- use sqlite && PLUGINS+=,sqlite |
125 |
- |
126 |
- MYSCONS=( |
127 |
- "CC=$(tc-getCC)" |
128 |
- "CXX=$(tc-getCXX)" |
129 |
- "INPUT_PLUGINS=${PLUGINS}" |
130 |
- "PREFIX=/usr" |
131 |
- "DESTDIR=${D}" |
132 |
- "XMLPARSER=libxml2" |
133 |
- "LINKING=shared" |
134 |
- "RUNTIME_LINK=shared" |
135 |
- "PROJ_INCLUDES=/usr/include" |
136 |
- "PROJ_LIBS=/usr/$(get_libdir)" |
137 |
- "SYSTEM_FONTS=/usr/share/fonts" |
138 |
- CAIRO="$(usex cairo 1 0)" |
139 |
- DEBUG="$(usex debug 1 0)" |
140 |
- XML_DEBUG="$(usex debug 1 0)" |
141 |
- DEMO="$(usex doc 1 0)" |
142 |
- SAMPLE_INPUT_PLUGINS="$(usex doc 1 0)" |
143 |
- "CUSTOM_LDFLAGS=${LDFLAGS}" |
144 |
- "CUSTOM_LDFLAGS+=-L${ED}/usr/$(get_libdir)" |
145 |
- ) |
146 |
- escons "${MYSCONS[@]}" configure |
147 |
-} |
148 |
- |
149 |
-src_compile() { |
150 |
- escons "${MYSCONS[@]}" |
151 |
-} |
152 |
- |
153 |
-src_install() { |
154 |
- escons "${MYSCONS[@]}" DESTDIR="${D}" install |
155 |
- |
156 |
- dodoc AUTHORS.md README.md CHANGELOG.md |
157 |
-} |
158 |
- |
159 |
-pkg_postinst() { |
160 |
- elog "" |
161 |
- elog "See the home page or wiki (https://github.com/mapnik/mapnik/wiki) for more info" |
162 |
- elog "or the installed examples for the default mapnik ogcserver config." |
163 |
- elog "" |
164 |
-} |