1 |
commit: 117d90998da0fe7b1128b6638e3b74515ac6fa4c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 10 01:15:20 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 10 01:15:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117d9099 |
7 |
|
8 |
sci-geosciences/gpsbabel: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sci-geosciences/gpsbabel/Manifest | 1 - |
13 |
.../gpsbabel-disable_statistic_uploading.patch | 12 --- |
14 |
.../files/gpsbabel-disable_update_check.patch | 110 --------------------- |
15 |
.../files/gpsbabel-disable_version_check.patch | 47 --------- |
16 |
.../gpsbabel/files/gpsbabel-freebsd.patch | 11 --- |
17 |
.../files/gpsbabel-use_system_shapelib.patch | 76 -------------- |
18 |
.../gpsbabel/files/gpsbabel-xmldoc.patch | 14 --- |
19 |
sci-geosciences/gpsbabel/gpsbabel-1.4.4.ebuild | 100 ------------------- |
20 |
8 files changed, 371 deletions(-) |
21 |
|
22 |
diff --git a/sci-geosciences/gpsbabel/Manifest b/sci-geosciences/gpsbabel/Manifest |
23 |
index 3ea15a21663..4fc921d511f 100644 |
24 |
--- a/sci-geosciences/gpsbabel/Manifest |
25 |
+++ b/sci-geosciences/gpsbabel/Manifest |
26 |
@@ -1,3 +1,2 @@ |
27 |
-DIST gpsbabel-1.4.4.tar.gz 7811264 SHA256 9dd2a06e887cb286c9a07164a8f2ede11aed1147e6419007370c528412321944 SHA512 07b12dfe2127a399d973fa793fe3437cbda8f3425f3317100767b7fda549d9ea6bdda1429822ade671e219c99d95bc7feb16a8d177779b457aafb373141c515a WHIRLPOOL 576c60b0868648500552b4058c385af7912d0eaf1f63541cbcdf568c5dc96f46a5f204a981e525eced267a2060aeb4f04935ae45f67f0236c03f57f3a52bfaf9 |
28 |
DIST gpsbabel-1.5.4.tar.gz 9099765 SHA256 59e29b83a16af16556fffc9315d3d3626d11fc7f2f50d6ec1f99dfc64412989e SHA512 5fdc3bc07ad52d6c1e3532b287dcb506aba612ae9bc8db393b4837d79d773d6e22ad31f8f8e65770ec52b1afbda556e452af20dada1e411de93ca6e18054225b WHIRLPOOL a3de57048f43582fa64b85a3d37de5d378226842c7eca634f4334481f3dbbc99cee8b9d14bccb949fdc1976116a5b9bcc6318033138501e197c44b48cc244aec |
29 |
DIST gpsbabel.org-style3.css 2171 SHA256 3f87b917e014e94562b44070c2b885abeef56e6459ce08d2cac785db197964ff SHA512 33b843e0431de6d71a83c58da35ede28435e5a4746f59e52350c6e4451659e1b443d3c0dd52df1c68001e9937787820fb96afc363ec1ae7d23430bfed31dbc83 WHIRLPOOL 419e1b8c386e3cbf96247ec231873bb0263e35e540451dfcda50e6c6f6452cef03825f527e3c970e452600d869721260e7970dabbe89070b9117d09c95da815a |
30 |
|
31 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-disable_statistic_uploading.patch b/sci-geosciences/gpsbabel/files/gpsbabel-disable_statistic_uploading.patch |
32 |
deleted file mode 100644 |
33 |
index 2d26f64aa13..00000000000 |
34 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-disable_statistic_uploading.patch |
35 |
+++ /dev/null |
36 |
@@ -1,12 +0,0 @@ |
37 |
-Make statistics reporting an opt-in option. |
38 |
---- a/gui/babeldata.h |
39 |
-+++ b/gui/babeldata.h |
40 |
-@@ -64,7 +64,7 @@ public: |
41 |
- upgradeOffers(0), |
42 |
- runCount(0), |
43 |
- startupVersionCheck(true), |
44 |
-- reportStatistics(true), |
45 |
-+ reportStatistics(false), |
46 |
- allowBetaUpgrades(false), |
47 |
- ignoreVersionMismatch(true), |
48 |
- disableDonateDialog(false), |
49 |
|
50 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-disable_update_check.patch b/sci-geosciences/gpsbabel/files/gpsbabel-disable_update_check.patch |
51 |
deleted file mode 100644 |
52 |
index a429fdf1fba..00000000000 |
53 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-disable_update_check.patch |
54 |
+++ /dev/null |
55 |
@@ -1,110 +0,0 @@ |
56 |
-Disable check for newer versions on start. |
57 |
- |
58 |
---- a/gui/preferences.ui |
59 |
-+++ b/gui/preferences.ui |
60 |
-@@ -40,13 +40,6 @@ |
61 |
- </property> |
62 |
- <layout class="QVBoxLayout" name="verticalLayout_4"> |
63 |
- <item> |
64 |
-- <widget class="QCheckBox" name="startupCheck"> |
65 |
-- <property name="text"> |
66 |
-- <string>Check for newer version on start.</string> |
67 |
-- </property> |
68 |
-- </widget> |
69 |
-- </item> |
70 |
-- <item> |
71 |
- <widget class="QCheckBox" name="reportStatisticsCheck"> |
72 |
- <property name="text"> |
73 |
- <string>Anonymously report usage data.</string> |
74 |
---- a/gui/preferences.cpp |
75 |
-+++ b/gui/preferences.cpp |
76 |
-@@ -39,7 +39,6 @@ Preferences::Preferences(QWidget* parent |
77 |
- { |
78 |
- ui_.setupUi(this); |
79 |
- |
80 |
-- ui_.startupCheck->setChecked(bd_.startupVersionCheck); |
81 |
- ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics); |
82 |
- // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1. |
83 |
- if (VERSION == "1.4.1") |
84 |
-@@ -81,7 +80,6 @@ void Preferences::acceptClicked() |
85 |
- formatList_[i].setHidden(item->checkState() == Qt::Unchecked); |
86 |
- } |
87 |
- |
88 |
-- bd_.startupVersionCheck = ui_.startupCheck->isChecked(); |
89 |
- bd_.reportStatistics = ui_.reportStatisticsCheck->isChecked(); |
90 |
- accept(); |
91 |
- } |
92 |
---- a/gui/babeldata.h |
93 |
-+++ b/gui/babeldata.h |
94 |
-@@ -63,7 +63,7 @@ public: |
95 |
- upgradeErrors(0), |
96 |
- upgradeOffers(0), |
97 |
- runCount(0), |
98 |
-- startupVersionCheck(true), |
99 |
-+ startupVersionCheck(false), |
100 |
- reportStatistics(false), |
101 |
- allowBetaUpgrades(false), |
102 |
- ignoreVersionMismatch(true), |
103 |
---- a/gui/mainwinui.ui |
104 |
-+++ b/gui/mainwinui.ui |
105 |
-@@ -641,7 +641,6 @@ |
106 |
- <addaction name="actionHelp"/> |
107 |
- <addaction name="separator"/> |
108 |
- <addaction name="actionAbout"/> |
109 |
-- <addaction name="actionUpgradeCheck"/> |
110 |
- <addaction name="separator"/> |
111 |
- <addaction name="actionVisit_Website"/> |
112 |
- <addaction name="actionMake_a_Donation"/> |
113 |
-@@ -670,11 +669,6 @@ |
114 |
- <string>Preferences...</string> |
115 |
- </property> |
116 |
- </action> |
117 |
-- <action name="actionUpgradeCheck"> |
118 |
-- <property name="text"> |
119 |
-- <string>Check for Upgrade</string> |
120 |
-- </property> |
121 |
-- </action> |
122 |
- <action name="actionVisit_Website"> |
123 |
- <property name="text"> |
124 |
- <string>Visit Website...</string> |
125 |
---- a/gui/mainwindow.cpp |
126 |
-+++ b/gui/mainwindow.cpp |
127 |
-@@ -153,7 +153,6 @@ MainWindow::MainWindow(QWidget* parent): |
128 |
- connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT(aboutActionX())); |
129 |
- connect(ui.actionVisit_Website, SIGNAL(triggered()), this, SLOT(visitWebsiteActionX())); |
130 |
- connect(ui.actionMake_a_Donation, SIGNAL(triggered()), this, SLOT(donateActionX())); |
131 |
-- connect(ui.actionUpgradeCheck, SIGNAL(triggered()), this, SLOT(upgradeCheckActionX())); |
132 |
- connect(ui.actionPreferences, SIGNAL(triggered()), this, SLOT(preferencesActionX())); |
133 |
- |
134 |
- connect(ui.inputFormatCombo, SIGNAL(currentIndexChanged(int)), |
135 |
-@@ -197,19 +196,8 @@ MainWindow::MainWindow(QWidget* parent): |
136 |
- |
137 |
- //--- Restore from registry |
138 |
- restoreSettings(); |
139 |
-- |
140 |
- upgrade = new UpgradeCheck(parent, formatList, bd); |
141 |
-- if (bd.startupVersionCheck) { |
142 |
-- upgrade->checkForUpgrade(babelVersion, bd.upgradeCheckTime, |
143 |
-- allowBetaUpgrades()); |
144 |
-- } |
145 |
-- |
146 |
-- if (!bd.ignoreVersionMismatch && babelVersion != VERSION) { |
147 |
-- VersionMismatch vm(0, babelVersion, QString(VERSION)); |
148 |
- |
149 |
-- vm.exec(); |
150 |
-- bd.ignoreVersionMismatch = vm.neverAgain(); |
151 |
-- } |
152 |
- } |
153 |
- |
154 |
- //------------------------------------------------------------------------ |
155 |
-@@ -926,10 +914,6 @@ void MainWindow::applyActionX() |
156 |
- //------------------------------------------------------------------------ |
157 |
- void MainWindow::closeActionX() |
158 |
- { |
159 |
-- QDateTime wt= upgrade->getUpgradeWarningTime(); |
160 |
-- if (wt.isValid()) { |
161 |
-- bd.upgradeCheckTime = wt; |
162 |
-- } |
163 |
- bd.runCount++; |
164 |
- |
165 |
- QDateTime now = QDateTime::currentDateTime(); |
166 |
|
167 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-disable_version_check.patch b/sci-geosciences/gpsbabel/files/gpsbabel-disable_version_check.patch |
168 |
deleted file mode 100644 |
169 |
index b4bd1a9e2a7..00000000000 |
170 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-disable_version_check.patch |
171 |
+++ /dev/null |
172 |
@@ -1,47 +0,0 @@ |
173 |
-Disable version mismatch check. |
174 |
- |
175 |
---- a/gui/preferences.ui |
176 |
-+++ b/gui/preferences.ui |
177 |
-@@ -53,13 +53,6 @@ |
178 |
- </property> |
179 |
- </widget> |
180 |
- </item> |
181 |
-- <item> |
182 |
-- <widget class="QCheckBox" name="ignoreVersionMismatchCheck"> |
183 |
-- <property name="text"> |
184 |
-- <string>Ignore mismatch between command line and GUI version.</string> |
185 |
-- </property> |
186 |
-- </widget> |
187 |
-- </item> |
188 |
- </layout> |
189 |
- </widget> |
190 |
- </widget> |
191 |
---- a/gui/preferences.cpp |
192 |
-+++ b/gui/preferences.cpp |
193 |
-@@ -41,7 +41,6 @@ Preferences::Preferences(QWidget* parent |
194 |
- |
195 |
- ui_.startupCheck->setChecked(bd_.startupVersionCheck); |
196 |
- ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics); |
197 |
-- ui_.ignoreVersionMismatchCheck->setChecked(bd_.ignoreVersionMismatch); |
198 |
- // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1. |
199 |
- if (VERSION == "1.4.1") |
200 |
- bd_.ignoreVersionMismatch = false; |
201 |
-@@ -84,7 +83,6 @@ void Preferences::acceptClicked() |
202 |
- |
203 |
- bd_.startupVersionCheck = ui_.startupCheck->isChecked(); |
204 |
- bd_.reportStatistics = ui_.reportStatisticsCheck->isChecked(); |
205 |
-- bd_.ignoreVersionMismatch = ui_.ignoreVersionMismatchCheck->isChecked(); |
206 |
- accept(); |
207 |
- } |
208 |
- |
209 |
---- a/gui/babeldata.h |
210 |
-+++ b/gui/babeldata.h |
211 |
-@@ -66,7 +66,7 @@ public: |
212 |
- startupVersionCheck(true), |
213 |
- reportStatistics(true), |
214 |
- allowBetaUpgrades(false), |
215 |
-- ignoreVersionMismatch(false), |
216 |
-+ ignoreVersionMismatch(true), |
217 |
- disableDonateDialog(false), |
218 |
- donateSplashed(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0))) |
219 |
- { |
220 |
|
221 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-freebsd.patch b/sci-geosciences/gpsbabel/files/gpsbabel-freebsd.patch |
222 |
deleted file mode 100644 |
223 |
index 2467c2ee041..00000000000 |
224 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-freebsd.patch |
225 |
+++ /dev/null |
226 |
@@ -1,11 +0,0 @@ |
227 |
---- configure.in.orig 2009-11-17 15:32:05.846189916 +0200 |
228 |
-+++ configure.in 2009-11-17 15:33:11.111187610 +0200 |
229 |
-@@ -277,7 +276,7 @@ |
230 |
- fi |
231 |
- ;; |
232 |
- *-gentoo-freebsd*) |
233 |
-- EXPAT_LIB=-lexpa |
234 |
-+ EXPAT_LIB=-lexpat |
235 |
- ;; |
236 |
- *-*-freebsd*) |
237 |
- if test -f /usr/local/lib/libexpat.a ; then |
238 |
|
239 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-use_system_shapelib.patch b/sci-geosciences/gpsbabel/files/gpsbabel-use_system_shapelib.patch |
240 |
deleted file mode 100644 |
241 |
index 68ea430e368..00000000000 |
242 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-use_system_shapelib.patch |
243 |
+++ /dev/null |
244 |
@@ -1,76 +0,0 @@ |
245 |
-diff -urN gpsbabel-1.4.2.old/configure.in gpsbabel-1.4.2/configure.in |
246 |
---- gpsbabel-1.4.2.old/configure.in 2011-06-10 10:30:54.888410566 +0200 |
247 |
-+++ gpsbabel-1.4.2/configure.in 2011-06-10 10:42:08.800985499 +0200 |
248 |
-@@ -421,6 +421,6 @@ |
249 |
- else |
250 |
- AC_MSG_RESULT(no) |
251 |
- fi |
252 |
--AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss gui/makelinuxdist.sh xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile shapelib/Makefile zlib/empty]) |
253 |
-+AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss gui/makelinuxdist.sh xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile zlib/empty]) |
254 |
- AC_OUTPUT |
255 |
- |
256 |
-diff -urN gpsbabel-1.4.2.old/Makefile.in gpsbabel-1.4.2/Makefile.in |
257 |
---- gpsbabel-1.4.2.old/Makefile.in 2011-06-10 10:30:54.899410428 +0200 |
258 |
-+++ gpsbabel-1.4.2/Makefile.in 2011-06-10 10:43:13.973170735 +0200 |
259 |
-@@ -87,7 +87,7 @@ |
260 |
- |
261 |
- @PALM_DB_CMT@PALM_DB=pdbfile.o |
262 |
- |
263 |
--SHAPE=shapelib/shpopen.o shapelib/dbfopen.o |
264 |
-+SHAPE=-lshp |
265 |
- |
266 |
- ZLIB=zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o \ |
267 |
- zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/trees.o \ |
268 |
-@@ -98,7 +98,7 @@ |
269 |
- uuid.o formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \ |
270 |
- inifile.o garmin_fs.o gbsleep.o units.o @GBSER@ gbser.o \ |
271 |
- gbfile.o parse.o avltree.o session.o \ |
272 |
-- $(PALM_DB) $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS) |
273 |
-+ $(PALM_DB) $(GARMIN) $(JEEPS) @ZLIB@ $(FMTS) $(FILTERS) |
274 |
- OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@ |
275 |
- |
276 |
- .c.o: |
277 |
-@@ -113,10 +113,10 @@ |
278 |
- all: gpsbabel$(EXEEXT) |
279 |
- |
280 |
- gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@ |
281 |
-- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@ |
282 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@ |
283 |
- |
284 |
- gpsbabel-debug: $(OBJS) |
285 |
-- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@ |
286 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@ |
287 |
- |
288 |
- Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in \ |
289 |
- gbversion.h.in gui/setup.iss.in |
290 |
-@@ -818,8 +818,7 @@ |
291 |
- session.o: session.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \ |
292 |
- zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h |
293 |
- shape.o: shape.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \ |
294 |
-- zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h \ |
295 |
-- shapelib/shapefil.h |
296 |
-+ zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h |
297 |
- skyforce.o: skyforce.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \ |
298 |
- zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h strptime.h |
299 |
- skytraq.o: skytraq.c defs.h config.h queue.h gbtypes.h zlib/zlib.h \ |
300 |
-@@ -1092,8 +1091,6 @@ |
301 |
- jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h \ |
302 |
- jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h \ |
303 |
- jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h |
304 |
--shapelib/dbfopen.o: shapelib/dbfopen.c shapelib/shapefil.h config.h |
305 |
--shapelib/shpopen.o: shapelib/shpopen.c shapelib/shapefil.h config.h |
306 |
- zlib/adler32.o: zlib/adler32.c zlib/zlib.h zlib/zconf.h |
307 |
- zlib/compress.o: zlib/compress.c zlib/zlib.h zlib/zconf.h |
308 |
- zlib/crc32.o: zlib/crc32.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \ |
309 |
-diff -urN gpsbabel-1.4.2.old/shape.c gpsbabel-1.4.2/shape.c |
310 |
---- gpsbabel-1.4.2.old/shape.c 2011-06-10 10:30:54.932410016 +0200 |
311 |
-+++ gpsbabel-1.4.2/shape.c 2011-06-10 10:42:08.802985475 +0200 |
312 |
-@@ -20,7 +20,7 @@ |
313 |
- |
314 |
- */ |
315 |
- #include "defs.h" |
316 |
--#include "shapelib/shapefil.h" |
317 |
-+#include <libshp/shapefil.h> |
318 |
- |
319 |
- #if SHAPELIB_ENABLED |
320 |
- static SHPHandle ihandle; |
321 |
|
322 |
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-xmldoc.patch b/sci-geosciences/gpsbabel/files/gpsbabel-xmldoc.patch |
323 |
deleted file mode 100644 |
324 |
index 2373fe125c8..00000000000 |
325 |
--- a/sci-geosciences/gpsbabel/files/gpsbabel-xmldoc.patch |
326 |
+++ /dev/null |
327 |
@@ -1,14 +0,0 @@ |
328 |
-diff -ru gpsbabel-1.4.2/Makefile.in gpsbabel-1.4.2-xmldoc/Makefile.in |
329 |
---- gpsbabel-1.4.2/Makefile.in 2011-01-11 17:57:47.075777307 +0100 |
330 |
-+++ gpsbabel-1.4.2-xmldoc/Makefile.in 2011-01-11 17:58:53.134094491 +0100 |
331 |
-@@ -234,8 +234,8 @@ |
332 |
- xsltproc \ |
333 |
- --output $@ \ |
334 |
- --stringparam toc.section.depth "1" \ |
335 |
-- --stringparam html.stylesheet \ |
336 |
-- "http://www.gpsbabel.org/style3.css" \ |
337 |
-+ --nonet \ |
338 |
-+ --stringparam html.stylesheet "gpsbabel.org-style3.css" \ |
339 |
- http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
340 |
- xmldoc/readme.xml |
341 |
- |
342 |
|
343 |
diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.4.4.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.4.4.ebuild |
344 |
deleted file mode 100644 |
345 |
index dae61aaa742..00000000000 |
346 |
--- a/sci-geosciences/gpsbabel/gpsbabel-1.4.4.ebuild |
347 |
+++ /dev/null |
348 |
@@ -1,100 +0,0 @@ |
349 |
-# Copyright 1999-2017 Gentoo Foundation |
350 |
-# Distributed under the terms of the GNU General Public License v2 |
351 |
- |
352 |
-EAPI=4 |
353 |
- |
354 |
-inherit eutils qt4-r2 autotools |
355 |
- |
356 |
-DESCRIPTION="GPS waypoints, tracks and routes converter" |
357 |
-HOMEPAGE="http://www.gpsbabel.org/" |
358 |
-SRC_URI=" |
359 |
- https://dev.gentoo.org/~patrick/${P}.tar.gz |
360 |
- doc? ( http://www.gpsbabel.org/style3.css -> gpsbabel.org-style3.css )" |
361 |
-LICENSE="GPL-2" |
362 |
- |
363 |
-SLOT="0" |
364 |
-KEYWORDS="amd64 ~ppc x86 ~x86-fbsd" |
365 |
-IUSE="doc qt4" |
366 |
- |
367 |
-RDEPEND=" |
368 |
- dev-libs/expat |
369 |
- sci-libs/shapelib |
370 |
- virtual/libusb:0 |
371 |
- qt4? ( |
372 |
- dev-qt/qtgui:4 |
373 |
- dev-qt/qtwebkit:4 |
374 |
- ) |
375 |
-" |
376 |
-DEPEND="${RDEPEND} |
377 |
- doc? ( |
378 |
- dev-lang/perl |
379 |
- dev-libs/libxslt |
380 |
- app-text/docbook-xml-dtd:4.1.2 |
381 |
- ) |
382 |
-" |
383 |
- |
384 |
-PATCHES=( |
385 |
- "${FILESDIR}/${PN}-disable_statistic_uploading.patch" |
386 |
- "${FILESDIR}/${PN}-disable_update_check.patch" |
387 |
- "${FILESDIR}/${PN}-disable_version_check.patch" |
388 |
- "${FILESDIR}/${PN}-1.4.3-fix_binary_name.patch" |
389 |
- "${FILESDIR}/${PN}-freebsd.patch" |
390 |
- "${FILESDIR}/${PN}-use_system_shapelib.patch" |
391 |
- "${FILESDIR}/${PN}-xmldoc.patch" |
392 |
-) |
393 |
- |
394 |
-RESTRICT="test" # bug 421699 |
395 |
- |
396 |
-src_prepare() { |
397 |
- epatch "${PATCHES[@]}" |
398 |
- epatch_user |
399 |
- rm -rf shapelib || die |
400 |
- |
401 |
- use doc && cp "${DISTDIR}/gpsbabel.org-style3.css" "${S}" |
402 |
- |
403 |
- eautoreconf |
404 |
-} |
405 |
- |
406 |
-src_configure() { |
407 |
- econf \ |
408 |
- $(use_with doc doc "${S}"/doc/manual) \ |
409 |
- --with-zlib=system |
410 |
- |
411 |
- if use qt4; then |
412 |
- pushd "${S}/gui" > /dev/null || die |
413 |
- lrelease *.ts || die |
414 |
- eqmake4 |
415 |
- popd > /dev/null |
416 |
- fi |
417 |
-} |
418 |
- |
419 |
-src_compile() { |
420 |
- emake |
421 |
- if use qt4; then |
422 |
- pushd "${S}/gui" > /dev/null || die |
423 |
- emake |
424 |
- popd > /dev/null |
425 |
- fi |
426 |
- |
427 |
- if use doc; then |
428 |
- perl xmldoc/makedoc || die |
429 |
- emake gpsbabel.html |
430 |
- fi |
431 |
-} |
432 |
- |
433 |
-src_install() { |
434 |
- default |
435 |
- dodoc README* |
436 |
- |
437 |
- if use qt4; then |
438 |
- dobin gui/objects/gpsbabelfe |
439 |
- insinto /usr/share/qt4/translations/ |
440 |
- doins gui/gpsbabel*_*.qm |
441 |
- newicon gui/images/appicon.png ${PN}.png |
442 |
- make_desktop_entry gpsbabelfe ${PN} ${PN} "Science;Geoscience" |
443 |
- fi |
444 |
- |
445 |
- if use doc; then |
446 |
- dohtml gpsbabel.* |
447 |
- fi |
448 |
-} |