Update to 4.8.0. As a byproduct, update proj-datumgrid to 1.5, which has an additional grid shift file. Add a test target; regression tests now pass at least on NetBSD/i386 5.1_STABLE. 4.8.0 Release Notes ------------------- o Added the Natural Earth projection. o Added HEALPIX, rHEALPIX and Icosahedral Snyder Equal Area projections. o nad2bin now produces "CTable2" format grid shift files by default which are platform independent. o nad2nad removed, use cs2cs for datum shift operations. o projects.h no longer installed as a public include file. Please try to only use proj_api.h. o Add pj_get_spheroid_defn() accessor. o Added an alternate version of pj_init() that takes a projCtx (execution context) structure to address multithreading issues with error management and to provide a support for application hookable error reporting and logging. o Upgrade to EPSG 7.9. Some changes in ideal datum selection. o JNI bindings reworked, org.proj4.Projections deprecated in favor of org.proj4.PJ. o Added preliminary vertical datum support. o Fix various multithreading issues, particular in datum grid handling code. o Added support for the +axis= option for alternate axis orientations as part of a coordinate system (used for TM South Orientated support). o +proj=omerc implementatioin replaced with code from libproj4. +rot_conv flag no longer works, and some coordinate systems (ie. Malaysian) will need to use +gamma instead. "epsg" init file updated accordingly.diff -r1.1.1.1 -r1.2 pkgsrc/geography/proj/Makefile
(gdt)
@@ -1,28 +1,35 @@ | @@ -1,28 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.1.1.1 2010/03/14 16:26:22 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2012/03/14 23:36:06 gdt Exp $ | |
2 | 2 | |||
3 | DISTNAME= proj-4.7.0 | 3 | VERSION= 4.8.0 | |
4 | DISTNAME= proj-${VERSION} | |||
4 | CATEGORIES= geography | 5 | CATEGORIES= geography | |
5 | MASTER_SITES= http://download.osgeo.org/proj/ | 6 | MASTER_SITES= http://download.osgeo.org/proj/ | |
6 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} proj-datumgrid-1.4${EXTRACT_SUFX} | 7 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} proj-datumgrid-1.5${EXTRACT_SUFX} | |
7 | 8 | |||
8 | MAINTAINER= gdt@NetBSD.org | 9 | MAINTAINER= gdt@NetBSD.org | |
9 | HOMEPAGE= http://trac.osgeo.org/proj/ | 10 | HOMEPAGE= http://trac.osgeo.org/proj/ | |
10 | COMMENT= Cartographic projection software | 11 | COMMENT= Cartographic projection software | |
11 | 12 | |||
13 | LICENSE= mit | |||
14 | ||||
15 | PREV_PKGPATH= misc/proj | |||
16 | ||||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 18 | |||
14 | USE_LIBTOOL= yes | 19 | USE_LIBTOOL= yes | |
15 | USE_TOOLS+= gmake | 20 | USE_TOOLS+= gmake | |
16 | GNU_CONFIGURE= yes | 21 | GNU_CONFIGURE= yes | |
17 | 22 | |||
18 | PREV_PKGPATH= misc/proj | 23 | TEST_TARGET= check | |
19 | 24 | |||
25 | # The last file is out of order to avoid reordering the whole list | |||
26 | # from datumgrid-1.4 to datumgrid-1.5 | |||
20 | DATUMGRID_FILES= \ | 27 | DATUMGRID_FILES= \ | |
21 | FL.lla MD.lla README.NADUS TN.lla WI.lla WO.lla alaska.lla \ | 28 | FL.lla MD.lla README.NADUS TN.lla WI.lla WO.lla alaska.lla \ | |
22 | conus.lla hawaii.lla ntv1_can.dat null.lla nzgd2kgrid0005.gsb \ | 29 | conus.lla hawaii.lla ntv1_can.dat null.lla nzgd2kgrid0005.gsb \ | |
23 | prvi.lla stgeorge.lla stlrnc.lla stpaul.lla | 30 | prvi.lla stgeorge.lla stlrnc.lla stpaul.lla ntf_r93.gsb | |
24 | 31 | |||
25 | post-extract: | 32 | post-extract: | |
26 | cd ${WRKDIR} && ${LN} ${DATUMGRID_FILES} ${WRKDIR}/${DISTNAME}/nad | 33 | cd ${WRKDIR} && ${LN} ${DATUMGRID_FILES} ${WRKDIR}/${PKGNAME}/nad | |
27 | 34 | |||
28 | .include "../../mk/bsd.pkg.mk" | 35 | .include "../../mk/bsd.pkg.mk" |
@@ -1,44 +1,42 @@ | @@ -1,44 +1,42 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2010/03/14 16:26:22 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2012/03/14 23:36:06 gdt Exp $ | |
2 | bin/cs2cs | 2 | bin/cs2cs | |
3 | bin/geod | 3 | bin/geod | |
4 | bin/invgeod | 4 | bin/invgeod | |
5 | bin/invproj | 5 | bin/invproj | |
6 | bin/nad2bin | 6 | bin/nad2bin | |
7 | bin/nad2nad | |||
8 | bin/proj | 7 | bin/proj | |
9 | include/nad_list.h | |||
10 | include/org_proj4_Projections.h | 8 | include/org_proj4_Projections.h | |
11 | include/proj_api.h | 9 | include/proj_api.h | |
12 | include/projects.h | |||
13 | lib/libproj.la | 10 | lib/libproj.la | |
11 | lib/pkgconfig/proj.pc | |||
14 | man/man1/cs2cs.1 | 12 | man/man1/cs2cs.1 | |
15 | man/man1/geod.1 | 13 | man/man1/geod.1 | |
16 | man/man1/nad2nad.1 | |||
17 | man/man1/proj.1 | 14 | man/man1/proj.1 | |
18 | man/man3/pj_init.3 | 15 | man/man3/pj_init.3 | |
19 | share/proj/FL | 16 | share/proj/FL | |
20 | share/proj/GL27 | 17 | share/proj/GL27 | |
21 | share/proj/IGNF | 18 | share/proj/IGNF | |
22 | share/proj/MD | 19 | share/proj/MD | |
23 | share/proj/TN | 20 | share/proj/TN | |
24 | share/proj/WI | 21 | share/proj/WI | |
25 | share/proj/WO | 22 | share/proj/WO | |
26 | share/proj/alaska | 23 | share/proj/alaska | |
27 | share/proj/conus | 24 | share/proj/conus | |
28 | share/proj/epsg | 25 | share/proj/epsg | |
29 | share/proj/esri | 26 | share/proj/esri | |
30 | share/proj/esri.extra | 27 | share/proj/esri.extra | |
31 | share/proj/hawaii | 28 | share/proj/hawaii | |
32 | share/proj/nad.lst | 29 | share/proj/nad.lst | |
33 | share/proj/nad27 | 30 | share/proj/nad27 | |
34 | share/proj/nad83 | 31 | share/proj/nad83 | |
32 | share/proj/ntf_r93.gsb | |||
35 | share/proj/ntv1_can.dat | 33 | share/proj/ntv1_can.dat | |
36 | share/proj/null | 34 | share/proj/null | |
37 | share/proj/nzgd2kgrid0005.gsb | 35 | share/proj/nzgd2kgrid0005.gsb | |
38 | share/proj/other.extra | 36 | share/proj/other.extra | |
39 | share/proj/proj_def.dat | 37 | share/proj/proj_def.dat | |
40 | share/proj/prvi | 38 | share/proj/prvi | |
41 | share/proj/stgeorge | 39 | share/proj/stgeorge | |
42 | share/proj/stlrnc | 40 | share/proj/stlrnc | |
43 | share/proj/stpaul | 41 | share/proj/stpaul | |
44 | share/proj/world | 42 | share/proj/world |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2010/03/14 16:26:22 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.2 2012/03/14 23:36:06 gdt Exp $ | |
2 | 2 | |||
3 | SHA1 (proj-4.7.0.tar.gz) = bfe59b8dc1ea0c57e1426c37ff2b238fea66acd7 | 3 | SHA1 (proj-4.8.0.tar.gz) = 5c8d6769a791c390c873fef92134bf20bb20e82a | |
4 | RMD160 (proj-4.7.0.tar.gz) = cd96c09906b99d2ad205cc087e2863910d1124e1 | 4 | RMD160 (proj-4.8.0.tar.gz) = a2a20159b333aeef9f6322ccc97a0a14cc38fe89 | |
5 | Size (proj-4.7.0.tar.gz) = 684923 bytes | 5 | Size (proj-4.8.0.tar.gz) = 785279 bytes | |
6 | SHA1 (proj-datumgrid-1.4.tar.gz) = 1ef8262271daabed37db1816a4796f06ea5e1ba9 | 6 | SHA1 (proj-datumgrid-1.5.tar.gz) = 38385e05f50445fe1b72243e54875360c4426a30 | |
7 | RMD160 (proj-datumgrid-1.4.tar.gz) = f8b7f866ad8d7e148a81f746d66e2c5dfa914045 | 7 | RMD160 (proj-datumgrid-1.5.tar.gz) = 9a75d4c1652c6b1a614ee5e90c77138a2af34025 | |
8 | Size (proj-datumgrid-1.4.tar.gz) = 2252273 bytes | 8 | Size (proj-datumgrid-1.5.tar.gz) = 2252308 bytes | |
9 | SHA1 (patch-README) = f8b38e806254135314f00f2583a744b39d38c527 |
$NetBSD: patch-README,v 1.1 2012/03/14 23:36:06 gdt Exp $
Sent upstream by email 20120309.
--- README.orig 2010-12-05 16:06:32.000000000 +0000
+++ README
@@ -40,6 +40,13 @@ After executing configure, execute:
The install target will create, if necessary, all required sub-directories.
+To test, execute:
+
+ make check
+
+Note that you must have installed proj-datumgrid-1.5 in nad prior to
+building; the test suite includes grid shift tests.
+
Windows Build
-------------