1 |
commit: 0e7062f23983725a502804b4b83a618620fd88a4 |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 8 07:28:01 2020 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 8 07:29:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7062f2 |
7 |
|
8 |
media-radio/xastir: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
11 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
12 |
|
13 |
media-radio/xastir/Manifest | 1 - |
14 |
media-radio/xastir/files/xastir-2.0.4-fortify.diff | 144 --------------------- |
15 |
.../files/xastir-2.0.8-fix-graphicsmagick.diff | 32 ----- |
16 |
.../files/xastir-2.0.8-no-builtin-shapelib.diff | 58 --------- |
17 |
media-radio/xastir/files/xastir-2.0.8-scripts.diff | 91 ------------- |
18 |
media-radio/xastir/metadata.xml | 1 - |
19 |
media-radio/xastir/xastir-2.0.8-r1.ebuild | 86 ------------ |
20 |
7 files changed, 413 deletions(-) |
21 |
|
22 |
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest |
23 |
index 6fd1281880e..48be224f00b 100644 |
24 |
--- a/media-radio/xastir/Manifest |
25 |
+++ b/media-radio/xastir/Manifest |
26 |
@@ -1,2 +1 @@ |
27 |
-DIST xastir-2.0.8.tar.gz 2697256 BLAKE2B 12a12219885d7923e3262494ac39b7b7f200118953b1e47ae25917f3f1732a1cff931de06462de7d5f1216c9b61561f8090fc49e18b40380eaa58b3559c5f123 SHA512 fd98a880392e9fcb049c6049ebc6a6a5e600571b7b59fd7061a72404abd68530ae6f152c9eabdc39be0458b33b363ce7fa3fdd5330003298bca8eaac62a6982f |
28 |
DIST xastir-2.1.4.tar.gz 2694124 BLAKE2B 90fd8ef340fc5bad43c9501c6530dcd4bd60eaab9c04638c68f80add46f0df24c45db334549915edaee95cbdcc9b7580d6343d81d84cb819f4ef5a76c9f79242 SHA512 e96f9de52499615cfe88708656d111d417e0d0e08f798b2d97f6a270db3e639c4fb5219767f8fd399fe75f51f02391ace87ae7175ae9a44cb5a4056ab7b573b1 |
29 |
|
30 |
diff --git a/media-radio/xastir/files/xastir-2.0.4-fortify.diff b/media-radio/xastir/files/xastir-2.0.4-fortify.diff |
31 |
deleted file mode 100644 |
32 |
index e2c34b00747..00000000000 |
33 |
--- a/media-radio/xastir/files/xastir-2.0.4-fortify.diff |
34 |
+++ /dev/null |
35 |
@@ -1,144 +0,0 @@ |
36 |
---- src/rac_data.c.orig 2012-09-23 18:19:22.000000000 +0200 |
37 |
-+++ src/rac_data.c 2012-11-29 21:00:53.000000000 +0100 |
38 |
-@@ -212,7 +212,8 @@ |
39 |
- char char_offset[16]; |
40 |
- char index[32]; |
41 |
- int found = 0; |
42 |
-- rac_record racdata; |
43 |
-+ char buffer[sizeof(rac_record)]; |
44 |
-+ rac_record *racdata = (rac_record *)buffer; |
45 |
- /*char filler[8];*/ |
46 |
- char amacall_path[MAX_VALUE]; |
47 |
- |
48 |
-@@ -220,7 +221,7 @@ |
49 |
- |
50 |
- |
51 |
- xastir_snprintf(index, sizeof(index)," "); |
52 |
-- xastir_snprintf(racdata.callsign, sizeof(racdata.callsign)," "); |
53 |
-+ xastir_snprintf(racdata->callsign, sizeof(racdata->callsign)," "); |
54 |
- |
55 |
- /* ==================================================================== */ |
56 |
- /* Search thru the index, get the RBA */ |
57 |
-@@ -257,19 +258,19 @@ |
58 |
- if (callsign[5] == '-') |
59 |
- (void)chomp(callsign,5); |
60 |
- |
61 |
-- while (!feof(fdb) && strncmp((char *)&racdata, callsign, 6) < 0) |
62 |
-+ while (!feof(fdb) && strncmp(buffer, callsign, 6) < 0) |
63 |
- |
64 |
- //WE7U |
65 |
- // Problem here: We're sticking 8 bytes too many into racdata! |
66 |
-- rc = fgets((char *)&racdata, sizeof(racdata), fdb); |
67 |
-+ rc = fgets(buffer, sizeof(buffer), fdb); |
68 |
- |
69 |
- } else |
70 |
- fprintf(stderr,"Search:Could not open RAC data base: %s\n", get_data_base_dir("fcc/AMACALL.LST") ); |
71 |
- |
72 |
- /* || (callsign[5] == '-' && strncmp((char *)&racdata,callsign,5) < 0)) */ |
73 |
-- (void)chomp(racdata.callsign, 6); |
74 |
-+ (void)chomp(racdata->callsign, 6); |
75 |
- |
76 |
-- if (!strncmp((char *)racdata.callsign, callsign, 6)) { |
77 |
-+ if (!strncmp(racdata->callsign, callsign, 6)) { |
78 |
- found = 1; |
79 |
- |
80 |
- // Some of these cause problems on 64-bit processors, so commented |
81 |
-@@ -293,82 +294,82 @@ |
82 |
- xastir_snprintf(data->callsign, |
83 |
- sizeof(data->callsign), |
84 |
- "%s", |
85 |
-- racdata.callsign); |
86 |
-+ racdata->callsign); |
87 |
- |
88 |
- xastir_snprintf(data->first_name, |
89 |
- sizeof(data->first_name), |
90 |
- "%s", |
91 |
-- racdata.first_name); |
92 |
-+ racdata->first_name); |
93 |
- |
94 |
- xastir_snprintf(data->last_name, |
95 |
- sizeof(data->last_name), |
96 |
- "%s", |
97 |
-- racdata.last_name); |
98 |
-+ racdata->last_name); |
99 |
- |
100 |
- xastir_snprintf(data->address, |
101 |
- sizeof(data->address), |
102 |
- "%s", |
103 |
-- racdata.address); |
104 |
-+ racdata->address); |
105 |
- |
106 |
- xastir_snprintf(data->city, |
107 |
- sizeof(data->city), |
108 |
- "%s", |
109 |
-- racdata.city); |
110 |
-+ racdata->city); |
111 |
- |
112 |
- xastir_snprintf(data->province, |
113 |
- sizeof(data->province), |
114 |
- "%s", |
115 |
-- racdata.province); |
116 |
-+ racdata->province); |
117 |
- |
118 |
- xastir_snprintf(data->postal_code, |
119 |
- sizeof(data->postal_code), |
120 |
- "%s", |
121 |
-- racdata.postal_code); |
122 |
-+ racdata->postal_code); |
123 |
- |
124 |
- xastir_snprintf(data->qual_a, |
125 |
- sizeof(data->qual_a), |
126 |
- "%s", |
127 |
-- racdata.qual_a); |
128 |
-+ racdata->qual_a); |
129 |
- |
130 |
- xastir_snprintf(data->qual_b, |
131 |
- sizeof(data->qual_b), |
132 |
- "%s", |
133 |
-- racdata.qual_b); |
134 |
-+ racdata->qual_b); |
135 |
- |
136 |
- xastir_snprintf(data->qual_c, |
137 |
- sizeof(data->qual_c), |
138 |
- "%s", |
139 |
-- racdata.qual_c); |
140 |
-+ racdata->qual_c); |
141 |
- |
142 |
- xastir_snprintf(data->qual_d, |
143 |
- sizeof(data->qual_d), |
144 |
- "%s", |
145 |
-- racdata.qual_d); |
146 |
-+ racdata->qual_d); |
147 |
- |
148 |
- xastir_snprintf(data->club_name, |
149 |
- sizeof(data->club_name), |
150 |
- "%s", |
151 |
-- racdata.club_name); |
152 |
-+ racdata->club_name); |
153 |
- |
154 |
- xastir_snprintf(data->club_address, |
155 |
- sizeof(data->club_address), |
156 |
- "%s", |
157 |
-- racdata.club_address); |
158 |
-+ racdata->club_address); |
159 |
- |
160 |
- xastir_snprintf(data->club_city, |
161 |
- sizeof(data->club_city), |
162 |
- "%s", |
163 |
-- racdata.club_city); |
164 |
-+ racdata->club_city); |
165 |
- |
166 |
- xastir_snprintf(data->club_province, |
167 |
- sizeof(data->club_province), |
168 |
- "%s", |
169 |
-- racdata.club_province); |
170 |
-+ racdata->club_province); |
171 |
- |
172 |
- xastir_snprintf(data->club_postal_code, |
173 |
- sizeof(data->club_postal_code), |
174 |
- "%s", |
175 |
-- racdata.club_postal_code); |
176 |
-+ racdata->club_postal_code); |
177 |
- |
178 |
- } |
179 |
- (void)fclose(fdb); |
180 |
|
181 |
diff --git a/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff b/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff |
182 |
deleted file mode 100644 |
183 |
index 8919239fbfd..00000000000 |
184 |
--- a/media-radio/xastir/files/xastir-2.0.8-fix-graphicsmagick.diff |
185 |
+++ /dev/null |
186 |
@@ -1,32 +0,0 @@ |
187 |
-# backported from xastir-2.1.4 (see bug #688444) |
188 |
---- a/src/map_geo.c 2019-07-26 15:54:19.534488550 +0200 |
189 |
-+++ b/src/map_geo.c 2019-07-26 15:56:47.779713950 +0200 |
190 |
-@@ -125,20 +125,7 @@ |
191 |
- #undef PACKAGE_TARNAME |
192 |
- #define XASTIR_PACKAGE_VERSION PACKAGE_VERSION |
193 |
- #undef PACKAGE_VERSION |
194 |
--#ifdef HAVE_GRAPHICSMAGICK |
195 |
--/*#include <GraphicsMagick/magick/api.h>*/ |
196 |
--/* Define MAGICK_IMPLEMENTATION to access private interfaces |
197 |
-- * such as DestroyImagePixels(). This may not be a good thing, |
198 |
-- * but DestroyImagePixels() has been in this code for a long |
199 |
-- * time. Defining MAGIC_IMPLEMENTATION eliminates the warning that is |
200 |
-- * now (9/28/2010) being seen on some distros (Ubuntu 10.04 and |
201 |
-- * OpenSuSE-11.3) |
202 |
-- */ |
203 |
--#define MAGICK_IMPLEMENTATION |
204 |
- #include <magick/api.h> |
205 |
--#else // HAVE_GRAPHICSMAGICK |
206 |
--#include <magick/api.h> |
207 |
--#endif // HAVE_GRAPHICSMAGICK |
208 |
- #undef PACKAGE_BUGREPORT |
209 |
- #define PACKAGE_BUGREPORT XASTIR_PACKAGE_BUGREPORT |
210 |
- #undef XASTIR_PACKAGE_BUGREPORT |
211 |
-@@ -2030,7 +2017,6 @@ |
212 |
- if (!SyncImagePixels(image)) |
213 |
- fprintf(stderr, "SyncImagePixels Failed....\n"); |
214 |
- } |
215 |
-- DestroyImagePixels(image); |
216 |
- } |
217 |
- |
218 |
- // If were are drawing to a low bpp display (typically < 8bpp) |
219 |
|
220 |
diff --git a/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff b/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff |
221 |
deleted file mode 100644 |
222 |
index 8cbdbc2cdb6..00000000000 |
223 |
--- a/media-radio/xastir/files/xastir-2.0.8-no-builtin-shapelib.diff |
224 |
+++ /dev/null |
225 |
@@ -1,58 +0,0 @@ |
226 |
---- configure.ac.orig 2016-07-12 07:08:17.988160777 +0200 |
227 |
-+++ configure.ac 2016-07-12 07:11:42.591138389 +0200 |
228 |
-@@ -382,27 +382,17 @@ |
229 |
- |
230 |
- # Check for Shapelib |
231 |
- use_shapelib=yes |
232 |
--force_internal_shapelib=no |
233 |
- shapelib_desired=yes |
234 |
- LIBSHP="" |
235 |
- SUBSHP="" |
236 |
- # This symbol will be blank if the proj library hasn't been found, and will |
237 |
- # have the three programs that need proj if it has |
238 |
- CONTSHP="" |
239 |
--AC_ARG_WITH(internal-shapelib,[ --with-internal-shapelib Force use of internal shapelib library.],force_internal_shapelib=$withval) |
240 |
- AC_ARG_WITH(shapelib,[ --without-shapelib Disable shapelib features.],shapelib_desired=$withval) |
241 |
- if test "${shapelib_desired}" = "no"; then |
242 |
- use_shapelib=no |
243 |
-- force_internal_shapelib=no |
244 |
- fi |
245 |
--if test "${force_internal_shapelib}" = "yes"; then |
246 |
-- AC_MSG_WARN([***************************************************************** ]) |
247 |
-- AC_MSG_WARN([Internal Shapelib library has been forced. ]) |
248 |
-- AC_MSG_WARN([***************************************************************** ]) |
249 |
-- # Temporary setting to get into if block below |
250 |
-- use_shapelib=no |
251 |
--fi |
252 |
--if test "${shapelib_desired}" = "yes" -a "${force_internal_shapelib}" = "no"; then |
253 |
-+if test "${shapelib_desired}" = "yes" ; then |
254 |
- use_shapelib=no |
255 |
- AC_CHECK_HEADERS(shapefil.h libshp/shapefil.h, [AC_CHECK_LIB(shp, DBFOpen, use_shapelib=yes |
256 |
- LIBS="$LIBS -lshp" |
257 |
-@@ -411,26 +401,6 @@ |
258 |
- AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). ) |
259 |
- break)]) |
260 |
- fi |
261 |
--if test "${shapelib_desired}" = "yes" -a "${use_shapelib}" = "no"; then |
262 |
-- AC_MSG_WARN([**************************************************************** ]) |
263 |
-- AC_MSG_WARN([Your system does not have shapelib installed. Using an internal ]) |
264 |
-- AC_MSG_WARN([version. This may lead to a larger filesize for the executable. ]) |
265 |
-- AC_MSG_WARN([Install shapelib on your system to eliminate this warning. ]) |
266 |
-- AC_MSG_WARN([**************************************************************** ]) |
267 |
-- LIBSHP="-Lshapelib -lshape" |
268 |
-- CPPFLAGS="-I\$(top_srcdir)/src/shapelib $CPPFLAGS" |
269 |
-- SUBSHP="shapelib" |
270 |
-- use_shapelib=yes |
271 |
-- force_internal_shapelib=yes |
272 |
-- AC_DEFINE(HAVE_DBFGETFIELDINDEX, , Define to 1 if your `shp' library has DBFGetFieldIndex. ) |
273 |
-- AC_DEFINE(HAVE_LIBSHP, , Define to 1 if you have the `shp' library (-lshp). ) |
274 |
-- AC_DEFINE(HAVE_SHAPEFIL_H, , Define to 1 if you have the `shapefil.h' header. ) |
275 |
-- |
276 |
-- if test $use_proj = "yes" |
277 |
-- then |
278 |
-- CONTSHP="shpcentrd$(EXEEXT) shpproj$(EXEEXT) shpdata$(EXEEXT) shpwkb$(EXEEXT)" |
279 |
-- fi |
280 |
--fi |
281 |
- AC_SUBST(SUBSHP) |
282 |
- AC_SUBST(CONTSHP) |
283 |
- AC_SUBST(LIBSHP) |
284 |
|
285 |
diff --git a/media-radio/xastir/files/xastir-2.0.8-scripts.diff b/media-radio/xastir/files/xastir-2.0.8-scripts.diff |
286 |
deleted file mode 100644 |
287 |
index 35c73246c9e..00000000000 |
288 |
--- a/media-radio/xastir/files/xastir-2.0.8-scripts.diff |
289 |
+++ /dev/null |
290 |
@@ -1,91 +0,0 @@ |
291 |
-# patch scripts location (bug #407185). partially backported from upstream. |
292 |
---- xastir-2.0.0-orig/scripts/Makefile.am.orig 2012-11-27 05:41:23.000000000 +0100 |
293 |
-+++ xastir-2.0.0/scripts/Makefile.am 2012-12-05 06:21:59.000000000 +0100 |
294 |
-@@ -43,10 +41,8 @@ |
295 |
- values \ |
296 |
- values.pl \ |
297 |
- waypoint-get.pl \ |
298 |
-- xastir-fixcfg.sh \ |
299 |
-- xastir-migrate.sh \ |
300 |
- Xastir_tigerpoly.py |
301 |
- |
302 |
- install-data-hook: |
303 |
- cd $(DESTDIR)$(scriptsdir) && \ |
304 |
-- chmod a+x *.sh *.pl *.py get-* gpx2* *.bash |
305 |
-+ chmod a+x *.pl *.py get-* gpx2* *.bash |
306 |
-diff -Nur -u xastir-2.0.0.orig/scripts/coord-convert.pl xastir-2.0.0/scripts/coord-convert.pl |
307 |
---- xastir-2.0.0.orig/scripts/coord-convert.pl 2010-07-03 22:09:48.000000000 +0000 |
308 |
-+++ xastir-2.0.0/scripts/coord-convert.pl 2012-03-07 15:46:01.000000000 +0000 |
309 |
-@@ -26,7 +26,7 @@ |
310 |
- # |
311 |
- |
312 |
- |
313 |
--use lib "${prefix}/lib"; |
314 |
-+use lib /usr/share/xastir/scripts; |
315 |
- use Coordinate; # WE7U's Coordinate.pm module |
316 |
- |
317 |
- |
318 |
-diff -Nur -u xastir-2.0.0.orig/scripts/permutations.pl xastir-2.0.0/scripts/permutations.pl |
319 |
---- xastir-2.0.0.orig/scripts/permutations.pl 2010-07-03 22:09:48.000000000 +0000 |
320 |
-+++ xastir-2.0.0/scripts/permutations.pl 2012-03-07 15:42:34.000000000 +0000 |
321 |
-@@ -34,7 +34,7 @@ |
322 |
- # |
323 |
- |
324 |
- |
325 |
--use lib "/usr/local/lib"; |
326 |
-+use lib "/usr/share/xastir/scripts"; |
327 |
- use Coordinate; # WE7U's Coordinate.pm module |
328 |
- |
329 |
- |
330 |
-diff -Nur -u xastir-2.0.0.orig/scripts/test_coord.pl xastir-2.0.0/scripts/test_coord.pl |
331 |
---- xastir-2.0.0.orig/scripts/test_coord.pl 2010-01-31 02:12:23.000000000 +0000 |
332 |
-+++ xastir-2.0.0/scripts/test_coord.pl 2012-03-07 15:42:34.000000000 +0000 |
333 |
-@@ -33,7 +33,7 @@ |
334 |
- |
335 |
- #------------------------------------------------------------------------------------------------ |
336 |
- |
337 |
--use lib "/usr/local/lib"; |
338 |
-+use lib "/usr/share/xastir/scripts"; |
339 |
- use Coordinate; # Snag WE7U's Coordinate module |
340 |
- |
341 |
- |
342 |
-diff -Nur -u xastir-2.0.0.orig/scripts/toporama250k.pl xastir-2.0.0/scripts/toporama250k.pl |
343 |
---- xastir-2.0.0.orig/scripts/toporama250k.pl 2010-01-31 02:12:23.000000000 +0000 |
344 |
-+++ xastir-2.0.0/scripts/toporama250k.pl 2012-03-07 15:46:49.000000000 +0000 |
345 |
-@@ -28,14 +28,14 @@ |
346 |
- # map files for the whole of Canada! |
347 |
- # |
348 |
- # |
349 |
--# - "cd /usr/local/share/xastir/maps" |
350 |
-+# - "cd /usr/share/xastir/maps" |
351 |
- # |
352 |
- # - Assure you have write privileges in the directory above either |
353 |
- # by becoming root using the "su" command, using "sudo", or |
354 |
- # temporarily changing ownership and/or privileges on the |
355 |
- # "maps" directory. |
356 |
- # |
357 |
--# - "/usr/local/lib/xastir/toporama250k.pl" |
358 |
-+# - "/usr/share/xastir/scripts/toporama250k.pl" |
359 |
- # |
360 |
- # - The script will create/populate this directory heirarchy: |
361 |
- # .../maps/toporama/images/ |
362 |
-diff -Nur -u xastir-2.0.0.orig/scripts/toporama50k.pl xastir-2.0.0/scripts/toporama50k.pl |
363 |
---- xastir-2.0.0.orig/scripts/toporama50k.pl 2010-01-31 02:12:23.000000000 +0000 |
364 |
-+++ xastir-2.0.0/scripts/toporama50k.pl 2012-03-07 15:47:01.000000000 +0000 |
365 |
-@@ -27,14 +27,14 @@ |
366 |
- # map files for the whole of Canada! |
367 |
- # |
368 |
- # |
369 |
--# - "cd /usr/local/share/xastir/maps" |
370 |
-+# - "cd /usr/share/xastir/maps" |
371 |
- # |
372 |
- # - Assure you have write privileges in the directory above either |
373 |
- # by becoming root using the "su" command, using "sudo", or |
374 |
- # temporarily changing ownership and/or privileges on the |
375 |
- # "maps" directory. |
376 |
- # |
377 |
--# - "/usr/local/lib/xastir/toporama50k.pl" |
378 |
-+# - "/usr/share/xastir/scripts/toporama50k.pl" |
379 |
- # |
380 |
- # - The script will create/populate this directory heirarchy: |
381 |
- # .../maps/toporama/images/ |
382 |
|
383 |
diff --git a/media-radio/xastir/metadata.xml b/media-radio/xastir/metadata.xml |
384 |
index e44c45094ca..f7dfda2f708 100644 |
385 |
--- a/media-radio/xastir/metadata.xml |
386 |
+++ b/media-radio/xastir/metadata.xml |
387 |
@@ -6,7 +6,6 @@ |
388 |
<name>Thomas Beierlein</name> |
389 |
</maintainer> |
390 |
<use> |
391 |
- <flag name="gdal">Support for some further map formats</flag> |
392 |
<flag name="geotiff">Install geotiff support. Allows using USGS DRG topo |
393 |
maps or other types of geotiff mapes/images</flag> |
394 |
</use> |
395 |
|
396 |
diff --git a/media-radio/xastir/xastir-2.0.8-r1.ebuild b/media-radio/xastir/xastir-2.0.8-r1.ebuild |
397 |
deleted file mode 100644 |
398 |
index 4d12a2c1425..00000000000 |
399 |
--- a/media-radio/xastir/xastir-2.0.8-r1.ebuild |
400 |
+++ /dev/null |
401 |
@@ -1,86 +0,0 @@ |
402 |
-# Copyright 1999-2019 Gentoo Authors |
403 |
-# Distributed under the terms of the GNU General Public License v2 |
404 |
- |
405 |
-EAPI=5 |
406 |
-inherit autotools eutils flag-o-matic toolchain-funcs |
407 |
- |
408 |
-DESCRIPTION="X Amateur Station Tracking and Information Reporting" |
409 |
-HOMEPAGE="http://xastir.org/" |
410 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
411 |
- |
412 |
-LICENSE="GPL-2" |
413 |
-SLOT="0" |
414 |
-KEYWORDS="amd64 x86" |
415 |
-IUSE="gdal geotiff +graphicsmagick" |
416 |
- |
417 |
-DEPEND=">=x11-libs/motif-2.3:0 |
418 |
- x11-libs/libXt |
419 |
- x11-libs/libX11 |
420 |
- x11-libs/libXpm |
421 |
- x11-apps/xfontsel |
422 |
- dev-libs/libpcre |
423 |
- net-misc/curl |
424 |
- sys-libs/db:4.8 |
425 |
- sci-libs/shapelib |
426 |
- !graphicsmagick? ( <media-gfx/imagemagick-7:0=[-hdri,-q32] ) |
427 |
- graphicsmagick? ( media-gfx/graphicsmagick:=[-q32] ) |
428 |
- geotiff? ( sci-libs/proj |
429 |
- sci-libs/libgeotiff |
430 |
- media-libs/tiff:0 ) |
431 |
- gdal? ( sci-libs/gdal )" |
432 |
-RDEPEND="${DEPEND}" |
433 |
- |
434 |
-src_prepare() { |
435 |
- # fix script location (bug #407185) |
436 |
- epatch "${FILESDIR}"/${P}-scripts.diff |
437 |
- |
438 |
- # fix __FORTIFY_SOURCE warning (bug #337365) |
439 |
- epatch "${FILESDIR}"/${PN}-2.0.4-fortify.diff |
440 |
- |
441 |
- # do not use builtin shapelib if sci-libs/shapelib is not installed |
442 |
- # instead build without shapelib support (bug #430704) |
443 |
- epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff |
444 |
- |
445 |
- # do not filter duplicate flags (see bug 411095) |
446 |
- epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff |
447 |
- |
448 |
- # fix compile problem with newer graphicsmagic |
449 |
- epatch "${FILESDIR}"/${PN}-2.0.8-fix-graphicsmagick.diff |
450 |
- |
451 |
- eautoreconf |
452 |
-} |
453 |
- |
454 |
-src_configure() { |
455 |
- # provide include path to GraphicsMagic for configure stage |
456 |
- use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick |
457 |
- econf --with-pcre \ |
458 |
- --with-shapelib \ |
459 |
- --with-dbfawk \ |
460 |
- --without-ax25 \ |
461 |
- --without-festival \ |
462 |
- --without-gpsman \ |
463 |
- $(use_with !graphicsmagick imagemagick) \ |
464 |
- $(use_with graphicsmagick) \ |
465 |
- $(use_with geotiff libproj) \ |
466 |
- $(use_with geotiff) \ |
467 |
- $(use_with gdal) |
468 |
-} |
469 |
- |
470 |
-src_compile() { |
471 |
- emake AR="$(tc-getAR)" |
472 |
-} |
473 |
- |
474 |
-src_install() { |
475 |
- emake DESTDIR="${D}" install |
476 |
- |
477 |
- rm -rf "${D}"/usr/share/doc/${PN} |
478 |
- dodoc AUTHORS ChangeLog FAQ README README.Contributing \ |
479 |
- README.Getting-Started README.MAPS |
480 |
-} |
481 |
- |
482 |
-pkg_postinst() { |
483 |
- elog "Kernel mode AX.25 and GPSman library not supported." |
484 |
- elog |
485 |
- elog "Remember you have to be root to add addditional scripts," |
486 |
- elog "maps and other configuration data under /usr/share/xastir." |
487 |
-} |