Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2026-01-31 16:17:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new.1995 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Sat Jan 31 16:17:13 2026 rev:103 rq:1330097 version:3.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2025-11-19 15:06:10.867188573 +0100 +++ /work/SRC/openSUSE:Factory/.gdal.new.1995/gdal.changes 2026-01-31 16:17:15.084296311 +0100 @@ -1,0 +2,106 @@ +Fri Jan 30 16:43:00 UTC 2026 - Ben Greiner <[email protected]> + +- Update to 3.12.1 + * GDAL 3.12.1 is a bugfix release. + ## Port + * VSIZipFilesystemHandler::GetFileInfo(): extra sanity check to + avoid later huge memory allocations (ossfuzz#457877771) + * /vsicurl/: fix a redirect to a URL ending with a slash followed + by a 403 + ## Algorithms + * Rasterize: avoid integer overflows on huge geometry coordinates + * GDALFPolygonize(): make it handle 64-bit float rasters on their + native precision, and not Float32 (#13526) + ## Core + * GDALGeoTransform::Apply(const OGREnvelope &, + GDALRasterWindow&): avoid integer overflows + * ComputeRasterMinMaxLocation(): fix on all inf/-inf rasters + * GDALProxyPoolDataset::GetGCPSpatialRef(): fix nullptr + dereference + * Deferred plugin loading: add GDAL_DCAP_UPDATE to cached driver + metadata items in proxy driver, to avoid plugins to be + unnecessarily loaded + * GDALJP2Metadata::CollectGMLData(): avoid memory leak on + malformed documents + * JPEG2000 writer: remove NUL terminated byte at end of payload + of 'lbl ' and 'xml ' boxes + * ComputeStatistics(): fix imprecise result on stddev on Float64 + with SSE2/AVX2 optimization (3.12.0 regression) (#13543) + * ComputeStatistics(): increase precision for mean and stddev + computation on Float32 to Float64 (3.12.0 regression) + ## Raster utilities + * gdalinfo -json output: fix stac:transform coefficient order + (#13358) + * gdalinfo -json: fix setting [stac][raster:bands][0][nodata] for + floating-point datasets + * GDALZonalStats: Fix error for certain polygons outside raster + extent (#13376) + * gdal raster zonal-stats: avoid integer overflows on geometries + with huge coordinate values + * gdal raster tile: fix stalling in --parallel-mode=spawn with + CPL_DEBUG=ON on Windows (#13390) + * gdal mdim convert: fix specifying multiple values for --group, + --subset, --scale-axes + * gdal raster convert: avoid error message when outputting to + /vsistdout/ (#13400) + * gdal raster calc / VRTDerivedRasterBand: fix + computation/transfer data type with ComplexSource (#13409) + * gdal raster compare/info/tile: make them work properly in a + pipeline where the input dataset is provided not in the + pipeline string + * gdal vector make-valid: avoid skipping 3d geometries (#13425) + * ogr2ogr/VectorTranslate: fix (and improve) selectFields support + in Arrow code path (#13401) + * gdal vector check-geometry: add include-field option + * gdal raster color-map/gdaldem color-relief: fix crash when + color map is invalid and outputting to a format without + CreateCopy capability + * GDALGeosNonStreamingAlgorithmDataset: Avoid crash with multiple + input layers + * gdal vector sql: fix --overwrite-layer (#13516) + * gdal raster calc: allow to specify input files as nested + pipelines (#13493) + * gdalwarp: fix artifacts (related to chunked processing) when + using -r sum resampling (#13539) + ## Raster drivers + ### GTI driver: + * accept tiles with south-up orientation (auto-warp them to + north-up) (#13416) + * allow 'stac_extensions' field (in addition to 'stac_version') + to be a marker for STAC GeoParquet + * STAC GeoParquet: make it ready for top-level 'bands' object and + eo v2.0 stac extension + * only rewrite URLs (like gs:// --> /vsigs/) for a STAC + collection catalog (#12900) + ### GTiff driver: + * avoid a warning to be emitted when created RRD overviews + ### HDF5 driver: + * do not report GCPs on swath geolocation fields, but report + GEOLOCATION + ### netCDF driver: + * fix potential linking issue in + GDAL_REGISTER_DRIVER_NETCDF_FOR_LATER_PLUGIN=ON mode (#13410) + ### NITF driver: + * fix reading extended header TREs (#13510) + ### STACIT driver: + * do not emit initial pagination request with a '{}' body + ### VRT driver: + * Add "name" attribute to source types in xml schema + * with nearest neighbor, round source coordinates as we do in + generic GDALRasterBand::IRasterIO() (#13464) + * disable multithreading on neighbouring sources not perfectly + aligned on an integer output coordinate, to avoid non + deterministic pixel output + ### Zarr driver: + * fix one way of opening Kerchunk Parquet reference stores + * avoid excessive processing time on corrupted NCZarr datasets + (ossfuzz#459241526) +- Fix build with Poppler 26.01.00, add gdal-pr13664-poppler26.patch + +------------------------------------------------------------------- +Sat Jan 24 17:16:10 UTC 2026 - Ben Greiner <[email protected]> + +- Remove lerc build option: It has no effect when using external + libtiff -- boo#1257123 + +------------------------------------------------------------------- Old: ---- gdal-3.12.0.tar.xz gdal-3.12.0.tar.xz.md5 gdalautotest-3.12.0.zip New: ---- gdal-3.12.1.tar.xz gdal-3.12.1.tar.xz.md5 gdal-pr13664-poppler26.patch gdalautotest-3.12.1.zip ----------(New B)---------- New: (ossfuzz#459241526) - Fix build with Poppler 26.01.00, add gdal-pr13664-poppler26.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.9sCLP6/_old 2026-01-31 16:17:17.540398355 +0100 +++ /var/tmp/diff_new_pack.9sCLP6/_new 2026-01-31 16:17:17.540398355 +0100 @@ -1,7 +1,7 @@ # # spec file for package gdal # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2025 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -43,7 +43,7 @@ %define mypython_sitearch %{expand:%%%{mypython}_sitearch} Name: gdal -Version: 3.12.0 +Version: 3.12.1 Release: 0 Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats License: BSD-3-Clause AND MIT AND SUSE-Public-Domain @@ -51,6 +51,8 @@ Source0: https://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz Source1: https://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz.md5 Source2: https://download.osgeo.org/%{name}/%{version}/%{sourcename}autotest-%{version}.zip +# PATCH-FIX-UPSTREAM gdal-pr13664-poppler26.patch gh#OSGeo/gdal#13664 -- add compatibility with poppler 26.01.0 +Patch0: https://github.com/OSGeo/gdal/commit/979604d.patch#/gdal-pr13664-poppler26.patch BuildRequires: KEALib-devel BuildRequires: bison BuildRequires: blas-devel @@ -225,6 +227,7 @@ rm -rv frmts/jpeg/libjpeg rm -rv frmts/jpeg/libjpeg12 rm -rv frmts/gtiff/libgeotiff +# Lerc support is provided by libtiff -- boo#1257123 rm -rv frmts/gtiff/libtiff # internal but needed rm -rv frmts/pcidsk @@ -270,7 +273,6 @@ %else -DGDAL_USE_HEIF=OFF \ %endif - -DGDAL_USE_LERC_INTERNAL=ON \ -DGDAL_USE_JPEG=ON \ -DGDAL_USE_JPEG12_INTERNAL=OFF \ -DGDAL_USE_JSONC=ON \ @@ -488,7 +490,7 @@ %{_mandir}/man1/gdal-vector-check-geometry.1%{?ext_man} %{_mandir}/man1/gdal-vector-clean-coverage.1%{?ext_man} %{_mandir}/man1/gdal-vector-clip.1%{?ext_man} -%{_mandir}/man1/gdal-vector_concat.1%{?ext_man} +%{_mandir}/man1/gdal-vector-concat.1%{?ext_man} %{_mandir}/man1/gdal-vector-convert.1%{?ext_man} %{_mandir}/man1/gdal-vector-edit.1%{?ext_man} %{_mandir}/man1/gdal-vector-explode-collections.1%{?ext_man} ++++++ gdal-3.12.0.tar.xz -> gdal-3.12.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/gdal/gdal-3.12.0.tar.xz /work/SRC/openSUSE:Factory/.gdal.new.1995/gdal-3.12.1.tar.xz differ: char 26, line 1 ++++++ gdal-3.12.0.tar.xz.md5 -> gdal-3.12.1.tar.xz.md5 ++++++ --- /work/SRC/openSUSE:Factory/gdal/gdal-3.12.0.tar.xz.md5 2025-11-19 15:06:09.379125779 +0100 +++ /work/SRC/openSUSE:Factory/.gdal.new.1995/gdal-3.12.1.tar.xz.md5 2026-01-31 16:17:15.012293319 +0100 @@ -1 +1 @@ -f7a4f12a56a274cd9efa8f9b3dfe2cab gdal-3.12.0.tar.xz +b8a7225d1c3115b6041530dddd4f1541 gdal-3.12.1.tar.xz ++++++ gdal-pr13664-poppler26.patch ++++++ >From 979604d97720287416742ef264977f0e53a84aa8 Mon Sep 17 00:00:00 2001 From: Daeho Ro <[email protected]> Date: Fri, 9 Jan 2026 04:34:51 +0900 Subject: [PATCH] PDF: add compatibility with Poppler 26.01.0 (#13664) --- frmts/pdf/pdfio.cpp | 13 +++++++++---- frmts/pdf/pdfio.h | 15 +++++++++------ frmts/pdf/pdfobject.cpp | 12 ++++++++---- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/frmts/pdf/pdfio.cpp b/frmts/pdf/pdfio.cpp index 39cb1285ef40..32c3263e9219 100644 --- a/frmts/pdf/pdfio.cpp +++ b/frmts/pdf/pdfio.cpp @@ -250,8 +250,9 @@ int VSIPDFFileStream::lookChar() /* reset() */ /************************************************************************/ -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) +#if POPPLER_MAJOR_VERSION > 25 +bool VSIPDFFileStream::rewind() +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 bool VSIPDFFileStream::reset() #else void VSIPDFFileStream::reset() @@ -272,8 +273,12 @@ void VSIPDFFileStream::reset() /* unfilteredReset() */ /************************************************************************/ -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 3) +#if POPPLER_MAJOR_VERSION > 25 +bool VSIPDFFileStream::unfilteredRewind() +{ + return rewind(); +} +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 3 bool VSIPDFFileStream::unfilteredReset() { return reset(); diff --git a/frmts/pdf/pdfio.h b/frmts/pdf/pdfio.h index 5fbe3a9dc2ae..1fe289211769 100644 --- a/frmts/pdf/pdfio.h +++ b/frmts/pdf/pdfio.h @@ -55,8 +55,9 @@ class VSIPDFFileStream final : public BaseStream int getUnfilteredChar() override; int lookChar() override; -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) +#if POPPLER_MAJOR_VERSION > 25 + bool rewind() override; +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 bool reset() override; #else void reset() override; @@ -64,16 +65,18 @@ class VSIPDFFileStream final : public BaseStream static void resetNoCheckReturnValue(Stream *str) { -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) +#if POPPLER_MAJOR_VERSION > 25 + CPL_IGNORE_RET_VAL(str->rewind()); +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 CPL_IGNORE_RET_VAL(str->reset()); #else str->reset(); #endif } -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 3) +#if POPPLER_MAJOR_VERSION > 25 + bool unfilteredRewind() override; +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 bool unfilteredReset() override; #else void unfilteredReset() override; diff --git a/frmts/pdf/pdfobject.cpp b/frmts/pdf/pdfobject.cpp index bcd48c016cd8..3fa9f8ca232e 100644 --- a/frmts/pdf/pdfobject.cpp +++ b/frmts/pdf/pdfobject.cpp @@ -1409,8 +1409,10 @@ int64_t GDALPDFStreamPoppler::GetLength(int64_t nMaxSize) if (m_nLength >= 0) return m_nLength; -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) +#if POPPLER_MAJOR_VERSION > 25 + if (!m_poStream->rewind()) + return 0; +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 if (!m_poStream->reset()) return 0; #else @@ -1488,8 +1490,10 @@ int64_t GDALPDFStreamPoppler::GetRawLength() return m_nRawLength; auto undecodeStream = m_poStream->getUndecodedStream(); -#if POPPLER_MAJOR_VERSION > 25 || \ - (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) +#if POPPLER_MAJOR_VERSION > 25 + if (!undecodeStream->rewind()) + return 0; +#elif POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2 if (!undecodeStream->reset()) return 0; #else ++++++ gdalautotest-3.12.0.zip -> gdalautotest-3.12.1.zip ++++++ /work/SRC/openSUSE:Factory/gdal/gdalautotest-3.12.0.zip /work/SRC/openSUSE:Factory/.gdal.new.1995/gdalautotest-3.12.1.zip differ: char 11, line 2
