Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsbabel/, sci-geosciences/gpsbabel/files/
Date: Thu, 25 Aug 2022 01:23:33
Message-Id: 1661390511.10fbf2f60e4a495a7e741419bb9fcf0afddf6d73.sam@gentoo
1 commit: 10fbf2f60e4a495a7e741419bb9fcf0afddf6d73
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 25 01:21:51 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 25 01:21:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10fbf2f6
7
8 sci-geosciences/gpsbabel: drop 1.5.4-r1
9
10 Bug: https://bugs.gentoo.org/820080
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sci-geosciences/gpsbabel/Manifest | 1 -
14 .../files/gpsbabel-1.4.3-fix_binary_name.patch | 12 ---
15 ...psbabel-1.5.4-disable_statistic_uploading.patch | 11 --
16 .../gpsbabel-1.5.4-disable_update_check.patch | 108 -------------------
17 .../gpsbabel-1.5.4-disable_version_check.patch | 45 --------
18 .../gpsbabel/files/gpsbabel-1.5.4-qt-5.9-1.patch | 105 ------------------
19 .../gpsbabel/files/gpsbabel-1.5.4-qt-5.9-2.patch | 70 ------------
20 .../files/gpsbabel-1.5.4-use_system_shapelib.patch | 68 ------------
21 .../files/gpsbabel-1.5.4-use_system_zlib.patch | 80 --------------
22 .../gpsbabel/files/gpsbabel-1.5.4-xmldoc.patch | 13 ---
23 sci-geosciences/gpsbabel/gpsbabel-1.5.4-r1.ebuild | 120 ---------------------
24 11 files changed, 633 deletions(-)
25
26 diff --git a/sci-geosciences/gpsbabel/Manifest b/sci-geosciences/gpsbabel/Manifest
27 index 7a5ed8964bd7..62174a8748c6 100644
28 --- a/sci-geosciences/gpsbabel/Manifest
29 +++ b/sci-geosciences/gpsbabel/Manifest
30 @@ -1,3 +1,2 @@
31 -DIST gpsbabel-1.5.4.tar.gz 9099765 BLAKE2B 339cc78f94fed883b73c9f74cc6e27dd214438ba86917079b27459f543a9cb360bd8ec12408af1f23b9114d774a3b8eeccfb6b9f4fa9e7dc73b63e11bac20d43 SHA512 5fdc3bc07ad52d6c1e3532b287dcb506aba612ae9bc8db393b4837d79d773d6e22ad31f8f8e65770ec52b1afbda556e452af20dada1e411de93ca6e18054225b
32 DIST gpsbabel.org-style3.css 2171 BLAKE2B 7fafef65e37d7c7cd183be06caafdbf303ac334484d7c09b4e668e8845f156f850b6f4cc6ac1aa081627367e999fa30d3505400e2aabd03fa117f6389318254f SHA512 33b843e0431de6d71a83c58da35ede28435e5a4746f59e52350c6e4451659e1b443d3c0dd52df1c68001e9937787820fb96afc363ec1ae7d23430bfed31dbc83
33 DIST gpsbabel_1_7_0.tar.gz 16718984 BLAKE2B 8b824eb2a024f61e30abed80afe5e8ba8943771aff401171e7622eb3eb3d16cd2890964ccf0abfd28925d604087c57f013dc37bfac5d16ccdb97d2386a92ec29 SHA512 9df9d9cd65c3f33c0f39b4064e448834ad651ead368a3be3ea107f754ff0ac1500eb2111cddf43ecad61fe65b3412181842571fbba3387dd3dd36ff5c23e2911
34
35 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.4.3-fix_binary_name.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.4.3-fix_binary_name.patch
36 deleted file mode 100644
37 index 2ab8d5e10c69..000000000000
38 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.4.3-fix_binary_name.patch
39 +++ /dev/null
40 @@ -1,12 +0,0 @@
41 -Rename gpsbabelfe binary.
42 ---- gpsbabel-1.4.3/gui/app.pro
43 -+++ gpsbabel-1.4.3/gui/app.pro
44 -@@ -30,7 +30,7 @@
45 - TARGET=GPSBabelFE
46 - QMAKE_LFLAGS_RELEASE += -static-libgcc
47 - }
48 --unix:TARGET=gpsbabelfe-bin
49 -+unix:TARGET=gpsbabelfe
50 - mac:TARGET=GPSBabelFE
51 -
52 - FORMS += aboutui.ui
53
54 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_statistic_uploading.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_statistic_uploading.patch
55 deleted file mode 100644
56 index b65413c3d7c5..000000000000
57 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_statistic_uploading.patch
58 +++ /dev/null
59 @@ -1,11 +0,0 @@
60 ---- a/gui/babeldata.h 2017-01-02 06:05:19.000000000 +0100
61 -+++ b/gui/babeldata.h 2017-01-21 00:33:30.858046004 +0100
62 -@@ -64,7 +64,7 @@
63 - upgradeOffers_(0),
64 - runCount_(0),
65 - startupVersionCheck_(true),
66 -- reportStatistics_(true),
67 -+ reportStatistics_(false),
68 - allowBetaUpgrades_(false),
69 - ignoreVersionMismatch_(false),
70 - disableDonateDialog_(false),
71
72 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_update_check.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_update_check.patch
73 deleted file mode 100644
74 index b618106df3f0..000000000000
75 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_update_check.patch
76 +++ /dev/null
77 @@ -1,108 +0,0 @@
78 -Disable check for newer versions on start.
79 -
80 ---- a/gui/preferences.ui 2017-01-02 06:05:19.000000000 +0100
81 -+++ b/gui/preferences.ui 2017-01-21 00:38:44.929972188 +0100
82 -@@ -40,13 +40,6 @@
83 - </property>
84 - <layout class="QVBoxLayout" name="verticalLayout_4">
85 - <item>
86 -- <widget class="QCheckBox" name="startupCheck">
87 -- <property name="text">
88 -- <string>Check for newer version on start.</string>
89 -- </property>
90 -- </widget>
91 -- </item>
92 -- <item>
93 - <widget class="QCheckBox" name="reportStatisticsCheck">
94 - <property name="text">
95 - <string>Anonymously report usage data.</string>
96 ---- a/gui/preferences.cc 2017-01-02 06:05:19.000000000 +0100
97 -+++ b/gui/preferences.cc 2017-01-21 00:39:20.648418701 +0100
98 -@@ -39,7 +39,6 @@
99 - {
100 - ui_.setupUi(this);
101 -
102 -- ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
103 - ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
104 - ui_.ignoreVersionMismatchCheck->setChecked(babelData_.ignoreVersionMismatch_);
105 - // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
106 -@@ -82,7 +81,6 @@
107 - formatList_[i].setHidden(item->checkState() == Qt::Unchecked);
108 - }
109 -
110 -- babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
111 - babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
112 - babelData_.ignoreVersionMismatch_ = ui_.ignoreVersionMismatchCheck->isChecked();
113 - accept();
114 ---- a/gui/babeldata.h 2017-01-21 00:33:30.858046004 +0100
115 -+++ b/gui/babeldata.h 2017-01-21 00:40:03.888959247 +0100
116 -@@ -63,7 +63,7 @@
117 - upgradeErrors_(0),
118 - upgradeOffers_(0),
119 - runCount_(0),
120 -- startupVersionCheck_(true),
121 -+ startupVersionCheck_(false),
122 - reportStatistics_(false),
123 - allowBetaUpgrades_(false),
124 - ignoreVersionMismatch_(false),
125 ---- a/gui/mainwinui.ui 2017-01-02 06:05:19.000000000 +0100
126 -+++ b/gui/mainwinui.ui 2017-01-21 00:40:40.453416335 +0100
127 -@@ -637,7 +637,6 @@
128 - <addaction name="actionHelp"/>
129 - <addaction name="separator"/>
130 - <addaction name="actionAbout"/>
131 -- <addaction name="actionUpgradeCheck"/>
132 - <addaction name="separator"/>
133 - <addaction name="actionVisit_Website"/>
134 - <addaction name="actionMake_a_Donation"/>
135 -@@ -666,11 +665,6 @@
136 - <string>Preferences...</string>
137 - </property>
138 - </action>
139 -- <action name="actionUpgradeCheck">
140 -- <property name="text">
141 -- <string>Check for Upgrade</string>
142 -- </property>
143 -- </action>
144 - <action name="actionVisit_Website">
145 - <property name="text">
146 - <string>Visit Website...</string>
147 ---- a/gui/mainwindow.cc 2017-01-02 06:05:19.000000000 +0100
148 -+++ b/gui/mainwindow.cc 2017-01-21 00:42:02.939447485 +0100
149 -@@ -147,7 +147,6 @@
150 - connect(ui_.actionAbout, SIGNAL(triggered()), this, SLOT(aboutActionX()));
151 - connect(ui_.actionVisit_Website, SIGNAL(triggered()), this, SLOT(visitWebsiteActionX()));
152 - connect(ui_.actionMake_a_Donation, SIGNAL(triggered()), this, SLOT(donateActionX()));
153 -- connect(ui_.actionUpgradeCheck, SIGNAL(triggered()), this, SLOT(upgradeCheckActionX()));
154 - connect(ui_.actionPreferences, SIGNAL(triggered()), this, SLOT(preferencesActionX()));
155 -
156 - connect(ui_.inputFormatCombo, SIGNAL(currentIndexChanged(int)),
157 -@@ -208,17 +208,6 @@
158 - restoreSettings();
159 -
160 - upgrade = new UpgradeCheck(parent, formatList_, babelData_);
161 -- if (babelData_.startupVersionCheck_) {
162 -- upgrade->checkForUpgrade(babelVersion_, babelData_.upgradeCheckTime_,
163 -- allowBetaUpgrades());
164 -- }
165 --
166 -- if (!babelData_.ignoreVersionMismatch_ && babelVersion_ != VERSION) {
167 -- VersionMismatch vm(0, babelVersion_, QString(VERSION));
168 --
169 -- vm.exec();
170 -- babelData_.ignoreVersionMismatch_ = vm.neverAgain();
171 -- }
172 - }
173 -
174 - //------------------------------------------------------------------------
175 -@@ -1021,10 +1010,6 @@
176 - //------------------------------------------------------------------------
177 - void MainWindow::closeActionX()
178 - {
179 -- QDateTime wt= upgrade->getUpgradeWarningTime();
180 -- if (wt.isValid()) {
181 -- babelData_.upgradeCheckTime_ = wt;
182 -- }
183 - babelData_.runCount_++;
184 -
185 - QDateTime now = QDateTime::currentDateTime();
186
187 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_version_check.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_version_check.patch
188 deleted file mode 100644
189 index e9d56d0a460b..000000000000
190 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-disable_version_check.patch
191 +++ /dev/null
192 @@ -1,45 +0,0 @@
193 ---- a/gui/preferences.ui 2017-01-21 00:38:44.929972188 +0100
194 -+++ b/gui/preferences.ui 2017-01-21 00:50:05.314477610 +0100
195 -@@ -46,13 +46,6 @@
196 - </property>
197 - </widget>
198 - </item>
199 -- <item>
200 -- <widget class="QCheckBox" name="ignoreVersionMismatchCheck">
201 -- <property name="text">
202 -- <string>Ignore mismatch between command line and GUI version.</string>
203 -- </property>
204 -- </widget>
205 -- </item>
206 - </layout>
207 - </widget>
208 - </widget>
209 ---- a/gui/preferences.cc 2017-01-21 00:39:20.648418701 +0100
210 -+++ b/gui/preferences.cc 2017-01-21 00:50:33.451829352 +0100
211 -@@ -40,7 +40,6 @@
212 - ui_.setupUi(this);
213 -
214 - ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
215 -- ui_.ignoreVersionMismatchCheck->setChecked(babelData_.ignoreVersionMismatch_);
216 - // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
217 - if (VERSION == QString("1.4.1"))
218 - babelData_.ignoreVersionMismatch_ = false;
219 -@@ -82,7 +81,6 @@
220 - }
221 -
222 - babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
223 -- babelData_.ignoreVersionMismatch_ = ui_.ignoreVersionMismatchCheck->isChecked();
224 - accept();
225 - }
226 -
227 ---- a/gui/babeldata.h 2017-01-21 00:40:03.888959247 +0100
228 -+++ b/gui/babeldata.h 2017-01-21 00:51:05.753233149 +0100
229 -@@ -66,7 +66,7 @@
230 - startupVersionCheck_(false),
231 - reportStatistics_(false),
232 - allowBetaUpgrades_(false),
233 -- ignoreVersionMismatch_(false),
234 -+ ignoreVersionMismatch_(true),
235 - disableDonateDialog_(false),
236 - donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
237 - {
238
239 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-1.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-1.patch
240 deleted file mode 100644
241 index 36db615f9dec..000000000000
242 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-1.patch
243 +++ /dev/null
244 @@ -1,105 +0,0 @@
245 -From 30a345577a644125502f6e4f8b58ea3077ec8dad Mon Sep 17 00:00:00 2001
246 -From: Robert Lipe <robertlipe@××××××××.org>
247 -Date: Mon, 4 Sep 2017 23:20:00 -0500
248 -Subject: [PATCH] Prefer QStringLiteral over implicit conversion from Latin1
249 - for Q5 5.9. Based on work by Bernd Zeimetz.
250 -
251 ----
252 - gpx.cc | 14 +++++++-------
253 - magproto.cc | 6 +++---
254 - unicsv.cc | 8 ++++----
255 - 3 files changed, 14 insertions(+), 14 deletions(-)
256 -
257 -diff --git a/gpx.cc b/gpx.cc
258 -index 3b3b963c..36701e52 100644
259 ---- a/gpx.cc
260 -+++ b/gpx.cc
261 -@@ -494,7 +494,7 @@ tag_cache_desc(const QXmlStreamAttributes& attr)
262 - {
263 - cache_descr_is_html = 0;
264 - if (attr.hasAttribute("html")) {
265 -- if (attr.value("html").toString().compare("True") == 0) {
266 -+ if (attr.value("html").toString() == QStringLiteral("True")) {
267 - cache_descr_is_html = 1;
268 - }
269 - }
270 -@@ -509,16 +509,16 @@ tag_gs_cache(const QXmlStreamAttributes& attr)
271 - gc_data->id = attr.value("id").toString().toInt();
272 - }
273 - if (attr.hasAttribute("available")) {
274 -- if (attr.value("available").toString().compare("True", Qt::CaseInsensitive) == 0) {
275 -+ if (attr.value("available").toString().compare(QStringLiteral("True"), Qt::CaseInsensitive) == 0) {
276 - gc_data->is_available = status_true;
277 -- } else if (attr.value("available").toString().compare("False", Qt::CaseInsensitive) == 0) {
278 -+ } else if (attr.value("available").toString().compare(QStringLiteral("False"), Qt::CaseInsensitive) == 0) {
279 - gc_data->is_available = status_false;
280 - }
281 - }
282 - if (attr.hasAttribute("archived")) {
283 -- if (attr.value("archived").toString().compare("True", Qt::CaseInsensitive) == 0) {
284 -+ if (attr.value("archived").toString().compare(QStringLiteral("True"), Qt::CaseInsensitive) == 0) {
285 - gc_data->is_archived = status_true;
286 -- } else if (attr.value("archived").toString().compare("False", Qt::CaseInsensitive) == 0) {
287 -+ } else if (attr.value("archived").toString().compare(QStringLiteral("False"), Qt::CaseInsensitive) == 0) {
288 - gc_data->is_archived = status_false;
289 - }
290 - }
291 -@@ -972,7 +972,7 @@ gpx_end(const QString& el)
292 - * last date we saw in this log.
293 - */
294 - case tt_cache_log_type:
295 -- if ((cdatastr.compare("Found it") == 0) &&
296 -+ if ((cdatastr.compare(QStringLiteral("Found it")) == 0) &&
297 - (0 == wpt_tmp->gc_data->last_found.toTime_t())) {
298 - wpt_tmp->AllocGCData()->last_found = gc_log_date;
299 - }
300 -@@ -1423,7 +1423,7 @@ fprint_xml_chain(xml_tag* tag, const Waypoint* wpt)
301 - fprint_xml_chain(tag->child, wpt);
302 - }
303 - if (wpt && wpt->gc_data->exported.isValid() &&
304 -- tag->tagname.compare("groundspeak:cache") == 0) {
305 -+ tag->tagname.compare(QStringLiteral("groundspeak:cache")) == 0) {
306 - writer->writeTextElement("time",
307 - wpt->gc_data->exported.toPrettyString());
308 - }
309 -diff --git a/magproto.cc b/magproto.cc
310 -index 7c82e9fb..0deb7f33 100644
311 ---- a/magproto.cc
312 -+++ b/magproto.cc
313 -@@ -819,11 +819,11 @@ mag_rd_init_common(const QString& portname)
314 - */
315 - QString exten = QFileInfo(curfname).suffix();
316 - if (exten.length() > 0) {
317 -- if (0 == exten.compare("upt", Qt::CaseInsensitive)) {
318 -+ if (0 == exten.compare(QStringLiteral("upt"), Qt::CaseInsensitive)) {
319 - extension_hint = WPTDATAMASK;
320 -- } else if (0 == exten.compare("log", Qt::CaseInsensitive)) {
321 -+ } else if (0 == exten.compare(QStringLiteral("log"), Qt::CaseInsensitive)) {
322 - extension_hint = TRKDATAMASK;
323 -- } else if (0 == exten.compare("rte", Qt::CaseInsensitive)) {
324 -+ } else if (0 == exten.compare(QStringLiteral("rte"), Qt::CaseInsensitive)) {
325 - extension_hint = RTEDATAMASK;
326 - }
327 - }
328 -diff --git a/unicsv.cc b/unicsv.cc
329 -index 4a7d78ed..6312e9d2 100644
330 ---- a/unicsv.cc
331 -+++ b/unicsv.cc
332 -@@ -430,13 +430,13 @@ unicsv_parse_time(const QString& str, int* msec, time_t* date)
333 - static status_type
334 - unicsv_parse_status(const QString& str)
335 - {
336 -- if (str.compare("true", Qt::CaseInsensitive) == 0 ||
337 -- str.compare("yes", Qt::CaseInsensitive) == 0 ||
338 -+ if (str.compare(QStringLiteral("true"), Qt::CaseInsensitive) == 0 ||
339 -+ str.compare(QStringLiteral("yes"), Qt::CaseInsensitive) == 0 ||
340 - str == "1") {
341 - return status_true;
342 - }
343 -- if (str.compare("false", Qt::CaseInsensitive) == 0 ||
344 -- str.compare("no", Qt::CaseInsensitive) == 0 ||
345 -+ if (str.compare(QStringLiteral("false"), Qt::CaseInsensitive) == 0 ||
346 -+ str.compare(QStringLiteral("no"), Qt::CaseInsensitive) == 0 ||
347 - str == "0") {
348 - return status_false;
349 - }
350
351 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-2.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-2.patch
352 deleted file mode 100644
353 index ce1b0489146f..000000000000
354 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-qt-5.9-2.patch
355 +++ /dev/null
356 @@ -1,70 +0,0 @@
357 -From 604178aa8ad4d3c3ad218df24c1e9a6a1f683bb3 Mon Sep 17 00:00:00 2001
358 -From: Harel Mazor <harel.mazor@×××××.com>
359 -Date: Tue, 24 Jan 2017 00:35:04 +0200
360 -Subject: [PATCH] Added geojson read capablity, moved magic strings to
361 - constants, fixed windows compilation issues.
362 -
363 ----
364 - tef_xml.cc | 24 +++----
365 -
366 -* Removed any unrelated changes except for s/windows/Qt-5.9/ compilation issues.
367 -
368 -diff --git a/tef_xml.cc b/tef_xml.cc
369 -index b32d69b3..37dd85ba 100644
370 ---- a/tef_xml.cc
371 -+++ b/tef_xml.cc
372 -@@ -72,11 +72,11 @@ tef_start(xg_string args, const QXmlStreamAttributes* attrv)
373 - bool valid = false;
374 -
375 - foreach(QXmlStreamAttribute attr, *attrv) {
376 -- if (attr.name().compare("Comment", Qt::CaseInsensitive) == 0) {
377 -- if (attr.value().compare("TourExchangeFormat", Qt::CaseInsensitive) == 0) {
378 -+ if (attr.name().compare(QString("Comment"), Qt::CaseInsensitive) == 0) {
379 -+ if (attr.value().compare(QString("TourExchangeFormat"), Qt::CaseInsensitive) == 0) {
380 - valid = true;
381 - }
382 -- } else if (attr.name().compare("Version", Qt::CaseInsensitive) == 0) {
383 -+ } else if (attr.name().compare(QString("Version"), Qt::CaseInsensitive) == 0) {
384 - version = attr.value().toString().toDouble();
385 - }
386 - }
387 -@@ -95,9 +95,9 @@ tef_header(xg_string args, const QXmlStreamAttributes* attrv)
388 - {
389 - route = route_head_alloc();
390 - foreach(QXmlStreamAttribute attr, *attrv) {
391 -- if (attr.name().compare("Name", Qt::CaseInsensitive) == 0) {
392 -+ if (attr.name().compare(QString("Name"), Qt::CaseInsensitive) == 0) {
393 - route->rte_name = attr.value().toString().trimmed();
394 -- } else if (attr.name().compare("Software", Qt::CaseInsensitive) == 0) {
395 -+ } else if (attr.name().compare(QString("Software"), Qt::CaseInsensitive) == 0) {
396 - route->rte_desc = attr.value().toString().trimmed();
397 - }
398 - }
399 -@@ -248,20 +248,20 @@ tef_item_start(xg_string args, const QXmlStreamAttributes* attrv)
400 - QString attrstr = attr.value().toString();
401 - QByteArray attrtext = attrstr.toUtf8();
402 -
403 -- if (attr.name().compare("SegDescription", Qt::CaseInsensitive) == 0) {
404 -+ if (attr.name().compare(QString("SegDescription"), Qt::CaseInsensitive) == 0) {
405 - wpt_tmp->shortname = attrstr.trimmed();
406 -- } else if (attr.name().compare("PointDescription", Qt::CaseInsensitive) == 0) {
407 -+ } else if (attr.name().compare(QString("PointDescription"), Qt::CaseInsensitive) == 0) {
408 - wpt_tmp->description = attrstr.trimmed();
409 -- } else if (attr.name().compare("ViaStation", Qt::CaseInsensitive) == 0 &&
410 -- attr.value().compare("true", Qt::CaseInsensitive) == 0) {
411 -+ } else if (attr.name().compare(QString("ViaStation"), Qt::CaseInsensitive) == 0 &&
412 -+ attr.value().compare(QString("true"), Qt::CaseInsensitive) == 0) {
413 - wpt_tmp->wpt_flags.fmt_use = 1; /* only a flag */
414 -
415 - /* new in TEF V2 */
416 -- } else if (attr.name().compare("Instruction", Qt::CaseInsensitive) == 0) {
417 -+ } else if (attr.name().compare(QString("Instruction"), Qt::CaseInsensitive) == 0) {
418 - wpt_tmp->description = attrstr.trimmed();
419 -- } else if (attr.name().compare("Altitude", Qt::CaseInsensitive) == 0) {
420 -+ } else if (attr.name().compare(QString("Altitude"), Qt::CaseInsensitive) == 0) {
421 - wpt_tmp->altitude = attrstr.toDouble();
422 -- } else if (attr.name().compare("TimeStamp", Qt::CaseInsensitive) == 0) {
423 -+ } else if (attr.name().compare(QString("TimeStamp"), Qt::CaseInsensitive) == 0) {
424 - /* nothing for the moment */
425 - }
426 - }
427
428 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_shapelib.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_shapelib.patch
429 deleted file mode 100644
430 index d3a4fa0c16a3..000000000000
431 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_shapelib.patch
432 +++ /dev/null
433 @@ -1,68 +0,0 @@
434 ---- a/configure.in 2017-01-02 06:05:19.000000000 +0100
435 -+++ b/configure.in 2017-01-21 00:26:02.239786037 +0100
436 -@@ -402,7 +402,7 @@
437 - AC_SUBST(QT_SYSINC_OPT)
438 - AC_SUBST(QT_LIBS)
439 -
440 --AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile shapelib/Makefile zlib/empty])
441 -+AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile zlib/empty])
442 - AC_CONFIG_FILES([gui/makelinuxdist.sh], [chmod +x gui/makelinuxdist.sh])
443 - AC_OUTPUT
444 -
445 ---- a/Makefile.in 2017-01-02 06:05:19.000000000 +0100
446 -+++ b/Makefile.in 2017-01-21 00:29:05.715731486 +0100
447 -@@ -100,7 +100,7 @@
448 - # Extra modules in Jeeps that we don't use
449 - # jeeps/gpsfmt.o jeeps/gpsinput.o jeeps/gpsproj.o
450 -
451 --SHAPE=shapelib/shpopen.o shapelib/dbfopen.o shapelib/safileio.o
452 -+SHAPE=-lshp
453 -
454 - MINIZIP=zlib/contrib/minizip/zip.o \
455 - zlib/contrib/minizip/ioapi.o
456 -@@ -119,7 +119,7 @@
457 - src/core/xmlstreamwriter.o \
458 - src/core/usasciicodec.o\
459 - src/core/ziparchive.o \
460 -- $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS)
461 -+ $(GARMIN) $(JEEPS) @ZLIB@ $(FMTS) $(FILTERS)
462 - OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
463 -
464 - DEPFILES = $(OBJS:.o=.d)
465 -@@ -148,10 +148,10 @@
466 - all: gpsbabel$(EXEEXT)
467 -
468 - gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@
469 -- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
470 -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
471 -
472 - gpsbabel-debug: $(OBJS)
473 -- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
474 -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
475 -
476 - Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in \
477 - gbversion.h.in gui/setup.iss.in
478 -@@ -894,11 +894,7 @@
479 - session.o: session.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \
480 - gbfile.h cet.h inifile.h session.h src/core/datetime.h
481 - shape.o: shape.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \
482 -- gbfile.h cet.h inifile.h session.h src/core/datetime.h \
483 -- shapelib/shapefil.h
484 --shapelib/dbfopen.o: shapelib/dbfopen.c shapelib/shapefil.h
485 --shapelib/safileio.o: shapelib/safileio.c shapelib/shapefil.h
486 --shapelib/shpopen.o: shapelib/shpopen.c shapelib/shapefil.h
487 -+ gbfile.h cet.h inifile.h session.h src/core/datetime.h
488 - skyforce.o: skyforce.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \
489 - gbfile.h cet.h inifile.h session.h src/core/datetime.h
490 - skytraq.o: skytraq.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \
491 ---- a/shape.cc 2017-01-02 06:05:19.000000000 +0100
492 -+++ b/shape.cc 2017-01-21 00:29:58.514391517 +0100
493 -@@ -20,7 +20,7 @@
494 -
495 - */
496 - #include "defs.h"
497 --#include "shapelib/shapefil.h"
498 -+#include <libshp/shapefil.h>
499 - #include <stdlib.h>
500 -
501 - #if SHAPELIB_ENABLED
502
503 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_zlib.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_zlib.patch
504 deleted file mode 100644
505 index ce3591715492..000000000000
506 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-use_system_zlib.patch
507 +++ /dev/null
508 @@ -1,80 +0,0 @@
509 ---- a/configure.in 2017-01-21 03:17:05.480317203 +0100
510 -+++ b/configure.in 2017-01-21 03:26:53.743671224 +0100
511 -@@ -402,7 +402,7 @@
512 - AC_SUBST(QT_SYSINC_OPT)
513 - AC_SUBST(QT_LIBS)
514 -
515 --AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile zlib/empty])
516 -+AC_CONFIG_FILES([Makefile gbversion.h gui/setup.iss xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc jeeps/Makefile])
517 - AC_CONFIG_FILES([gui/makelinuxdist.sh], [chmod +x gui/makelinuxdist.sh])
518 - AC_OUTPUT
519 -
520 ---- a/Makefile.in 2017-01-21 03:17:05.530317828 +0100
521 -+++ b/Makefile.in 2017-01-21 03:32:19.447032690 +0100
522 -@@ -102,14 +102,7 @@
523 -
524 - SHAPE=-lshp
525 -
526 --MINIZIP=zlib/contrib/minizip/zip.o \
527 -- zlib/contrib/minizip/ioapi.o
528 --
529 --ZLIB=zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o \
530 -- zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/trees.o \
531 -- zlib/uncompr.o zlib/gzlib.o zlib/gzclose.o zlib/gzread.o \
532 -- zlib/gzwrite.o zlib/zutil.o $(MINIZIP)
533 --
534 -+ZLIB=-lz -lminizip
535 -
536 - LIBOBJS = queue.o route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
537 - csv_util.o strptime.o grtcirc.o util_crc.o xmlgeneric.o \
538 -@@ -119,7 +112,7 @@
539 - src/core/xmlstreamwriter.o \
540 - src/core/usasciicodec.o\
541 - src/core/ziparchive.o \
542 -- $(GARMIN) $(JEEPS) @ZLIB@ $(FMTS) $(FILTERS)
543 -+ $(GARMIN) $(JEEPS) $(FMTS) $(FILTERS)
544 - OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
545 -
546 - DEPFILES = $(OBJS:.o=.d)
547 -@@ -148,10 +141,10 @@
548 - all: gpsbabel$(EXEEXT)
549 -
550 - gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@
551 -- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
552 -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) $(ZLIB) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
553 -
554 - gpsbabel-debug: $(OBJS)
555 -- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
556 -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(SHAPE) $(ZLIB) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@
557 -
558 - Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in \
559 - gbversion.h.in gui/setup.iss.in
560 ---- a/src/core/ziparchive.cc 2017-01-02 06:05:19.000000000 +0100
561 -+++ b/src/core/ziparchive.cc 2017-01-21 03:51:30.402421165 +0100
562 -@@ -23,7 +23,7 @@
563 -
564 - #include "defs.h"
565 - #include "src/core/logging.h"
566 --#include "zlib/contrib/minizip/zip.h"
567 -+#include <minizip/zip.h>
568 -
569 - #include <QtCore/QFile>
570 - #include <QtCore/QDebug>
571 -@@ -89,4 +89,4 @@
572 - return true;
573 - }
574 - return false;
575 --}
576 -\ No newline at end of file
577 -+}
578 ---- a/src/core/ziparchive.h 2017-01-02 06:05:19.000000000 +0100
579 -+++ b/src/core/ziparchive.h 2017-01-21 03:51:05.931115241 +0100
580 -@@ -21,7 +21,7 @@
581 -
582 - #include <QtCore/QString>
583 - #include <QtCore/QStringList>
584 --#include "zlib/contrib/minizip/zip.h"
585 -+#include <minizip/zip.h>
586 -
587 - class ZipArchive
588 - {
589
590 diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-xmldoc.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-xmldoc.patch
591 deleted file mode 100644
592 index 3fdd274927eb..000000000000
593 --- a/sci-geosciences/gpsbabel/files/gpsbabel-1.5.4-xmldoc.patch
594 +++ /dev/null
595 @@ -1,13 +0,0 @@
596 ---- a/Makefile.in 2017-01-21 00:32:50.921546762 +0100
597 -+++ b/Makefile.in 2017-01-21 00:55:45.362728521 +0100
598 -@@ -278,8 +278,8 @@
599 - --stringparam html.cleanup "1" \
600 - --stringparam make.clean.html "1" \
601 - --stringparam html.valid.html "1" \
602 -- --stringparam html.stylesheet \
603 -- "http://www.gpsbabel.org/style3.css" \
604 -+ --nonet \
605 -+ --stringparam html.stylesheet "gpsbabel.org-style3.css" \
606 - http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
607 - xmldoc/readme.xml
608 -
609
610 diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.5.4-r1.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.5.4-r1.ebuild
611 deleted file mode 100644
612 index 3b07666bdf59..000000000000
613 --- a/sci-geosciences/gpsbabel/gpsbabel-1.5.4-r1.ebuild
614 +++ /dev/null
615 @@ -1,120 +0,0 @@
616 -# Copyright 1999-2020 Gentoo Authors
617 -# Distributed under the terms of the GNU General Public License v2
618 -
619 -EAPI=7
620 -
621 -inherit autotools desktop qmake-utils
622 -
623 -DESCRIPTION="GPS waypoints, tracks and routes converter"
624 -HOMEPAGE="https://www.gpsbabel.org/ https://github.com/gpsbabel/gpsbabel"
625 -SRC_URI="
626 - https://dev.gentoo.org/~asturm/${P}.tar.gz
627 - doc? ( https://www.gpsbabel.org/style3.css -> gpsbabel.org-style3.css )"
628 -LICENSE="GPL-2"
629 -
630 -SLOT="0"
631 -KEYWORDS="amd64 ~ppc x86"
632 -IUSE="doc +gui"
633 -
634 -BDEPEND="
635 - doc? (
636 - app-text/docbook-xml-dtd:4.1.2
637 - dev-lang/perl
638 - dev-libs/libxslt
639 - )
640 - gui? ( dev-qt/linguist-tools:5 )
641 -"
642 -RDEPEND="
643 - dev-libs/expat
644 - dev-qt/qtcore:5
645 - sci-libs/shapelib:=
646 - sys-libs/zlib[minizip]
647 - virtual/libusb:0
648 - gui? (
649 - dev-qt/qtgui:5
650 - dev-qt/qtnetwork:5
651 - dev-qt/qtwebchannel:5
652 - dev-qt/qtwebengine:5[widgets]
653 - dev-qt/qtwidgets:5
654 - dev-qt/qtxml:5
655 - )
656 -"
657 -DEPEND="${RDEPEND}"
658 -
659 -DOCS=( AUTHORS README.{contrib,igc,mapconverter,md,xmapwpt} )
660 -
661 -PATCHES=(
662 - "${FILESDIR}"/${PN}-1.4.3-fix_binary_name.patch
663 - "${FILESDIR}"/${P}-disable_statistic_uploading.patch
664 - "${FILESDIR}"/${P}-disable_update_check.patch
665 - "${FILESDIR}"/${P}-disable_version_check.patch
666 - "${FILESDIR}"/${P}-use_system_shapelib.patch
667 - "${FILESDIR}"/${P}-use_system_zlib.patch
668 - "${FILESDIR}"/${P}-xmldoc.patch
669 - "${FILESDIR}"/${P}-qt-5.9-{1,2}.patch
670 -)
671 -
672 -RESTRICT="test" # bug 421699
673 -
674 -src_prepare() {
675 - default
676 -
677 - # remove bundled libs and cleanup
678 - rm -r shapelib zlib || die
679 - sed -i -e "s: zlib\/[a-z]*\.h::g" Makefile.in || die
680 -
681 - mv configure.in configure.ac || die
682 - sed -i -e "/^configure:/s/configure.in/configure.ac/" Makefile.in || die
683 -
684 - if use doc; then
685 - cp "${DISTDIR}/gpsbabel.org-style3.css" . || die
686 - fi
687 -
688 - eautoreconf
689 -}
690 -
691 -src_configure() {
692 - local myeconfargs=(
693 - $(use_with doc doc doc/manual)
694 - LRELEASE=$(qt5_get_bindir)/lrelease
695 - LUPDATE=$(qt5_get_bindir)/lupdate
696 - QMAKE=$(qt5_get_bindir)/qmake
697 - --with-zlib=system
698 - )
699 - econf "${myeconfargs[@]}"
700 -
701 - if use gui; then
702 - pushd gui > /dev/null || die
703 - $(qt5_get_bindir)/lrelease *.ts || die
704 - eqmake5
705 - popd > /dev/null
706 - fi
707 -}
708 -
709 -src_compile() {
710 - default
711 - if use gui; then
712 - pushd gui > /dev/null || die
713 - emake
714 - popd > /dev/null
715 - fi
716 -
717 - if use doc; then
718 - perl xmldoc/makedoc || die
719 - emake gpsbabel.html
720 - fi
721 -}
722 -
723 -src_install() {
724 - use doc && local HTML_DOCS=( ${PN}.html ${PN}.org-style3.css )
725 -
726 - default
727 -
728 - if use gui; then
729 - dobin gui/objects/gpsbabelfe
730 - insinto /usr/share/${PN}/translations/
731 - doins gui/gpsbabel*_*.qm
732 - newicon gui/images/appicon.png ${PN}.png
733 - make_desktop_entry gpsbabelfe ${PN} ${PN} "Science;Geoscience"
734 - fi
735 -}