Fri May 13 13:28:52 2022 UTC ()
geography/gdal*: Update to 3.5.0

## Summary

* [RFC 84](https://gdal.org/development/rfc/rfc84_cmake.html):
  Addition of a CMake build system, which deprecates the existing
  autoconf/automake and nmake build systems, that will be removed
  in GDAL 3.6.0. Users are encouraged to adopt the new CMake build system.
  Documentation of the CMake build system is at
  https://gdal.org/build_hints.html.
* Add GDT_Int64 and GDT_UInt64 data types and handle them in MEM, GTiff, netCDF and Zarr drivers
* Add read/write OGR Parquet (Apache Parquet) and 'Arrow' (Apache Arrow IPC File/Feather or stream) drivers. Only in CMake builds
* Add OGR HANA database driver. Only in autoconf & cmake builds
* Removed drivers: RDA, JPEG2000 (Jasper-based), CharLS, MG4 LIDAR, FujiBAS, IDA, INGR, ARCGEN, ArcObjects, CouchDB, Cloudant, DB2, FME, Geomedia, MDB (Java Jackess based), GTM, Ingres, MongoDB (old one. MongoDBv3 is the one to use now), REC, Walk, GMT raster, DODS raster and vector
* GDAL and OGR GRASS drivers moved to https://github.com/OSGeo/gdal-grass repository
* Tiger: remove deprecated write side of the driver (#4216)
* Remove deprecated SWIG Perl bindings
* Code linting and security fixes
* Bump of shared lib major version

## Removed files

* Remove deprecated testepsg utility (#3993)


(gdt)
diff -r1.2 -r1.3 pkgsrc/geography/gdal-lib/DESCR
diff -r1.18 -r1.19 pkgsrc/geography/gdal-lib/Makefile.common
diff -r1.20 -r1.21 pkgsrc/geography/gdal-lib/PLIST
diff -r1.75 -r1.76 pkgsrc/geography/gdal-lib/buildlink3.mk
diff -r1.54 -r1.55 pkgsrc/geography/gdal-lib/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/geography/gdal-lib/DESCR (expand / switch to unified diff)

--- pkgsrc/geography/gdal-lib/DESCR 2007/02/23 22:22:38 1.2
+++ pkgsrc/geography/gdal-lib/DESCR 2022/05/13 13:28:52 1.3
@@ -1,19 +1,7 @@ @@ -1,19 +1,7 @@
1GDAL is a translator library for raster geospatial data formats that 1GDAL is a translator library for raster and vector geospatial data
2is released under an X/MIT style Open Source license. As a library, it 2formats that is released under an MIT style Open Source License by the
3presents a single abstract data model to the calling application for 3Open Source Geospatial Foundation. As a library, it presents a single
4all supported formats. The related OGR library (which lives within 4raster abstract data model and single vector abstract data model to
5the GDAL source tree) provides a similar capability for simple 5the calling application for all supported formats. It also comes with
6features vector data. It includes roughly 60 format drivers. Current 6a variety of useful command line utilities for data translation and
7translators include: 7processing.
8 * GeoTIFF (read/write) 
9 * Erdas Imagine (read/write) 
10 * ESRI .BIL (read) 
11 * .aux labelled raw (read/write) 
12 * DTED (read) 
13 * SDTS DEM (read) 
14 * CEOS (read) 
15 * JPEG (read/write) 
16 * PNG (read/write) 
17 * Geosoft GXF (read) 
18 * Arc/Info Binary Grid (read) 
19A full list is available at http://www.gdal.org/formats_list.html. 

cvs diff -r1.18 -r1.19 pkgsrc/geography/gdal-lib/Makefile.common (expand / switch to unified diff)

--- pkgsrc/geography/gdal-lib/Makefile.common 2022/05/08 12:47:20 1.18
+++ pkgsrc/geography/gdal-lib/Makefile.common 2022/05/13 13:28:52 1.19
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile.common,v 1.18 2022/05/08 12:47:20 gdt Exp $ 1# $NetBSD: Makefile.common,v 1.19 2022/05/13 13:28:52 gdt Exp $
2# 2#
3# used by geography/gdal-lib/Makefile 3# used by geography/gdal-lib/Makefile
4# used by geography/py-gdal/Makefile 4# used by geography/py-gdal/Makefile
5 5
 6VERSION_BASE= 3.5.0
6# Accomodate testing unreleased versions. 7# Accomodate testing unreleased versions.
7VERSION_BASE= 3.4.3 
8#VERSION_RC= rc1 8#VERSION_RC= rc1
9VERSION= ${VERSION_BASE}${VERSION_RC} 9VERSION= ${VERSION_BASE}${VERSION_RC}
10DISTNAME= gdal-${VERSION} 10DISTNAME= gdal-${VERSION}
11EXTRACT_SUFX= .tar.xz 11EXTRACT_SUFX= .tar.xz
12CATEGORIES= geography 12CATEGORIES= geography
13MASTER_SITES= https://download.osgeo.org/gdal/${VERSION_BASE}${VERSION_RC}/ 13MASTER_SITES= https://download.osgeo.org/gdal/${VERSION_BASE}/
14 14
15MAINTAINER= gdt@NetBSD.org 15MAINTAINER= gdt@NetBSD.org
16#MAINTAINER+= brook@nmsu.edu 16#MAINTAINER+= brook@nmsu.edu
17HOMEPAGE= http://www.gdal.org/ 17HOMEPAGE= http://gdal.org/
18LICENSE= mit 18LICENSE= mit
19 19
20WRKSRC= ${WRKDIR}/gdal-${VERSION_BASE} 20WRKSRC= ${WRKDIR}/gdal-${VERSION_BASE}
21 21
22PATCHDIR= ${.CURDIR}/../../geography/gdal-lib/patches 22PATCHDIR= ${.CURDIR}/../../geography/gdal-lib/patches
23DISTINFO_FILE= ${.CURDIR}/../../geography/gdal-lib/distinfo 23DISTINFO_FILE= ${.CURDIR}/../../geography/gdal-lib/distinfo
24 24
25CHECK_PORTABILITY_SKIP+= mkbindist.sh 25CHECK_PORTABILITY_SKIP+= mkbindist.sh
26 26
27USE_TOOLS+= gmake pkg-config 27USE_TOOLS+= gmake pkg-config
28USE_LANGUAGES= c99 c++ 28USE_LANGUAGES= c99 c++
29USE_LIBTOOL= yes 29USE_LIBTOOL= yes
30USE_PKGLOCALEDIR= yes 30USE_PKGLOCALEDIR= yes

cvs diff -r1.20 -r1.21 pkgsrc/geography/gdal-lib/PLIST (expand / switch to unified diff)

--- pkgsrc/geography/gdal-lib/PLIST 2022/01/18 16:25:20 1.20
+++ pkgsrc/geography/gdal-lib/PLIST 2022/05/13 13:28:52 1.21
@@ -1,15 +1,14 @@ @@ -1,15 +1,14 @@
1@comment $NetBSD: PLIST,v 1.20 2022/01/18 16:25:20 gdt Exp $ 1@comment $NetBSD: PLIST,v 1.21 2022/05/13 13:28:52 gdt Exp $
2@pkgdir lib/gdalplugins 
3bin/gdal-config 2bin/gdal-config
4bin/gdal_contour 3bin/gdal_contour
5bin/gdal_create 4bin/gdal_create
6bin/gdal_grid 5bin/gdal_grid
7bin/gdal_rasterize 6bin/gdal_rasterize
8bin/gdal_translate 7bin/gdal_translate
9bin/gdal_viewshed 8bin/gdal_viewshed
10bin/gdaladdo 9bin/gdaladdo
11bin/gdalbuildvrt 10bin/gdalbuildvrt
12bin/gdaldem 11bin/gdaldem
13bin/gdalenhance 12bin/gdalenhance
14bin/gdalinfo 13bin/gdalinfo
15bin/gdallocationinfo 14bin/gdallocationinfo
@@ -60,69 +59,134 @@ include/gdal.h @@ -60,69 +59,134 @@ include/gdal.h
60include/gdal_alg.h 59include/gdal_alg.h
61include/gdal_alg_priv.h 60include/gdal_alg_priv.h
62include/gdal_csv.h 61include/gdal_csv.h
63include/gdal_frmts.h 62include/gdal_frmts.h
64include/gdal_mdreader.h 63include/gdal_mdreader.h
65include/gdal_pam.h 64include/gdal_pam.h
66include/gdal_priv.h 65include/gdal_priv.h
67include/gdal_proxy.h 66include/gdal_proxy.h
68include/gdal_rat.h 67include/gdal_rat.h
69include/gdal_simplesurf.h 68include/gdal_simplesurf.h
70include/gdal_utils.h 69include/gdal_utils.h
71include/gdal_version.h 70include/gdal_version.h
72include/gdal_vrt.h 71include/gdal_vrt.h
 72include/gdalcachedpixelaccessor.h
73include/gdalgeorefpamdataset.h 73include/gdalgeorefpamdataset.h
74include/gdalgrid.h 74include/gdalgrid.h
75include/gdalgrid_priv.h 75include/gdalgrid_priv.h
76include/gdaljp2abstractdataset.h 76include/gdaljp2abstractdataset.h
77include/gdaljp2metadata.h 77include/gdaljp2metadata.h
78include/gdalpansharpen.h 78include/gdalpansharpen.h
79include/gdalwarper.h 79include/gdalwarper.h
80include/gnm.h 80include/gnm.h
81include/gnm_api.h 81include/gnm_api.h
82include/gnmgraph.h 82include/gnmgraph.h
83include/memdataset.h 83include/memdataset.h
84include/ogr_api.h 84include/ogr_api.h
85include/ogr_core.h 85include/ogr_core.h
86include/ogr_feature.h 86include/ogr_feature.h
87include/ogr_featurestyle.h 87include/ogr_featurestyle.h
88include/ogr_geocoding.h 88include/ogr_geocoding.h
89include/ogr_geometry.h 89include/ogr_geometry.h
90include/ogr_p.h 90include/ogr_p.h
91include/ogr_spatialref.h 91include/ogr_spatialref.h
92include/ogr_srs_api.h 92include/ogr_srs_api.h
93include/ogr_swq.h 93include/ogr_swq.h
94include/ogrsf_frmts.h 94include/ogrsf_frmts.h
95include/rawdataset.h 95include/rawdataset.h
96include/vrtdataset.h 96include/vrtdataset.h
 97lib/gdalplugins/drivers.ini
97lib/libgdal.la 98lib/libgdal.la
98lib/pkgconfig/gdal.pc 99lib/pkgconfig/gdal.pc
99share/gdal/GDALLogoBW.svg 100share/gdal/GDALLogoBW.svg
100share/gdal/GDALLogoColor.svg 101share/gdal/GDALLogoColor.svg
101share/gdal/GDALLogoGS.svg 102share/gdal/GDALLogoGS.svg
102share/gdal/LICENSE.TXT 103share/gdal/LICENSE.TXT
103share/gdal/bag_template.xml 104share/gdal/bag_template.xml
104share/gdal/cubewerx_extra.wkt 105share/gdal/cubewerx_extra.wkt
105share/gdal/default.rsc 106share/gdal/default.rsc
106share/gdal/ecw_cs.wkt 107share/gdal/ecw_cs.wkt
107share/gdal/eedaconf.json 108share/gdal/eedaconf.json
108share/gdal/epsg.wkt 109share/gdal/epsg.wkt
109share/gdal/esri_StatePlane_extra.wkt 110share/gdal/esri_StatePlane_extra.wkt
110share/gdal/gdalicon.png 111share/gdal/gdalicon.png
111share/gdal/gdalmdiminfo_output.schema.json 112share/gdal/gdalmdiminfo_output.schema.json
112share/gdal/gdalvrt.xsd 113share/gdal/gdalvrt.xsd
113share/gdal/gml_registry.xml 114share/gdal/gml_registry.xml
114share/gdal/gmlasconf.xml 115share/gdal/gmlasconf.xml
115share/gdal/gmlasconf.xsd 116share/gdal/gmlasconf.xsd
 117share/gdal/grib2_center.csv
 118share/gdal/grib2_process.csv
 119share/gdal/grib2_subcenter.csv
 120share/gdal/grib2_table_4_2_0_0.csv
 121share/gdal/grib2_table_4_2_0_1.csv
 122share/gdal/grib2_table_4_2_0_13.csv
 123share/gdal/grib2_table_4_2_0_14.csv
 124share/gdal/grib2_table_4_2_0_15.csv
 125share/gdal/grib2_table_4_2_0_16.csv
 126share/gdal/grib2_table_4_2_0_17.csv
 127share/gdal/grib2_table_4_2_0_18.csv
 128share/gdal/grib2_table_4_2_0_19.csv
 129share/gdal/grib2_table_4_2_0_190.csv
 130share/gdal/grib2_table_4_2_0_191.csv
 131share/gdal/grib2_table_4_2_0_2.csv
 132share/gdal/grib2_table_4_2_0_20.csv
 133share/gdal/grib2_table_4_2_0_3.csv
 134share/gdal/grib2_table_4_2_0_4.csv
 135share/gdal/grib2_table_4_2_0_5.csv
 136share/gdal/grib2_table_4_2_0_6.csv
 137share/gdal/grib2_table_4_2_0_7.csv
 138share/gdal/grib2_table_4_2_10_0.csv
 139share/gdal/grib2_table_4_2_10_1.csv
 140share/gdal/grib2_table_4_2_10_191.csv
 141share/gdal/grib2_table_4_2_10_2.csv
 142share/gdal/grib2_table_4_2_10_3.csv
 143share/gdal/grib2_table_4_2_10_4.csv
 144share/gdal/grib2_table_4_2_1_0.csv
 145share/gdal/grib2_table_4_2_1_1.csv
 146share/gdal/grib2_table_4_2_1_2.csv
 147share/gdal/grib2_table_4_2_20_0.csv
 148share/gdal/grib2_table_4_2_20_1.csv
 149share/gdal/grib2_table_4_2_20_2.csv
 150share/gdal/grib2_table_4_2_2_0.csv
 151share/gdal/grib2_table_4_2_2_3.csv
 152share/gdal/grib2_table_4_2_2_4.csv
 153share/gdal/grib2_table_4_2_2_5.csv
 154share/gdal/grib2_table_4_2_3_0.csv
 155share/gdal/grib2_table_4_2_3_1.csv
 156share/gdal/grib2_table_4_2_3_2.csv
 157share/gdal/grib2_table_4_2_3_3.csv
 158share/gdal/grib2_table_4_2_3_4.csv
 159share/gdal/grib2_table_4_2_3_5.csv
 160share/gdal/grib2_table_4_2_3_6.csv
 161share/gdal/grib2_table_4_2_4_0.csv
 162share/gdal/grib2_table_4_2_4_1.csv
 163share/gdal/grib2_table_4_2_4_10.csv
 164share/gdal/grib2_table_4_2_4_2.csv
 165share/gdal/grib2_table_4_2_4_3.csv
 166share/gdal/grib2_table_4_2_4_4.csv
 167share/gdal/grib2_table_4_2_4_5.csv
 168share/gdal/grib2_table_4_2_4_6.csv
 169share/gdal/grib2_table_4_2_4_7.csv
 170share/gdal/grib2_table_4_2_4_8.csv
 171share/gdal/grib2_table_4_2_4_9.csv
 172share/gdal/grib2_table_4_2_local_Canada.csv
 173share/gdal/grib2_table_4_2_local_HPC.csv
 174share/gdal/grib2_table_4_2_local_MRMS.csv
 175share/gdal/grib2_table_4_2_local_NCEP.csv
 176share/gdal/grib2_table_4_2_local_NDFD.csv
 177share/gdal/grib2_table_4_2_local_index.csv
 178share/gdal/grib2_table_4_5.csv
 179share/gdal/grib2_table_versions.csv
116share/gdal/gt_datum.csv 180share/gdal/gt_datum.csv
117share/gdal/gt_ellips.csv 181share/gdal/gt_ellips.csv
118share/gdal/header.dxf 182share/gdal/header.dxf
119share/gdal/inspire_cp_BasicPropertyUnit.gfs 183share/gdal/inspire_cp_BasicPropertyUnit.gfs
120share/gdal/inspire_cp_CadastralBoundary.gfs 184share/gdal/inspire_cp_CadastralBoundary.gfs
121share/gdal/inspire_cp_CadastralParcel.gfs 185share/gdal/inspire_cp_CadastralParcel.gfs
122share/gdal/inspire_cp_CadastralZoning.gfs 186share/gdal/inspire_cp_CadastralZoning.gfs
123share/gdal/jpfgdgml_AdmArea.gfs 187share/gdal/jpfgdgml_AdmArea.gfs
124share/gdal/jpfgdgml_AdmBdry.gfs 188share/gdal/jpfgdgml_AdmBdry.gfs
125share/gdal/jpfgdgml_AdmPt.gfs 189share/gdal/jpfgdgml_AdmPt.gfs
126share/gdal/jpfgdgml_BldA.gfs 190share/gdal/jpfgdgml_BldA.gfs
127share/gdal/jpfgdgml_BldL.gfs 191share/gdal/jpfgdgml_BldL.gfs
128share/gdal/jpfgdgml_Cntr.gfs 192share/gdal/jpfgdgml_Cntr.gfs

cvs diff -r1.75 -r1.76 pkgsrc/geography/gdal-lib/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/geography/gdal-lib/buildlink3.mk 2022/04/18 19:09:51 1.75
+++ pkgsrc/geography/gdal-lib/buildlink3.mk 2022/05/13 13:28:52 1.76
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: buildlink3.mk,v 1.75 2022/04/18 19:09:51 adam Exp $ 1# $NetBSD: buildlink3.mk,v 1.76 2022/05/13 13:28:52 gdt Exp $
2 2
3BUILDLINK_TREE+= gdal-lib 3BUILDLINK_TREE+= gdal-lib
4 4
5.if !defined(GDAL_LIB_BUILDLINK3_MK) 5.if !defined(GDAL_LIB_BUILDLINK3_MK)
6GDAL_LIB_BUILDLINK3_MK:= 6GDAL_LIB_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=3.0.0 8BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=3.0.0
9BUILDLINK_ABI_DEPENDS.gdal-lib+= gdal-lib>=3.4.2nb1 9BUILDLINK_ABI_DEPENDS.gdal-lib+= gdal-lib>=3.5.0
10BUILDLINK_PKGSRCDIR.gdal-lib?= ../../geography/gdal-lib 10BUILDLINK_PKGSRCDIR.gdal-lib?= ../../geography/gdal-lib
11 11
12pkgbase := gdal-lib 12pkgbase := gdal-lib
13.include "../../mk/pkg-build-options.mk" 13.include "../../mk/pkg-build-options.mk"
14 14
15.if ${PKG_BUILD_OPTIONS.gdal-lib:Mpgsql} 15.if ${PKG_BUILD_OPTIONS.gdal-lib:Mpgsql}
16.include "../../mk/pgsql.buildlink3.mk" 16.include "../../mk/pgsql.buildlink3.mk"
17.endif 17.endif
18 18
19.if ${PKG_BUILD_OPTIONS.gdal-lib:Mmysql} 19.if ${PKG_BUILD_OPTIONS.gdal-lib:Mmysql}
20.include "../../mk/mysql.buildlink3.mk" 20.include "../../mk/mysql.buildlink3.mk"
21.endif 21.endif
22 22

cvs diff -r1.54 -r1.55 pkgsrc/geography/gdal-lib/distinfo (expand / switch to unified diff)

--- pkgsrc/geography/gdal-lib/distinfo 2022/05/08 12:47:20 1.54
+++ pkgsrc/geography/gdal-lib/distinfo 2022/05/13 13:28:52 1.55
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.54 2022/05/08 12:47:20 gdt Exp $ 1$NetBSD: distinfo,v 1.55 2022/05/13 13:28:52 gdt Exp $
2 2
3BLAKE2s (gdal-3.4.3.tar.xz) = 20e121284aee5274416fd2501ae3ec588a543acc48e4cd7a5209e581bfd807cd 3BLAKE2s (gdal-3.5.0.tar.xz) = 0266f80bbf13d5ae9c28d66cc7b02774b616d9970ba8cd5eab18c57feaefcaff
4SHA512 (gdal-3.4.3.tar.xz) = 2b97e44b9bd84eb43b4c4894b7b6e748522b2f5e8b6cbecc8247fe5ea862795dd44ba2b52934a83688a949805cee4eef9f1aa66360fb831fea3eae956ab0bef3 4SHA512 (gdal-3.5.0.tar.xz) = 9029996e2d8b4d98bc88f761c1922d6d1c3ddaa70c2160a4dcd057ad6aa1bbb07855afc7879b66234f73d26322d377b4b1d2cfa265e163696ab62d524c448ee6
5Size (gdal-3.4.3.tar.xz) = 13275504 bytes 5Size (gdal-3.5.0.tar.xz) = 8828300 bytes
6SHA1 (patch-frmts_grib_degrib_degrib_myutil.c) = 0e046afa236d7e0d6186fe392cb2da05fa5b42c5 6SHA1 (patch-frmts_grib_degrib_degrib_myutil.c) = 0e046afa236d7e0d6186fe392cb2da05fa5b42c5