[libgeo-proj4-perl] 01/06: New upstream version 1.08

Bas Couwenberg sebastic at debian.org
Thu Dec 28 16:25:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository libgeo-proj4-perl.

commit 2698b39f82c06dbab055460f282996f34c5116e4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Dec 28 17:07:24 2017 +0100

    New upstream version 1.08
---
 Changes           |  6 ++++++
 META.json         |  2 +-
 META.yml          |  2 +-
 Makefile.PL       |  3 +--
 Proj4.xs          |  4 ++--
 README            | 12 ++++++------
 lib/Geo/Proj4.pm  |  2 +-
 lib/Geo/Proj4.pod |  4 ++--
 8 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/Changes b/Changes
index 93394e9..b9e2a05 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
 Revision history for Perl extension Geo::Proj4.
 
+version 1.08: Thu 28 Dec 11:38:06 CET 2017
+
+	Fixes:
+	- revert change of 1.07, because it breaks people's code, and make
+	  it harder to use transform() rt.cpan.org#123950 [Salven Rezic]
+
 version 1.07: Wed  8 Nov 10:57:23 CET 2017
 
 	Fixes:
diff --git a/META.json b/META.json
index e95bf59..42ecd85 100644
--- a/META.json
+++ b/META.json
@@ -35,5 +35,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "1.07"
+   "version" : "1.08"
 }
diff --git a/META.yml b/META.yml
index a981aa0..bb385a0 100644
--- a/META.yml
+++ b/META.yml
@@ -18,4 +18,4 @@ no_index:
     - t
     - inc
 requires: {}
-version: 1.07
+version: 1.08
diff --git a/Makefile.PL b/Makefile.PL
index c50aa62..743add7 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
 require 5.006;
 
 # increased per release
-my $relversion = '1.07';
+my $relversion = '1.08';
 
 my $libversion = '4.4.9';
 
@@ -53,7 +53,6 @@ WriteMakefile
 sub MY::postamble { <<'__POSTAMBLE' }
 
 # for DIST, see PODTAIL.txt as well
-LICENSE		= artistic
 RAWDIR          = ../public_html/geoproj4/raw
 DISTDIR         = ../public_html/geoproj4/source
 __POSTAMBLE
diff --git a/Proj4.xs b/Proj4.xs
index 7bfd548..aa04554 100644
--- a/Proj4.xs
+++ b/Proj4.xs
@@ -166,7 +166,7 @@ transform_proj4(proj_from, proj_to, points, degrees)
 
 	    x[p] = SvNV(*av_fetch(point, 0, 0));
 	    y[p] = SvNV(*av_fetch(point, 1, 0));
-	    z[p] = av_len(point) < 2 ? NAN : SvNV(*av_fetch(point, 2, 0));
+	    z[p] = av_len(point) < 2 ? 0.0 : SvNV(*av_fetch(point, 2, 0));
 	    /* fprintf(stderr, "point=%f %f %f\n", x[p], y[p], z[p]); */
 
 	    if(degrees && pj_is_latlong(proj_from))
@@ -192,7 +192,7 @@ transform_proj4(proj_from, proj_to, points, degrees)
 	        av_push(res, newSVnv(x[p]));
 	        av_push(res, newSVnv(y[p]));
 
-	        if(!isnan(z[p])) av_push(res, newSVnv(z[p]));
+	        if(z[p]!=0.0) av_push(res, newSVnv(z[p]));
 	        av_push(retlist, newRV((SV *)res));
 	    }
 
diff --git a/README b/README
index 39cd9a9..b439cb5 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-=== README for Geo-Proj4 version 1.07
-=   Generated on Wed Nov  8 10:57:37 2017 by OODoc 2.02
+=== README for Geo-Proj4 version 1.08
+=   Generated on Thu Dec 28 11:39:34 2017 by OODoc 2.02
 
 There are various ways to install this module:
 
@@ -9,16 +9,16 @@ There are various ways to install this module:
  (2) if you use Windows, have a look at http://ppm.activestate.com/
 
  (3) if you have downloaded this module manually (as root/administrator)
-       gzip -d Geo-Proj4-1.07.tar.gz
-       tar -xf Geo-Proj4-1.07.tar
-       cd Geo-Proj4-1.07
+       gzip -d Geo-Proj4-1.08.tar.gz
+       tar -xf Geo-Proj4-1.08.tar
+       cd Geo-Proj4-1.08
        perl Makefile.PL
        make          # optional
        make test     # optional
        make install
 
 For usage, see the included manual-pages or
-    http://search.cpan.org/dist/Geo-Proj4-1.07/
+    http://search.cpan.org/dist/Geo-Proj4-1.08/
 
 Please report problems to
     http://rt.cpan.org/Dist/Display.html?Queue=Geo-Proj4
diff --git a/lib/Geo/Proj4.pm b/lib/Geo/Proj4.pm
index 384248e..2975bc0 100644
--- a/lib/Geo/Proj4.pm
+++ b/lib/Geo/Proj4.pm
@@ -4,7 +4,7 @@
 # Pod stripped from pm file by OODoc 2.02.
 package Geo::Proj4;
 use vars '$VERSION';
-$VERSION = '1.07';
+$VERSION = '1.08';
 
 
 use strict;
diff --git a/lib/Geo/Proj4.pod b/lib/Geo/Proj4.pod
index 0d1867b..38513f8 100644
--- a/lib/Geo/Proj4.pod
+++ b/lib/Geo/Proj4.pod
@@ -365,8 +365,8 @@ proj(1), cs2cs(1), pj_init(3).
 
 =head1 COPYRIGHTS
 
-Developed and maintained by Mark Overmeer E<lt>geo at overmeer.netE<gt>.
-Copyright (c) 2004-2007 by the authors. All rights reserved.
+Developed and maintained by Mark Overmeer E<lt>markov at cpan.orgE<gt>.
+Copyright (c) 2004-2017 by the authors. All rights reserved.
 
 Originally Written by Schuyler Erle E<lt>schuyler at nocat.netE<gt> and
 Rich Gibson E<lt>rich at nocat.netE<gt>.  Their site: Mapping Hacks home

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libgeo-proj4-perl.git



More information about the Pkg-grass-devel mailing list