[Git][debian-gis-team/libgeo-proj4-perl][upstream] New upstream version 1.08

Sebastiaan Couwenberg gitlab at salsa.debian.org
Thu Dec 28 16:26:08 UTC 2017


Sebastiaan Couwenberg pushed to branch upstream at Debian GIS Project / libgeo-proj4-perl


Commits:
2698b39f by Bas Couwenberg at 2017-12-28T17:07:24+01:00
New upstream version 1.08
- - - - -


8 changed files:

- Changes
- META.json
- META.yml
- Makefile.PL
- Proj4.xs
- README
- lib/Geo/Proj4.pm
- lib/Geo/Proj4.pod


Changes:

=====================================
Changes
=====================================
--- 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:


=====================================
META.json
=====================================
--- a/META.json
+++ b/META.json
@@ -35,5 +35,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "1.07"
+   "version" : "1.08"
 }


=====================================
META.yml
=====================================
--- a/META.yml
+++ b/META.yml
@@ -18,4 +18,4 @@ no_index:
     - t
     - inc
 requires: {}
-version: 1.07
+version: 1.08


=====================================
Makefile.PL
=====================================
--- 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


=====================================
Proj4.xs
=====================================
--- 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));
 	    }
 


=====================================
README
=====================================
--- 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


=====================================
lib/Geo/Proj4.pm
=====================================
--- 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;


=====================================
lib/Geo/Proj4.pod
=====================================
--- 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



View it on GitLab: https://salsa.debian.org/debian-gis-team/libgeo-proj4-perl/commit/2698b39f82c06dbab055460f282996f34c5116e4

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/libgeo-proj4-perl/commit/2698b39f82c06dbab055460f282996f34c5116e4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20171228/841b02c8/attachment-0001.html>


More information about the Pkg-grass-devel mailing list