pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/proj geography/proj: Update to 7.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2110cd15d59
branches:  trunk
changeset: 388895:c2110cd15d59
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Nov 27 13:30:45 2022 +0000

description:
geography/proj: Update to 7.2.1

proj 7 is a major update from 6.  From the pkgsrc viewpoint, the
biggest change is that grid files ("proj data") are now in the
proj-data package, rather than being an option in the proj package.
The other significant change is that proj depends on curl because it
can download grid files as needed.  For now, using proj-data remains
the recommended approach for pkgsrc users.

A summary of significant changes from proj 6 follows, omitting:
  - new projections
  - new grid files
  - normal housekeeping updates (e.g. new EPSG versions)
  - minor improvements
  - bugfixes
  - documentation changes
As always, one can read upstream NEWS.

Post-7.0.0 Notes
----------------

  o The tests in the proj package should pass independent of whether
    proj-data is installed (unlike the proj 6 package).

  o Add API function proj_get_units_from_database() (#2065)

  o Add API function proj_get_suggested_operation() (#2068)

  o Add API functions proj_degree_input() and proj_degree_output() (#2144)

  o proj_list_units() deprecated, superceeded by proj_get_units_from_database()

  o proj_list_angular_units() deprecated, superceeded by proj_get_units_from_database()

  o projinfo: add a --hide-ballpark option (#2127)

7.0.0 Release Notes
-------------------

The major feature in PROJ 7 is significantly improved handling of gridded
models. This was implemented in RFC4 (https://proj.org/community/rfc/rfc-4.html).
The main features of the RFC4 work is that PROJ now implements a new grid format,
Geodetic TIFF grids, for exchaning gridded transformation models. In addition
to the new grid format, PROJ can now also access grids online using a data
store in the cloud.

The grids that was previously available via the proj-datumgrid packages are now
available in two places:

  1. As a single combined data archive including all available resource files
     [This is ../geography/proj-data.]
  2. From the cloud via https://cdn.proj.org

In Addition, provided with PROJ is a utility called projsync that can be used
download grids from the data store in the cloud.

The use of the new grid format and the data from the cloud requires that
PROJ is build against libtiff and libcurl. Both are optional dependencies
to PROJ but it is highly encouraged that the software is build against both.

ATTENTION: PROJ 7 will be last major release version that includes the proj_api.h
header. The functionality in proj_api.h is deprecated and only supported in
maintenance mode. It is inferior to the functionality provided by functions
in the proj.h header and all projects still relying on proj_api.h are encouraged
to migrate to the new API in proj.h. See https://proj.org/development/migration.html
for more info on how to migrate from the old to the new API.

 o Require C99 compiler (#1624)

 o Remove deprecated JNI bindings (#1825)

diffstat:

 geography/proj/Makefile      |   39 +-----
 geography/proj/PLIST         |  224 +-----------------------------------------
 geography/proj/buildlink3.mk |    6 +-
 geography/proj/distinfo      |   23 +---
 geography/proj/options.mk    |   21 ----
 5 files changed, 23 insertions(+), 290 deletions(-)

diffs (truncated from 401 to 300 lines):

diff -r d3336028b819 -r c2110cd15d59 geography/proj/Makefile
--- a/geography/proj/Makefile   Sun Nov 27 13:30:19 2022 +0000
+++ b/geography/proj/Makefile   Sun Nov 27 13:30:45 2022 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2022/11/23 16:18:46 adam Exp $
+# $NetBSD: Makefile,v 1.29 2022/11/27 13:30:45 gdt Exp $
 
-# An update to 7 is on hold because I have not yet assessed how much
-# trouble it will cause.  -gdt
-VERSION_BASE=  6.3.2
+# An update to 8 or 9 is on hold because I have not yet assessed how
+# much trouble it will cause.  -gdt
+# evaluated how much this will break.
+VERSION_BASE=  7.2.1
 VERSION_RC=
 VERSION=       ${VERSION_BASE}${VERSION_RC}
 #PKGREVISION=  0
@@ -10,24 +11,16 @@
 WRKFINAL=      proj-${VERSION_BASE}
 WRKSRC=                ${WRKDIR}/${WRKFINAL}
 DISTNAME=      proj-${VERSION}
-PKGREVISION=   6
 CATEGORIES=    geography
 MASTER_SITES=  https://download.osgeo.org/proj/
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      https://proj4.org/
+HOMEPAGE=      https://proj.org/
 COMMENT=       Cartographic projection software
-
-# \todo: Add pdf manual.
-
-# Grid files also have the following "cc-by ish" licenses:
-# cc-by, 2-clause-bsd,  License Ouverte, cc0 (eu)
-# open-government, cc-by, public-domain (na)
-# cc-by (oceania)
 LICENSE=       mit
 
-.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
 
 PREV_PKGPATH=          misc/proj
 
@@ -43,24 +36,10 @@
 CFLAGS+=               -DHAVE_C99_MATH=0
 .endif
 
-.if !empty(PKG_OPTIONS:Mproj-grids)
-# Ideally, upstream would have an approach which enables testing with
-# the grids that users ought to have.  Until then, fail if test
-# preconditions are not met.
-do-test:
-       ${ECHO} "Tests assume extra grids are not installed."
-       ${FALSE}
-.else
 TEST_TARGET=           check
-.endif
-
-# \todo Ideally, the files would be unpacked directly in data.
-# Assume that all of the stray files in ${WRKDIR} came from datumgrids.
-# \todo Some files in the grid tarballs do not get installed by the
-# base Makefile.  Consider an alternate approach.
-post-extract:
-       cd ${WRKDIR} && for f in *; do if [ $$f != ${WRKFINAL} ]; then mv $$f ${WRKFINAL}/data; fi; done
 
 .include "../../databases/sqlite3/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d3336028b819 -r c2110cd15d59 geography/proj/PLIST
--- a/geography/proj/PLIST      Sun Nov 27 13:30:19 2022 +0000
+++ b/geography/proj/PLIST      Sun Nov 27 13:30:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2020/03/10 16:17:38 gdt Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/11/27 13:30:45 gdt Exp $
 bin/cct
 bin/cs2cs
 bin/geod
@@ -7,8 +7,8 @@
 bin/invproj
 bin/proj
 bin/projinfo
+bin/projsync
 include/geodesic.h
-include/org_proj4_PJ.h
 include/proj.h
 include/proj/common.hpp
 include/proj/coordinateoperation.hpp
@@ -31,231 +31,19 @@
 man/man1/gie.1
 man/man1/proj.1
 man/man1/projinfo.1
-man/man3/geodesic.3
-man/man3/pj_init.3
-${PLIST.grids}share/proj/100800401.gsb
-${PLIST.grids}share/proj/A66_National_13_09_01.gsb
-${PLIST.grids}share/proj/AT_GIS_GRID.gsb
-${PLIST.grids}share/proj/AUSGeoid09_V1.01.gtx
-${PLIST.grids}share/proj/AUSGeoid2020_20180201.gtx
-${PLIST.grids}share/proj/AUSGeoid98.gtx
-${PLIST.grids}share/proj/BETA2007.gsb
-${PLIST.grids}share/proj/BWTA2017.gsb
-${PLIST.grids}share/proj/CGG2013ai08.gtx
-${PLIST.grids}share/proj/CGG2013an83.gtx
-${PLIST.grids}share/proj/CGG2013i08.gtx
-${PLIST.grids}share/proj/CGG2013n83.gtx
-${PLIST.grids}share/proj/CGVD2013RGSPM06.gtx
+man/man1/projsync.1
 share/proj/CH
-${PLIST.grids}share/proj/CHENyx06_ETRS.gsb
-${PLIST.grids}share/proj/CHENyx06a.gsb
-${PLIST.grids}share/proj/D73_ETRS89_geo.gsb
-${PLIST.grids}share/proj/DLx_ETRS89_geo.gsb
-${PLIST.grids}share/proj/FL
-${PLIST.grids}share/proj/GDA94_GDA2020_conformal.gsb
-${PLIST.grids}share/proj/GDA94_GDA2020_conformal_and_distortion.gsb
-${PLIST.grids}share/proj/GDA94_GDA2020_conformal_christmas_island.gsb
-${PLIST.grids}share/proj/GDA94_GDA2020_conformal_cocos_island.gsb
 share/proj/GL27
-${PLIST.grids}share/proj/HT2_2010v70.gtx
-${PLIST.grids}share/proj/ISN2004_ISN2016.gsb
-${PLIST.grids}share/proj/ISN2004_ISN2016.gtx
-${PLIST.grids}share/proj/ISN93_ISN2016.gsb
-${PLIST.grids}share/proj/ISN93_ISN2016.gtx
-${PLIST.grids}share/proj/ISN_vel_beta.gtx
 share/proj/ITRF2000
 share/proj/ITRF2008
 share/proj/ITRF2014
-${PLIST.grids}share/proj/Icegeoid_ISN2004.gtx
-${PLIST.grids}share/proj/Icegeoid_ISN2016.gtx
-${PLIST.grids}share/proj/Icegeoid_ISN93.gtx
-${PLIST.grids}share/proj/MAY76V20.gsb
-${PLIST.grids}share/proj/MD
-${PLIST.grids}share/proj/NTv2_SN.gsb
-${PLIST.grids}share/proj/National_84_02_07_01.gsb
-${PLIST.grids}share/proj/OSGM15_Belfast.gtx
-${PLIST.grids}share/proj/OSGM15_Malin.gtx
-${PLIST.grids}share/proj/OSTN15_NTv2_OSGBtoETRS.gsb
-${PLIST.grids}share/proj/RAC09.gtx
-${PLIST.grids}share/proj/RAF09.gtx
-${PLIST.grids}share/proj/RAF18.gtx
-${PLIST.grids}share/proj/RAGTBT2016.gtx
-${PLIST.grids}share/proj/RALD2016.gtx
-${PLIST.grids}share/proj/RALDW842016.gtx
-${PLIST.grids}share/proj/RALS2016.gtx
-${PLIST.grids}share/proj/RAMART2016.gtx
-${PLIST.grids}share/proj/RAMG2016.gtx
-${PLIST.grids}share/proj/RAR07_bl.gtx
-${PLIST.grids}share/proj/RASPM2018.gtx
-${PLIST.grids}share/proj/SWEN17_RH2000.gtx
-${PLIST.grids}share/proj/SeTa2016.gsb
-${PLIST.grids}share/proj/TN
-${PLIST.grids}share/proj/WI
-${PLIST.grids}share/proj/WO
-${PLIST.grids}share/proj/alaska
-${PLIST.grids}share/proj/alhpgn.gsb
-${PLIST.grids}share/proj/arhpgn.gsb
-${PLIST.grids}share/proj/auckht1946-nzvd2016.gtx
-${PLIST.grids}share/proj/azhpgn.gsb
-${PLIST.grids}share/proj/bd72lb72_etrs89lb08.gsb
-${PLIST.grids}share/proj/blufht1955-nzvd2016.gtx
-${PLIST.grids}share/proj/c1hpgn.gsb
-${PLIST.grids}share/proj/c2hpgn.gsb
-${PLIST.grids}share/proj/cnhpgn.gsb
-${PLIST.grids}share/proj/cohpgn.gsb
-${PLIST.grids}share/proj/conus
-${PLIST.grids}share/proj/cq77na83.gsb
-${PLIST.grids}share/proj/cshpgn.gsb
-${PLIST.grids}share/proj/dnn.gtx
-${PLIST.grids}share/proj/dublht1960-nzvd2016.gtx
-${PLIST.grids}share/proj/duneht1958-nzvd2016.gtx
-${PLIST.grids}share/proj/dvr90.gtx
-${PLIST.grids}share/proj/egm08_25.gtx
-${PLIST.grids}share/proj/egm96_15.gtx
-${PLIST.grids}share/proj/emhpgn.gsb
-${PLIST.grids}share/proj/eshpgn.gsb
-${PLIST.grids}share/proj/ethpgn.gsb
-${PLIST.grids}share/proj/flhpgn.gsb
-${PLIST.grids}share/proj/fvr09.gtx
-${PLIST.grids}share/proj/g1999a01.gtx
-${PLIST.grids}share/proj/g1999a02.gtx
-${PLIST.grids}share/proj/g1999a03.gtx
-${PLIST.grids}share/proj/g1999a04.gtx
-${PLIST.grids}share/proj/g1999h01.gtx
-${PLIST.grids}share/proj/g1999p01.gtx
-${PLIST.grids}share/proj/g1999u01.gtx
-${PLIST.grids}share/proj/g1999u02.gtx
-${PLIST.grids}share/proj/g1999u03.gtx
-${PLIST.grids}share/proj/g1999u04.gtx
-${PLIST.grids}share/proj/g1999u05.gtx
-${PLIST.grids}share/proj/g1999u06.gtx
-${PLIST.grids}share/proj/g1999u07.gtx
-${PLIST.grids}share/proj/g1999u08.gtx
-${PLIST.grids}share/proj/g2003a01.gtx
-${PLIST.grids}share/proj/g2003a02.gtx
-${PLIST.grids}share/proj/g2003a03.gtx
-${PLIST.grids}share/proj/g2003a04.gtx
-${PLIST.grids}share/proj/g2003h01.gtx
-${PLIST.grids}share/proj/g2003p01.gtx
-${PLIST.grids}share/proj/g2009g01.gtx
-${PLIST.grids}share/proj/g2009h01.gtx
-${PLIST.grids}share/proj/g2009p01.gtx
-${PLIST.grids}share/proj/g2009s01.gtx
-${PLIST.grids}share/proj/g2012ba0.gtx
-${PLIST.grids}share/proj/g2012bg0.gtx
-${PLIST.grids}share/proj/g2012bh0.gtx
-${PLIST.grids}share/proj/g2012bp0.gtx
-${PLIST.grids}share/proj/g2012bs0.gtx
-${PLIST.grids}share/proj/g2012bu0.gtx
-${PLIST.grids}share/proj/g2018p0.gtx
-${PLIST.grids}share/proj/g2018u0.gtx
-${PLIST.grids}share/proj/gahpgn.gsb
-${PLIST.grids}share/proj/geoid03_conus.gtx
-${PLIST.grids}share/proj/geoid06_ak.gtx
-${PLIST.grids}share/proj/geoid09_ak.gtx
-${PLIST.grids}share/proj/geoid09_conus.gtx
-${PLIST.grids}share/proj/gg10_sbv2.gtx
-${PLIST.grids}share/proj/gg10_smv2.gtx
-${PLIST.grids}share/proj/ggg00_lsv2.gtx
-${PLIST.grids}share/proj/ggg00_mgv2.gtx
-${PLIST.grids}share/proj/ggg00_sbv2.gtx
-${PLIST.grids}share/proj/ggg00_smv2.gtx
-${PLIST.grids}share/proj/ggg00v2.gtx
-${PLIST.grids}share/proj/ggguy15.gtx
-${PLIST.grids}share/proj/ggker08v2.gtx
-${PLIST.grids}share/proj/ggm00v2.gtx
-${PLIST.grids}share/proj/ggm04v1.gtx
-${PLIST.grids}share/proj/ggpf02-Bora.gtx
-${PLIST.grids}share/proj/ggpf02-Huahine.gtx
-${PLIST.grids}share/proj/ggpf02-Maiao.gtx
-${PLIST.grids}share/proj/ggpf02-Maupiti.gtx
-${PLIST.grids}share/proj/ggpf02-Raiatea.gtx
-${PLIST.grids}share/proj/ggpf02-Tahaa.gtx
-${PLIST.grids}share/proj/ggpf02-Tupai.gtx
-${PLIST.grids}share/proj/ggpf05-HivaOa.gtx
-${PLIST.grids}share/proj/ggpf05-Nuku.gtx
-${PLIST.grids}share/proj/ggpf08-Fakarava.gtx
-${PLIST.grids}share/proj/ggpf08-Gambier.gtx
-${PLIST.grids}share/proj/ggpf08-Hao.gtx
-${PLIST.grids}share/proj/ggpf08-Mataiva.gtx
-${PLIST.grids}share/proj/ggpf08-Raivavae.gtx
-${PLIST.grids}share/proj/ggpf08-Reao.gtx
-${PLIST.grids}share/proj/ggpf08-Rurutu.gtx
-${PLIST.grids}share/proj/ggpf08-Tikehau.gtx
-${PLIST.grids}share/proj/ggpf08-Tubuai.gtx
-${PLIST.grids}share/proj/ggpf10-Moorea.gtx
-${PLIST.grids}share/proj/ggpf10-Tahiti.gtx
-${PLIST.grids}share/proj/ggspm06v1.gtx
-${PLIST.grids}share/proj/gisbht1926-nzvd2016.gtx
-${PLIST.grids}share/proj/guhpgn.gsb
-${PLIST.grids}share/proj/gvr2000.gtx
-${PLIST.grids}share/proj/gvr2016.gtx
-${PLIST.grids}share/proj/hawaii
-${PLIST.grids}share/proj/hihpgn.gsb
-${PLIST.grids}share/proj/iahpgn.gsb
-${PLIST.grids}share/proj/ilhpgn.gsb
-${PLIST.grids}share/proj/inhpgn.gsb
-${PLIST.grids}share/proj/kshpgn.gsb
-${PLIST.grids}share/proj/kyhpgn.gsb
-${PLIST.grids}share/proj/lahpgn.gsb
-${PLIST.grids}share/proj/lyttht1937-nzvd2016.gtx
-${PLIST.grids}share/proj/mdhpgn.gsb
-${PLIST.grids}share/proj/mehpgn.gsb
-${PLIST.grids}share/proj/mihpgn.gsb
-${PLIST.grids}share/proj/mnhpgn.gsb
-${PLIST.grids}share/proj/mohpgn.gsb
-${PLIST.grids}share/proj/motuht1953-nzvd2016.gtx
-${PLIST.grids}share/proj/mshpgn.gsb
-${PLIST.grids}share/proj/na27na83.gsb
+share/proj/deformation_model.schema.json
 share/proj/nad.lst
 share/proj/nad27
 share/proj/nad83
-${PLIST.grids}share/proj/napiht1962-nzvd2016.gtx
-${PLIST.grids}share/proj/nbhpgn.gsb
-${PLIST.grids}share/proj/nchpgn.gsb
-${PLIST.grids}share/proj/ndhpgn.gsb
-${PLIST.grids}share/proj/nehpgn.gsb
-${PLIST.grids}share/proj/nelsht1955-nzvd2016.gtx
-${PLIST.grids}share/proj/njhpgn.gsb
-${PLIST.grids}share/proj/nkgrf03vel_realigned_z.gtx
-${PLIST.grids}share/proj/nmhpgn.gsb
-${PLIST.grids}share/proj/ntf_r93.gsb
-${PLIST.grids}share/proj/ntv1_can.dat
-${PLIST.grids}share/proj/ntv2_0.gsb
-share/proj/null
-${PLIST.grids}share/proj/nvhpgn.gsb
-${PLIST.grids}share/proj/nyhpgn.gsb
-${PLIST.grids}share/proj/nzgd2kgrid0005.gsb
-${PLIST.grids}share/proj/nzgeoid2009.gtx
-${PLIST.grids}share/proj/nzgeoid2016.gtx
-${PLIST.grids}share/proj/ohhpgn.gsb
-${PLIST.grids}share/proj/okhpgn.gsb
-${PLIST.grids}share/proj/ontpht1964-nzvd2016.gtx
 share/proj/other.extra
-${PLIST.grids}share/proj/pahpgn.gsb
 share/proj/proj.db
+share/proj/proj.ini



Home | Main Index | Thread Index | Old Index