pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/opencpn-plugin-weather_routing Update to 201...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b082d292a0a2
branches:  trunk
changeset: 349899:b082d292a0a2
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Mon Jul 18 14:23:46 2016 +0000

description:
Update to 20160716. Changes since previous:
bug fixes, improved error messages, updates for newer draw plugin.

diffstat:

 geography/opencpn-plugin-weather_routing/Makefile                       |   6 +-
 geography/opencpn-plugin-weather_routing/distinfo                       |  12 +++---
 geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp |  16 +++++-----
 3 files changed, 17 insertions(+), 17 deletions(-)

diffs (82 lines):

diff -r 9f080ce81275 -r b082d292a0a2 geography/opencpn-plugin-weather_routing/Makefile
--- a/geography/opencpn-plugin-weather_routing/Makefile Mon Jul 18 14:21:50 2016 +0000
+++ b/geography/opencpn-plugin-weather_routing/Makefile Mon Jul 18 14:23:46 2016 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2016/06/16 16:03:55 bouyer Exp $
+# $NetBSD: Makefile,v 1.6 2016/07/18 14:23:46 bouyer Exp $
 #
 
-VERSION=       20160611
+VERSION=       20160716
 DISTNAME=      weather_routing_pi-${VERSION}
 PKGNAME=       opencpn-plugin-weather_routing-${VERSION}
 CATEGORIES=    geography
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=seandepagnier/}
 GITHUB_PROJECT=        weather_routing_pi
-GITHUB_TAG=    264605a7a9e3b33e10bbd2375a7d3fd55518b3dc
+GITHUB_TAG=    7a016521e0a1e1ca4e97016dad8d0d16f09da912
 
 MAINTAINER=    bouyer%NetBSD.org@localhost
 HOMEPAGE=      http://opencpn.org/ocpn/weather_routing_plugin
diff -r 9f080ce81275 -r b082d292a0a2 geography/opencpn-plugin-weather_routing/distinfo
--- a/geography/opencpn-plugin-weather_routing/distinfo Mon Jul 18 14:21:50 2016 +0000
+++ b/geography/opencpn-plugin-weather_routing/distinfo Mon Jul 18 14:23:46 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2016/06/16 16:03:55 bouyer Exp $
+$NetBSD: distinfo,v 1.6 2016/07/18 14:23:46 bouyer Exp $
 
-SHA1 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = aac7a6e11ac087d3654cdfe7907e28a8d6fe8d3b
-RMD160 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 7040af0413957cac5a2e09f16f6afd05467f24ce
-SHA512 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 
920e878d4c25059e30259bcc3d68e32219a7dacb23e35a4b969a568e1ecdd10718bc7b978e4468efcf7faad8927a8bee0076ab8e00a29e51563e1c84083e5006
-Size (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 847325 bytes
+SHA1 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 131045d458326c9febd21605cf784f247bc1e848
+RMD160 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = c8d0cf451091047ae155e0e7ce08ae47329d09a8
+SHA512 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 
18ffb602f57f92b41fb152a34a8552e1c2a877eea70228c84602b79bc37809b2152e45afafad054f97b84d9d1c338f3ea92b39fc26eedc392babcd1ee3985b30
+Size (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 846632 bytes
 SHA1 (patch-cmake_PluginConfigure.cmake) = e2873cbba3d776227d72b8538634f687dc04c439
-SHA1 (patch-src_RouteMap.cpp) = e705e8f11d58675d443c1992c7cf5ab26f2be856
+SHA1 (patch-src_RouteMap.cpp) = a733a901f04eeb1699805e590325c0485ce26d1b
diff -r 9f080ce81275 -r b082d292a0a2 geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp
--- a/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp   Mon Jul 18 14:21:50 2016 +0000
+++ b/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp   Mon Jul 18 14:23:46 2016 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-src_RouteMap.cpp,v 1.1 2016/06/16 16:03:55 bouyer Exp $
+$NetBSD: patch-src_RouteMap.cpp,v 1.2 2016/07/18 14:23:46 bouyer Exp $
 
---- src/RouteMap.cpp.orig      2016-06-13 18:14:41.000000000 +0200
-+++ src/RouteMap.cpp   2016-06-13 18:17:23.000000000 +0200
-@@ -550,7 +550,7 @@
+--- src/RouteMap.cpp.orig      2016-07-16 16:02:32.000000000 +0200
++++ src/RouteMap.cpp   2016-07-18 15:51:20.000000000 +0200
+@@ -546,7 +546,7 @@
          VB = polar.Speed(H, VW);
  
      /* failed to determine speed.. */
 -    if(isnan(B) || isnan(VB)) {
 +    if(std::isnan(B) || std::isnan(VB)) {
+         // when does this hit??
+         printf("polar failed bad! %f %f %f %f\n", W, VW, B, VB);
          configuration.polar_failed = true;
-         return false; //B = VB = 0;
-     }
 @@ -662,7 +662,7 @@
          B = W + H; /* rotated relative to true wind */
  
@@ -20,7 +20,7 @@
              double bearing3 = heading_resolve(B);
              if((bearing1 > bearing2 && bearing3 > bearing2 && bearing3 < bearing1) ||
                 (bearing1 < bearing2 && (bearing3 > bearing2 || bearing3 < bearing1))) {
-@@ -2092,7 +2092,7 @@
+@@ -2089,7 +2089,7 @@
  
          /* did we tack thru the wind? apply penalty */
          bool tacked = false;
@@ -29,7 +29,7 @@
              tacked = true;
              dt += configuration.TackingTime;
  #if 0        
-@@ -2101,7 +2101,7 @@
+@@ -2098,7 +2098,7 @@
  #endif
          }
  



Home | Main Index | Thread Index | Old Index