pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat May 10 11:38:35 UTC 2025

Modified Files:
        pkgsrc/geography/gdal-lib: Makefile Makefile.common PLIST distinfo
        pkgsrc/geography/py-gdal: Makefile PLIST

Log Message:
geography/gdal*: Update to 3.11.0

packaging changes:
  - switch to pcre2 from pcre, following (unsurprising) upstream recommendations

Upsetram NEWS:

Highlight:

* [RFC 104](https://gdal.org/en/latest/development/rfc/rfc104_gdal_cli.html):
  Adding a "gdal" front-end command line interface.
  - See the [list of commands](https://gdal.org/en/latest/programs/index.html#gdal-application)
  - Includes new "gdal raster calc" and "gdal raster resclassify" utilities.
  - "gdal raster tile", C++ port of gdal2tiles, runs faster (3x to 6x in some cases)
  - Includes "gdal vsi list/copy/delete/move/sync" (ports of Python sample scripts)
  - Includes "gdal driver {driver_name}" for driver-specific commands.
  - Includes smart Bash autocompletion
  - Includes C, C++, Python API
* Add [GDALG](https://gdal.org/en/latest/drivers/vector/gdalg.html) (GDAL
  Streamed Algorithm Format) driver: reading of on-the-fly / streamed vector
  dataset replaying compatible "gdal" command lines (kind of VRT).

Other topics

* [RFC 100](https://gdal.org/en/latest/development/rfc/rfc100_float16_support.html):
  Support float16 type
* [RFC 102](https://gdal.org/en/latest/development/rfc/rfc102_embedded_resources.html):
  Embedding resource files into libgdal
* [RFC 103](https://gdal.org/en/latest/development/rfc/rfc103_schema_open_option.html):
  Add a OGR_SCHEMA open option to selected OGR drivers
* [RFC 105](https://gdal.org/en/latest/development/rfc/rfc105_safe_path_manipulation_functions.html):
  Add and use safe path manipulation functions
* [RFC 106](https://gdal.org/en/latest/development/rfc/rfc106_update_metadata.html):
  Metadata items to reflect driver update capabilities
* [RFC 107](https://gdal.org/en/latest/development/rfc/rfc107_igetextent_isetspatialfilter.html):
  Add OGRLayer::IGetExtent() and OGRLayer::ISetSpatialFilter()
* Add read-only [OGR ADBC](https://gdal.org/en/latest/drivers/vector/adbc.html)
 (Arrow Database Connectivity) driver, in particular
  with support for DuckDB or Parquet datasets (if libduckdb also installed)
* Add [LIBERTIFF](https://gdal.org/en/latest/drivers/raster/libertiff.html)
  driver: native thread-safe read-only GeoTIFF reader
* Add read-only [RCM](https://gdal.org/en/latest/drivers/raster/rcm.html)
 (Radarsat Constellation Mission) raster driver
* Add read-only AIVector (Artificial intelligence powered vector) driver
* VRT Pixel Functions: Add function to evaluate arbitrary expression (#11209)
* Substantially improved drivers: ZARR
* GeoPackage: change default version to GeoPackage 1.4 on creation (#7870)
* [RFC 108](https://gdal.org/en/latest/development/rfc/rfc108_driver_removal_3_11.html):
  - Removed raster drivers: BLX, BT, CTable2, ELAS, FIT, GSAG (Golden Software ASCII grid),
    GSBG (Golden Software 6.0 binary grid), JP2Lura, OZI OZF2/OZFX3,
    Rasterlite (v1), R object data store (.rda), RDB, SDTS, SGI, XPM,DIPex
  - Removed vector drivers: Geoconcept Export, OGDI (VPF/VMAP support), SDTS,
    SVG, Tiger, UK. NTF
  - Removed write support in following drivers: Interlis 1, Interlis 2, ADRG,
    PAux, MFF, MFF2/HKV, LAN, NTv2, BYN, USGSDEM, ISIS2
* Removed OpenCL warper
* OGR "Memory" driver deprecated, and aliased to the "MEM" driver.
  Its functionality is merged into the "MEM" driver that has raster, vector
  and multidimensional support.
* Various code linting, static code analyzer fixes, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 pkgsrc/geography/gdal-lib/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/geography/gdal-lib/Makefile.common
cvs rdiff -u -r1.27 -r1.28 pkgsrc/geography/gdal-lib/PLIST
cvs rdiff -u -r1.71 -r1.72 pkgsrc/geography/gdal-lib/distinfo
cvs rdiff -u -r1.83 -r1.84 pkgsrc/geography/py-gdal/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/geography/py-gdal/PLIST

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/Makefile
diff -u pkgsrc/geography/gdal-lib/Makefile:1.186 pkgsrc/geography/gdal-lib/Makefile:1.187
--- pkgsrc/geography/gdal-lib/Makefile:1.186    Thu Apr 24 14:14:07 2025
+++ pkgsrc/geography/gdal-lib/Makefile  Sat May 10 11:38:35 2025
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.186 2025/04/24 14:14:07 wiz Exp $
+# $NetBSD: Makefile,v 1.187 2025/05/10 11:38:35 gdt Exp $
 
-PKGREVISION= 3
 .include "../../geography/gdal-lib/Makefile.common"
 PKGNAME=       ${DISTNAME:S/gdal/gdal-lib/}
 #PKGREVISION=  0
@@ -47,7 +46,6 @@ CMAKE_CONFIGURE_ARGS+=        -DGDAL_USE_LZ4=OF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_ODBC=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_OPENEXR=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_PARQUET=OFF
-CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_PCRE2=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_PODOFO=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_POPPLER=OFF
 CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_ZSTD=OFF
@@ -88,10 +86,12 @@ INSTALLATION_DIRS=  bin include lib ${PKG
 # \todo Enable zstd
 # .include "../../archivers/zstd/buildlink3.mk"
 
+.include "../../mk/atomic64.mk"
+
 .include "../../archivers/libarchive/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/netcdf/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../geography/geos/buildlink3.mk"
 .include "../../geography/proj/buildlink3.mk"

Index: pkgsrc/geography/gdal-lib/Makefile.common
diff -u pkgsrc/geography/gdal-lib/Makefile.common:1.34 pkgsrc/geography/gdal-lib/Makefile.common:1.35
--- pkgsrc/geography/gdal-lib/Makefile.common:1.34      Fri Feb 14 17:02:33 2025
+++ pkgsrc/geography/gdal-lib/Makefile.common   Sat May 10 11:38:35 2025
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile.common,v 1.34 2025/02/14 17:02:33 gdt Exp $
+# $NetBSD: Makefile.common,v 1.35 2025/05/10 11:38:35 gdt Exp $
 #
 # used by geography/gdal-lib/Makefile
 # used by geography/py-gdal/Makefile
 
-VERSION_BASE=  3.10.2
+VERSION_BASE=  3.11.0
 PLIST_SUBST+=  VERSION_BASE=${VERSION_BASE}
 # Accomodate testing unreleased versions.
-#VERSION_RC=   rc1
-VERSION=       ${VERSION_BASE}${VERSION_RC}
+#VERSION_RC=   rc2
+#VERSION_BETA=
+VERSION=       ${VERSION_BASE}${VERSION_RC}${VERSION_BETA}
 DISTNAME=      gdal-${VERSION}
 EXTRACT_SUFX=  .tar.xz
 CATEGORIES=    geography
@@ -18,7 +19,7 @@ MAINTAINER=   gdt%NetBSD.org@localhost
 HOMEPAGE=      https://gdal.org/
 LICENSE=       mit
 
-WRKSRC=                ${WRKDIR}/gdal-${VERSION_BASE}
+WRKSRC=                ${WRKDIR}/gdal-${VERSION_BASE}${VERSION_BETA}
 
 PATCHDIR=      ${.CURDIR}/../../geography/gdal-lib/patches
 DISTINFO_FILE= ${.CURDIR}/../../geography/gdal-lib/distinfo

Index: pkgsrc/geography/gdal-lib/PLIST
diff -u pkgsrc/geography/gdal-lib/PLIST:1.27 pkgsrc/geography/gdal-lib/PLIST:1.28
--- pkgsrc/geography/gdal-lib/PLIST:1.27        Fri Feb 14 17:02:33 2025
+++ pkgsrc/geography/gdal-lib/PLIST     Sat May 10 11:38:35 2025
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.27 2025/02/14 17:02:33 gdt Exp $
+@comment $NetBSD: PLIST,v 1.28 2025/05/10 11:38:35 gdt Exp $
+bin/gdal
 bin/gdal-config
 bin/gdal_contour
 bin/gdal_create
@@ -36,6 +37,7 @@ include/cpl_config_extras.h
 include/cpl_conv.h
 include/cpl_csv.h
 include/cpl_error.h
+include/cpl_float.h
 include/cpl_hash_set.h
 include/cpl_http.h
 include/cpl_json.h
@@ -54,19 +56,25 @@ include/cpl_vsi_error.h
 include/cpl_vsi_virtual.h
 include/cplkeywordparser.h
 include/gdal.h
+include/gdal_adbc.h
 include/gdal_alg.h
 include/gdal_alg_priv.h
 include/gdal_csv.h
 include/gdal_frmts.h
+include/gdal_fwd.h
 include/gdal_mdreader.h
+include/gdal_minmax_element.hpp
 include/gdal_pam.h
 include/gdal_priv.h
+include/gdal_priv_templates.hpp
 include/gdal_proxy.h
 include/gdal_rat.h
 include/gdal_simplesurf.h
+include/gdal_typetraits.h
 include/gdal_utils.h
 include/gdal_version.h
 include/gdal_vrt.h
+include/gdalalgorithm.h
 include/gdalcachedpixelaccessor.h
 include/gdalgeorefpamdataset.h
 include/gdalgrid.h
@@ -76,6 +84,7 @@ include/gdaljp2metadata.h
 include/gdalpansharpen.h
 include/gdalsubdatasetinfo.h
 include/gdalwarper.h
+include/geoheif.h
 include/gnm.h
 include/gnm_api.h
 include/gnmgraph.h
@@ -101,10 +110,78 @@ lib/cmake/gdal/GDALConfig.cmake
 lib/cmake/gdal/GDALConfigVersion.cmake
 lib/gdalplugins/drivers.ini
 lib/libgdal.so
-lib/libgdal.so.36
-lib/libgdal.so.36.3.10.2
+lib/libgdal.so.37
+lib/libgdal.so.37.3.11.0
 lib/pkgconfig/gdal.pc
 man/man1/gdal-config.1
+man/man1/gdal-convert.1
+man/man1/gdal-info.1
+man/man1/gdal-mdim-convert.1
+man/man1/gdal-mdim-info.1
+man/man1/gdal-mdim.1
+man/man1/gdal-raster-calc.1
+man/man1/gdal-raster-clean-collar.1
+man/man1/gdal-raster-clip.1
+man/man1/gdal-raster-color-map.1
+man/man1/gdal-raster-contour.1
+man/man1/gdal-raster-convert.1
+man/man1/gdal-raster-create.1
+man/man1/gdal-raster-edit.1
+man/man1/gdal-raster-fill-nodata.1
+man/man1/gdal-raster-footprint.1
+man/man1/gdal-raster-hillshade.1
+man/man1/gdal-raster-index.1
+man/man1/gdal-raster-info.1
+man/man1/gdal-raster-mosaic.1
+man/man1/gdal-raster-overview-add.1
+man/man1/gdal-raster-overview-delete.1
+man/man1/gdal-raster-pipeline.1
+man/man1/gdal-raster-pixel-info.1
+man/man1/gdal-raster-polygonize.1
+man/man1/gdal-raster-reclassify.1
+man/man1/gdal-raster-reproject.1
+man/man1/gdal-raster-resize.1
+man/man1/gdal-raster-roughness.1
+man/man1/gdal-raster-scale.1
+man/man1/gdal-raster-select.1
+man/man1/gdal-raster-set-type.1
+man/man1/gdal-raster-sieve.1
+man/man1/gdal-raster-slope.1
+man/man1/gdal-raster-stack.1
+man/man1/gdal-raster-tile.1
+man/man1/gdal-raster-tpi.1
+man/man1/gdal-raster-tri.1
+man/man1/gdal-raster-unscale.1
+man/man1/gdal-raster-viewshed.1
+man/man1/gdal-raster.1
+man/man1/gdal-vector-clip.1
+man/man1/gdal-vector-convert.1
+man/man1/gdal-vector-edit.1
+man/man1/gdal-vector-filter.1
+man/man1/gdal-vector-geom-buffer.1
+man/man1/gdal-vector-geom-explode-collections.1
+man/man1/gdal-vector-geom-make-valid.1
+man/man1/gdal-vector-geom-segmentize.1
+man/man1/gdal-vector-geom-set-type.1
+man/man1/gdal-vector-geom-simplify.1
+man/man1/gdal-vector-geom-swap-xy.1
+man/man1/gdal-vector-geom.1
+man/man1/gdal-vector-grid.1
+man/man1/gdal-vector-info.1
+man/man1/gdal-vector-pipeline.1
+man/man1/gdal-vector-rasterize.1
+man/man1/gdal-vector-select.1
+man/man1/gdal-vector-sql.1
+man/man1/gdal-vector.1
+man/man1/gdal-vector_concat.1
+man/man1/gdal-vsi-copy.1
+man/man1/gdal-vsi-delete.1
+man/man1/gdal-vsi-list.1
+man/man1/gdal-vsi-move.1
+man/man1/gdal-vsi-sozip.1
+man/man1/gdal-vsi-sync.1
+man/man1/gdal-vsi.1
+man/man1/gdal.1
 man/man1/gdal2tiles.1
 man/man1/gdal_calc.1
 man/man1/gdal_contour.1
@@ -148,6 +225,7 @@ man/man1/ogrtindex.1
 man/man1/pct2rgb.1
 man/man1/rgb2pct.1
 man/man1/sozip.1
+share/bash-completion/completions/gdal
 share/bash-completion/completions/gdal-config
 share/bash-completion/completions/gdal2tiles.py
 share/bash-completion/completions/gdal2xyz.py
@@ -197,6 +275,8 @@ share/gdal/ecw_cs.wkt
 share/gdal/eedaconf.json
 share/gdal/epsg.wkt
 share/gdal/esri_StatePlane_extra.wkt
+share/gdal/gdal_algorithm.schema.json
+share/gdal/gdalg.schema.json
 share/gdal/gdalicon.png
 share/gdal/gdalinfo_output.schema.json
 share/gdal/gdalmdiminfo_output.schema.json
@@ -306,9 +386,11 @@ share/gdal/jpfgdgml_WA.gfs
 share/gdal/jpfgdgml_WL.gfs
 share/gdal/jpfgdgml_WStrA.gfs
 share/gdal/jpfgdgml_WStrL.gfs
+share/gdal/leaflet_template.html
 share/gdal/netcdf_config.xsd
 share/gdal/nitf_spec.xml
 share/gdal/nitf_spec.xsd
+share/gdal/ogr_fields_override.schema.json
 share/gdal/ogrinfo_output.schema.json
 share/gdal/ogrvrt.xsd
 share/gdal/osmconf.ini

Index: pkgsrc/geography/gdal-lib/distinfo
diff -u pkgsrc/geography/gdal-lib/distinfo:1.71 pkgsrc/geography/gdal-lib/distinfo:1.72
--- pkgsrc/geography/gdal-lib/distinfo:1.71     Fri Feb 14 17:02:34 2025
+++ pkgsrc/geography/gdal-lib/distinfo  Sat May 10 11:38:35 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.71 2025/02/14 17:02:34 gdt Exp $
+$NetBSD: distinfo,v 1.72 2025/05/10 11:38:35 gdt Exp $
 
-BLAKE2s (gdal-3.10.2.tar.xz) = ec6b49ba85c25d596246d931773aacfff076360abbc2d828b0d233533449c4cb
-SHA512 (gdal-3.10.2.tar.xz) = 1713f97fa5ef3772c8c567d0fbd24ecf3509e27e0da3e701e37f6045994c9cbaf787305722a425f6486056911b5286b9a922fa7b48bf3ce2c5d0c0bb782ecca9
-Size (gdal-3.10.2.tar.xz) = 9206880 bytes
+BLAKE2s (gdal-3.11.0.tar.xz) = c3d75839c8bc77afc31ce4f46c0d0d2e4585a1cef7cd89d19a01408cc04d7f43
+SHA512 (gdal-3.11.0.tar.xz) = 3aeae1ed70734e59171d5701696b4848003002d7de0fad2a52ad3b73bfcf752d14d8c89a2ec189714b93d43a547b9ed15f5e9359c94265db7019f0a40ef4c9fd
+Size (gdal-3.11.0.tar.xz) = 9292588 bytes
 SHA1 (patch-frmts_grib_degrib_degrib_myutil.c) = 0e046afa236d7e0d6186fe392cb2da05fa5b42c5
 SHA1 (patch-port_cpl__port.h) = 1a8e90085b4390edb4ec2b40b68f83093fbe164d

Index: pkgsrc/geography/py-gdal/Makefile
diff -u pkgsrc/geography/py-gdal/Makefile:1.83 pkgsrc/geography/py-gdal/Makefile:1.84
--- pkgsrc/geography/py-gdal/Makefile:1.83      Thu Apr 24 14:14:09 2025
+++ pkgsrc/geography/py-gdal/Makefile   Sat May 10 11:38:35 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2025/04/24 14:14:09 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2025/05/10 11:38:35 gdt Exp $
 
 .include "../../geography/gdal-lib/Makefile.common"
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   4
 
 COMMENT=       Translator library for raster geospatial data formats, Python binding
 
@@ -10,7 +9,7 @@ COMMENT=       Translator library for raster g
 # hard-required must be present, separately from whether it is needed
 # for the python bindings.
 USE_LANGUAGES=         c c++
-USE_CXX_FEATURES+=     c++11
+USE_CXX_FEATURES+=     c++17 charconv
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/geography/py-gdal/PLIST
diff -u pkgsrc/geography/py-gdal/PLIST:1.7 pkgsrc/geography/py-gdal/PLIST:1.8
--- pkgsrc/geography/py-gdal/PLIST:1.7  Thu May 23 13:45:11 2024
+++ pkgsrc/geography/py-gdal/PLIST      Sat May 10 11:38:35 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2024/05/23 13:45:11 gdt Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/05/10 11:38:35 gdt Exp $
 bin/gdal2tiles
 bin/gdal2tiles.py
 bin/gdal2xyz
@@ -55,6 +55,9 @@ ${PYSITELIB}/osgeo/gdal.pyo
 ${PYSITELIB}/osgeo/gdal_array.py
 ${PYSITELIB}/osgeo/gdal_array.pyc
 ${PYSITELIB}/osgeo/gdal_array.pyo
+${PYSITELIB}/osgeo/gdal_fsspec.py
+${PYSITELIB}/osgeo/gdal_fsspec.pyc
+${PYSITELIB}/osgeo/gdal_fsspec.pyo
 ${PYSITELIB}/osgeo/gdalconst.py
 ${PYSITELIB}/osgeo/gdalconst.pyc
 ${PYSITELIB}/osgeo/gdalconst.pyo
@@ -229,6 +232,9 @@ ${PYSITELIB}/osgeo_utils/samples/gdal_ls
 ${PYSITELIB}/osgeo_utils/samples/gdal_lut.py
 ${PYSITELIB}/osgeo_utils/samples/gdal_lut.pyc
 ${PYSITELIB}/osgeo_utils/samples/gdal_lut.pyo
+${PYSITELIB}/osgeo_utils/samples/gdal_minmax_location.py
+${PYSITELIB}/osgeo_utils/samples/gdal_minmax_location.pyc
+${PYSITELIB}/osgeo_utils/samples/gdal_minmax_location.pyo
 ${PYSITELIB}/osgeo_utils/samples/gdal_mkdir.py
 ${PYSITELIB}/osgeo_utils/samples/gdal_mkdir.pyc
 ${PYSITELIB}/osgeo_utils/samples/gdal_mkdir.pyo



Home | Main Index | Thread Index | Old Index