pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/gdal-lib



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu May 23 13:42:26 UTC 2024

Modified Files:
        pkgsrc/geography/gdal-lib: DESCR Makefile Makefile.common PLIST
            distinfo
Removed Files:
        pkgsrc/geography/gdal-lib/patches:
            patch-frmts_mrf_LERCV1_Lerc1Image.cpp
            patch-gcore_gdaljp2metadatagenerator.cpp
            patch-port_cpl__xml__validate.cpp

Log Message:
geography/gdal: Update to 3.9.0

Upstream NEWS.md, heavily trimmed to remove bugfixes and minor
improvements:

See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.9/MIGRATION_GUIDE.TXT)

# GDAL/OGR 3.9.0 Releases Notes

GDAL/OGR 3.9.0 is a feature release.
Those notes include changes since GDAL 3.8.0, but not already included in a
GDAL 3.8.x bugfix release.

## In a nutshell...

* [RFC 96](https://gdal.org/development/rfc/rfc96_deferred_plugin_loading.html):
  Deferred C++ plugin loading
* [RFC 97](https://gdal.org/development/rfc/rfc97_feature_and_fielddefn_sealing.html):
  OGRFeatureDefn, OGRFieldDefn and OGRGeomFieldDefn "sealing"
* [RFC 98](https://gdal.org/development/rfc/rfc98_build_requirements_gdal_3_9.html):
  Build requirements for GDAL 3.9
* [RFC 99](https://gdal.org/development/rfc/rfc99_geometry_coordinate_precision.html):
  Geometry coordinate precision
* Add [S104](https://gdal.org/drivers/raster/s104.html) (Water Level Information
  for Surface Navigation Product) and
  [S111](https://gdal.org/drivers/raster/s111.html) (Surface Currents Product)
  raster read-only drivers (required libhdf5)
* Add raster [GTI](https://gdal.org/drivers/raster/gti.html) (GDAL Raster Tile
  Index) driver to support catalogs with huge number of sources.
* Add vector [MiraMonVector](https://gdal.org/drivers/vector/miramon.html)
  read/creation driver (#9688)
* Deprecated ARG driver has been removed (#7920)
* Code linting

# GDAL/OGR 3.8.0 Releases Notes

GDAL/OGR 3.8.0 is a feature release.
Those notes include changes since GDAL 3.8.0, but not already included in a
GDAL 3.7.x bugfix release.

## In a nutshell...

* Add [JSONFG](https://gdal.org/drivers/vector/jsonfg.html) read/write vector
  driver for OGC Features and Geometries JSON.
* Add [PMTiles](https://gdal.org/drivers/vector/pmtiles.html) read/write vector
  driver for PMTiles v3 datasets containing MVT PBF tiles
* Add [S102](https://gdal.org/drivers/raster/s102.html) raster read-only driver
  for S-102 bathymetric products (depends on libhdf5)
* Add [gdal_footprint](https://gdal.org/programs/gdal_footprint.html) utility:
  compute the footprint of a raster file, taking into account nodata/mask band,
  and generating polygons/multipolygons corresponding to areas where pixels are
  valid (#6264)
* Python bindings: various enhancements to reduce the number of "gotchas"
  related to inter-object ownership relationships, and a few syntaxic sugar
  enhancements
* Arrow interface: improve spatial and attribute filtering on read side;
  add write side with OGRLayer::WriteArrowBatch()
* GeoPackage: much faster spatial index creation (~ 3-4 times faster)
* ARG driver deprecated: will be removed in 3.9.0

# GDAL/OGR 3.7.0 Releases Notes

GDAL/OGR 3.7.0 is a feature release.
Those notes include changes since GDAL 3.6.0, but not already included in a
GDAL 3.6.x bugfix release.

## In a nutshell...

* [RFC 87](https://gdal.org/development/rfc/rfc87_signed_int8.html): Add
  GDT_Int8 support
* [RFC 88](https://gdal.org/development/rfc/rfc88_googletest.html): switch
  to GoogleTest framework for C++ tests (#3525)
* [RFC 89](https://gdal.org/development/rfc/rfc89_sql_logging_callback.html):
  SQL query logging callback (#6967)
* [RFC 90](https://gdal.org/development/rfc/rfc90_read_compressed_data.html):
  Direct access to compressed raster data
* [RFC 91](https://gdal.org/development/rfc/rfc91_dataset_close.html):
  GDALDataset::Close() method
* [RFC 93](https://gdal.org/development/rfc/rfc93_update_feature.html):
  OGRLayer::UpdateFeature() method
* [RFC 94](https://gdal.org/development/rfc/rfc94_field_precision_width_metadata.html):
  Numeric fields width/precision metadata
* ogrinfo: make it accessible through a new GDALVectorInfo() C API call, and
  a -json switch
* Add read-only raster driver NOAA_B to read NOAA GEOCON/NADCON5 .b grids
* Add read-only raster driver NSIDCbin for Sea Ice Concentrations (#7263)
* Add read-only vector GTFS (General Transit Feed Specification) driver
* TileDB: add read/write vector side
* Add support for [SOZip](https://sozip.org) (Seek Optimized ZIP) with enhanced
  /vsizip/ virtual file system and a new sozip utility
* OpenFileGDB: add read-only support for raster datasets (.gdb v10)
* PNG: 1.7-2.0x speed-up in whole image decompression with libdeflate on
  Intel/AMD CPUs. Benefits GPKG, MRF drivers
* [RFC 69](https://gdal.org/development/rfc/rfc69_cplusplus_formatting.html):
  C++ code reformatting
* Code linting and security fixes
* Remove any traces of Rasdaman driver, now moved to OSGeo/gdal-extra-drivers
  repository (#4808)

# GDAL/OGR 3.6.0 Release Notes

Those notes include changes since GDAL 3.5.0, but not already included in a GDAL 3.5.x bugfix release.

## In a nutshell...

* CMake is the only build system available in-tree. autoconf and nmake build systems have been removed
* OpenFileGDB: write and update support (v10.x format only), without requiring any external dependency, with same (and actually larger) functional scope as write side of the FileGDB driver
* [RFC 86](https://gdal.org/development/rfc/rfc86_column_oriented_api.html): Column-oriented read API for vector layers.
  Implemented in core, Arrow, Parquet, GPKG and FlatGeoBuf drivers
* Add read/write raster [JPEGXL driver](https://gdal.org/drivers/raster/jpegxl.html) for standalone JPEG-XL files. Requires libjxl
* Add KTX2 and BASISU read/write raster drivers for texture formats. Require (forked) basisu library
* Vector layer API: table relationship discovery & creation, Upsert() operation
* GeoTIFF: add multi-threaded read capabilities (reqiures NUM_THREADS open option or GDAL_NUM_THREADS configuration option to be set)
* Multiple performance improvements in GPKG driver
* ogr_layer_algebra.py: promoted to official script (#1581)
* Code linting and security fixes
* Bump of shared lib major version


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/gdal-lib/DESCR
cvs rdiff -u -r1.165 -r1.166 pkgsrc/geography/gdal-lib/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/geography/gdal-lib/Makefile.common
cvs rdiff -u -r1.22 -r1.23 pkgsrc/geography/gdal-lib/PLIST
cvs rdiff -u -r1.63 -r1.64 pkgsrc/geography/gdal-lib/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/geography/gdal-lib/patches/patch-frmts_mrf_LERCV1_Lerc1Image.cpp \
    pkgsrc/geography/gdal-lib/patches/patch-gcore_gdaljp2metadatagenerator.cpp \
    pkgsrc/geography/gdal-lib/patches/patch-port_cpl__xml__validate.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/gdal-lib/DESCR
diff -u pkgsrc/geography/gdal-lib/DESCR:1.3 pkgsrc/geography/gdal-lib/DESCR:1.4
--- pkgsrc/geography/gdal-lib/DESCR:1.3 Fri May 13 13:28:52 2022
+++ pkgsrc/geography/gdal-lib/DESCR     Thu May 23 13:42:25 2024
@@ -5,3 +5,6 @@ raster abstract data model and single ve
 the calling application for all supported formats.  It also comes with
 a variety of useful command line utilities for data translation and
 processing.
+
+This package intends to build support for all formats subject to using
+only open source code and avoiding unreasonably large dependencies.

Index: pkgsrc/geography/gdal-lib/Makefile
diff -u pkgsrc/geography/gdal-lib/Makefile:1.165 pkgsrc/geography/gdal-lib/Makefile:1.166
--- pkgsrc/geography/gdal-lib/Makefile:1.165    Tue May 21 18:21:33 2024
+++ pkgsrc/geography/gdal-lib/Makefile  Thu May 23 13:42:25 2024
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.165 2024/05/21 18:21:33 gdt Exp $
+# $NetBSD: Makefile,v 1.166 2024/05/23 13:42:25 gdt Exp $
 
-PKGREVISION= 11
 .include "../../geography/gdal-lib/Makefile.common"
 PKGNAME=       ${DISTNAME:S/gdal/gdal-lib/}
 #PKGREVISION=  0
@@ -8,7 +7,7 @@ PKGNAME=        ${DISTNAME:S/gdal/gdal-lib/}
 COMMENT=       Translator library for raster geospatial data formats
 
 USE_LANGUAGES+=                c c++
-USE_C_FEATURES+=       c99
+USE_CC_FEATURES+=      c99
 USE_CXX_FEATURES+=     c++11
 
 USE_TOOLS+=            gmake
@@ -22,8 +21,12 @@ USE_PKGLOCALEDIR=    yes
 # libtool problem.
 # Therefore this package needs revbumping on every geos update.
 
+# To find out what can be set in the cmake build.
+# \todo Hoist to cmake/build.mk.
+cmake-options:
+       (cd ${WRKSRC}/cmake-pkgsrc-build && cmake -L ..) > OPTIONS
+
 .include "../../devel/cmake/build.mk"
-CMAKE_ARGS+=           -DBUILD_PYTHON_BINDINGS=OFF
 
 # \todo Justify or change to bl3 on json-c
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_JSONC_INTERNAL=ON
@@ -45,12 +48,23 @@ CMAKE_CONFIGURE_ARGS+=      -DGDAL_USE_PCRE2=
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_POPPLER=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_ZSTD=OFF
 
+# Disable python bindings because it is in ../py-gdal.  The reasons
+# are to allow multiple python versions, and to remove the dependency
+# on numpy and hence the need for blas and fortran from the base gdal
+# package.
+CMAKE_ARGS+=           -DBUILD_PYTHON_BINDINGS=OFF
+
+# Disable things that we don't want to build, more as documentation
+# than them needing to be forced off.
+CMAKE_ARGS+=           -DBUILD_CSHARP_BINDINGS=OFF
+CMAKE_ARGS+=           -DBUILD_JAVA_BINDINGS=OFF
+
 # \todo One would think these are unnnecessary.  Check if these
 # can/should be dropped.  If not, explain why we have some and not
 # all.  Commented lines are incompletely translated from autoconf,
 # because there is no obvious analog.
 CMAKE_CONFIGURE_ARGS+= -DGEOS_DIR=${BUILDLINK_PREFIX.geos}
-CMAKE_CONFIGURE_ARGS+= -DTIFFDIR=${BUILDLINK_PREFIX.tiff}
+CMAKE_CONFIGURE_ARGS+= -DTiff_DIR=${BUILDLINK_PREFIX.tiff}
 #CMAKE_CONFIGURE_ARGS+=        -Dlibz=${BUILDLINK_PREFIX.zlib}
 CMAKE_CONFIGURE_ARGS+= -DNetCDF_DIR=${BUILDLINK_PREFIX.netcdf}
 #CMAKE_CONFIGURE_ARGS+=        -Dwebp=${BUILDLINK_PREFIX.libwebp}

Index: pkgsrc/geography/gdal-lib/Makefile.common
diff -u pkgsrc/geography/gdal-lib/Makefile.common:1.26 pkgsrc/geography/gdal-lib/Makefile.common:1.27
--- pkgsrc/geography/gdal-lib/Makefile.common:1.26      Tue May 21 18:21:33 2024
+++ pkgsrc/geography/gdal-lib/Makefile.common   Thu May 23 13:42:25 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.26 2024/05/21 18:21:33 gdt Exp $
+# $NetBSD: Makefile.common,v 1.27 2024/05/23 13:42:25 gdt Exp $
 #
 # used by geography/gdal-lib/Makefile
 # used by geography/py-gdal/Makefile
 
-VERSION_BASE=  3.5.3
+VERSION_BASE=  3.9.0
 # Accomodate testing unreleased versions.
 #VERSION_RC=   rc1
 VERSION=       ${VERSION_BASE}${VERSION_RC}

Index: pkgsrc/geography/gdal-lib/PLIST
diff -u pkgsrc/geography/gdal-lib/PLIST:1.22 pkgsrc/geography/gdal-lib/PLIST:1.23
--- pkgsrc/geography/gdal-lib/PLIST:1.22        Tue May 21 13:36:10 2024
+++ pkgsrc/geography/gdal-lib/PLIST     Thu May 23 13:42:25 2024
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.22 2024/05/21 13:36:10 gdt Exp $
+@comment $NetBSD: PLIST,v 1.23 2024/05/23 13:42:25 gdt Exp $
 bin/gdal-config
 bin/gdal_contour
 bin/gdal_create
+bin/gdal_footprint
 bin/gdal_grid
 bin/gdal_rasterize
 bin/gdal_translate
@@ -26,6 +27,7 @@ bin/ogr2ogr
 bin/ogrinfo
 bin/ogrlineref
 bin/ogrtindex
+bin/sozip
 include/cpl_atomic_ops.h
 include/cpl_auto_close.h
 include/cpl_compressor.h
@@ -39,9 +41,6 @@ include/cpl_http.h
 include/cpl_json.h
 include/cpl_list.h
 include/cpl_minixml.h
-include/cpl_minizip_ioapi.h
-include/cpl_minizip_unzip.h
-include/cpl_minizip_zip.h
 include/cpl_multiproc.h
 include/cpl_port.h
 include/cpl_progress.h
@@ -75,6 +74,7 @@ include/gdalgrid_priv.h
 include/gdaljp2abstractdataset.h
 include/gdaljp2metadata.h
 include/gdalpansharpen.h
+include/gdalsubdatasetinfo.h
 include/gdalwarper.h
 include/gnm.h
 include/gnm_api.h
@@ -85,8 +85,10 @@ include/ogr_core.h
 include/ogr_feature.h
 include/ogr_featurestyle.h
 include/ogr_geocoding.h
+include/ogr_geomcoordinateprecision.h
 include/ogr_geometry.h
 include/ogr_p.h
+include/ogr_recordbatch.h
 include/ogr_spatialref.h
 include/ogr_srs_api.h
 include/ogr_swq.h
@@ -99,8 +101,8 @@ lib/cmake/gdal/GDALConfig.cmake
 lib/cmake/gdal/GDALConfigVersion.cmake
 lib/gdalplugins/drivers.ini
 lib/libgdal.so
-lib/libgdal.so.31
-lib/libgdal.so.31.0.3
+lib/libgdal.so.35
+lib/libgdal.so.35.${PKGVERSION}
 lib/pkgconfig/gdal.pc
 man/man1/gdal-config.1
 man/man1/gdal2tiles.1
@@ -109,6 +111,7 @@ man/man1/gdal_contour.1
 man/man1/gdal_create.1
 man/man1/gdal_edit.1
 man/man1/gdal_fillnodata.1
+man/man1/gdal_footprint.1
 man/man1/gdal_grid.1
 man/man1/gdal_merge.1
 man/man1/gdal_pansharpen.1
@@ -137,12 +140,14 @@ man/man1/gnmanalyse.1
 man/man1/gnmmanage.1
 man/man1/nearblack.1
 man/man1/ogr2ogr.1
+man/man1/ogr_layer_algebra.1
 man/man1/ogrinfo.1
 man/man1/ogrlineref.1
 man/man1/ogrmerge.1
 man/man1/ogrtindex.1
 man/man1/pct2rgb.1
 man/man1/rgb2pct.1
+man/man1/sozip.1
 share/bash-completion/completions/gdal-config
 share/bash-completion/completions/gdal2tiles.py
 share/bash-completion/completions/gdal2xyz.py
@@ -185,7 +190,7 @@ share/gdal/GDALLogoBW.svg
 share/gdal/GDALLogoColor.svg
 share/gdal/GDALLogoGS.svg
 share/gdal/LICENSE.TXT
-share/gdal/bag_template.xml
+share/gdal/MM_m_idofic.csv
 share/gdal/cubewerx_extra.wkt
 share/gdal/default.rsc
 share/gdal/ecw_cs.wkt
@@ -193,9 +198,13 @@ share/gdal/eedaconf.json
 share/gdal/epsg.wkt
 share/gdal/esri_StatePlane_extra.wkt
 share/gdal/gdalicon.png
+share/gdal/gdalinfo_output.schema.json
 share/gdal/gdalmdiminfo_output.schema.json
+share/gdal/gdaltileindex.xsd
 share/gdal/gdalvrt.xsd
+share/gdal/gfs.xsd
 share/gdal/gml_registry.xml
+share/gdal/gml_registry.xsd
 share/gdal/gmlasconf.xml
 share/gdal/gmlasconf.xsd
 share/gdal/grib2_center.csv
@@ -214,6 +223,7 @@ share/gdal/grib2_table_4_2_0_190.csv
 share/gdal/grib2_table_4_2_0_191.csv
 share/gdal/grib2_table_4_2_0_2.csv
 share/gdal/grib2_table_4_2_0_20.csv
+share/gdal/grib2_table_4_2_0_21.csv
 share/gdal/grib2_table_4_2_0_3.csv
 share/gdal/grib2_table_4_2_0_4.csv
 share/gdal/grib2_table_4_2_0_5.csv
@@ -235,6 +245,7 @@ share/gdal/grib2_table_4_2_2_0.csv
 share/gdal/grib2_table_4_2_2_3.csv
 share/gdal/grib2_table_4_2_2_4.csv
 share/gdal/grib2_table_4_2_2_5.csv
+share/gdal/grib2_table_4_2_2_6.csv
 share/gdal/grib2_table_4_2_3_0.csv
 share/gdal/grib2_table_4_2_3_1.csv
 share/gdal/grib2_table_4_2_3_2.csv
@@ -298,6 +309,7 @@ share/gdal/jpfgdgml_WStrL.gfs
 share/gdal/netcdf_config.xsd
 share/gdal/nitf_spec.xml
 share/gdal/nitf_spec.xsd
+share/gdal/ogrinfo_output.schema.json
 share/gdal/ogrvrt.xsd
 share/gdal/osmconf.ini
 share/gdal/ozi_datum.csv
@@ -318,7 +330,6 @@ share/gdal/s57objectclasses.csv
 share/gdal/seed_2d.dgn
 share/gdal/seed_3d.dgn
 share/gdal/stateplane.csv
-share/gdal/template_tiles.mapml
 share/gdal/tms_LINZAntarticaMapTileGrid.json
 share/gdal/tms_MapML_APSTILE.json
 share/gdal/tms_MapML_CBMTILE.json

Index: pkgsrc/geography/gdal-lib/distinfo
diff -u pkgsrc/geography/gdal-lib/distinfo:1.63 pkgsrc/geography/gdal-lib/distinfo:1.64
--- pkgsrc/geography/gdal-lib/distinfo:1.63     Tue May 21 13:36:10 2024
+++ pkgsrc/geography/gdal-lib/distinfo  Thu May 23 13:42:25 2024
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.63 2024/05/21 13:36:10 gdt Exp $
+$NetBSD: distinfo,v 1.64 2024/05/23 13:42:25 gdt Exp $
 
-BLAKE2s (gdal-3.5.3.tar.xz) = a9932da1b8d17bc4b37ebe8e74b23eccc6a0ce4810f976587e9617735dffcd4d
-SHA512 (gdal-3.5.3.tar.xz) = b7bac9dd568e9db49d1fa5be8cd48df37f37196b0cacce44f738a981f0c43a77b5750312cd0c3385fdd881a6b525a5ceac56bcd08284d76071bd508d01781f49
-Size (gdal-3.5.3.tar.xz) = 9504740 bytes
+BLAKE2s (gdal-3.9.0.tar.xz) = a69d7dc8e3ffc7336aa73414c9786f211fa4366d5428c14a50df51025bb100ae
+SHA512 (gdal-3.9.0.tar.xz) = 05e50a3898b4c71351125c59b0058eb8213858ef14f213b251dee44638522e7e87ed660d028677803a74728543531b0f438e53a543e6529bb8cdc391e9a09b02
+Size (gdal-3.9.0.tar.xz) = 9081116 bytes
 SHA1 (patch-frmts_grib_degrib_degrib_myutil.c) = 0e046afa236d7e0d6186fe392cb2da05fa5b42c5
-SHA1 (patch-frmts_mrf_LERCV1_Lerc1Image.cpp) = 87bf6e873a0565e8d79700039700a4289cf7c8fa
-SHA1 (patch-gcore_gdaljp2metadatagenerator.cpp) = a6552d7d98059354c1bf2fca87319c561ed5b570
-SHA1 (patch-port_cpl__xml__validate.cpp) = 5e0c1838cb3daa100fe5bdc89b8f193f766a0c93



Home | Main Index | Thread Index | Old Index