summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-03-18 00:02:46 +0000
committergdt <gdt@pkgsrc.org>2020-03-18 00:02:46 +0000
commit4486b75a62be4f08c591a60ea24a0e712faaf567 (patch)
tree646a73dbf67de8314896d624a89e6585b5ae16cd
parentfe63f2e9694e9c4c75eaa560c2f234f59a7610aa (diff)
downloadpkgsrc-4486b75a62be4f08c591a60ea24a0e712faaf567.tar.gz
geography/viking: Update to 1.8
Viking 1.8 (2020-02-02) New features since 1.7 * New GeoClue Layer to Track Position from the GeoClue service ** Not available on Windows * Per Year Track Analysis * Track Timing Speed Splits Analysis * Subsecond Timing Precision for Tracks & Waypoints * Track Area Coverage Feature * Native Read Support of Zip & bzip2 Files ** This attempts to load supported files found within the compressed file * Native Basic TCX Read Support * Embedded (Elevation & Speed) Graphs in the Main Window * Improved icons for Aggregate and Maps layers * Scrolling Options for Better Usage with Touchpads * Right Click Menu Options on the Calendar * Various Keyboard Enhancements: ** Left & Right arrow keys selects the previous or next trackpoint respectively ** Keypad '+' & Keypad '-' inserts a trackpoint after or before of the current trackpoint ** Menu key opens the track context menu * SF Features#117: Area Calculation Tool * Large Basque language translation update * Many other small fixes - see the ChangeLog for the full details.
-rw-r--r--geography/viking/Makefile5
-rw-r--r--geography/viking/distinfo14
-rw-r--r--geography/viking/patches/patch-src_gpspoint.c8
-rw-r--r--geography/viking/patches/patch-src_gpx.c13
4 files changed, 20 insertions, 20 deletions
diff --git a/geography/viking/Makefile b/geography/viking/Makefile
index 2d3faf6380a..aadf404aa6c 100644
--- a/geography/viking/Makefile
+++ b/geography/viking/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.107 2020/03/10 22:10:02 wiz Exp $
+# $NetBSD: Makefile,v 1.108 2020/03/18 00:02:46 gdt Exp $
#
-VERSION= 1.7
+VERSION= 1.8
DISTNAME= viking-${VERSION}
-PKGREVISION= 11
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=viking/}${VERSION}/
EXTRACT_SUFX= .tar.bz2
diff --git a/geography/viking/distinfo b/geography/viking/distinfo
index 4378555bfcb..ef0254e1b5a 100644
--- a/geography/viking/distinfo
+++ b/geography/viking/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.27 2019/01/22 15:28:45 gdt Exp $
+$NetBSD: distinfo,v 1.28 2020/03/18 00:02:46 gdt Exp $
-SHA1 (viking-1.7.tar.bz2) = ac811fd294ac5b73419bda29864923871fbadb53
-RMD160 (viking-1.7.tar.bz2) = 7ba2d64f5ccf2511b3271c16ccf4ffda69aa93de
-SHA512 (viking-1.7.tar.bz2) = ff26cd808b407af5cb7c3cebed4c550e0c28ac1871497c2cedd09f7e1e72bd24ef0048e6e5d587aa9b03cb1860c3d3afcbe62308ade2179dea4b5f9668d05600
-Size (viking-1.7.tar.bz2) = 3438343 bytes
+SHA1 (viking-1.8.tar.bz2) = 316024914dcdd3ca493555f6454866f6ec4da373
+RMD160 (viking-1.8.tar.bz2) = e134c2834e1e1d34e4273840cc5ec53418e95fc7
+SHA512 (viking-1.8.tar.bz2) = 0f30aded65a84c34fde6204b39ed652ece4218dadca76679244dbdfb655513c5f4b7cdc7f82dcb659e852bc88b27d0c9fff29511c5e30e9fbd46a8540b925d91
+Size (viking-1.8.tar.bz2) = 3878992 bytes
SHA1 (patch-configure) = d2a6b621c879a1ccbc26d7f915f382f19eec45a3
-SHA1 (patch-src_gpspoint.c) = 968beffb04fae470665b6b97df7d84e0a6bc6346
-SHA1 (patch-src_gpx.c) = 08f3861954c90ee6619c1a9c60a5bf42bf790b74
+SHA1 (patch-src_gpspoint.c) = 95b07ed2b37a3e05c12042f55c81816245753d04
+SHA1 (patch-src_gpx.c) = 178488c7bd56a0dc199538ce4c0bede534379590
diff --git a/geography/viking/patches/patch-src_gpspoint.c b/geography/viking/patches/patch-src_gpspoint.c
index 93d69240dfe..cbf110ed53a 100644
--- a/geography/viking/patches/patch-src_gpspoint.c
+++ b/geography/viking/patches/patch-src_gpspoint.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_gpspoint.c,v 1.1 2019/01/22 15:28:45 gdt Exp $
+$NetBSD: patch-src_gpspoint.c,v 1.2 2020/03/18 00:02:46 gdt Exp $
Work around a bug in NetBSD. See PR standards/40695. Bug is fixed in
-current but not -5; revisit if the workaround causes problems.
@@ -6,9 +6,9 @@ While 5 is very old, keep the patch because somebody might be using it
and the pach is not problematic.
(Not filed upstream because this is a NetBSD bug.)
---- src/gpspoint.c.orig 2018-12-23 10:48:06.000000000 +0000
+--- src/gpspoint.c.orig 2020-01-30 08:34:43.000000000 +0000
+++ src/gpspoint.c
-@@ -94,8 +94,25 @@ static gdouble line_altitude = VIK_DEFAU
+@@ -79,8 +79,25 @@ static gdouble line_altitude = NAN;
static gboolean line_visible = TRUE;
static gboolean line_extended = FALSE;
@@ -33,4 +33,4 @@ and the pach is not problematic.
+#endif /* NetBSD */
static gint line_sat = 0;
static gint line_fix = 0;
- static gdouble line_hdop = VIK_DEFAULT_DOP;
+ static gdouble line_hdop = NAN;
diff --git a/geography/viking/patches/patch-src_gpx.c b/geography/viking/patches/patch-src_gpx.c
index b04238b9cdd..8bd7d86f292 100644
--- a/geography/viking/patches/patch-src_gpx.c
+++ b/geography/viking/patches/patch-src_gpx.c
@@ -1,15 +1,16 @@
-$NetBSD: patch-src_gpx.c,v 1.2 2019/01/22 15:28:45 gdt Exp $
+$NetBSD: patch-src_gpx.c,v 1.3 2020/03/18 00:02:46 gdt Exp $
This is a build fix for SunOS.
\todo Explain why, and if the new __sun way is correct in general.
\todo File upstream.
---- src/gpx.c.orig 2015-02-03 22:44:42.000000000 +0000
+--- src/gpx.c.orig 2020-01-30 08:34:43.000000000 +0000
+++ src/gpx.c
-@@ -30,7 +30,11 @@
- #include "config.h"
- #endif
-
+@@ -26,7 +26,12 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
++
+#if defined(__sun)
+#define _XOPEN_SOURCE 600
+#else