1 |
commit: 334fa4e6a40bd618cacf8edecf120efbcea810b7 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 28 11:53:48 2016 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 28 11:53:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=334fa4e6 |
7 |
|
8 |
sci-geosciences/monav: Remove |
9 |
|
10 |
Dead upstream. Based on kdelibs4. Never hit the tree. |
11 |
|
12 |
.../monav/files/monav-0.3-mapnik-2.0.patch | 45 ----------- |
13 |
.../monav/files/monav-0.3-mapnik-2.1.patch | 12 --- |
14 |
.../monav/files/monav-0.3-mapnik-2.2.patch | 15 ---- |
15 |
sci-geosciences/monav/files/monav-0.3-qmake.patch | 11 --- |
16 |
sci-geosciences/monav/metadata.xml | 16 ---- |
17 |
sci-geosciences/monav/monav-0.3-r3.ebuild | 89 ---------------------- |
18 |
6 files changed, 188 deletions(-) |
19 |
|
20 |
diff --git a/sci-geosciences/monav/files/monav-0.3-mapnik-2.0.patch b/sci-geosciences/monav/files/monav-0.3-mapnik-2.0.patch |
21 |
deleted file mode 100644 |
22 |
index 448a0cb..0000000 |
23 |
--- a/sci-geosciences/monav/files/monav-0.3-mapnik-2.0.patch |
24 |
+++ /dev/null |
25 |
@@ -1,45 +0,0 @@ |
26 |
-From: David Paleino <dapal@××××××.org> |
27 |
-Subject: port code to Mapnik2 |
28 |
-Origin: vendor |
29 |
-Forwarded: no |
30 |
- |
31 |
---- |
32 |
- plugins/osmrenderer/mapnikrenderer.cpp | 10 +++++----- |
33 |
- plugins/osmrenderer/mapnikrenderer.pro | 2 +- |
34 |
- preprocessor/preprocessor-gui.pro | 2 +- |
35 |
- preprocessor/preprocessor.pro | 2 +- |
36 |
- 4 files changed, 8 insertions(+), 8 deletions(-) |
37 |
- |
38 |
---- monav.orig/plugins/osmrenderer/mapnikrenderer.cpp |
39 |
-+++ monav/plugins/osmrenderer/mapnikrenderer.cpp |
40 |
-@@ -264,7 +264,7 @@ bool MapnikRenderer::Preprocess( IImport |
41 |
- const int metaTileSize = m_settings.metaTileSize * m_settings.tileSize + 2 * m_settings.margin; |
42 |
- |
43 |
- mapnik::Map map; |
44 |
-- mapnik::Image32 image( metaTileSize, metaTileSize ); |
45 |
-+ mapnik::image_32 image( metaTileSize, metaTileSize ); |
46 |
- QTemporaryFile tempOut; |
47 |
- QTemporaryFile tempIn; |
48 |
- mapnik::load_map( map, m_settings.theme.toLocal8Bit().constData() ); |
49 |
-@@ -288,9 +288,9 @@ bool MapnikRenderer::Preprocess( IImport |
50 |
- GPSCoordinate drawBottomRightGPS = drawBottomRight.ToGPSCoordinate(); |
51 |
- projection.forward( drawTopLeftGPS.longitude, drawBottomRightGPS.latitude ); |
52 |
- projection.forward( drawBottomRightGPS.longitude, drawTopLeftGPS.latitude ); |
53 |
-- mapnik::Envelope<double> boundingBox( drawTopLeftGPS.longitude, drawTopLeftGPS.latitude, drawBottomRightGPS.longitude, drawBottomRightGPS.latitude ); |
54 |
-- map.zoomToBox( boundingBox ); |
55 |
-- mapnik::agg_renderer<mapnik::Image32> renderer( map, image ); |
56 |
-+ mapnik::box2d<double> boundingBox( drawTopLeftGPS.longitude, drawTopLeftGPS.latitude, drawBottomRightGPS.longitude, drawBottomRightGPS.latitude ); |
57 |
-+ map.zoom_to_box( boundingBox ); |
58 |
-+ mapnik::agg_renderer<mapnik::image_32> renderer( map, image ); |
59 |
- renderer.apply(); |
60 |
- |
61 |
- std::string data; |
62 |
-@@ -299,7 +299,7 @@ bool MapnikRenderer::Preprocess( IImport |
63 |
- for ( int subX = 0; subX < metaTileSizeX; ++subX ) { |
64 |
- for ( int subY = 0; subY < metaTileSizeY; ++subY ) { |
65 |
- int indexNumber = ( y + subY - info.minY ) * ( info.maxX - info.minX ) + x + subX - info.minX; |
66 |
-- mapnik::image_view<mapnik::ImageData32> view = image.get_view( subX * m_settings.tileSize + m_settings.margin, subY * m_settings.tileSize + m_settings.margin, m_settings.tileSize, m_settings.tileSize ); |
67 |
-+ mapnik::image_view<mapnik::image_data_32> view = image.get_view( subX * m_settings.tileSize + m_settings.margin, subY * m_settings.tileSize + m_settings.margin, m_settings.tileSize, m_settings.tileSize ); |
68 |
- std::string result; |
69 |
- if ( !m_settings.deleteTiles || info.index[( x + subX - info.minX ) + ( y + subY - info.minY ) * ( info.maxX - info.minX )].size == 1 ) { |
70 |
- if ( m_settings.reduceColors ) |
71 |
|
72 |
diff --git a/sci-geosciences/monav/files/monav-0.3-mapnik-2.1.patch b/sci-geosciences/monav/files/monav-0.3-mapnik-2.1.patch |
73 |
deleted file mode 100644 |
74 |
index 9204edf..0000000 |
75 |
--- a/sci-geosciences/monav/files/monav-0.3-mapnik-2.1.patch |
76 |
+++ /dev/null |
77 |
@@ -1,12 +0,0 @@ |
78 |
---- monav.orig/plugins/osmrenderer/mapnikrenderer.cpp 2013-02-17 20:26:43.070848326 +0100 |
79 |
-+++ monav/plugins/osmrenderer/mapnikrenderer.cpp 2013-02-17 20:27:49.242941943 +0100 |
80 |
-@@ -30,6 +30,9 @@ |
81 |
- #include <mapnik/agg_renderer.hpp> |
82 |
- #include <mapnik/image_util.hpp> |
83 |
- #include <mapnik/load_map.hpp> |
84 |
-+#include <mapnik/graphics.hpp> |
85 |
-+#include <mapnik/image_view.hpp> |
86 |
-+#include <mapnik/config_error.hpp> |
87 |
- #include <omp.h> |
88 |
- #include <QFile> |
89 |
- #include <QTemporaryFile> |
90 |
|
91 |
diff --git a/sci-geosciences/monav/files/monav-0.3-mapnik-2.2.patch b/sci-geosciences/monav/files/monav-0.3-mapnik-2.2.patch |
92 |
deleted file mode 100644 |
93 |
index dea5bb8..0000000 |
94 |
--- a/sci-geosciences/monav/files/monav-0.3-mapnik-2.2.patch |
95 |
+++ /dev/null |
96 |
@@ -1,15 +0,0 @@ |
97 |
---- plugins/osmrenderer/mapnikrenderer.cpp.orig 2013-09-23 15:01:58.219962201 +0200 |
98 |
-+++ plugins/osmrenderer/mapnikrenderer.cpp 2013-09-23 15:05:25.059214873 +0200 |
99 |
-@@ -150,10 +150,9 @@ |
100 |
- |
101 |
- Timer time; |
102 |
- |
103 |
-- mapnik::datasource_cache::instance()->register_datasources( m_settings.plugins.toAscii().constData() ); |
104 |
-+ mapnik::datasource_cache::instance().register_datasources( m_settings.plugins.toAscii().constData() ); |
105 |
- QDir fonts( m_settings.fonts ); |
106 |
-- mapnik::projection projection; |
107 |
-- projection = mapnik::projection( "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" ); |
108 |
-+ mapnik::projection projection( "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" ); |
109 |
- mapnik::freetype_engine::register_font( fonts.filePath( "DejaVuSans.ttf" ).toAscii().constData() ); |
110 |
- mapnik::freetype_engine::register_font( fonts.filePath( "DejaVuSans-Bold.ttf" ).toAscii().constData() ); |
111 |
- mapnik::freetype_engine::register_font( fonts.filePath( "DejaVuSans-Oblique.ttf" ).toAscii().constData() ); |
112 |
|
113 |
diff --git a/sci-geosciences/monav/files/monav-0.3-qmake.patch b/sci-geosciences/monav/files/monav-0.3-qmake.patch |
114 |
deleted file mode 100644 |
115 |
index 5822da1..0000000 |
116 |
--- a/sci-geosciences/monav/files/monav-0.3-qmake.patch |
117 |
+++ /dev/null |
118 |
@@ -1,11 +0,0 @@ |
119 |
---- a/client/client.pro 2011-07-28 21:18:24.330394388 +0200 |
120 |
-+++ b/client/client.pro 2011-07-28 21:06:19.223851824 +0200 |
121 |
-@@ -91,7 +91,7 @@ |
122 |
- LIBS += -L../bin/plugins_client -lmapnikrendererclient -lcontractionhierarchiesclient -lgpsgridclient -losmrendererclient -lunicodetournamenttrieclient -lqtilerendererclient |
123 |
- |
124 |
- #required by osmrendererclient |
125 |
--QT += network |
126 |
-+QT += network mobility |
127 |
- CONFIG += mobility |
128 |
- MOBILITY += location |
129 |
- |
130 |
|
131 |
diff --git a/sci-geosciences/monav/metadata.xml b/sci-geosciences/monav/metadata.xml |
132 |
deleted file mode 100644 |
133 |
index 833b009..0000000 |
134 |
--- a/sci-geosciences/monav/metadata.xml |
135 |
+++ /dev/null |
136 |
@@ -1,16 +0,0 @@ |
137 |
-<?xml version="1.0" encoding="UTF-8"?> |
138 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
139 |
-<pkgmetadata> |
140 |
- <maintainer type="person"> |
141 |
- <email>devurandom@×××.net</email> |
142 |
- </maintainer> |
143 |
- <maintainer type="project"> |
144 |
- <email>kde@g.o</email> |
145 |
- <name>Gentoo KDE Project</name> |
146 |
- </maintainer> |
147 |
- <use> |
148 |
- <flag name="client">Build the monav client</flag> |
149 |
- <flag name="preprocessor">Build the monav preprocessor to turn OSM maps into monav maps</flag> |
150 |
- <flag name="preprocessor-gui">Build the GUI for the monav preprocessor</flag> |
151 |
- </use> |
152 |
-</pkgmetadata> |
153 |
|
154 |
diff --git a/sci-geosciences/monav/monav-0.3-r3.ebuild b/sci-geosciences/monav/monav-0.3-r3.ebuild |
155 |
deleted file mode 100644 |
156 |
index bbcf022..0000000 |
157 |
--- a/sci-geosciences/monav/monav-0.3-r3.ebuild |
158 |
+++ /dev/null |
159 |
@@ -1,89 +0,0 @@ |
160 |
-# Copyright 1999-2016 Gentoo Foundation |
161 |
-# Distributed under the terms of the GNU General Public License v2 |
162 |
-# $Id$ |
163 |
- |
164 |
-EAPI=5 |
165 |
- |
166 |
-inherit qt4-r2 |
167 |
- |
168 |
-DESCRIPTION="State-of-the-art fast and exact routing with OpenStreetMap Data" |
169 |
-HOMEPAGE="http://code.google.com/p/monav/" |
170 |
-SRC_URI="http://monav.googlecode.com/files/${P}.tar.gz" |
171 |
- |
172 |
-LICENSE="GPL-3" |
173 |
-SLOT="0" |
174 |
-KEYWORDS="~amd64" |
175 |
-IUSE="client +preprocessor preprocessor-gui" |
176 |
- |
177 |
-REQUIRED_USE="preprocessor? ( preprocessor-gui )" |
178 |
- |
179 |
-DEPEND=" |
180 |
- dev-qt/qtcore:4 |
181 |
- preprocessor? ( |
182 |
- app-arch/bzip2 |
183 |
- dev-libs/libxml2 |
184 |
- dev-libs/protobuf |
185 |
- sci-geosciences/mapnik |
186 |
- ) |
187 |
- preprocessor-gui? ( |
188 |
- dev-qt/qt-mobility[location] |
189 |
- client? ( dev-qt/qtgui:4 ) |
190 |
- ) |
191 |
-" |
192 |
-RDEPEND="${DEPEND}" |
193 |
- |
194 |
-PATCHES=( |
195 |
- "${FILESDIR}"/${P}-qmake.patch |
196 |
- "${FILESDIR}"/${P}-mapnik-2.0.patch |
197 |
- "${FILESDIR}"/${P}-mapnik-2.1.patch |
198 |
- "${FILESDIR}"/${P}-mapnik-2.2.patch |
199 |
-) |
200 |
- |
201 |
-src_configure() { |
202 |
- eqmake4 "${S}"/monavroutingdaemon.pro CONFIG+=nogui -o "${S}"/Makefile.routingdaemon |
203 |
- |
204 |
- if use preprocessor ; then |
205 |
- eqmake4 "${S}"/monavpreprocessor.pro CONFIG+=nogui -o "${S}"/Makefile.preprocessor |
206 |
- fi |
207 |
- |
208 |
- if use preprocessor-gui ; then |
209 |
- eqmake4 "${S}"/monavpreprocessor-gui.pro -o "${S}"/Makefile.preprocessor-gui |
210 |
- fi |
211 |
- |
212 |
- if use client ; then |
213 |
- eqmake4 "${S}"/monavclient.pro -o "${S}"/Makefile.client |
214 |
- fi |
215 |
-} |
216 |
- |
217 |
-src_compile() { |
218 |
- emake -f "${S}"/Makefile.routingdaemon |
219 |
- |
220 |
- if use preprocessor ; then |
221 |
- emake -f "${S}"/Makefile.preprocessor |
222 |
- fi |
223 |
- |
224 |
- if use preprocessor-gui ; then |
225 |
- emake -f "${S}"/Makefile.preprocessor-gui |
226 |
- fi |
227 |
- |
228 |
- if use client ; then |
229 |
- emake -f "${S}"/Makefile.client |
230 |
- fi |
231 |
-} |
232 |
- |
233 |
-src_install() { |
234 |
- dobin bin/daemon-test |
235 |
- dobin bin/monav-daemon |
236 |
- |
237 |
- if use preprocessor ; then |
238 |
- dobin bin/monav-preprocessor |
239 |
- fi |
240 |
- |
241 |
- if use preprocessor-gui ; then |
242 |
- dobin bin/monav-preprocessor-gui |
243 |
- fi |
244 |
- |
245 |
- if use client ; then |
246 |
- dobin bin/monav |
247 |
- fi |
248 |
-} |