From 549d439c07df50a079591967cb567bea12c54405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 22 Apr 2020 00:01:47 +0200 Subject: [PATCH 001/224] Rebuild (json-c) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7e045c8..3ebc5c7 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.0.4 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -686,6 +686,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Apr 21 2020 Björn Esser - 3.0.4-3 +- Rebuild (json-c) + * Tue Mar 03 2020 Sandro Mani - 3.0.4-2 - Fix libtool wrappers installed for gdal utilities instead of actual binaries From b71668eb43fb97f759ed020a622e6d1f639dbd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 22 Apr 2020 03:09:35 +0200 Subject: [PATCH 002/224] Temporarily disable annobin, as it is broken --- gdal.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdal.spec b/gdal.spec index 3ebc5c7..c27761c 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,3 +1,7 @@ +# Temporarily disable annobin, as it is broken. +%undefine _annotated_build + + #TODO: Create script to make clean tarball #TODO: msg needs to have PublicDecompWT.zip from EUMETSAT, which is not free; # Building without msg therefore @@ -688,6 +692,7 @@ popd %changelog * Tue Apr 21 2020 Björn Esser - 3.0.4-3 - Rebuild (json-c) +- Temporarily disable annobin, as it is broken * Tue Mar 03 2020 Sandro Mani - 3.0.4-2 - Fix libtool wrappers installed for gdal utilities instead of actual binaries From 4acfdb94d416df283ce72eabb8d0b23b4e740709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 22 Apr 2020 03:11:30 +0200 Subject: [PATCH 003/224] Re-enable annobin --- gdal.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gdal.spec b/gdal.spec index c27761c..28630ad 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,7 +1,3 @@ -# Temporarily disable annobin, as it is broken. -%undefine _annotated_build - - #TODO: Create script to make clean tarball #TODO: msg needs to have PublicDecompWT.zip from EUMETSAT, which is not free; # Building without msg therefore @@ -50,7 +46,7 @@ Name: gdal Version: 3.0.4 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -690,6 +686,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Apr 22 2020 Björn Esser - 3.0.4-4 +- Re-enable annobin + * Tue Apr 21 2020 Björn Esser - 3.0.4-3 - Rebuild (json-c) - Temporarily disable annobin, as it is broken From 1118824b6a9419ce47310a88ef368ca4b65ab4e5 Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 16 May 2020 23:13:41 +0200 Subject: [PATCH 004/224] Updated to EPEL8 (with disabled JAVA and LaTeX support) --- gdal.spec | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/gdal.spec b/gdal.spec index 28630ad..60213a8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.0.4 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -97,11 +97,17 @@ BuildRequires: ghostscript BuildRequires: hdf-devel BuildRequires: hdf-static BuildRequires: hdf5-devel +# No complete java yet in EL8 +%if 0%{?rhel} < 8 BuildRequires: java-devel >= 1:1.6.0 +%endif BuildRequires: jasper-devel BuildRequires: jpackage-utils +# No complete java yet in EL8 +%if 0%{?rhel} < 8 # For 'mvn_artifact' and 'mvn_install' BuildRequires: javapackages-local +%endif BuildRequires: json-c-devel BuildRequires: libgeotiff-devel # No libgta in EL5 @@ -155,11 +161,12 @@ BuildRequires: xz-devel BuildRequires: zlib-devel BuildRequires: libtirpc-devel +%if 0%{?rhel} < 8 BuildRequires: /usr/bin/epstopdf BuildRequires: /usr/bin/latex BuildRequires: /usr/bin/dvips BuildRequires: tex(newunicodechar.sty) - +%endif # Run time dependency for gpsbabel driver Requires: gpsbabel @@ -203,6 +210,8 @@ Provides: bundled(degrib) = 2.14 This package contains the GDAL file format library. +# No complete java yet in EL8 +%if 0%{?rhel} < 8 %package java Summary: Java modules for the GDAL file format library Requires: jpackage-utils @@ -219,6 +228,7 @@ BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. +%endif %package perl @@ -341,7 +351,9 @@ autoreconf -ifv --with-hdf4 \ --with-hdf5 \ --with-jasper \ +%if 0%{?rhel} < 8 --with-java \ +%endif --with-jpeg \ --with-libjson-c \ --without-jpeg12 \ @@ -376,12 +388,15 @@ make docs make -C ogr/ogrsf_frmts/s57 all make -C frmts/iso8211 all +# No complete java yet in EL8 +%if 0%{?rhel} < 8 # Make Java module and documentation pushd swig/java make ant maven popd %mvn_artifact swig/java/build/maven/gdal-%version.pom swig/java/build/maven/gdal-%version.jar +%endif # Make Python modules pushd swig/python @@ -446,6 +461,8 @@ rm %buildroot%_mandir/man1/{pct2rgb,rgb2pct}.1 find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \; find %{buildroot}%{perl_vendorarch} -name "*.pm" -exec chmod 644 '{}' \; +# No complete java yet in EL8 +%if 0%{?rhel} < 8 # install Java plugin %mvn_install -J swig/java/java @@ -460,6 +477,7 @@ chrpath --delete %{buildroot}%{_jnidir}/%{name}/*jni.so* # Install Java API documentation in the designated place mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -pr swig/java/java/org %{buildroot}%{_javadocdir}/%{name} +%endif # Install refmans for docdir in %{docdirs}; do @@ -535,12 +553,14 @@ done rm %{buildroot}%{_datadir}/%{name}/LICENSE.TXT +# No complete java yet in EL8 +%if 0%{?rhel} < 8 %check %if %{run_tests} for i in -I/usr/lib/jvm/java/include{,/linux}; do java_inc="$java_inc $i" done - +%endif pushd %{name}autotest-%{testversion} # Export test enviroment @@ -625,12 +645,15 @@ popd %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc +# No complete java yet in EL8 +%if 0%{?rhel} < 8 # Can I even have a separate Java package anymore? %files java -f .mfiles %doc swig/java/apps %{_jnidir}/%{name}/libgdalalljni.so* %files javadoc -f .mfiles-javadoc +%endif %files perl %doc swig/perl/README @@ -686,6 +709,9 @@ popd #Or as before, using ldconfig %changelog +* Sat May 09 2020 Markus Neteler - 3.0.4-5 +* disabled JAVA and LaTeX support for EPEL8, due to (yet) missing dependencies + * Wed Apr 22 2020 Björn Esser - 3.0.4-4 - Re-enable annobin From fb4c3272a4cc39574e2bc23af91ed831f4ee9bd9 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 20 May 2020 22:54:35 +0200 Subject: [PATCH 005/224] Update to 3.1.0 --- .gitignore | 2 + gdal-1.9.0-java.patch | 6 +-- gdal-cleaner.sh | 4 +- gdal-completion.patch | 12 ----- gdal.spec | 93 +++++++++++++++----------------------- gdal_installapps.patch | 8 ++-- gdal_iso8211.patch | 6 +-- gdal_nopdf.patch | 12 +++++ gdal_sphinx-warnings.patch | 12 +++++ gdal_tirpcinc.patch | 12 ++--- sources | 4 +- 11 files changed, 83 insertions(+), 88 deletions(-) delete mode 100644 gdal-completion.patch create mode 100644 gdal_nopdf.patch create mode 100644 gdal_sphinx-warnings.patch diff --git a/.gitignore b/.gitignore index 727c971..626ab88 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,5 @@ gdalautotest-1.7.0.tar.gz /gdal-2.3.2-fedora.tar.xz /gdalautotest-3.0.1.zip /gdal-3.0.1-fedora.tar.xz +/gdal-3.1.0-fedora.tar.xz +/gdalautotest-3.1.0.tar.gz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index b0f1871..589b05d 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.0.4-fedora/swig/java/java.opt gdal-3.0.4-fedora-new/swig/java/java.opt ---- gdal-3.0.4-fedora/swig/java/java.opt 2020-01-28 11:13:12.000000000 +0100 -+++ gdal-3.0.4-fedora-new/swig/java/java.opt 2020-02-06 00:23:36.321286290 +0100 +diff -rupN --no-dereference gdal-3.1.0-fedora/swig/java/java.opt gdal-3.1.0-fedora-new/swig/java/java.opt +--- gdal-3.1.0-fedora/swig/java/java.opt 2020-05-04 11:18:28.000000000 +0200 ++++ gdal-3.1.0-fedora-new/swig/java/java.opt 2020-05-18 11:28:48.479899529 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-cleaner.sh b/gdal-cleaner.sh index beb0059..e8609ea 100755 --- a/gdal-cleaner.sh +++ b/gdal-cleaner.sh @@ -1,7 +1,7 @@ #!/bin/bash -VERSION="3.0.4" +VERSION="3.1.0" -tar xvf gdal-"${VERSION}".tar.xz +tar xvf gdal-"${VERSION}".tar.gz mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora diff --git a/gdal-completion.patch b/gdal-completion.patch deleted file mode 100644 index 0c195f1..0000000 --- a/gdal-completion.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.0.4-fedora/scripts/GNUmakefile gdal-3.0.4-fedora-new/scripts/GNUmakefile ---- gdal-3.0.4-fedora/scripts/GNUmakefile 2020-01-28 11:13:13.000000000 +0100 -+++ gdal-3.0.4-fedora-new/scripts/GNUmakefile 2020-02-06 00:23:36.089287463 +0100 -@@ -5,6 +5,6 @@ completion: - - install: - if test "x`pkg-config --version 2>/dev/null`" != "x" -a "x`pkg-config --variable=compatdir bash-completion`" != "x"; then \ -- $(INSTALL_DIR) $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion` ; \ -- cp gdal-bash-completion.sh $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion`; \ -+ $(INSTALL_DIR) $(DESTDIR)`pkg-config --variable=compatdir bash-completion` ; \ -+ $(INSTALL_DATA) gdal-bash-completion.sh $(DESTDIR)`pkg-config --variable=compatdir bash-completion`/gdal; \ - fi diff --git a/gdal.spec b/gdal.spec index 60213a8..f073e6b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,8 +9,8 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.0.4 -%global run_tests 0 +%global testversion 3.1.0 +%global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -45,8 +45,8 @@ %endif Name: gdal -Version: 3.0.4 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.1.0 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -61,16 +61,18 @@ Source3: %{name}-cleaner.sh Source4: PROVENANCE.TXT-fedora -# Fix bash-completion install dir -Patch1: %{name}-completion.patch # Fedora uses Alternatives for Java Patch2: %{name}-1.9.0-java.patch # Ensure rpc/types.h is found by dods driver (indirectly required by libdap/XDRUtils.h) Patch3: gdal_tirpcinc.patch # Use libtool to create libiso8211.a, otherwise broken static lib is created since object files are compiled through libtool Patch4: gdal_iso8211.patch +# Don't pass -W to sphinx, it causes it to error out on warnings +Patch5: gdal_sphinx-warnings.patch # Fix makefiles installing libtool wrappers instead of actual executables -Patch5: gdal_installapps.patch +Patch6: gdal_installapps.patch +# Don't refer to PDF manual which is not built +Patch7: gdal_nopdf.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -161,12 +163,9 @@ BuildRequires: xz-devel BuildRequires: zlib-devel BuildRequires: libtirpc-devel -%if 0%{?rhel} < 8 -BuildRequires: /usr/bin/epstopdf -BuildRequires: /usr/bin/latex -BuildRequires: /usr/bin/dvips -BuildRequires: tex(newunicodechar.sty) -%endif +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildRequires: python3-breathe # Run time dependency for gpsbabel driver Requires: gpsbabel @@ -326,6 +325,9 @@ chmod 644 apps/gnmanalyse.cpp apps/gnmmanage.cpp # Fix mandir sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure.ac +# Delete .doxygen_up_to_date, otherwise doxygen isn't run +rm -f doc/.doxygen_up_to_date + %build # For future reference: @@ -335,9 +337,9 @@ autoreconf -ifv %configure \ --with-autoload=%{_libdir}/%{name}plugins \ - --datadir=%{_datadir}/%{name}/ \ --includedir=%{_includedir}/%{name}/ \ --prefix=%{_prefix} \ + --with-bash-completion \ --with-armadillo \ --with-curl \ --with-cfitsio \ @@ -381,15 +383,18 @@ autoreconf -ifv --with-libkml %make_build -make man -make docs # Build some utilities, as requested in BZ #1271906 make -C ogr/ogrsf_frmts/s57 all make -C frmts/iso8211 all +# Documentation +make man +make docs + # No complete java yet in EL8 %if 0%{?rhel} < 8 + # Make Java module and documentation pushd swig/java make @@ -410,25 +415,6 @@ pushd swig/perl %make_build popd -# --------- Documentation ---------- - -# No useful documentation in swig -%global docdirs apps doc doc/br doc/ru ogr ogr/ogrsf_frmts frmts/gxf frmts/iso8211 frmts/pcidsk frmts/sdts frmts/vrt ogr/ogrsf_frmts/dgn/ -for docdir in %{docdirs}; do - pushd $docdir - if [ ! -f Doxyfile ]; then - doxygen -g - else - doxygen -u - fi - if [ $docdir == "doc/ru" ]; then - sed -i -e 's|^OUTPUT_LANGUAGE|OUTPUT_LANGUAGE = Russian\n#OUTPUT_LANGUAGE |' Doxyfile - fi - rm -rf html - doxygen - popd -done - %install pushd swig/python @@ -440,16 +426,20 @@ popd %make_install install-man +# Drop gdal.pdf symlink, as we don't build the pdf documentation +rm doc/build/html/gdal.pdf + install -pm 755 ogr/ogrsf_frmts/s57/s57dump %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211createfromxml %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211dump %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211view %{buildroot}%{_bindir} +# Rename for %%files doc below +mv frmts/iso8211/html frmts/iso8211/iso8211_html # Directory for auto-loading plugins mkdir -p %{buildroot}%{_libdir}/%{name}plugins #TODO: Don't do that? -find %{buildroot}%{perl_vendorarch} -name "*.dox" -exec rm -rf '{}' \; rm %{buildroot}%{perl_archlib}/perllocal.pod %if %{without python} && %{without python3} @@ -479,21 +469,6 @@ mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -pr swig/java/java/org %{buildroot}%{_javadocdir}/%{name} %endif -# Install refmans -for docdir in %{docdirs}; do - pushd $docdir - path=%{_builddir}/%{name}-%{version}-fedora/refman - mkdir -p $path/html/$docdir - cp -r html $path/html/$docdir - popd -done - -# Install formats documentation -for dir in gdal_frmts ogrsf_frmts; do - mkdir -p $dir - find frmts -name "*.html" -exec install -p -m 644 '{}' $dir \; -done - #TODO: Header date lost during installation # Install multilib cpl_config.h bz#430894 install -p -D -m 644 port/cpl_config.h %{buildroot}%{_includedir}/%{name}/cpl_config-%{cpuarch}.h @@ -546,7 +521,7 @@ chmod 755 %{buildroot}%{_bindir}/%{name}-config #jni-libs and libgdal are also built static (*.a) #.exists and .packlist stem from Perl for junk in {*.a,*.la,*.bs,.exists,.packlist} ; do - find %{buildroot} -name "$junk" -exec rm -rf '{}' \; + find %{buildroot} -name "$junk" -delete done # Don't duplicate license files @@ -592,7 +567,6 @@ popd %files -%{bashcompletiondir}/* %{_bindir}/gdallocationinfo %{_bindir}/gdal_contour %{_bindir}/gdal_rasterize @@ -610,12 +584,16 @@ popd %{_bindir}/gdalsrsinfo %{_bindir}/gdaltransform %{_bindir}/nearblack +%{_bindir}/gdal_viewshed +%{_bindir}/gdalmdiminfo +%{_bindir}/gdalmdimtranslate %{_bindir}/ogr* %{_bindir}/8211* %{_bindir}/s57* %{_bindir}/testepsg %{_bindir}/gnmanalyse %{_bindir}/gnmmanage +%{_datadir}/bash-completion/completions/* %{_mandir}/man1/gdal*.1* %exclude %{_mandir}/man1/gdal-config.1* %exclude %{_mandir}/man1/gdal2tiles.1* @@ -630,8 +608,8 @@ popd %files libs %doc LICENSE.TXT NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.26 -%{_libdir}/libgdal.so.26.* +%{_libdir}/libgdal.so.27 +%{_libdir}/libgdal.so.27.* %{_datadir}/%{name} #TODO: Possibly remove files like .dxf, .dgn, ... %dir %{_libdir}/%{name}plugins @@ -698,7 +676,7 @@ popd %endif %files doc -%doc gdal_frmts ogrsf_frmts refman +%doc doc/build/html frmts/iso8211/iso8211_html #TODO: jvm #Should be managed by the Alternatives system and not via ldconfig @@ -709,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Tue May 12 2020 Sandro Mani - 3.1.0-1 +- Update to 3.1.0 + * Sat May 09 2020 Markus Neteler - 3.0.4-5 * disabled JAVA and LaTeX support for EPEL8, due to (yet) missing dependencies diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 6102657..1331f5c 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.0.4-fedora/apps/GNUmakefile gdal-3.0.4-fedora-new/apps/GNUmakefile ---- gdal-3.0.4-fedora/apps/GNUmakefile 2020-01-28 11:13:12.000000000 +0100 -+++ gdal-3.0.4-fedora-new/apps/GNUmakefile 2020-03-03 23:17:41.032487778 +0100 -@@ -216,6 +216,7 @@ gdal-config-inst: gdal-config.in ../GDAL +diff -rupN --no-dereference gdal-3.1.0-fedora/apps/GNUmakefile gdal-3.1.0-fedora-new/apps/GNUmakefile +--- gdal-3.1.0-fedora/apps/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/apps/GNUmakefile 2020-05-18 11:28:49.293888148 +0200 +@@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index ee1c4c5..b194f94 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.0.4-fedora/frmts/iso8211/GNUmakefile gdal-3.0.4-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.0.4-fedora/frmts/iso8211/GNUmakefile 2020-01-28 11:13:11.000000000 +0100 -+++ gdal-3.0.4-fedora-new/frmts/iso8211/GNUmakefile 2020-02-06 00:24:10.382117696 +0100 +diff -rupN --no-dereference gdal-3.1.0-fedora/frmts/iso8211/GNUmakefile gdal-3.1.0-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.1.0-fedora/frmts/iso8211/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/frmts/iso8211/GNUmakefile 2020-05-18 11:28:48.892893749 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch new file mode 100644 index 0000000..2692e6d --- /dev/null +++ b/gdal_nopdf.patch @@ -0,0 +1,12 @@ +diff -rupN gdal-3.1.0-fedora/doc/source/index.rst gdal-3.1.0-fedora-new/doc/source/index.rst +--- gdal-3.1.0-fedora/doc/source/index.rst 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/doc/source/index.rst 2020-05-20 18:56:54.508740758 +0200 +@@ -9,8 +9,6 @@ GDAL + + .. include:: ./about_no_title.rst + +-This documentation is also available as a `PDF file `_. +- + .. toctree:: + :maxdepth: 2 + diff --git a/gdal_sphinx-warnings.patch b/gdal_sphinx-warnings.patch new file mode 100644 index 0000000..f66ca46 --- /dev/null +++ b/gdal_sphinx-warnings.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.1.0-fedora/doc/Makefile gdal-3.1.0-fedora-new/doc/Makefile +--- gdal-3.1.0-fedora/doc/Makefile 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/doc/Makefile 2020-05-18 11:28:49.090890982 +0200 +@@ -2,7 +2,7 @@ + # + + # You can set these variables from the command line. +-SPHINXOPTS = --keep-going -j auto -W ++SPHINXOPTS = --keep-going -j auto + SPHINXBUILD = sphinx-build + SOURCEDIR = source + BUILDDIR = build diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 5b55069..8b70170 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.0.4-fedora/frmts/dods/GNUmakefile gdal-3.0.4-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.0.4-fedora/frmts/dods/GNUmakefile 2020-01-28 11:13:11.000000000 +0100 -+++ gdal-3.0.4-fedora-new/frmts/dods/GNUmakefile 2020-02-06 00:23:36.543285168 +0100 +diff -rupN --no-dereference gdal-3.1.0-fedora/frmts/dods/GNUmakefile gdal-3.1.0-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.1.0-fedora/frmts/dods/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/frmts/dods/GNUmakefile 2020-05-18 11:28:48.686896632 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.0.4-fedora/frmts/dods/GNUmakefile gdal-3.0.4- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.0.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.0.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.0.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-01-28 11:13:11.000000000 +0100 -+++ gdal-3.0.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-02-06 00:23:36.543285168 +0100 +diff -rupN --no-dereference gdal-3.1.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.1.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 ++++ gdal-3.1.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-05-18 11:28:48.687896618 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 1ac9d4c..0488d6e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.0.4-fedora.tar.xz) = f880a763cbf3e846789df4c45a68be11121fdc66252dab126d95b79141589435ef7712ed0efcb7d633643f2c82cde88f9663bb15b624e69f362ed2e10a79a110 -SHA512 (gdalautotest-3.0.4.tar.gz) = d205c6eba1c68ade3cd55b9ae77c9a885f1ff87f6964ea4e71799bc98393ddcf92081a5319afd3d0d9d0cf8862d140eb59ad2ccf7e70a955cad2732f55c28e72 +SHA512 (gdal-3.1.0-fedora.tar.xz) = 8a0c20c39d213c3d8fdf807769c1d376fbdc5a73a215173dd5695e77a356d0788fe61a7722ba7228b74211d7c5466d82b69254b1c279a39037bafb2cde2c8c7f +SHA512 (gdalautotest-3.1.0.tar.gz) = 0b5c4ee4dba19c1c6f12689d72f91f24bf6b435adccfaaa10e56b9953148aee301c698e62b460335db1406b52fe0fa0e51960f100f3032e600e7531d334b730d From 1f9c55775026eb003e1235875896b9a2e8cf559c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:46:05 +0200 Subject: [PATCH 006/224] Rebuilt for Python 3.9 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f073e6b..0b2f9e8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.0 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Tue May 26 2020 Miro Hrončok - 3.1.0-2 +- Rebuilt for Python 3.9 + * Tue May 12 2020 Sandro Mani - 3.1.0-1 - Update to 3.1.0 From 539576a433d62d7dc89c1b7baf3871f587d2e4a4 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 25 Jun 2020 14:51:30 +0200 Subject: [PATCH 007/224] Perl 5.32 rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0b2f9e8..ba140ec 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.0 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Jun 25 2020 Jitka Plesnikova - 3.1.0-3 +- Perl 5.32 rebuild + * Tue May 26 2020 Miro Hrončok - 3.1.0-2 - Rebuilt for Python 3.9 From d30a0769d488e761bbad0d4d2747ab7e3ca84eb3 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 25 Jun 2020 19:47:24 -0600 Subject: [PATCH 008/224] Rebuild for hdf5 1.10.6 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index ba140ec..e31ea23 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.0 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Jun 26 2020 Orion Poplawski - 3.1.0-4 +- Rebuild for hdf5 1.10.6 + * Thu Jun 25 2020 Jitka Plesnikova - 3.1.0-3 - Perl 5.32 rebuild From 167d24a476381d9a4457ad0e2332403be68186f3 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Sat, 27 Jun 2020 06:57:28 +0200 Subject: [PATCH 009/224] Perl 5.32 re-rebuild updated packages --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index e31ea23..fe10f74 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.0 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Sat Jun 27 2020 Jitka Plesnikova - 3.1.0-5 +- Perl 5.32 re-rebuild updated packages + * Fri Jun 26 2020 Orion Poplawski - 3.1.0-4 - Rebuild for hdf5 1.10.6 From acf712226bb7db881f1b2e2ad9669be1de88e25e Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 29 Jun 2020 14:10:59 +0200 Subject: [PATCH 010/224] BR: python3-setuptools --- gdal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal.spec b/gdal.spec index fe10f74..5dca093 100644 --- a/gdal.spec +++ b/gdal.spec @@ -154,6 +154,7 @@ BuildRequires: python2-numpy %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-numpy +BuildRequires: python3-setuptools %endif BuildRequires: sqlite-devel BuildRequires: swig From 2cd6c65bddf3f6f8f5043ede499084d7cbcb3516 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 30 Jun 2020 11:53:07 +0200 Subject: [PATCH 011/224] Update to 3.1.1 --- .gitignore | 1 + gdal-1.9.0-java.patch | 6 +++--- gdal-cleaner.sh | 10 +++++++++- gdal.spec | 7 +++++-- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx-warnings.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 3 +-- 10 files changed, 37 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 626ab88..ae377ac 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.0.1-fedora.tar.xz /gdal-3.1.0-fedora.tar.xz /gdalautotest-3.1.0.tar.gz +/gdal-3.1.1-fedora.tar.xz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index 589b05d..93ab613 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.0-fedora/swig/java/java.opt gdal-3.1.0-fedora-new/swig/java/java.opt ---- gdal-3.1.0-fedora/swig/java/java.opt 2020-05-04 11:18:28.000000000 +0200 -+++ gdal-3.1.0-fedora-new/swig/java/java.opt 2020-05-18 11:28:48.479899529 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/swig/java/java.opt gdal-3.1.1-fedora-new/swig/java/java.opt +--- gdal-3.1.1-fedora/swig/java/java.opt 2020-06-22 10:25:55.000000000 +0200 ++++ gdal-3.1.1-fedora-new/swig/java/java.opt 2020-06-30 11:51:59.565549149 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-cleaner.sh b/gdal-cleaner.sh index e8609ea..393ee2e 100755 --- a/gdal-cleaner.sh +++ b/gdal-cleaner.sh @@ -1,5 +1,13 @@ #!/bin/bash -VERSION="3.1.0" + +if [ $# -lt 1 ]; then + echo "Usage: $0 version" + exit 1 +fi + +VERSION="$1" + +wget https://github.com/OSGeo/gdal/releases/download/v$VERSION/gdal-$VERSION.tar.gz tar xvf gdal-"${VERSION}".tar.gz diff --git a/gdal.spec b/gdal.spec index 5dca093..0e4c0f4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,8 +45,8 @@ %endif Name: gdal -Version: 3.1.0 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.1.1 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -688,6 +688,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Jun 30 2020 Sandro Mani - 3.1.1-1 +- Update to 3.1.1 + * Sat Jun 27 2020 Jitka Plesnikova - 3.1.0-5 - Perl 5.32 re-rebuild updated packages diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 1331f5c..069c46c 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.0-fedora/apps/GNUmakefile gdal-3.1.0-fedora-new/apps/GNUmakefile ---- gdal-3.1.0-fedora/apps/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/apps/GNUmakefile 2020-05-18 11:28:49.293888148 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/apps/GNUmakefile gdal-3.1.1-fedora-new/apps/GNUmakefile +--- gdal-3.1.1-fedora/apps/GNUmakefile 2020-06-22 10:25:56.000000000 +0200 ++++ gdal-3.1.1-fedora-new/apps/GNUmakefile 2020-06-30 11:52:01.349547978 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index b194f94..a116f33 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.0-fedora/frmts/iso8211/GNUmakefile gdal-3.1.0-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.1.0-fedora/frmts/iso8211/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/frmts/iso8211/GNUmakefile 2020-05-18 11:28:48.892893749 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/iso8211/GNUmakefile gdal-3.1.1-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.1.1-fedora/frmts/iso8211/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 ++++ gdal-3.1.1-fedora-new/frmts/iso8211/GNUmakefile 2020-06-30 11:52:00.482548548 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 2692e6d..f914ff4 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.1.0-fedora/doc/source/index.rst gdal-3.1.0-fedora-new/doc/source/index.rst ---- gdal-3.1.0-fedora/doc/source/index.rst 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/doc/source/index.rst 2020-05-20 18:56:54.508740758 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/doc/source/index.rst gdal-3.1.1-fedora-new/doc/source/index.rst +--- gdal-3.1.1-fedora/doc/source/index.rst 2020-06-22 10:25:56.000000000 +0200 ++++ gdal-3.1.1-fedora-new/doc/source/index.rst 2020-06-30 11:52:01.715547738 +0200 @@ -9,8 +9,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx-warnings.patch b/gdal_sphinx-warnings.patch index f66ca46..d17649c 100644 --- a/gdal_sphinx-warnings.patch +++ b/gdal_sphinx-warnings.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.0-fedora/doc/Makefile gdal-3.1.0-fedora-new/doc/Makefile ---- gdal-3.1.0-fedora/doc/Makefile 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/doc/Makefile 2020-05-18 11:28:49.090890982 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/doc/Makefile gdal-3.1.1-fedora-new/doc/Makefile +--- gdal-3.1.1-fedora/doc/Makefile 2020-06-22 10:25:55.000000000 +0200 ++++ gdal-3.1.1-fedora-new/doc/Makefile 2020-06-30 11:52:00.968548229 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 8b70170..481d8d2 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.0-fedora/frmts/dods/GNUmakefile gdal-3.1.0-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.1.0-fedora/frmts/dods/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/frmts/dods/GNUmakefile 2020-05-18 11:28:48.686896632 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.1.1-fedora/frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 ++++ gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile 2020-06-30 11:51:59.970548884 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.1.0-fedora/frmts/dods/GNUmakefile gdal-3.1.0- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.1.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.1.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-05-04 11:18:27.000000000 +0200 -+++ gdal-3.1.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-05-18 11:28:48.687896618 +0200 +diff -rupN --no-dereference gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 ++++ gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-30 11:51:59.993548869 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 0488d6e..fb4a1be 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.1.0-fedora.tar.xz) = 8a0c20c39d213c3d8fdf807769c1d376fbdc5a73a215173dd5695e77a356d0788fe61a7722ba7228b74211d7c5466d82b69254b1c279a39037bafb2cde2c8c7f -SHA512 (gdalautotest-3.1.0.tar.gz) = 0b5c4ee4dba19c1c6f12689d72f91f24bf6b435adccfaaa10e56b9953148aee301c698e62b460335db1406b52fe0fa0e51960f100f3032e600e7531d334b730d +SHA512 (gdal-3.1.1-fedora.tar.xz) = 1b48d73f2581d4a9649f4acba2185db543e20609fd902c14d66f372445762436c5b5c38c4eb7a44ca2b943edc37665c7f8d7e8ab7698050324e52bdba25de0f0 From db9f8bec752e9d26109c21a38ddec7c22b2bc46b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 30 Jun 2020 12:04:30 +0200 Subject: [PATCH 012/224] Bump testversion, fix sources --- .gitignore | 1 + gdal.spec | 2 +- sources | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ae377ac..80b7adb 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.1.0-fedora.tar.xz /gdalautotest-3.1.0.tar.gz /gdal-3.1.1-fedora.tar.xz +/gdalautotest-3.1.1.tar.gz diff --git a/gdal.spec b/gdal.spec index 0e4c0f4..be81acd 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,7 +9,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.1.0 +%global testversion 3.1.1 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) diff --git a/sources b/sources index fb4a1be..a3852e0 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.1.1-fedora.tar.xz) = 1b48d73f2581d4a9649f4acba2185db543e20609fd902c14d66f372445762436c5b5c38c4eb7a44ca2b943edc37665c7f8d7e8ab7698050324e52bdba25de0f0 +SHA512 (gdalautotest-3.1.1.tar.gz) = aa93bc7b954999377a5c0f549e9349b2167ebdf26c0ef292ac9f6f3d7b1e9e916b69765f4c795ddc460661fc5e4aa38a1f5d357426dd8f406c4edfd4fd68535f From 7bccf86956e3c5cb57b330fea202e592a0067d12 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 9 Jul 2020 10:21:28 +0200 Subject: [PATCH 013/224] Update to 3.1.2 --- .gitignore | 1 + gdal-1.9.0-java.patch | 6 +++--- gdal.spec | 10 +++++++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx-warnings.patch | 12 ------------ gdal_tirpcinc.patch | 12 ++++++------ sources | 3 +-- 9 files changed, 27 insertions(+), 35 deletions(-) delete mode 100644 gdal_sphinx-warnings.patch diff --git a/.gitignore b/.gitignore index 80b7adb..6f4c72a 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.1.0.tar.gz /gdal-3.1.1-fedora.tar.xz /gdalautotest-3.1.1.tar.gz +/gdal-3.1.2-fedora.tar.xz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index 93ab613..c4c03d2 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/swig/java/java.opt gdal-3.1.1-fedora-new/swig/java/java.opt ---- gdal-3.1.1-fedora/swig/java/java.opt 2020-06-22 10:25:55.000000000 +0200 -+++ gdal-3.1.1-fedora-new/swig/java/java.opt 2020-06-30 11:51:59.565549149 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/swig/java/java.opt gdal-3.1.2-fedora-new/swig/java/java.opt +--- gdal-3.1.2-fedora/swig/java/java.opt 2020-07-07 13:43:38.000000000 +0200 ++++ gdal-3.1.2-fedora-new/swig/java/java.opt 2020-07-07 15:17:32.573888187 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal.spec b/gdal.spec index be81acd..8e8230d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,7 +9,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.1.1 +%global testversion 3.1.2 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -45,7 +45,7 @@ %endif Name: gdal -Version: 3.1.1 +Version: 3.1.2 Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT @@ -68,7 +68,8 @@ Patch3: gdal_tirpcinc.patch # Use libtool to create libiso8211.a, otherwise broken static lib is created since object files are compiled through libtool Patch4: gdal_iso8211.patch # Don't pass -W to sphinx, it causes it to error out on warnings -Patch5: gdal_sphinx-warnings.patch +# Don't do parallel build, currently fails with "Sphinx parallel build error: NotImplementedError" +Patch5: gdal_sphinx.patch # Fix makefiles installing libtool wrappers instead of actual executables Patch6: gdal_installapps.patch # Don't refer to PDF manual which is not built @@ -688,6 +689,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Jul 07 2020 Sandro Mani - 3.1.2-1 +- Update to 3.1.2 + * Tue Jun 30 2020 Sandro Mani - 3.1.1-1 - Update to 3.1.1 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 069c46c..d0d6fcb 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/apps/GNUmakefile gdal-3.1.1-fedora-new/apps/GNUmakefile ---- gdal-3.1.1-fedora/apps/GNUmakefile 2020-06-22 10:25:56.000000000 +0200 -+++ gdal-3.1.1-fedora-new/apps/GNUmakefile 2020-06-30 11:52:01.349547978 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/apps/GNUmakefile gdal-3.1.2-fedora-new/apps/GNUmakefile +--- gdal-3.1.2-fedora/apps/GNUmakefile 2020-07-07 13:43:39.000000000 +0200 ++++ gdal-3.1.2-fedora-new/apps/GNUmakefile 2020-07-07 15:17:33.741889402 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index a116f33..287b587 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/iso8211/GNUmakefile gdal-3.1.1-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.1.1-fedora/frmts/iso8211/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 -+++ gdal-3.1.1-fedora-new/frmts/iso8211/GNUmakefile 2020-06-30 11:52:00.482548548 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/frmts/iso8211/GNUmakefile gdal-3.1.2-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.1.2-fedora/frmts/iso8211/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 ++++ gdal-3.1.2-fedora-new/frmts/iso8211/GNUmakefile 2020-07-07 15:17:33.178888816 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index f914ff4..d3bee9a 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/doc/source/index.rst gdal-3.1.1-fedora-new/doc/source/index.rst ---- gdal-3.1.1-fedora/doc/source/index.rst 2020-06-22 10:25:56.000000000 +0200 -+++ gdal-3.1.1-fedora-new/doc/source/index.rst 2020-06-30 11:52:01.715547738 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/doc/source/index.rst gdal-3.1.2-fedora-new/doc/source/index.rst +--- gdal-3.1.2-fedora/doc/source/index.rst 2020-07-07 13:43:39.000000000 +0200 ++++ gdal-3.1.2-fedora-new/doc/source/index.rst 2020-07-07 15:17:34.025889697 +0200 @@ -9,8 +9,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx-warnings.patch b/gdal_sphinx-warnings.patch deleted file mode 100644 index d17649c..0000000 --- a/gdal_sphinx-warnings.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/doc/Makefile gdal-3.1.1-fedora-new/doc/Makefile ---- gdal-3.1.1-fedora/doc/Makefile 2020-06-22 10:25:55.000000000 +0200 -+++ gdal-3.1.1-fedora-new/doc/Makefile 2020-06-30 11:52:00.968548229 +0200 -@@ -2,7 +2,7 @@ - # - - # You can set these variables from the command line. --SPHINXOPTS = --keep-going -j auto -W -+SPHINXOPTS = --keep-going -j auto - SPHINXBUILD = sphinx-build - SOURCEDIR = source - BUILDDIR = build diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 481d8d2..7946e27 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.1.1-fedora/frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 -+++ gdal-3.1.1-fedora-new/frmts/dods/GNUmakefile 2020-06-30 11:51:59.970548884 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/frmts/dods/GNUmakefile gdal-3.1.2-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.1.2-fedora/frmts/dods/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 ++++ gdal-3.1.2-fedora-new/frmts/dods/GNUmakefile 2020-07-07 15:17:32.871888497 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.1.1-fedora/frmts/dods/GNUmakefile gdal-3.1.1- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.1.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-22 10:25:55.000000000 +0200 -+++ gdal-3.1.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-06-30 11:51:59.993548869 +0200 +diff -rupN --no-dereference gdal-3.1.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.1.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 ++++ gdal-3.1.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-07-07 15:17:32.871888497 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index a3852e0..d293385 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.1.1-fedora.tar.xz) = 1b48d73f2581d4a9649f4acba2185db543e20609fd902c14d66f372445762436c5b5c38c4eb7a44ca2b943edc37665c7f8d7e8ab7698050324e52bdba25de0f0 -SHA512 (gdalautotest-3.1.1.tar.gz) = aa93bc7b954999377a5c0f549e9349b2167ebdf26c0ef292ac9f6f3d7b1e9e916b69765f4c795ddc460661fc5e4aa38a1f5d357426dd8f406c4edfd4fd68535f +SHA512 (gdal-3.1.2-fedora.tar.xz) = 61e7f543696d3919119ee9e1678a4ad89e46c30bf2d4ed51f6ed5eea50128080cab63ce6ba8f35dd7d1a6d9db9c0144243b363d2da8aae1d370e902dde49fb15 From cf21b89def458fb02438fb6a99b417e86b537074 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 9 Jul 2020 10:22:46 +0200 Subject: [PATCH 014/224] Update sources, add gdal_sphinx.patch --- .gitignore | 1 + gdal_sphinx.patch | 12 ++++++++++++ sources | 1 + 3 files changed, 14 insertions(+) create mode 100644 gdal_sphinx.patch diff --git a/.gitignore b/.gitignore index 6f4c72a..89db66d 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.1.1-fedora.tar.xz /gdalautotest-3.1.1.tar.gz /gdal-3.1.2-fedora.tar.xz +/gdalautotest-3.1.2.tar.gz diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch new file mode 100644 index 0000000..4e322f5 --- /dev/null +++ b/gdal_sphinx.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.1.2-fedora/doc/Makefile gdal-3.1.2-fedora-new/doc/Makefile +--- gdal-3.1.2-fedora/doc/Makefile 2020-07-07 13:43:38.000000000 +0200 ++++ gdal-3.1.2-fedora-new/doc/Makefile 2020-07-07 15:17:33.445889094 +0200 +@@ -2,7 +2,7 @@ + # + + # You can set these variables from the command line. +-SPHINXOPTS = --keep-going -j auto -W ++SPHINXOPTS = --keep-going + SPHINXBUILD = sphinx-build + SOURCEDIR = source + BUILDDIR = build diff --git a/sources b/sources index d293385..0e8ff6f 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (gdalautotest-3.1.2.tar.gz) = 014b3986ed67d93f6bfffb6522b9797f2c097d1fe8fca9211293eaacab2344cfa3d1a7507b2786347c3921c18f29964b5d5856f8c9ef4ec6934c39a00f7610a8 SHA512 (gdal-3.1.2-fedora.tar.xz) = 61e7f543696d3919119ee9e1678a4ad89e46c30bf2d4ed51f6ed5eea50128080cab63ce6ba8f35dd7d1a6d9db9c0144243b363d2da8aae1d370e902dde49fb15 From 619901b0758cefe40ce34cb3ac85185730ec8efa Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 10 Jul 2020 19:44:00 +0200 Subject: [PATCH 015/224] Rebuilt for JDK-11 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 8e8230d..d4fe987 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.2 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -689,6 +689,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Jul 10 2020 Jiri Vanek - 3.1.2-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Tue Jul 07 2020 Sandro Mani - 3.1.2-1 - Update to 3.1.2 From 027c7029c02fdeeedfecf1e5f2f7dd98ed3b46cf Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 16 Jul 2020 09:59:04 +0200 Subject: [PATCH 016/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d4fe987..b7c27bc 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.2 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -689,6 +689,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Jul 15 15:55:55 GMT 2020 Sandro Mani - 3.1.2-3 +- Rebuild (poppler) + * Fri Jul 10 2020 Jiri Vanek - 3.1.2-2 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 From d588d2a7f746d295a0f65fdf5a5ca7e189d9165f Mon Sep 17 00:00:00 2001 From: Jiri Date: Thu, 16 Jul 2020 16:29:25 +0200 Subject: [PATCH 017/224] Rebuilt for JDK-11 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index b7c27bc..9350a08 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.2 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -689,6 +689,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Jul 16 2020 Jiri Vanek - 3.1.2-4 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Wed Jul 15 15:55:55 GMT 2020 Sandro Mani - 3.1.2-3 - Rebuild (poppler) From 3401ae59d5fa02f41b98249144725dc855b758bf Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 17 Jul 2020 22:46:21 -0600 Subject: [PATCH 018/224] Drop BuildRequires: g2clib-static as gdal uses a bundled (modified) g2clib --- gdal.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 9350a08..e92dfec 100644 --- a/gdal.spec +++ b/gdal.spec @@ -94,7 +94,6 @@ BuildRequires: expat-devel BuildRequires: fontconfig-devel # No freexl in EL5 BuildRequires: freexl-devel -BuildRequires: g2clib-static BuildRequires: geos-devel >= 3.7.1 BuildRequires: ghostscript BuildRequires: hdf-devel From 84d61b00f4b932f598d8da36827d74e7ab0b55dc Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 22 Jul 2020 11:49:06 +0200 Subject: [PATCH 019/224] Rebuild (poppler) --- gdal.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdal.spec b/gdal.spec index e92dfec..67a6f5f 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.2 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -540,7 +540,7 @@ done pushd %{name}autotest-%{testversion} # Export test enviroment - export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python_sitearch} + export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python2_sitearch} #TODO: Nötig? export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc @@ -688,6 +688,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Jul 22 09:48:50 GMT 2020 Sandro Mani - 3.1.2-5 +- Rebuild (poppler) + * Thu Jul 16 2020 Jiri Vanek - 3.1.2-4 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 From ddfbc54eb4e37d600f6bcb5bb40cd5eed2932f4c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 22 Jul 2020 15:15:22 +0200 Subject: [PATCH 020/224] Add gdal_jasper.patch --- gdal.spec | 2 ++ gdal_jasper.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 gdal_jasper.patch diff --git a/gdal.spec b/gdal.spec index 67a6f5f..d48efc2 100644 --- a/gdal.spec +++ b/gdal.spec @@ -74,6 +74,8 @@ Patch5: gdal_sphinx.patch Patch6: gdal_installapps.patch # Don't refer to PDF manual which is not built Patch7: gdal_nopdf.patch +# Adapt to jasper 2.0.17 +Patch8: gdal_jasper.patch BuildRequires: gcc BuildRequires: gcc-c++ diff --git a/gdal_jasper.patch b/gdal_jasper.patch new file mode 100644 index 0000000..02fb603 --- /dev/null +++ b/gdal_jasper.patch @@ -0,0 +1,31 @@ +diff -rupN gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000dataset.cpp gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp +--- gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000dataset.cpp 2020-07-07 13:46:27.000000000 +0200 ++++ gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp 2020-07-22 12:26:50.419482813 +0200 +@@ -595,7 +595,7 @@ GDALDataset *JPEG2000Dataset::Open( GDAL + + { + int iFormat; +- char *pszFormatName = nullptr; ++ const char *pszFormatName = nullptr; + + if (!Identify(poOpenInfo)) + return nullptr; +diff -rupN gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp +--- gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-07-07 13:46:27.000000000 +0200 ++++ gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-07-22 13:29:02.017426423 +0200 +@@ -94,13 +94,13 @@ typedef struct { + * File stream object. + \******************************************************************************/ + +-static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) ++static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, unsigned int cnt) + { + jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); + return static_cast(VSIFReadL(buf, 1, cnt, fileobj->fp)); + } + +-static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) ++static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt) + { + jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); + return static_cast(VSIFWriteL(buf, 1, cnt, fileobj->fp)); From e7ebba872acce1578b3acbb739965d83cab82f21 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:21:57 +0000 Subject: [PATCH 021/224] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d48efc2..b65babb 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.2 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -690,6 +690,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 3.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 22 09:48:50 GMT 2020 Sandro Mani - 3.1.2-5 - Rebuild (poppler) From a4d8e114bff926873038dbbbcb985cabad1f38c6 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 7 Sep 2020 16:08:23 +0200 Subject: [PATCH 022/224] Update to 3.1.3 --- .gitignore | 1 + gdal-1.9.0-java.patch | 6 +++--- gdal.spec | 10 +++++++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_jasper.patch | 42 ++++++++++++++++-------------------------- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 3 +-- 10 files changed, 46 insertions(+), 52 deletions(-) diff --git a/.gitignore b/.gitignore index 89db66d..b669eff 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.1.1.tar.gz /gdal-3.1.2-fedora.tar.xz /gdalautotest-3.1.2.tar.gz +/gdal-3.1.3-fedora.tar.xz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index c4c03d2..0ff18a1 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/swig/java/java.opt gdal-3.1.2-fedora-new/swig/java/java.opt ---- gdal-3.1.2-fedora/swig/java/java.opt 2020-07-07 13:43:38.000000000 +0200 -+++ gdal-3.1.2-fedora-new/swig/java/java.opt 2020-07-07 15:17:32.573888187 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/swig/java/java.opt gdal-3.1.3-fedora-new/swig/java/java.opt +--- gdal-3.1.3-fedora/swig/java/java.opt 2020-09-01 10:36:31.000000000 +0200 ++++ gdal-3.1.3-fedora-new/swig/java/java.opt 2020-09-07 14:41:31.736573017 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal.spec b/gdal.spec index b65babb..fe001db 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,7 +9,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.1.2 +%global testversion 3.1.3 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -45,8 +45,8 @@ %endif Name: gdal -Version: 3.1.2 -Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.1.3 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -77,6 +77,7 @@ Patch7: gdal_nopdf.patch # Adapt to jasper 2.0.17 Patch8: gdal_jasper.patch + BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libtool @@ -690,6 +691,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Sep 07 2020 Sandro Mani - 3.1.3-1 +- Update to 3.1.3 + * Mon Jul 27 2020 Fedora Release Engineering - 3.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/gdal_installapps.patch b/gdal_installapps.patch index d0d6fcb..f137fef 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/apps/GNUmakefile gdal-3.1.2-fedora-new/apps/GNUmakefile ---- gdal-3.1.2-fedora/apps/GNUmakefile 2020-07-07 13:43:39.000000000 +0200 -+++ gdal-3.1.2-fedora-new/apps/GNUmakefile 2020-07-07 15:17:33.741889402 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/apps/GNUmakefile gdal-3.1.3-fedora-new/apps/GNUmakefile +--- gdal-3.1.3-fedora/apps/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 ++++ gdal-3.1.3-fedora-new/apps/GNUmakefile 2020-09-07 14:41:33.244545332 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 287b587..88ff57f 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/frmts/iso8211/GNUmakefile gdal-3.1.2-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.1.2-fedora/frmts/iso8211/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 -+++ gdal-3.1.2-fedora-new/frmts/iso8211/GNUmakefile 2020-07-07 15:17:33.178888816 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 ++++ gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile 2020-09-07 14:41:32.513558759 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_jasper.patch b/gdal_jasper.patch index 02fb603..6a88fba 100644 --- a/gdal_jasper.patch +++ b/gdal_jasper.patch @@ -1,31 +1,21 @@ -diff -rupN gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000dataset.cpp gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp ---- gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000dataset.cpp 2020-07-07 13:46:27.000000000 +0200 -+++ gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp 2020-07-22 12:26:50.419482813 +0200 -@@ -595,7 +595,7 @@ GDALDataset *JPEG2000Dataset::Open( GDAL +diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp +--- gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-09-01 10:39:25.000000000 +0200 ++++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-09-07 14:41:33.957532225 +0200 +@@ -96,7 +96,7 @@ typedef struct { - { - int iFormat; -- char *pszFormatName = nullptr; -+ const char *pszFormatName = nullptr; + // PRIjas_seqent macro is defined since Jasper 2.0.17 - if (!Identify(poOpenInfo)) - return nullptr; -diff -rupN gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp ---- gdal-3.1.2-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-07-07 13:46:27.000000000 +0200 -+++ gdal-3.1.2-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-07-22 13:29:02.017426423 +0200 -@@ -94,13 +94,13 @@ typedef struct { - * File stream object. - \******************************************************************************/ - --static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) -+static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, unsigned int cnt) - { - jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); +-#ifndef PRIjas_seqent ++#if 0 + static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) + #else + static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, unsigned cnt) +@@ -106,7 +106,7 @@ static int JPEG2000_VSIL_read(jas_stream return static_cast(VSIFReadL(buf, 1, cnt, fileobj->fp)); } --static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) -+static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt) - { - jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); - return static_cast(VSIFWriteL(buf, 1, cnt, fileobj->fp)); +-#ifndef PRIjas_seqent ++#if 0 + static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) + #else + static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index d3bee9a..a463db1 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/doc/source/index.rst gdal-3.1.2-fedora-new/doc/source/index.rst ---- gdal-3.1.2-fedora/doc/source/index.rst 2020-07-07 13:43:39.000000000 +0200 -+++ gdal-3.1.2-fedora-new/doc/source/index.rst 2020-07-07 15:17:34.025889697 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/doc/source/index.rst gdal-3.1.3-fedora-new/doc/source/index.rst +--- gdal-3.1.3-fedora/doc/source/index.rst 2020-09-01 10:36:31.000000000 +0200 ++++ gdal-3.1.3-fedora-new/doc/source/index.rst 2020-09-07 14:41:33.605538696 +0200 @@ -9,8 +9,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 4e322f5..0668d31 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/doc/Makefile gdal-3.1.2-fedora-new/doc/Makefile ---- gdal-3.1.2-fedora/doc/Makefile 2020-07-07 13:43:38.000000000 +0200 -+++ gdal-3.1.2-fedora-new/doc/Makefile 2020-07-07 15:17:33.445889094 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/doc/Makefile gdal-3.1.3-fedora-new/doc/Makefile +--- gdal-3.1.3-fedora/doc/Makefile 2020-09-01 10:36:30.000000000 +0200 ++++ gdal-3.1.3-fedora-new/doc/Makefile 2020-09-07 14:41:32.887551892 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 7946e27..bb68189 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.2-fedora/frmts/dods/GNUmakefile gdal-3.1.2-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.1.2-fedora/frmts/dods/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 -+++ gdal-3.1.2-fedora-new/frmts/dods/GNUmakefile 2020-07-07 15:17:32.871888497 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.1.3-fedora/frmts/dods/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 ++++ gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile 2020-09-07 14:41:32.127565845 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.1.2-fedora/frmts/dods/GNUmakefile gdal-3.1.2- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.1.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.1.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-07-07 13:43:38.000000000 +0200 -+++ gdal-3.1.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-07-07 15:17:32.871888497 +0200 +diff -rupN --no-dereference gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 ++++ gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-09-07 14:41:32.127565845 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 0e8ff6f..683e291 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdalautotest-3.1.2.tar.gz) = 014b3986ed67d93f6bfffb6522b9797f2c097d1fe8fca9211293eaacab2344cfa3d1a7507b2786347c3921c18f29964b5d5856f8c9ef4ec6934c39a00f7610a8 -SHA512 (gdal-3.1.2-fedora.tar.xz) = 61e7f543696d3919119ee9e1678a4ad89e46c30bf2d4ed51f6ed5eea50128080cab63ce6ba8f35dd7d1a6d9db9c0144243b363d2da8aae1d370e902dde49fb15 +SHA512 (gdal-3.1.3-fedora.tar.xz) = dcf576439bd07f0cb51bed4f8a61650cc91d03ec47cdbe091ac9a2713cc6fac3e45a66b4ed6b5e636fc0988de49eb87e466a3654c34d498552c8923377dc7f39 From 8107c2c0efdc2077e7f5237e6581894f50c1ae7b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 7 Sep 2020 16:19:57 +0200 Subject: [PATCH 023/224] Update sources --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b669eff..76d53dd 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.1.2-fedora.tar.xz /gdalautotest-3.1.2.tar.gz /gdal-3.1.3-fedora.tar.xz +/gdalautotest-3.1.3.tar.gz diff --git a/sources b/sources index 683e291..13e1447 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.1.3-fedora.tar.xz) = dcf576439bd07f0cb51bed4f8a61650cc91d03ec47cdbe091ac9a2713cc6fac3e45a66b4ed6b5e636fc0988de49eb87e466a3654c34d498552c8923377dc7f39 +SHA512 (gdalautotest-3.1.3.tar.gz) = 7e259c72cf0c7eec275e0562d1823277ec2272d4d4552995aee38c310faa3514c532579f076c3097150ab8268b2865d75ec8ee7aca32f1ced3efe78147ac4943 From f465375f884288582bdbb8d3512bd1022d27f2ae Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 16 Oct 2020 21:53:03 +0200 Subject: [PATCH 024/224] Rebuild (jasper) --- gdal-1.9.0-java.patch | 2 +- gdal.spec | 8 ++++++-- gdal_installapps.patch | 2 +- gdal_iso8211.patch | 2 +- gdal_jasper.patch | 46 +++++++++++++++++++++++++++++++++--------- gdal_nopdf.patch | 2 +- gdal_sphinx.patch | 2 +- gdal_tirpcinc.patch | 4 ++-- 8 files changed, 49 insertions(+), 19 deletions(-) diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index 0ff18a1..425ae1c 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/swig/java/java.opt gdal-3.1.3-fedora-new/swig/java/java.opt --- gdal-3.1.3-fedora/swig/java/java.opt 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/swig/java/java.opt 2020-09-07 14:41:31.736573017 +0200 ++++ gdal-3.1.3-fedora-new/swig/java/java.opt 2020-10-16 21:26:30.860885421 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal.spec b/gdal.spec index fe001db..67cdb3b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.3 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -74,7 +74,8 @@ Patch5: gdal_sphinx.patch Patch6: gdal_installapps.patch # Don't refer to PDF manual which is not built Patch7: gdal_nopdf.patch -# Adapt to jasper 2.0.17 +# Adapt to jasper 2.0.21 +# See https://github.com/OSGeo/gdal/commit/9ef8e16e27c5fc4c491debe50bf2b7f3e94ed334 Patch8: gdal_jasper.patch @@ -691,6 +692,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Oct 16 21:25:24 CEST 2020 Sandro Mani - 3.1.3-2 +- Rebuild (jasper) + * Mon Sep 07 2020 Sandro Mani - 3.1.3-1 - Update to 3.1.3 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index f137fef..c89c6e4 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/apps/GNUmakefile gdal-3.1.3-fedora-new/apps/GNUmakefile --- gdal-3.1.3-fedora/apps/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/apps/GNUmakefile 2020-09-07 14:41:33.244545332 +0200 ++++ gdal-3.1.3-fedora-new/apps/GNUmakefile 2020-10-16 21:26:31.671884275 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 88ff57f..675bf4b 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile --- gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile 2020-09-07 14:41:32.513558759 +0200 ++++ gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile 2020-10-16 21:26:31.274884836 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_jasper.patch b/gdal_jasper.patch index 6a88fba..2b8e4da 100644 --- a/gdal_jasper.patch +++ b/gdal_jasper.patch @@ -1,21 +1,47 @@ +diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000dataset.cpp gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp +--- gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000dataset.cpp 2020-09-01 10:39:25.000000000 +0200 ++++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp 2020-10-16 21:26:32.069883712 +0200 +@@ -513,7 +513,7 @@ int JPEG2000Dataset::DecodeImage() + for ( iBand = 0; iBand < nBands; iBand++ ) + { + JPEG2000RasterBand* poBand = (JPEG2000RasterBand*) GetRasterBand(iBand+1); +- if (poBand->iDepth != jas_image_cmptprec( psImage, iBand ) || ++ if (poBand->iDepth != static_cast(jas_image_cmptprec( psImage, iBand )) || + poBand->bSignedness != jas_image_cmptsgnd( psImage, iBand )) + { + CPLError(CE_Failure, CPLE_AppDefined, diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp --- gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-09-01 10:39:25.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-09-07 14:41:33.957532225 +0200 -@@ -96,7 +96,7 @@ typedef struct { ++++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-10-16 21:26:32.069883712 +0200 +@@ -94,22 +94,24 @@ typedef struct { + * File stream object. + \******************************************************************************/ ++#if defined(PRIjas_seqent) // PRIjas_seqent macro is defined since Jasper 2.0.17 - +- -#ifndef PRIjas_seqent -+#if 0 - static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) - #else +-static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) +-#else static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, unsigned cnt) -@@ -106,7 +106,7 @@ static int JPEG2000_VSIL_read(jas_stream ++#else ++static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) + #endif + { + jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); return static_cast(VSIFReadL(buf, 1, cnt, fileobj->fp)); } -#ifndef PRIjas_seqent -+#if 0 - static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) - #else +-static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) +-#else ++#if defined(JAS_INCLUDE_JP2_CODEC) ++// Jasper 2.0.21 ++static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, const char *buf, unsigned int cnt) ++#elif defined(PRIjas_seqent) static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt) ++#else ++static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) + #endif + { + jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index a463db1..c2602f7 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/doc/source/index.rst gdal-3.1.3-fedora-new/doc/source/index.rst --- gdal-3.1.3-fedora/doc/source/index.rst 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/doc/source/index.rst 2020-09-07 14:41:33.605538696 +0200 ++++ gdal-3.1.3-fedora-new/doc/source/index.rst 2020-10-16 21:26:31.871883992 +0200 @@ -9,8 +9,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 0668d31..326b84e 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/doc/Makefile gdal-3.1.3-fedora-new/doc/Makefile --- gdal-3.1.3-fedora/doc/Makefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/doc/Makefile 2020-09-07 14:41:32.887551892 +0200 ++++ gdal-3.1.3-fedora-new/doc/Makefile 2020-10-16 21:26:31.476884551 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index bb68189..90af4f4 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile --- gdal-3.1.3-fedora/frmts/dods/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile 2020-09-07 14:41:32.127565845 +0200 ++++ gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile 2020-10-16 21:26:31.068885127 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -12,7 +12,7 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/dods/GNUmakefile gdal-3.1.3- diff -rupN --no-dereference gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile --- gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-09-07 14:41:32.127565845 +0200 ++++ gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-16 21:26:31.068885127 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o From 90905d440cafe18f905d7b2b5176bfd14052d688 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 27 Oct 2020 16:11:13 -0600 Subject: [PATCH 025/224] Fix missing #include for gcc-11 --- gdal-gcc11.patch | 12 ++++++++++++ gdal.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 gdal-gcc11.patch diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch new file mode 100644 index 0000000..55fa93d --- /dev/null +++ b/gdal-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp b/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +index b500df8..4c51316 100644 +--- a/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ++++ b/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + + #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) + // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string diff --git a/gdal.spec b/gdal.spec index 67cdb3b..d4a1a57 100644 --- a/gdal.spec +++ b/gdal.spec @@ -46,7 +46,7 @@ Name: gdal Version: 3.1.3 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -77,6 +77,8 @@ Patch7: gdal_nopdf.patch # Adapt to jasper 2.0.21 # See https://github.com/OSGeo/gdal/commit/9ef8e16e27c5fc4c491debe50bf2b7f3e94ed334 Patch8: gdal_jasper.patch +# Fix issues caught by gcc-11 +Patch9: %{name}-gcc11.patch BuildRequires: gcc @@ -692,6 +694,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Oct 28 2020 Jeff Law - 3.1.3-3 +- Fix missing #include for gcc-11 + * Fri Oct 16 21:25:24 CEST 2020 Sandro Mani - 3.1.3-2 - Rebuild (jasper) From 4b2f3f618e67eafd40d4c97b142f98fc0cc7c3c8 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 2 Nov 2020 12:32:58 +0100 Subject: [PATCH 026/224] Update to 3.1.4 --- .gitignore | 2 ++ gdal-1.9.0-java.patch | 6 +++--- gdal-gcc11.patch | 7 +++---- gdal.spec | 16 +++++++------- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_jasper.patch | 47 ------------------------------------------ gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 +++++------ sources | 4 ++-- 11 files changed, 36 insertions(+), 82 deletions(-) delete mode 100644 gdal_jasper.patch diff --git a/.gitignore b/.gitignore index 76d53dd..632990e 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.1.2.tar.gz /gdal-3.1.3-fedora.tar.xz /gdalautotest-3.1.3.tar.gz +/gdal-3.1.4-fedora.tar.xz +/gdalautotest-3.1.4.tar.gz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index 425ae1c..b79d0fc 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/swig/java/java.opt gdal-3.1.3-fedora-new/swig/java/java.opt ---- gdal-3.1.3-fedora/swig/java/java.opt 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/swig/java/java.opt 2020-10-16 21:26:30.860885421 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/swig/java/java.opt gdal-3.1.4-fedora-new/swig/java/java.opt +--- gdal-3.1.4-fedora/swig/java/java.opt 2020-10-20 11:47:08.000000000 +0200 ++++ gdal-3.1.4-fedora-new/swig/java/java.opt 2020-11-02 11:56:48.341314610 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 55fa93d..595a7c1 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,7 +1,6 @@ -diff --git a/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp b/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp -index b500df8..4c51316 100644 ---- a/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp -+++ b/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +diff -rupN --no-dereference gdal-3.1.4-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.1.4-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-10-20 11:50:59.000000000 +0200 ++++ gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-11-02 11:56:49.997342382 +0100 @@ -38,6 +38,7 @@ #include #include diff --git a/gdal.spec b/gdal.spec index d4a1a57..0af7480 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,7 +9,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.1.3 +%global testversion 3.1.4 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -45,8 +45,8 @@ %endif Name: gdal -Version: 3.1.3 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.1.4 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -74,11 +74,8 @@ Patch5: gdal_sphinx.patch Patch6: gdal_installapps.patch # Don't refer to PDF manual which is not built Patch7: gdal_nopdf.patch -# Adapt to jasper 2.0.21 -# See https://github.com/OSGeo/gdal/commit/9ef8e16e27c5fc4c491debe50bf2b7f3e94ed334 -Patch8: gdal_jasper.patch # Fix issues caught by gcc-11 -Patch9: %{name}-gcc11.patch +Patch8: %{name}-gcc11.patch BuildRequires: gcc @@ -694,7 +691,10 @@ popd #Or as before, using ldconfig %changelog -* Tue Oct 28 2020 Jeff Law - 3.1.3-3 +* Mon Nov 02 2020 Sandro Mani - 3.1.4-1 +- Update to 3.1.4 + +* Wed Oct 28 2020 Jeff Law - 3.1.3-3 - Fix missing #include for gcc-11 * Fri Oct 16 21:25:24 CEST 2020 Sandro Mani - 3.1.3-2 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index c89c6e4..83e5330 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/apps/GNUmakefile gdal-3.1.3-fedora-new/apps/GNUmakefile ---- gdal-3.1.3-fedora/apps/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/apps/GNUmakefile 2020-10-16 21:26:31.671884275 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/apps/GNUmakefile gdal-3.1.4-fedora-new/apps/GNUmakefile +--- gdal-3.1.4-fedora/apps/GNUmakefile 2020-10-20 11:47:09.000000000 +0200 ++++ gdal-3.1.4-fedora-new/apps/GNUmakefile 2020-11-02 11:56:49.446333140 +0100 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 675bf4b..6a1bbe4 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.1.3-fedora/frmts/iso8211/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/iso8211/GNUmakefile 2020-10-16 21:26:31.274884836 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/frmts/iso8211/GNUmakefile gdal-3.1.4-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.1.4-fedora/frmts/iso8211/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 ++++ gdal-3.1.4-fedora-new/frmts/iso8211/GNUmakefile 2020-11-02 11:56:48.896323916 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_jasper.patch b/gdal_jasper.patch deleted file mode 100644 index 2b8e4da..0000000 --- a/gdal_jasper.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000dataset.cpp gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp ---- gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000dataset.cpp 2020-09-01 10:39:25.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000dataset.cpp 2020-10-16 21:26:32.069883712 +0200 -@@ -513,7 +513,7 @@ int JPEG2000Dataset::DecodeImage() - for ( iBand = 0; iBand < nBands; iBand++ ) - { - JPEG2000RasterBand* poBand = (JPEG2000RasterBand*) GetRasterBand(iBand+1); -- if (poBand->iDepth != jas_image_cmptprec( psImage, iBand ) || -+ if (poBand->iDepth != static_cast(jas_image_cmptprec( psImage, iBand )) || - poBand->bSignedness != jas_image_cmptsgnd( psImage, iBand )) - { - CPLError(CE_Failure, CPLE_AppDefined, -diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp ---- gdal-3.1.3-fedora/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-09-01 10:39:25.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/jpeg2000/jpeg2000_vsil_io.cpp 2020-10-16 21:26:32.069883712 +0200 -@@ -94,22 +94,24 @@ typedef struct { - * File stream object. - \******************************************************************************/ - -+#if defined(PRIjas_seqent) - // PRIjas_seqent macro is defined since Jasper 2.0.17 -- --#ifndef PRIjas_seqent --static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) --#else - static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, unsigned cnt) -+#else -+static int JPEG2000_VSIL_read(jas_stream_obj_t *obj, char *buf, int cnt) - #endif - { - jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); - return static_cast(VSIFReadL(buf, 1, cnt, fileobj->fp)); - } - --#ifndef PRIjas_seqent --static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) --#else -+#if defined(JAS_INCLUDE_JP2_CODEC) -+// Jasper 2.0.21 -+static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, const char *buf, unsigned int cnt) -+#elif defined(PRIjas_seqent) - static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt) -+#else -+static int JPEG2000_VSIL_write(jas_stream_obj_t *obj, char *buf, int cnt) - #endif - { - jas_stream_VSIFL_t *fileobj = JAS_CAST(jas_stream_VSIFL_t *, obj); diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index c2602f7..7dc1578 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/doc/source/index.rst gdal-3.1.3-fedora-new/doc/source/index.rst ---- gdal-3.1.3-fedora/doc/source/index.rst 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/doc/source/index.rst 2020-10-16 21:26:31.871883992 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/doc/source/index.rst gdal-3.1.4-fedora-new/doc/source/index.rst +--- gdal-3.1.4-fedora/doc/source/index.rst 2020-10-20 11:47:09.000000000 +0200 ++++ gdal-3.1.4-fedora-new/doc/source/index.rst 2020-11-02 11:56:49.720337736 +0100 @@ -9,8 +9,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 326b84e..9ae60f6 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/doc/Makefile gdal-3.1.3-fedora-new/doc/Makefile ---- gdal-3.1.3-fedora/doc/Makefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/doc/Makefile 2020-10-16 21:26:31.476884551 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/doc/Makefile gdal-3.1.4-fedora-new/doc/Makefile +--- gdal-3.1.4-fedora/doc/Makefile 2020-10-20 11:47:08.000000000 +0200 ++++ gdal-3.1.4-fedora-new/doc/Makefile 2020-11-02 11:56:49.173328561 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 90af4f4..e93038a 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.1.3-fedora/frmts/dods/GNUmakefile 2020-09-01 10:36:30.000000000 +0200 -+++ gdal-3.1.3-fedora-new/frmts/dods/GNUmakefile 2020-10-16 21:26:31.068885127 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/frmts/dods/GNUmakefile gdal-3.1.4-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.1.4-fedora/frmts/dods/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 ++++ gdal-3.1.4-fedora-new/frmts/dods/GNUmakefile 2020-11-02 11:56:48.643319674 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.1.3-fedora/frmts/dods/GNUmakefile gdal-3.1.3- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.1.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-09-01 10:36:31.000000000 +0200 -+++ gdal-3.1.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-16 21:26:31.068885127 +0200 +diff -rupN --no-dereference gdal-3.1.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.1.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 ++++ gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-11-02 11:56:48.643319674 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 13e1447..375f667 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.1.3-fedora.tar.xz) = dcf576439bd07f0cb51bed4f8a61650cc91d03ec47cdbe091ac9a2713cc6fac3e45a66b4ed6b5e636fc0988de49eb87e466a3654c34d498552c8923377dc7f39 -SHA512 (gdalautotest-3.1.3.tar.gz) = 7e259c72cf0c7eec275e0562d1823277ec2272d4d4552995aee38c310faa3514c532579f076c3097150ab8268b2865d75ec8ee7aca32f1ced3efe78147ac4943 +SHA512 (gdal-3.1.4-fedora.tar.xz) = 191e52c9d01a349a2036fb82f10aad8f2945b1bc0c10e04d568d10644e0b64e503efc38c38f73ab9a80d0ece39ae625b64531eededb91af7b7ea95ad3dcc4105 +SHA512 (gdalautotest-3.1.4.tar.gz) = 656215632d37fd9dba377ef28d44dce47bcda6cd3ce8eeddf48c22d810f906e805664b2980d04f07ae4653fc3b385a7ee321e0fe7d69f9c2d83d2b271367161c From 58a4d06d29e345d9d0232aa33356e6f835e467db Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 12 Nov 2020 00:14:03 +0100 Subject: [PATCH 027/224] Update to 3.2.0 --- .gitignore | 2 ++ gdal-1.9.0-java.patch | 6 +++--- gdal-gcc11.patch | 6 +++--- gdal.spec | 28 +++++++++++----------------- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_nopdf.patch | 8 ++++---- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 10 files changed, 40 insertions(+), 44 deletions(-) diff --git a/.gitignore b/.gitignore index 632990e..33bd557 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.1.3.tar.gz /gdal-3.1.4-fedora.tar.xz /gdalautotest-3.1.4.tar.gz +/gdalautotest-3.2.0.tar.gz +/gdal-3.2.0-fedora.tar.xz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index b79d0fc..db697fd 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/swig/java/java.opt gdal-3.1.4-fedora-new/swig/java/java.opt ---- gdal-3.1.4-fedora/swig/java/java.opt 2020-10-20 11:47:08.000000000 +0200 -+++ gdal-3.1.4-fedora-new/swig/java/java.opt 2020-11-02 11:56:48.341314610 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/swig/java/java.opt gdal-3.2.0-fedora-new/swig/java/java.opt +--- gdal-3.2.0-fedora/swig/java/java.opt 2020-10-26 14:05:40.000000000 +0100 ++++ gdal-3.2.0-fedora-new/swig/java/java.opt 2020-11-12 00:13:52.048881098 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 595a7c1..5b0b8df 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.1.4-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-10-20 11:50:59.000000000 +0200 -+++ gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-11-02 11:56:49.997342382 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-10-26 14:09:09.000000000 +0100 ++++ gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-11-12 00:13:53.604880951 +0100 @@ -38,6 +38,7 @@ #include #include diff --git a/gdal.spec b/gdal.spec index 0af7480..1732796 100644 --- a/gdal.spec +++ b/gdal.spec @@ -9,7 +9,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.1.4 +%global testversion 3.2.0 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -45,7 +45,7 @@ %endif Name: gdal -Version: 3.1.4 +Version: 3.2.0 Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT @@ -573,6 +573,7 @@ popd %files %{_bindir}/gdallocationinfo %{_bindir}/gdal_contour +%{_bindir}/gdal_create %{_bindir}/gdal_rasterize %{_bindir}/gdal_translate %{_bindir}/gdaladdo @@ -584,7 +585,6 @@ popd %{_bindir}/gdal_grid %{_bindir}/gdalenhance %{_bindir}/gdalmanage -%{_bindir}/gdalserver %{_bindir}/gdalsrsinfo %{_bindir}/gdaltransform %{_bindir}/nearblack @@ -612,8 +612,8 @@ popd %files libs %doc LICENSE.TXT NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.27 -%{_libdir}/libgdal.so.27.* +%{_libdir}/libgdal.so.28 +%{_libdir}/libgdal.so.28.* %{_datadir}/%{name} #TODO: Possibly remove files like .dxf, .dgn, ... %dir %{_libdir}/%{name}plugins @@ -646,11 +646,8 @@ popd %files -n python2-gdal %doc swig/python/README.rst %doc swig/python/samples -%{python2_sitearch}/osgeo -%{python2_sitearch}/GDAL-%{version}-py*.egg-info -%{python2_sitearch}/osr.py* -%{python2_sitearch}/ogr.py* -%{python2_sitearch}/gdal*.py* +%{python2_sitearch}/osgeo/ +%{python2_sitearch}/GDAL-%{version}-py*.egg-info/ %endif %if %{with python3} @@ -658,13 +655,7 @@ popd %doc swig/python/README.rst %doc swig/python/samples %{python3_sitearch}/osgeo -%{python3_sitearch}/GDAL-%{version}-py*.egg-info -%{python3_sitearch}/osr.py -%{python3_sitearch}/__pycache__/osr.*.py* -%{python3_sitearch}/ogr.py -%{python3_sitearch}/__pycache__/ogr.*.py* -%{python3_sitearch}/gdal*.py -%{python3_sitearch}/__pycache__/gdal*.*.py* +%{python3_sitearch}/GDAL-%{version}-py*.egg-info/ %endif %if %{with python2} || %{with python3} @@ -691,6 +682,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Nov 05 2020 Sandro Mani - 3.2.0-1 +- Update to 3.2.0 + * Mon Nov 02 2020 Sandro Mani - 3.1.4-1 - Update to 3.1.4 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 83e5330..55b9f4f 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/apps/GNUmakefile gdal-3.1.4-fedora-new/apps/GNUmakefile ---- gdal-3.1.4-fedora/apps/GNUmakefile 2020-10-20 11:47:09.000000000 +0200 -+++ gdal-3.1.4-fedora-new/apps/GNUmakefile 2020-11-02 11:56:49.446333140 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/apps/GNUmakefile gdal-3.2.0-fedora-new/apps/GNUmakefile +--- gdal-3.2.0-fedora/apps/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/apps/GNUmakefile 2020-11-12 00:13:53.083881000 +0100 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 6a1bbe4..968b872 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/frmts/iso8211/GNUmakefile gdal-3.1.4-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.1.4-fedora/frmts/iso8211/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 -+++ gdal-3.1.4-fedora-new/frmts/iso8211/GNUmakefile 2020-11-02 11:56:48.896323916 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/frmts/iso8211/GNUmakefile gdal-3.2.0-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.2.0-fedora/frmts/iso8211/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/frmts/iso8211/GNUmakefile 2020-11-12 00:13:52.575881048 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 7dc1578..57505da 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/doc/source/index.rst gdal-3.1.4-fedora-new/doc/source/index.rst ---- gdal-3.1.4-fedora/doc/source/index.rst 2020-10-20 11:47:09.000000000 +0200 -+++ gdal-3.1.4-fedora-new/doc/source/index.rst 2020-11-02 11:56:49.720337736 +0100 -@@ -9,8 +9,6 @@ GDAL +diff -rupN --no-dereference gdal-3.2.0-fedora/doc/source/index.rst gdal-3.2.0-fedora-new/doc/source/index.rst +--- gdal-3.2.0-fedora/doc/source/index.rst 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/doc/source/index.rst 2020-11-12 00:13:53.348880975 +0100 +@@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 9ae60f6..b2a6ff8 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/doc/Makefile gdal-3.1.4-fedora-new/doc/Makefile ---- gdal-3.1.4-fedora/doc/Makefile 2020-10-20 11:47:08.000000000 +0200 -+++ gdal-3.1.4-fedora-new/doc/Makefile 2020-11-02 11:56:49.173328561 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/doc/Makefile gdal-3.2.0-fedora-new/doc/Makefile +--- gdal-3.2.0-fedora/doc/Makefile 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/doc/Makefile 2020-11-12 00:13:52.828881024 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index e93038a..de5985f 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.1.4-fedora/frmts/dods/GNUmakefile gdal-3.1.4-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.1.4-fedora/frmts/dods/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 -+++ gdal-3.1.4-fedora-new/frmts/dods/GNUmakefile 2020-11-02 11:56:48.643319674 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/frmts/dods/GNUmakefile gdal-3.2.0-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.2.0-fedora/frmts/dods/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/frmts/dods/GNUmakefile 2020-11-12 00:13:52.314881073 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.1.4-fedora/frmts/dods/GNUmakefile gdal-3.1.4- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.1.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.1.4-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-20 11:47:08.000000000 +0200 -+++ gdal-3.1.4-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-11-02 11:56:48.643319674 +0100 +diff -rupN --no-dereference gdal-3.2.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.2.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 ++++ gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-11-12 00:13:52.314881073 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 375f667..c7fabcc 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.1.4-fedora.tar.xz) = 191e52c9d01a349a2036fb82f10aad8f2945b1bc0c10e04d568d10644e0b64e503efc38c38f73ab9a80d0ece39ae625b64531eededb91af7b7ea95ad3dcc4105 -SHA512 (gdalautotest-3.1.4.tar.gz) = 656215632d37fd9dba377ef28d44dce47bcda6cd3ce8eeddf48c22d810f906e805664b2980d04f07ae4653fc3b385a7ee321e0fe7d69f9c2d83d2b271367161c +SHA512 (gdalautotest-3.2.0.tar.gz) = 8ac8283c10ff397fc7cadceb02871c5c9e25d86d63c1eac8bb0e6e3c45f742c70143b759d20c7fb2e350b09528dad4d9449e863456d6283170637c1fdb7cc65a +SHA512 (gdal-3.2.0-fedora.tar.xz) = 0fa73c1d188646b08b139c85f7b339e638d593e3d58fda8a93183f66dcbf62feba10423cd4a1669bef59aa2bcf423686dec63e2a9e95e173666793eb3492dcd0 From 06a5516507dcab7009972fcef17c4d6036a585d2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 13 Nov 2020 12:23:01 +0100 Subject: [PATCH 028/224] Spec cleanups --- gdal.spec | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/gdal.spec b/gdal.spec index 1732796..0258c1a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,4 +1,3 @@ -#TODO: Create script to make clean tarball #TODO: msg needs to have PublicDecompWT.zip from EUMETSAT, which is not free; # Building without msg therefore #TODO: e00compr bundled? @@ -84,18 +83,15 @@ BuildRequires: libtool BuildRequires: automake BuildRequires: autoconf BuildRequires: ant -# No armadillo in EL5 BuildRequires: armadillo-devel BuildRequires: bash-completion BuildRequires: cfitsio-devel -# No CharLS in EL5 #BuildRequires: CharLS-devel BuildRequires: chrpath BuildRequires: curl-devel BuildRequires: doxygen BuildRequires: expat-devel BuildRequires: fontconfig-devel -# No freexl in EL5 BuildRequires: freexl-devel BuildRequires: geos-devel >= 3.7.1 BuildRequires: ghostscript @@ -115,12 +111,10 @@ BuildRequires: javapackages-local %endif BuildRequires: json-c-devel BuildRequires: libgeotiff-devel -# No libgta in EL5 BuildRequires: libgta-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel -# No libkml in EL BuildRequires: libkml-devel %if %{with_spatialite} @@ -128,7 +122,6 @@ BuildRequires: libspatialite-devel %endif BuildRequires: libtiff-devel -# No libwebp in EL 5 and 6 BuildRequires: libwebp-devel BuildRequires: libtool BuildRequires: giflib-devel @@ -183,7 +176,6 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} %global cpuarch 64 %endif -#TODO: Description on the lib? %description Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform C++ translator library for raster and vector geospatial data formats. @@ -242,6 +234,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %description perl The GDAL Perl modules provide support to handle multiple GIS file formats. + %if %{with python2} %package -n python2-gdal %{?python_provide:%python_provide python2-gdal} @@ -291,6 +284,7 @@ BuildArch: noarch %description doc This package contains documentation for GDAL. + # We don't want to provide private Python extension libs %if %{with python2} && %{with python3} %global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\.so$ @@ -301,7 +295,6 @@ This package contains documentation for GDAL. %endif - %prep %autosetup -p1 -n %{name}-%{version}-fedora -a 1 @@ -317,21 +310,12 @@ rm -rf frmts/gtiff/libtiff # Copy in PROVENANCE.TXT-fedora cp -p %SOURCE4 . -# Sanitize permissions -chmod 644 apps/gnmanalyse.cpp apps/gnmmanage.cpp - # Adjust check for LibDAP version # http://trac.osgeo.org/gdal/ticket/4545 %if %cpuarch == 64 sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure.ac %endif -# Fix mandir -sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure.ac - -# Delete .doxygen_up_to_date, otherwise doxygen isn't run -rm -f doc/.doxygen_up_to_date - %build # For future reference: @@ -611,11 +595,11 @@ popd %files libs -%doc LICENSE.TXT NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora +%license LICENSE.TXT +%doc NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora %{_libdir}/libgdal.so.28 %{_libdir}/libgdal.so.28.* %{_datadir}/%{name} -#TODO: Possibly remove files like .dxf, .dgn, ... %dir %{_libdir}/%{name}plugins %files devel From 8cfdc63e757603f6a0b42a691c1bb3da20b86382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 9 Dec 2020 13:55:28 +0100 Subject: [PATCH 029/224] Expand gcc11 build fix clang reports more missing includes. --- gdal-gcc11.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 5b0b8df..5aa84df 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -9,3 +9,24 @@ diff -rupN --no-dereference gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string +--- gdal-3.2.0-fedora.orig/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-10-26 14:09:10.000000000 +0100 ++++ gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-12-09 13:25:53.532821589 +0100 +@@ -33,6 +33,7 @@ + + #include + #include ++#include + + //------------------------------------------------------------------------------ + // CADVector +diff -ruN gdal-3.2.0-fedora.orig/third_party/LercLib/Lerc2.h gdal-3.2.0-fedora/third_party/LercLib/Lerc2.h +--- gdal-3.2.0-fedora.orig/third_party/LercLib/Lerc2.h 2020-10-26 14:09:38.000000000 +0100 ++++ gdal-3.2.0-fedora/third_party/LercLib/Lerc2.h 2020-12-09 13:16:21.573217232 +0100 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include "Defines.h" + #include "BitMask.h" + #include "BitStuffer2.h" From ebee805e37b2b8c413fd91b03f1ba75fb4da65bd Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 18 Dec 2020 23:09:46 +0000 Subject: [PATCH 030/224] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- gdal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal.spec b/gdal.spec index 0258c1a..a14b2df 100644 --- a/gdal.spec +++ b/gdal.spec @@ -163,6 +163,7 @@ BuildRequires: libtirpc-devel BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme BuildRequires: python3-breathe +BuildRequires: make # Run time dependency for gpsbabel driver Requires: gpsbabel From 38fa95eb7845dac22c8c42fb8611b293b7d0e9bd Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 5 Jan 2021 10:40:29 +0100 Subject: [PATCH 031/224] Update to 3.2.1 --- .gitignore | 2 ++ gdal-1.9.0-java.patch | 6 +++--- gdal-gcc11.patch | 41 +++++++++++++++++++++-------------------- gdal.spec | 7 +++++-- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 10 files changed, 51 insertions(+), 45 deletions(-) diff --git a/.gitignore b/.gitignore index 33bd557..b120142 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.1.4.tar.gz /gdalautotest-3.2.0.tar.gz /gdal-3.2.0-fedora.tar.xz +/gdal-3.2.1-fedora.tar.xz +/gdalautotest-3.2.1.tar.gz diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index db697fd..48c09f2 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/swig/java/java.opt gdal-3.2.0-fedora-new/swig/java/java.opt ---- gdal-3.2.0-fedora/swig/java/java.opt 2020-10-26 14:05:40.000000000 +0100 -+++ gdal-3.2.0-fedora-new/swig/java/java.opt 2020-11-12 00:13:52.048881098 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/swig/java/java.opt gdal-3.2.1-fedora-new/swig/java/java.opt +--- gdal-3.2.1-fedora/swig/java/java.opt 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/swig/java/java.opt 2021-01-04 21:49:35.504249023 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 5aa84df..9e33d56 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,29 +1,30 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-10-26 14:09:09.000000000 +0100 -+++ gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-11-12 00:13:53.604880951 +0100 -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) - // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string ---- gdal-3.2.0-fedora.orig/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-10-26 14:09:10.000000000 +0100 -+++ gdal-3.2.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-12-09 13:25:53.532821589 +0100 -@@ -33,6 +33,7 @@ - +diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-12-29 13:19:32.000000000 +0100 ++++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-01-04 21:49:36.914247237 +0100 +@@ -34,6 +34,7 @@ + #include #include #include +#include //------------------------------------------------------------------------------ // CADVector -diff -ruN gdal-3.2.0-fedora.orig/third_party/LercLib/Lerc2.h gdal-3.2.0-fedora/third_party/LercLib/Lerc2.h ---- gdal-3.2.0-fedora.orig/third_party/LercLib/Lerc2.h 2020-10-26 14:09:38.000000000 +0100 -+++ gdal-3.2.0-fedora/third_party/LercLib/Lerc2.h 2020-12-09 13:16:21.573217232 +0100 -@@ -29,6 +29,7 @@ - #include +diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-12-29 13:19:31.000000000 +0100 ++++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-01-04 21:49:36.913247238 +0100 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) + // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string +diff -rupN --no-dereference gdal-3.2.1-fedora/third_party/LercLib/Lerc2.h gdal-3.2.1-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.2.1-fedora/third_party/LercLib/Lerc2.h 2020-12-29 13:20:02.000000000 +0100 ++++ gdal-3.2.1-fedora-new/third_party/LercLib/Lerc2.h 2021-01-04 21:49:36.914247237 +0100 +@@ -30,6 +30,7 @@ Contributors: Thomas Maurer + #include #include #include +#include diff --git a/gdal.spec b/gdal.spec index a14b2df..4cf76a9 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.2.0 +%global testversion 3.2.1 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -44,7 +44,7 @@ %endif Name: gdal -Version: 3.2.0 +Version: 3.2.1 Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT @@ -667,6 +667,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Jan 04 2021 Sandro Mani - 3.2.1-1 +- Update to 3.2.1 + * Thu Nov 05 2020 Sandro Mani - 3.2.0-1 - Update to 3.2.0 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 55b9f4f..6633ff2 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/apps/GNUmakefile gdal-3.2.0-fedora-new/apps/GNUmakefile ---- gdal-3.2.0-fedora/apps/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/apps/GNUmakefile 2020-11-12 00:13:53.083881000 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/apps/GNUmakefile gdal-3.2.1-fedora-new/apps/GNUmakefile +--- gdal-3.2.1-fedora/apps/GNUmakefile 2020-12-29 13:15:46.000000000 +0100 ++++ gdal-3.2.1-fedora-new/apps/GNUmakefile 2021-01-04 21:49:36.444247832 +0100 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 968b872..0c9e975 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/frmts/iso8211/GNUmakefile gdal-3.2.0-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.2.0-fedora/frmts/iso8211/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/frmts/iso8211/GNUmakefile 2020-11-12 00:13:52.575881048 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/frmts/iso8211/GNUmakefile gdal-3.2.1-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.2.1-fedora/frmts/iso8211/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/frmts/iso8211/GNUmakefile 2021-01-04 21:49:35.992248405 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 57505da..b53a5d8 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/doc/source/index.rst gdal-3.2.0-fedora-new/doc/source/index.rst ---- gdal-3.2.0-fedora/doc/source/index.rst 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/doc/source/index.rst 2020-11-12 00:13:53.348880975 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/doc/source/index.rst gdal-3.2.1-fedora-new/doc/source/index.rst +--- gdal-3.2.1-fedora/doc/source/index.rst 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/doc/source/index.rst 2021-01-04 21:49:36.681247532 +0100 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index b2a6ff8..5e8a38f 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/doc/Makefile gdal-3.2.0-fedora-new/doc/Makefile ---- gdal-3.2.0-fedora/doc/Makefile 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/doc/Makefile 2020-11-12 00:13:52.828881024 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/doc/Makefile gdal-3.2.1-fedora-new/doc/Makefile +--- gdal-3.2.1-fedora/doc/Makefile 2020-12-29 13:15:46.000000000 +0100 ++++ gdal-3.2.1-fedora-new/doc/Makefile 2021-01-04 21:49:36.218248119 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index de5985f..3658f56 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.0-fedora/frmts/dods/GNUmakefile gdal-3.2.0-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.2.0-fedora/frmts/dods/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/frmts/dods/GNUmakefile 2020-11-12 00:13:52.314881073 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/frmts/dods/GNUmakefile gdal-3.2.1-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.2.1-fedora/frmts/dods/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/frmts/dods/GNUmakefile 2021-01-04 21:49:35.758248701 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.2.0-fedora/frmts/dods/GNUmakefile gdal-3.2.0- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.2.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.2.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-10-26 14:05:39.000000000 +0100 -+++ gdal-3.2.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2020-11-12 00:13:52.314881073 +0100 +diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.2.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-01-04 21:49:35.758248701 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index c7fabcc..03e88bb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.2.0.tar.gz) = 8ac8283c10ff397fc7cadceb02871c5c9e25d86d63c1eac8bb0e6e3c45f742c70143b759d20c7fb2e350b09528dad4d9449e863456d6283170637c1fdb7cc65a -SHA512 (gdal-3.2.0-fedora.tar.xz) = 0fa73c1d188646b08b139c85f7b339e638d593e3d58fda8a93183f66dcbf62feba10423cd4a1669bef59aa2bcf423686dec63e2a9e95e173666793eb3492dcd0 +SHA512 (gdal-3.2.1-fedora.tar.xz) = bdc0f25c0bec5f9de48ae3ba53c75e2b19da39338d35dcb714948dded4cc5df9f9b951687d8b40205a37f83fbeb20d65d3fd2bcb60e4a5000a115487a01775b2 +SHA512 (gdalautotest-3.2.1.tar.gz) = 2cfa364b596bda8e0609fd31da8802f662ef0a3da09ba3a1e9444a855d2271a0d9f2191f4352aae5919d747f355a0573509f8ee5e117aa65bc605eb10d4d2ed8 From ead8b240e6f38f432dd1842a641ac6818a0ad77a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matos?= Date: Tue, 5 Jan 2021 18:08:40 +0000 Subject: [PATCH 032/224] rebuild for armadillo 10 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 4cf76a9..f3608cd 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -667,6 +667,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Jan 5 18:08:07 WET 2021 José Matos - 3.2.1-2 +- rebuild for armadillo 10 + * Mon Jan 04 2021 Sandro Mani - 3.2.1-1 - Update to 3.2.1 From 638c0bff6656b26aff4d1116fa427764fb85f715 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 15 Jan 2021 11:52:05 +0100 Subject: [PATCH 033/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f3608cd..43f0cd5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -667,6 +667,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Jan 15 11:51:40 CET 2021 Sandro Mani - 3.2.1-3 +- Rebuild (poppler) + * Tue Jan 5 18:08:07 WET 2021 José Matos - 3.2.1-2 - rebuild for armadillo 10 From 16b7b8026675f6de22d0baae788d61773743564e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:27:14 +0000 Subject: [PATCH 034/224] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 43f0cd5..6ada448 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -667,6 +667,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 3.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Jan 15 11:51:40 CET 2021 Sandro Mani - 3.2.1-3 - Rebuild (poppler) From 8970e29c1d1e611f0b56f2c553f78e800d9d85e1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 27 Jan 2021 14:16:58 +0100 Subject: [PATCH 035/224] Add gdal_no-diag-disable.patch --- gdal.spec | 2 ++ gdal_no-diag-disable.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gdal_no-diag-disable.patch diff --git a/gdal.spec b/gdal.spec index 6ada448..265cdc7 100644 --- a/gdal.spec +++ b/gdal.spec @@ -75,6 +75,8 @@ Patch6: gdal_installapps.patch Patch7: gdal_nopdf.patch # Fix issues caught by gcc-11 Patch8: %{name}-gcc11.patch +# Drop -diag-disable compile flag +Patch9: gdal_no-diag-disable.patch BuildRequires: gcc diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch new file mode 100644 index 0000000..8eefe7d --- /dev/null +++ b/gdal_no-diag-disable.patch @@ -0,0 +1,12 @@ +diff -rupN gdal-3.2.1-fedora/configure.ac gdal-3.2.1-fedora-new/configure.ac +--- gdal-3.2.1-fedora/configure.ac 2020-12-29 13:15:47.000000000 +0100 ++++ gdal-3.2.1-fedora-new/configure.ac 2021-01-27 13:32:20.815040243 +0100 +@@ -61,7 +61,7 @@ dnl warning #2304: non-explicit construc + dnl warning #3280: declaration hides member + dnl remark #11074: Inlining inhibited by limit max-size + dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo +-AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) ++#AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) + + AX_CHECK_COMPILE_FLAG([-Wextra],[C_WFLAGS="$C_WFLAGS -Wextra" CXX_WFLAGS="$CXX_WFLAGS -Wextra"],,[$ERROR_ON_UNKNOWN_OPTIONS]) + AX_CHECK_COMPILE_FLAG([-Winit-self],[C_WFLAGS="$C_WFLAGS -Winit-self" CXX_WFLAGS="$CXX_WFLAGS -Winit-self"],,[$ERROR_ON_UNKNOWN_OPTIONS]) From b8d18dc3e59459dbf45d809aef230ff0167760a6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 1 Feb 2021 12:48:43 -0700 Subject: [PATCH 036/224] Rebuild for cfitsio 3.490 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 265cdc7..3d02462 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -669,6 +669,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Feb 01 2021 Orion Poplawski - 3.2.1-5 +- Rebuild for cfitsio 3.490 + * Tue Jan 26 2021 Fedora Release Engineering - 3.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 03bbe34e305cf7dcea3d406471a8bb3a1e0ddae6 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 6 Feb 2021 19:42:01 -0500 Subject: [PATCH 037/224] Actually enable tests. `run_all.py` does not exist, but that was ignored by the `|| true`. Upstream in fact uses `pytest` to collect and run tests. --- gdal.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/gdal.spec b/gdal.spec index 3d02462..098ef34 100644 --- a/gdal.spec +++ b/gdal.spec @@ -153,6 +153,8 @@ BuildRequires: python2-numpy BuildRequires: python3-devel BuildRequires: python3-numpy BuildRequires: python3-setuptools +BuildRequires: python3dist(pytest) >= 3.6 +BuildRequires: python3dist(lxml) >= 4.5.1 %endif BuildRequires: sqlite-devel BuildRequires: swig @@ -529,8 +531,6 @@ done %endif pushd %{name}autotest-%{testversion} - # Export test enviroment - export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python2_sitearch} #TODO: Nötig? export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc @@ -541,14 +541,7 @@ pushd %{name}autotest-%{testversion} #export GDAL_RUN_SLOW_TESTS=1 #export GDAL_DOWNLOAD_TEST_DATA=1 - # Remove some test cases that would require special preparation - rm -rf ogr/ogr_pg.py # No database available - rm -rf ogr/ogr_mysql.py # No database available - rm -rf osr/osr_esri.py # ESRI datum absent - rm -rf osr/osr_erm.py # File from ECW absent - - # Run tests but force normal exit in the end - ./run_all.py || true + %{pytest} popd %endif #%%{run_tests} From 55f32a46517abeba62dd7094ce4d8185647de77a Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 7 Feb 2021 06:26:49 -0500 Subject: [PATCH 038/224] Skip failing tests or increase some tolerances. --- gdal.spec | 27 ++++++++++++++- gdalautotest-increase-tolerances.patch | 46 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 gdalautotest-increase-tolerances.patch diff --git a/gdal.spec b/gdal.spec index 098ef34..ed20ff0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -77,6 +77,8 @@ Patch7: gdal_nopdf.patch Patch8: %{name}-gcc11.patch # Drop -diag-disable compile flag Patch9: gdal_no-diag-disable.patch +# Increase some testing tolerances for new Proj. +Patch10: gdalautotest-increase-tolerances.patch BuildRequires: gcc @@ -321,6 +323,15 @@ cp -p %SOURCE4 . sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure.ac %endif +# Tests expect to be next to gdal source directory, but we extract them within +# it. And putting tests next to the source directory wouldn't account for the +# version in the directory name, anyway, so we need to correct this. +sed -i \ + -e 's!../../gdal/swig/python/samples!../../swig/python/samples!' \ + %{name}autotest-%{testversion}/gcore/{cog,tiff_write}.py \ + %{name}autotest-%{testversion}/gdrivers/{gpkg,jp2lura,jp2openjpeg,test_validate_jp2}.py \ + %{name}autotest-%{testversion}/ogr/ogr_gpkg.py + %build # For future reference: @@ -541,7 +552,21 @@ pushd %{name}autotest-%{testversion} #export GDAL_RUN_SLOW_TESTS=1 #export GDAL_DOWNLOAD_TEST_DATA=1 - %{pytest} + # Some tests are currently skipped: + # - FIXME: `test_fits_vector` because it's crashing. + # - `test_http*`, `test_jp2openjpeg_45`, `*multithreaded_download*`, + # `*multithreaded_upload*`, and `test_vsis3_no_sign_request`, which + # try to connect externally. + # - `test_eedai_GOOGLE_APPLICATION_CREDENTIALS` which seems to use the + # internet. + # - `test_osr_erm_1`, `test_ers_4`, `test_ers_8`, and `test_ers_10` as + # they use `ecw_cs.wkt` which was removed due to unclear license. + # - `test_jpeg2000_8` and `test_jpeg2000_11` as files don't load, + # perhaps due to buggy Jasper library? + # - `test_osr_ct_options_area_of_interest` returns the wrong value, but + # it's skipped on macOS by upstream for mysteriously failing as well, + # so do the same here. + %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest' popd %endif #%%{run_tests} diff --git a/gdalautotest-increase-tolerances.patch b/gdalautotest-increase-tolerances.patch new file mode 100644 index 0000000..003fcf1 --- /dev/null +++ b/gdalautotest-increase-tolerances.patch @@ -0,0 +1,46 @@ +diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/alg/warp.py gdal-3.2.1-fedora/gdalautotest-3.2.1/alg/warp.py +--- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/alg/warp.py 2020-12-29 07:16:07.000000000 -0500 ++++ gdal-3.2.1-fedora/gdalautotest-3.2.1/alg/warp.py 2021-02-07 04:57:31.866254137 -0500 +@@ -1628,9 +1628,9 @@ + for option in ('-wo USE_GENERAL_CASE=TRUE', ''): + # First checksum is proj 4.8, second proj 4.9.2 + for alg_name, expected_cs in (('near', [3781, 3843]), +- ('cubic', [3942, 4133]), +- ('cubicspline', [3874, 4076]), +- ('bilinear', [4019, 3991])): ++ ('cubic', [3942, 4133, 3955]), ++ ('cubicspline', [3874, 4076, 3885]), ++ ('bilinear', [4019, 3991, 4021])): + dst_ds.GetRasterBand(1).Fill(0) + dst_ds.GetRasterBand(2).Fill(0) + gdal.Warp(dst_ds, src_ds, +diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gcore/transformer.py gdal-3.2.1-fedora/gdalautotest-3.2.1/gcore/transformer.py +--- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gcore/transformer.py 2020-12-29 07:15:48.000000000 -0500 ++++ gdal-3.2.1-fedora/gdalautotest-3.2.1/gcore/transformer.py 2021-02-07 04:38:46.980284425 -0500 +@@ -785,11 +785,11 @@ + tr = gdal.Transformer(ds, None, ['METHOD=RPC', 'RPC_HEIGHT_SCALE=2', 'RPC_DEM=/vsimem/dem.tif', 'RPC_DEM_SRS=EPSG:32652+5773']) + + (success, pnt) = tr.TransformPoint(0, 0.5, 0.5, 0) +- assert success and pnt[0] == pytest.approx(125.64813723085801, abs=0.000001) and pnt[1] == pytest.approx(39.869345977927146, abs=0.000001), \ ++ assert success and pnt[0] == pytest.approx(125.64813723085801, abs=1e-4) and pnt[1] == pytest.approx(39.869345977927146, abs=1e-3), \ + 'got wrong forward transform result.' + + (success, pnt) = tr.TransformPoint(1, pnt[0], pnt[1], pnt[2]) + assert success and pnt[0] == pytest.approx(0.5, abs=0.05) and pnt[1] == pytest.approx(0.5, abs=0.05), \ + 'got wrong reverse transform result.' + +- gdal.Unlink('/vsimem/dem.tif') +\ No newline at end of file ++ gdal.Unlink('/vsimem/dem.tif') +diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gdrivers/jp2openjpeg.py gdal-3.2.1-fedora/gdalautotest-3.2.1/gdrivers/jp2openjpeg.py +--- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gdrivers/jp2openjpeg.py 2021-02-07 04:42:44.757957113 -0500 ++++ gdal-3.2.1-fedora/gdalautotest-3.2.1/gdrivers/jp2openjpeg.py 2021-02-07 04:27:49.783685518 -0500 +@@ -597,7 +597,7 @@ + assert ds.GetRasterBand(2).GetColorInterpretation() == gdal.GCI_GreenBand + assert ds.GetRasterBand(3).GetColorInterpretation() == gdal.GCI_BlueBand + assert ds.GetRasterBand(4).GetColorInterpretation() == gdal.GCI_AlphaBand +- assert ds.GetRasterBand(1).Checksum() in [11457, 11450, 11498] ++ assert ds.GetRasterBand(1).Checksum() in [11457, 11450, 11498, 11502] + ds = None + gdal.Unlink('/vsimem/jp2openjpeg_22.jp2') + From 55b5b8a02bcd08e2f90fdd389dbfedd872c06ef3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 8 Feb 2021 09:26:35 +0100 Subject: [PATCH 039/224] rebuild for libpq ABI fix Related: rhbz#1908268 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index ed20ff0..0f11155 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Feb 08 2021 Pavel Raiskup - 3.2.1-6 +- rebuild for libpq ABI fix rhbz#1908268 + * Mon Feb 01 2021 Orion Poplawski - 3.2.1-5 - Rebuild for cfitsio 3.490 From 3e7adbfd88556f79aaefb69f1efab66ae38a2e58 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 13 Feb 2021 18:24:24 +0100 Subject: [PATCH 040/224] Rebuild (geos) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0f11155..b861ee5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 7%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Sat Feb 13 2021 Sandro Mani - 3.2.1-7 +- Rebuild (geos) + * Mon Feb 08 2021 Pavel Raiskup - 3.2.1-6 - rebuild for libpq ABI fix rhbz#1908268 From 05e7db60a27dbcd42f49694b52b6b84136d4e36b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 13 Feb 2021 18:24:54 +0100 Subject: [PATCH 041/224] Rebuild (geos) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index b861ee5..7ab911f 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 7%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 8%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -687,6 +687,9 @@ popd #Or as before, using ldconfig %changelog +* Sat Feb 13 2021 Sandro Mani - 3.2.1-8 +- Rebuild (geos) + * Sat Feb 13 2021 Sandro Mani - 3.2.1-7 - Rebuild (geos) From f4ca21d0d97ce4af2939e86b78f1d3eb4760344c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 13 Feb 2021 22:32:57 +0100 Subject: [PATCH 042/224] Ignore test failures for now --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7ab911f..6040527 100644 --- a/gdal.spec +++ b/gdal.spec @@ -566,7 +566,7 @@ pushd %{name}autotest-%{testversion} # - `test_osr_ct_options_area_of_interest` returns the wrong value, but # it's skipped on macOS by upstream for mysteriously failing as well, # so do the same here. - %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest' + %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest' || : popd %endif #%%{run_tests} From cf5488942a7c73687de0a84c727e0a84892ebfd8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 23 Feb 2021 00:34:43 -0500 Subject: [PATCH 043/224] Fix compile against GEOS on s390x. --- ...ave-LDFLAGS-when-checking-compilabil.patch | 60 +++++++++++ ...-with-geos-sfcgal-fail-if-unavailabl.patch | 100 ++++++++++++++++++ gdal.spec | 9 +- 3 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch create mode 100644 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch diff --git a/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch b/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch new file mode 100644 index 0000000..3fc4cb6 --- /dev/null +++ b/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch @@ -0,0 +1,60 @@ +From cbf272602f382bbe9a70b85c7041eced1b6fe806 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade +Date: Mon, 22 Feb 2021 18:00:56 -0500 +Subject: [PATCH 1/2] configure: Also save LDFLAGS when checking compilability. + +There may be corresponding flags in the environment between CFLAGS and +LDFLAGS. If CFLAGS is overwritten, then LDFLAGS should be as well, or it +may cause compile tests to fail erroneously. + +Signed-off-by: Elliott Sales de Andrade +--- + gdal/m4/geos.m4 | 3 +++ + gdal/m4/sfcgal.m4 | 3 +++ + 2 files changed, 6 insertions(+) + +diff --git gdal/m4/geos.m4 gdal/m4/geos.m4 +index eb5cb19e09..dc31e7466d 100644 +--- gdal/m4/geos.m4 ++++ gdal/m4/geos.m4 +@@ -129,6 +129,8 @@ AC_DEFUN([GEOS_INIT],[ + LIBS=${GEOS_LIBS} + ax_save_CFLAGS="${CFLAGS}" + CFLAGS="${GEOS_CFLAGS}" ++ ax_save_LDFLAGS="${LDFLAGS}" ++ LDFLAGS="" + + AC_CHECK_LIB([geos_c], + [GEOSversion], +@@ -143,6 +145,7 @@ AC_DEFUN([GEOS_INIT],[ + + CFLAGS="${ax_save_CFLAGS}" + LIBS="${ax_save_LIBS}" ++ LDFLAGS="${ax_save_LDFLAGS}" + + fi + +diff --git gdal/m4/sfcgal.m4 gdal/m4/sfcgal.m4 +index 4dcebb7301..993b7521d6 100644 +--- gdal/m4/sfcgal.m4 ++++ gdal/m4/sfcgal.m4 +@@ -128,6 +128,8 @@ AC_DEFUN([SFCGAL_INIT],[ + LIBS=${SFCGAL_LIBS} + ax_save_CFLAGS="${CFLAGS}" + CFLAGS="${SFCGAL_CFLAGS}" ++ ax_save_LDFLAGS="${LDFLAGS}" ++ LDFLAGS="" + + AC_CHECK_LIB([SFCGAL], + [sfcgal_version], +@@ -143,6 +145,7 @@ AC_DEFUN([SFCGAL_INIT],[ + + CFLAGS="${ax_save_CFLAGS}" + LIBS="${ax_save_LIBS}" ++ LDFLAGS="${ax_save_LDFLAGS}" + + fi + +-- +2.29.2 + diff --git a/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch b/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch new file mode 100644 index 0000000..3e62cf3 --- /dev/null +++ b/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch @@ -0,0 +1,100 @@ +From b795a67c570e021ea5e092c878c02996ed67f732 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade +Date: Mon, 22 Feb 2021 20:29:40 -0500 +Subject: [PATCH 2/2] configure: Ensure --with-geos/sfcgal fail if unavailable. + +Signed-off-by: Elliott Sales de Andrade +--- + gdal/m4/geos.m4 | 19 +++++++++++++++++-- + gdal/m4/sfcgal.m4 | 18 ++++++++++++++++-- + 2 files changed, 33 insertions(+), 4 deletions(-) + +diff --git gdal/m4/geos.m4 gdal/m4/geos.m4 +index dc31e7466d..1c68503974 100644 +--- gdal/m4/geos.m4 ++++ gdal/m4/geos.m4 +@@ -59,7 +59,9 @@ AC_DEFUN([GEOS_INIT],[ + elif test x"$with_geos" = x"yes" -o x"$with_geos" = x"" ; then + + AC_PATH_PROG(GEOS_CONFIG, geos-config, no) +- ac_geos_config_auto=yes ++ if test x"$with_geos" = x"" ; then ++ ac_geos_config_auto=yes ++ fi + + else + +@@ -140,7 +142,14 @@ AC_DEFUN([GEOS_INIT],[ + ) + + if test x"$HAVE_GEOS" = "xno"; then +- GEOS_CFLAGS="" ++ if test $ac_geos_config_auto = "yes" ; then ++ AC_MSG_WARN([GEOS was found on your system, but the library could not be linked. GEOS support disabled.]) ++ else ++ AC_MSG_ERROR([GEOS library could not be linked]) ++ fi ++ ++ GEOS_CFLAGS="" ++ + fi + + CFLAGS="${ax_save_CFLAGS}" +@@ -149,6 +158,12 @@ AC_DEFUN([GEOS_INIT],[ + + fi + ++ else ++ ++ if test $ac_geos_config_auto = "no" ; then ++ AC_MSG_ERROR([GEOS support explicitly enabled, but geos-config could not be found]) ++ fi ++ + fi + ]) + +diff --git gdal/m4/sfcgal.m4 gdal/m4/sfcgal.m4 +index 993b7521d6..2384f0f0dc 100644 +--- gdal/m4/sfcgal.m4 ++++ gdal/m4/sfcgal.m4 +@@ -58,7 +58,9 @@ AC_DEFUN([SFCGAL_INIT],[ + elif test x"$with_sfcgal" = x"yes" -o x"$with_sfcgal" = x"" ; then + + AC_PATH_PROG(SFCGAL_CONFIG, sfcgal-config, no) +- ac_sfcgal_config_auto=yes ++ if test x"$with_sfcgal" = x"" ; then ++ ac_sfcgal_config_auto=yes ++ fi + + else + +@@ -140,7 +142,13 @@ AC_DEFUN([SFCGAL_INIT],[ + + + if test x"$HAVE_SFCGAL" = "xno"; then +- SFCGAL_CFLAGS="" ++ if test $ac_sfcgal_config_auto = "yes" ; then ++ AC_MSG_WARN([SFCGAL was found on your system, but the library could not be linked. SFCGAL support disabled.]) ++ else ++ AC_MSG_ERROR([SFCGAL library could not be linked]) ++ fi ++ ++ SFCGAL_CFLAGS="" + fi + + CFLAGS="${ax_save_CFLAGS}" +@@ -149,5 +157,11 @@ AC_DEFUN([SFCGAL_INIT],[ + + fi + ++ else ++ ++ if test $ac_sfcgal_config_auto = "no" ; then ++ AC_MSG_ERROR([SFCGAL support explicitly enabled, but sfcgal-config could not be found]) ++ fi ++ + fi + ]) +-- +2.29.2 + diff --git a/gdal.spec b/gdal.spec index 6040527..c391b97 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 8%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 9%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -79,6 +79,10 @@ Patch8: %{name}-gcc11.patch Patch9: gdal_no-diag-disable.patch # Increase some testing tolerances for new Proj. Patch10: gdalautotest-increase-tolerances.patch +# Fix GEOS and SFCGAL checks: +# https://github.com/OSGeo/gdal/pull/3476 +Patch11: 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch +Patch12: 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch BuildRequires: gcc @@ -687,6 +691,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Feb 23 2021 Elliott Sales de Andrade - 3.2.1-9 +- Fix compile against GEOS on s390x + * Sat Feb 13 2021 Sandro Mani - 3.2.1-8 - Rebuild (geos) From 0edd6b096acf5130c8747137d31942f374ae8a0b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 7 Mar 2021 11:11:52 +0100 Subject: [PATCH 044/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index c391b97..ebb5719 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.2.1 -Release: 9%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 10%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -691,6 +691,9 @@ popd #Or as before, using ldconfig %changelog +* Sun Mar 07 2021 Sandro Mani - 3.2.1-10 +- Rebuild (proj) + * Tue Feb 23 2021 Elliott Sales de Andrade - 3.2.1-9 - Fix compile against GEOS on s390x From df8e45a77b351bb1cd59709becbb44e3b8f5a0b9 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 7 Mar 2021 19:01:42 +0100 Subject: [PATCH 045/224] Skip tests on arches where they hang --- gdal.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdal.spec b/gdal.spec index ebb5719..f4a3bc9 100644 --- a/gdal.spec +++ b/gdal.spec @@ -570,7 +570,11 @@ pushd %{name}autotest-%{testversion} # - `test_osr_ct_options_area_of_interest` returns the wrong value, but # it's skipped on macOS by upstream for mysteriously failing as well, # so do the same here. + +# FIXME: Tests hang on these arches +%ifnarch i686 armv7hl %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest' || : +%endif popd %endif #%%{run_tests} From d3da6379a7c6f8862d7a0a12545a03628e28d744 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 24 Mar 2021 23:33:25 +0100 Subject: [PATCH 046/224] Update to 3.2.2 --- .gitignore | 2 + ...ave-LDFLAGS-when-checking-compilabil.patch | 32 +++---------- ...-with-geos-sfcgal-fail-if-unavailabl.patch | 28 +++-------- gdal-1.9.0-java.patch | 6 +-- gdal-gcc11.patch | 18 ++++---- gdal.spec | 31 +++++-------- gdal_installapps.patch | 6 +-- gdal_iso8211.patch | 6 +-- gdal_no-diag-disable.patch | 6 +-- gdal_nopdf.patch | 6 +-- gdal_sphinx.patch | 6 +-- gdal_tirpcinc.patch | 12 ++--- gdalautotest-increase-tolerances.patch | 46 ------------------- sources | 4 +- 14 files changed, 60 insertions(+), 149 deletions(-) delete mode 100644 gdalautotest-increase-tolerances.patch diff --git a/.gitignore b/.gitignore index b120142..ea2629c 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.2.0-fedora.tar.xz /gdal-3.2.1-fedora.tar.xz /gdalautotest-3.2.1.tar.gz +/gdalautotest-3.2.2.tar.gz +/gdal-3.2.2-fedora.tar.xz diff --git a/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch b/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch index 3fc4cb6..f842bb7 100644 --- a/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch +++ b/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch @@ -1,22 +1,6 @@ -From cbf272602f382bbe9a70b85c7041eced1b6fe806 Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Mon, 22 Feb 2021 18:00:56 -0500 -Subject: [PATCH 1/2] configure: Also save LDFLAGS when checking compilability. - -There may be corresponding flags in the environment between CFLAGS and -LDFLAGS. If CFLAGS is overwritten, then LDFLAGS should be as well, or it -may cause compile tests to fail erroneously. - -Signed-off-by: Elliott Sales de Andrade ---- - gdal/m4/geos.m4 | 3 +++ - gdal/m4/sfcgal.m4 | 3 +++ - 2 files changed, 6 insertions(+) - -diff --git gdal/m4/geos.m4 gdal/m4/geos.m4 -index eb5cb19e09..dc31e7466d 100644 ---- gdal/m4/geos.m4 -+++ gdal/m4/geos.m4 +diff -rupN --no-dereference gdal-3.2.2-fedora/m4/geos.m4 gdal-3.2.2-fedora-new/m4/geos.m4 +--- gdal-3.2.2-fedora/m4/geos.m4 2021-03-05 12:39:54.000000000 +0100 ++++ gdal-3.2.2-fedora-new/m4/geos.m4 2021-03-24 13:44:41.905428811 +0100 @@ -129,6 +129,8 @@ AC_DEFUN([GEOS_INIT],[ LIBS=${GEOS_LIBS} ax_save_CFLAGS="${CFLAGS}" @@ -34,10 +18,9 @@ index eb5cb19e09..dc31e7466d 100644 fi -diff --git gdal/m4/sfcgal.m4 gdal/m4/sfcgal.m4 -index 4dcebb7301..993b7521d6 100644 ---- gdal/m4/sfcgal.m4 -+++ gdal/m4/sfcgal.m4 +diff -rupN --no-dereference gdal-3.2.2-fedora/m4/sfcgal.m4 gdal-3.2.2-fedora-new/m4/sfcgal.m4 +--- gdal-3.2.2-fedora/m4/sfcgal.m4 2021-03-05 12:39:52.000000000 +0100 ++++ gdal-3.2.2-fedora-new/m4/sfcgal.m4 2021-03-24 13:44:41.905428811 +0100 @@ -128,6 +128,8 @@ AC_DEFUN([SFCGAL_INIT],[ LIBS=${SFCGAL_LIBS} ax_save_CFLAGS="${CFLAGS}" @@ -55,6 +38,3 @@ index 4dcebb7301..993b7521d6 100644 fi --- -2.29.2 - diff --git a/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch b/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch index 3e62cf3..dc1e7db 100644 --- a/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch +++ b/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch @@ -1,18 +1,6 @@ -From b795a67c570e021ea5e092c878c02996ed67f732 Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Mon, 22 Feb 2021 20:29:40 -0500 -Subject: [PATCH 2/2] configure: Ensure --with-geos/sfcgal fail if unavailable. - -Signed-off-by: Elliott Sales de Andrade ---- - gdal/m4/geos.m4 | 19 +++++++++++++++++-- - gdal/m4/sfcgal.m4 | 18 ++++++++++++++++-- - 2 files changed, 33 insertions(+), 4 deletions(-) - -diff --git gdal/m4/geos.m4 gdal/m4/geos.m4 -index dc31e7466d..1c68503974 100644 ---- gdal/m4/geos.m4 -+++ gdal/m4/geos.m4 +diff -rupN --no-dereference gdal-3.2.2-fedora/m4/geos.m4 gdal-3.2.2-fedora-new/m4/geos.m4 +--- gdal-3.2.2-fedora/m4/geos.m4 2021-03-24 13:44:42.101428816 +0100 ++++ gdal-3.2.2-fedora-new/m4/geos.m4 2021-03-24 13:44:42.103428816 +0100 @@ -59,7 +59,9 @@ AC_DEFUN([GEOS_INIT],[ elif test x"$with_geos" = x"yes" -o x"$with_geos" = x"" ; then @@ -53,10 +41,9 @@ index dc31e7466d..1c68503974 100644 fi ]) -diff --git gdal/m4/sfcgal.m4 gdal/m4/sfcgal.m4 -index 993b7521d6..2384f0f0dc 100644 ---- gdal/m4/sfcgal.m4 -+++ gdal/m4/sfcgal.m4 +diff -rupN --no-dereference gdal-3.2.2-fedora/m4/sfcgal.m4 gdal-3.2.2-fedora-new/m4/sfcgal.m4 +--- gdal-3.2.2-fedora/m4/sfcgal.m4 2021-03-24 13:44:42.101428816 +0100 ++++ gdal-3.2.2-fedora-new/m4/sfcgal.m4 2021-03-24 13:44:42.103428816 +0100 @@ -58,7 +58,9 @@ AC_DEFUN([SFCGAL_INIT],[ elif test x"$with_sfcgal" = x"yes" -o x"$with_sfcgal" = x"" ; then @@ -95,6 +82,3 @@ index 993b7521d6..2384f0f0dc 100644 + fi ]) --- -2.29.2 - diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch index 48c09f2..82ef7fb 100644 --- a/gdal-1.9.0-java.patch +++ b/gdal-1.9.0-java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/swig/java/java.opt gdal-3.2.1-fedora-new/swig/java/java.opt ---- gdal-3.2.1-fedora/swig/java/java.opt 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/swig/java/java.opt 2021-01-04 21:49:35.504249023 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/swig/java/java.opt gdal-3.2.2-fedora-new/swig/java/java.opt +--- gdal-3.2.2-fedora/swig/java/java.opt 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/swig/java/java.opt 2021-03-24 13:44:40.268428769 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 9e33d56..6f82ece 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2020-12-29 13:19:32.000000000 +0100 -+++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-01-04 21:49:36.914247237 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-03-05 12:39:39.000000000 +0100 ++++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-03-24 13:44:41.499428801 +0100 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2020-12-29 13:19:31.000000000 +0100 -+++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-01-04 21:49:36.913247238 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-03-05 12:39:38.000000000 +0100 ++++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-03-24 13:44:41.499428801 +0100 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.2.1-fedora/third_party/LercLib/Lerc2.h gdal-3.2.1-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.2.1-fedora/third_party/LercLib/Lerc2.h 2020-12-29 13:20:02.000000000 +0100 -+++ gdal-3.2.1-fedora-new/third_party/LercLib/Lerc2.h 2021-01-04 21:49:36.914247237 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/third_party/LercLib/Lerc2.h gdal-3.2.2-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.2.2-fedora/third_party/LercLib/Lerc2.h 2021-03-05 12:38:57.000000000 +0100 ++++ gdal-3.2.2-fedora-new/third_party/LercLib/Lerc2.h 2021-03-24 13:44:41.500428801 +0100 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index f4a3bc9..1e3d68d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.2.1 +%global testversion 3.2.2 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -44,8 +44,8 @@ %endif Name: gdal -Version: 3.2.1 -Release: 10%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.2.2 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -77,12 +77,10 @@ Patch7: gdal_nopdf.patch Patch8: %{name}-gcc11.patch # Drop -diag-disable compile flag Patch9: gdal_no-diag-disable.patch -# Increase some testing tolerances for new Proj. -Patch10: gdalautotest-increase-tolerances.patch # Fix GEOS and SFCGAL checks: # https://github.com/OSGeo/gdal/pull/3476 -Patch11: 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch -Patch12: 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch +Patch10: 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch +Patch11: 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch BuildRequires: gcc @@ -546,10 +544,7 @@ done %endif pushd %{name}autotest-%{testversion} - #TODO: Nötig? export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} - # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc - export GDAL_DATA=%{buildroot}%{_datadir}/%{name}/ # Enable these tests on demand @@ -557,7 +552,7 @@ pushd %{name}autotest-%{testversion} #export GDAL_DOWNLOAD_TEST_DATA=1 # Some tests are currently skipped: - # - FIXME: `test_fits_vector` because it's crashing. + # - `test_fits_vector` because it's crashing. # - `test_http*`, `test_jp2openjpeg_45`, `*multithreaded_download*`, # `*multithreaded_upload*`, and `test_vsis3_no_sign_request`, which # try to connect externally. @@ -570,17 +565,10 @@ pushd %{name}autotest-%{testversion} # - `test_osr_ct_options_area_of_interest` returns the wrong value, but # it's skipped on macOS by upstream for mysteriously failing as well, # so do the same here. - -# FIXME: Tests hang on these arches -%ifnarch i686 armv7hl - %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest' || : -%endif + # - `test_ndf_1` because it hangs on i686 and armv7hl + %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest and not test_ndf_1' || : popd %endif -#%%{run_tests} - - -%ldconfig_scriptlets libs %files @@ -695,6 +683,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Mar 24 2021 Sandro Mani - 3.2.2-1 +- Update to 3.2.2 + * Sun Mar 07 2021 Sandro Mani - 3.2.1-10 - Rebuild (proj) diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 6633ff2..f53b350 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/apps/GNUmakefile gdal-3.2.1-fedora-new/apps/GNUmakefile ---- gdal-3.2.1-fedora/apps/GNUmakefile 2020-12-29 13:15:46.000000000 +0100 -+++ gdal-3.2.1-fedora-new/apps/GNUmakefile 2021-01-04 21:49:36.444247832 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/apps/GNUmakefile gdal-3.2.2-fedora-new/apps/GNUmakefile +--- gdal-3.2.2-fedora/apps/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/apps/GNUmakefile 2021-03-24 13:44:41.091428790 +0100 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 0c9e975..4929939 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/frmts/iso8211/GNUmakefile gdal-3.2.1-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.2.1-fedora/frmts/iso8211/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/frmts/iso8211/GNUmakefile 2021-01-04 21:49:35.992248405 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/frmts/iso8211/GNUmakefile gdal-3.2.2-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.2.2-fedora/frmts/iso8211/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/frmts/iso8211/GNUmakefile 2021-03-24 13:44:40.686428780 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 8eefe7d..acc32bf 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.2.1-fedora/configure.ac gdal-3.2.1-fedora-new/configure.ac ---- gdal-3.2.1-fedora/configure.ac 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/configure.ac 2021-01-27 13:32:20.815040243 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/configure.ac gdal-3.2.2-fedora-new/configure.ac +--- gdal-3.2.2-fedora/configure.ac 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/configure.ac 2021-03-24 13:44:41.701428806 +0100 @@ -61,7 +61,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index b53a5d8..a31a78f 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/doc/source/index.rst gdal-3.2.1-fedora-new/doc/source/index.rst ---- gdal-3.2.1-fedora/doc/source/index.rst 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/doc/source/index.rst 2021-01-04 21:49:36.681247532 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/doc/source/index.rst gdal-3.2.2-fedora-new/doc/source/index.rst +--- gdal-3.2.2-fedora/doc/source/index.rst 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/doc/source/index.rst 2021-03-24 13:44:41.294428795 +0100 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 5e8a38f..53dc39e 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/doc/Makefile gdal-3.2.1-fedora-new/doc/Makefile ---- gdal-3.2.1-fedora/doc/Makefile 2020-12-29 13:15:46.000000000 +0100 -+++ gdal-3.2.1-fedora-new/doc/Makefile 2021-01-04 21:49:36.218248119 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/doc/Makefile gdal-3.2.2-fedora-new/doc/Makefile +--- gdal-3.2.2-fedora/doc/Makefile 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/doc/Makefile 2021-03-24 13:44:40.886428785 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 3658f56..dbb2204 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.1-fedora/frmts/dods/GNUmakefile gdal-3.2.1-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.2.1-fedora/frmts/dods/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/frmts/dods/GNUmakefile 2021-01-04 21:49:35.758248701 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/frmts/dods/GNUmakefile gdal-3.2.2-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.2.2-fedora/frmts/dods/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 ++++ gdal-3.2.2-fedora-new/frmts/dods/GNUmakefile 2021-03-24 13:44:40.477428774 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.2.1-fedora/frmts/dods/GNUmakefile gdal-3.2.1- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.2.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.2.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2020-12-29 13:15:47.000000000 +0100 -+++ gdal-3.2.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-01-04 21:49:35.758248701 +0100 +diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.2.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-03-05 12:38:36.000000000 +0100 ++++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-03-24 13:44:40.477428774 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/gdalautotest-increase-tolerances.patch b/gdalautotest-increase-tolerances.patch deleted file mode 100644 index 003fcf1..0000000 --- a/gdalautotest-increase-tolerances.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/alg/warp.py gdal-3.2.1-fedora/gdalautotest-3.2.1/alg/warp.py ---- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/alg/warp.py 2020-12-29 07:16:07.000000000 -0500 -+++ gdal-3.2.1-fedora/gdalautotest-3.2.1/alg/warp.py 2021-02-07 04:57:31.866254137 -0500 -@@ -1628,9 +1628,9 @@ - for option in ('-wo USE_GENERAL_CASE=TRUE', ''): - # First checksum is proj 4.8, second proj 4.9.2 - for alg_name, expected_cs in (('near', [3781, 3843]), -- ('cubic', [3942, 4133]), -- ('cubicspline', [3874, 4076]), -- ('bilinear', [4019, 3991])): -+ ('cubic', [3942, 4133, 3955]), -+ ('cubicspline', [3874, 4076, 3885]), -+ ('bilinear', [4019, 3991, 4021])): - dst_ds.GetRasterBand(1).Fill(0) - dst_ds.GetRasterBand(2).Fill(0) - gdal.Warp(dst_ds, src_ds, -diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gcore/transformer.py gdal-3.2.1-fedora/gdalautotest-3.2.1/gcore/transformer.py ---- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gcore/transformer.py 2020-12-29 07:15:48.000000000 -0500 -+++ gdal-3.2.1-fedora/gdalautotest-3.2.1/gcore/transformer.py 2021-02-07 04:38:46.980284425 -0500 -@@ -785,11 +785,11 @@ - tr = gdal.Transformer(ds, None, ['METHOD=RPC', 'RPC_HEIGHT_SCALE=2', 'RPC_DEM=/vsimem/dem.tif', 'RPC_DEM_SRS=EPSG:32652+5773']) - - (success, pnt) = tr.TransformPoint(0, 0.5, 0.5, 0) -- assert success and pnt[0] == pytest.approx(125.64813723085801, abs=0.000001) and pnt[1] == pytest.approx(39.869345977927146, abs=0.000001), \ -+ assert success and pnt[0] == pytest.approx(125.64813723085801, abs=1e-4) and pnt[1] == pytest.approx(39.869345977927146, abs=1e-3), \ - 'got wrong forward transform result.' - - (success, pnt) = tr.TransformPoint(1, pnt[0], pnt[1], pnt[2]) - assert success and pnt[0] == pytest.approx(0.5, abs=0.05) and pnt[1] == pytest.approx(0.5, abs=0.05), \ - 'got wrong reverse transform result.' - -- gdal.Unlink('/vsimem/dem.tif') -\ No newline at end of file -+ gdal.Unlink('/vsimem/dem.tif') -diff -uPNr gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gdrivers/jp2openjpeg.py gdal-3.2.1-fedora/gdalautotest-3.2.1/gdrivers/jp2openjpeg.py ---- gdal-3.2.1-fedora/gdalautotest-3.2.1.orig/gdrivers/jp2openjpeg.py 2021-02-07 04:42:44.757957113 -0500 -+++ gdal-3.2.1-fedora/gdalautotest-3.2.1/gdrivers/jp2openjpeg.py 2021-02-07 04:27:49.783685518 -0500 -@@ -597,7 +597,7 @@ - assert ds.GetRasterBand(2).GetColorInterpretation() == gdal.GCI_GreenBand - assert ds.GetRasterBand(3).GetColorInterpretation() == gdal.GCI_BlueBand - assert ds.GetRasterBand(4).GetColorInterpretation() == gdal.GCI_AlphaBand -- assert ds.GetRasterBand(1).Checksum() in [11457, 11450, 11498] -+ assert ds.GetRasterBand(1).Checksum() in [11457, 11450, 11498, 11502] - ds = None - gdal.Unlink('/vsimem/jp2openjpeg_22.jp2') - diff --git a/sources b/sources index 03e88bb..e839997 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.2.1-fedora.tar.xz) = bdc0f25c0bec5f9de48ae3ba53c75e2b19da39338d35dcb714948dded4cc5df9f9b951687d8b40205a37f83fbeb20d65d3fd2bcb60e4a5000a115487a01775b2 -SHA512 (gdalautotest-3.2.1.tar.gz) = 2cfa364b596bda8e0609fd31da8802f662ef0a3da09ba3a1e9444a855d2271a0d9f2191f4352aae5919d747f355a0573509f8ee5e117aa65bc605eb10d4d2ed8 +SHA512 (gdalautotest-3.2.2.tar.gz) = 324326f590fcd508e99f4ed5396a0d61065449f44894e2844e464650097c353eaf3c14074afa862c8d0784569e29545d4050ea65ded95cd02e5bb02deed80dc4 +SHA512 (gdal-3.2.2-fedora.tar.xz) = 3c3d84c77d93ab6943497571a4e6c1bea4a0b74f897f602abcdd59dda5e0799305d8b9444425593631f2d3852722568740237890c0af72ce3b8533367e04ab00 From 95a4909377adff2d6967c920c3632f8cb7e6a1b3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 25 Mar 2021 01:41:12 +0100 Subject: [PATCH 047/224] Skip tests on arches where they hang --- gdal.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdal.spec b/gdal.spec index 1e3d68d..07ee85d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -566,7 +566,10 @@ pushd %{name}autotest-%{testversion} # it's skipped on macOS by upstream for mysteriously failing as well, # so do the same here. # - `test_ndf_1` because it hangs on i686 and armv7hl +# FIXME: Tests hang on i686 and armv7hl +%ifnarch i686 armv7hl %{pytest} -k 'not test_fits_vector and not test_http and not test_jp2openjpeg_45 and not multithreaded_download and not multithreaded_upload and not test_vsis3_no_sign_request and not test_eedai_GOOGLE_APPLICATION_CREDENTIALS and not test_osr_erm_1 and not test_ers_4 and not test_ers_8 and not test_ers_10 and not test_jpeg2000_8 and not test_jpeg2000_11 and not test_osr_ct_options_area_of_interest and not test_ndf_1' || : +%endif popd %endif From 4a9546778f8fac473ce53c4b9154a9f727fee6de Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 6 May 2021 10:01:35 +0200 Subject: [PATCH 048/224] Update to 3.3.0 --- .gitignore | 2 + ...ave-LDFLAGS-when-checking-compilabil.patch | 40 ------- ...-with-geos-sfcgal-fail-if-unavailabl.patch | 84 ------------- gdal-1.9.0-java.patch | 11 -- gdal-gcc11.patch | 18 +-- gdal.spec | 84 ++++--------- gdal_installapps.patch | 6 +- gdal_iso8211.patch | 6 +- gdal_java.patch | 112 ++++++++++++++++++ gdal_no-diag-disable.patch | 8 +- gdal_nopdf.patch | 6 +- gdal_sphinx.patch | 10 +- gdal_tirpcinc.patch | 20 ++-- sources | 4 +- 14 files changed, 173 insertions(+), 238 deletions(-) delete mode 100644 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch delete mode 100644 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch delete mode 100644 gdal-1.9.0-java.patch create mode 100644 gdal_java.patch diff --git a/.gitignore b/.gitignore index ea2629c..e319f8b 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.2.1.tar.gz /gdalautotest-3.2.2.tar.gz /gdal-3.2.2-fedora.tar.xz +/gdalautotest-3.3.0.tar.gz +/gdal-3.3.0-fedora.tar.xz diff --git a/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch b/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch deleted file mode 100644 index f842bb7..0000000 --- a/0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/m4/geos.m4 gdal-3.2.2-fedora-new/m4/geos.m4 ---- gdal-3.2.2-fedora/m4/geos.m4 2021-03-05 12:39:54.000000000 +0100 -+++ gdal-3.2.2-fedora-new/m4/geos.m4 2021-03-24 13:44:41.905428811 +0100 -@@ -129,6 +129,8 @@ AC_DEFUN([GEOS_INIT],[ - LIBS=${GEOS_LIBS} - ax_save_CFLAGS="${CFLAGS}" - CFLAGS="${GEOS_CFLAGS}" -+ ax_save_LDFLAGS="${LDFLAGS}" -+ LDFLAGS="" - - AC_CHECK_LIB([geos_c], - [GEOSversion], -@@ -143,6 +145,7 @@ AC_DEFUN([GEOS_INIT],[ - - CFLAGS="${ax_save_CFLAGS}" - LIBS="${ax_save_LIBS}" -+ LDFLAGS="${ax_save_LDFLAGS}" - - fi - -diff -rupN --no-dereference gdal-3.2.2-fedora/m4/sfcgal.m4 gdal-3.2.2-fedora-new/m4/sfcgal.m4 ---- gdal-3.2.2-fedora/m4/sfcgal.m4 2021-03-05 12:39:52.000000000 +0100 -+++ gdal-3.2.2-fedora-new/m4/sfcgal.m4 2021-03-24 13:44:41.905428811 +0100 -@@ -128,6 +128,8 @@ AC_DEFUN([SFCGAL_INIT],[ - LIBS=${SFCGAL_LIBS} - ax_save_CFLAGS="${CFLAGS}" - CFLAGS="${SFCGAL_CFLAGS}" -+ ax_save_LDFLAGS="${LDFLAGS}" -+ LDFLAGS="" - - AC_CHECK_LIB([SFCGAL], - [sfcgal_version], -@@ -143,6 +145,7 @@ AC_DEFUN([SFCGAL_INIT],[ - - CFLAGS="${ax_save_CFLAGS}" - LIBS="${ax_save_LIBS}" -+ LDFLAGS="${ax_save_LDFLAGS}" - - fi - diff --git a/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch b/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch deleted file mode 100644 index dc1e7db..0000000 --- a/0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/m4/geos.m4 gdal-3.2.2-fedora-new/m4/geos.m4 ---- gdal-3.2.2-fedora/m4/geos.m4 2021-03-24 13:44:42.101428816 +0100 -+++ gdal-3.2.2-fedora-new/m4/geos.m4 2021-03-24 13:44:42.103428816 +0100 -@@ -59,7 +59,9 @@ AC_DEFUN([GEOS_INIT],[ - elif test x"$with_geos" = x"yes" -o x"$with_geos" = x"" ; then - - AC_PATH_PROG(GEOS_CONFIG, geos-config, no) -- ac_geos_config_auto=yes -+ if test x"$with_geos" = x"" ; then -+ ac_geos_config_auto=yes -+ fi - - else - -@@ -140,7 +142,14 @@ AC_DEFUN([GEOS_INIT],[ - ) - - if test x"$HAVE_GEOS" = "xno"; then -- GEOS_CFLAGS="" -+ if test $ac_geos_config_auto = "yes" ; then -+ AC_MSG_WARN([GEOS was found on your system, but the library could not be linked. GEOS support disabled.]) -+ else -+ AC_MSG_ERROR([GEOS library could not be linked]) -+ fi -+ -+ GEOS_CFLAGS="" -+ - fi - - CFLAGS="${ax_save_CFLAGS}" -@@ -149,6 +158,12 @@ AC_DEFUN([GEOS_INIT],[ - - fi - -+ else -+ -+ if test $ac_geos_config_auto = "no" ; then -+ AC_MSG_ERROR([GEOS support explicitly enabled, but geos-config could not be found]) -+ fi -+ - fi - ]) - -diff -rupN --no-dereference gdal-3.2.2-fedora/m4/sfcgal.m4 gdal-3.2.2-fedora-new/m4/sfcgal.m4 ---- gdal-3.2.2-fedora/m4/sfcgal.m4 2021-03-24 13:44:42.101428816 +0100 -+++ gdal-3.2.2-fedora-new/m4/sfcgal.m4 2021-03-24 13:44:42.103428816 +0100 -@@ -58,7 +58,9 @@ AC_DEFUN([SFCGAL_INIT],[ - elif test x"$with_sfcgal" = x"yes" -o x"$with_sfcgal" = x"" ; then - - AC_PATH_PROG(SFCGAL_CONFIG, sfcgal-config, no) -- ac_sfcgal_config_auto=yes -+ if test x"$with_sfcgal" = x"" ; then -+ ac_sfcgal_config_auto=yes -+ fi - - else - -@@ -140,7 +142,13 @@ AC_DEFUN([SFCGAL_INIT],[ - - - if test x"$HAVE_SFCGAL" = "xno"; then -- SFCGAL_CFLAGS="" -+ if test $ac_sfcgal_config_auto = "yes" ; then -+ AC_MSG_WARN([SFCGAL was found on your system, but the library could not be linked. SFCGAL support disabled.]) -+ else -+ AC_MSG_ERROR([SFCGAL library could not be linked]) -+ fi -+ -+ SFCGAL_CFLAGS="" - fi - - CFLAGS="${ax_save_CFLAGS}" -@@ -149,5 +157,11 @@ AC_DEFUN([SFCGAL_INIT],[ - - fi - -+ else -+ -+ if test $ac_sfcgal_config_auto = "no" ; then -+ AC_MSG_ERROR([SFCGAL support explicitly enabled, but sfcgal-config could not be found]) -+ fi -+ - fi - ]) diff --git a/gdal-1.9.0-java.patch b/gdal-1.9.0-java.patch deleted file mode 100644 index 82ef7fb..0000000 --- a/gdal-1.9.0-java.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/swig/java/java.opt gdal-3.2.2-fedora-new/swig/java/java.opt ---- gdal-3.2.2-fedora/swig/java/java.opt 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/swig/java/java.opt 2021-03-24 13:44:40.268428769 +0100 -@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc - JAVAC=$(JAVA_HOME)/bin/javac - JAVA=$(JAVA_HOME)/bin/java - JAR=$(JAVA_HOME)/bin/jar --JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -+JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux - - diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 6f82ece..2177709 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-03-05 12:39:39.000000000 +0100 -+++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-03-24 13:44:41.499428801 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-04-26 14:31:00.000000000 +0200 ++++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-05-03 17:18:20.482677217 +0200 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-03-05 12:39:38.000000000 +0100 -+++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-03-24 13:44:41.499428801 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-04-26 14:30:59.000000000 +0200 ++++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-05-03 17:18:20.483677217 +0200 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.2.2-fedora/third_party/LercLib/Lerc2.h gdal-3.2.2-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.2.2-fedora/third_party/LercLib/Lerc2.h 2021-03-05 12:38:57.000000000 +0100 -+++ gdal-3.2.2-fedora-new/third_party/LercLib/Lerc2.h 2021-03-24 13:44:41.500428801 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/third_party/LercLib/Lerc2.h gdal-3.3.0-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.3.0-fedora/third_party/LercLib/Lerc2.h 2021-04-26 14:30:17.000000000 +0200 ++++ gdal-3.3.0-fedora-new/third_party/LercLib/Lerc2.h 2021-05-03 17:18:20.483677217 +0200 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index 07ee85d..7205032 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.2.2 +%global testversion 3.3.0 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -31,7 +31,6 @@ %global spatialite "--with-spatialite" %endif -%bcond_with python2 %bcond_without python3 # No ppc64 build for spatialite in EL6 @@ -44,7 +43,7 @@ %endif Name: gdal -Version: 3.2.2 +Version: 3.3.0 Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT @@ -60,8 +59,8 @@ Source3: %{name}-cleaner.sh Source4: PROVENANCE.TXT-fedora -# Fedora uses Alternatives for Java -Patch2: %{name}-1.9.0-java.patch +# Java build fixes +Patch2: gdal_java.patch # Ensure rpc/types.h is found by dods driver (indirectly required by libdap/XDRUtils.h) Patch3: gdal_tirpcinc.patch # Use libtool to create libiso8211.a, otherwise broken static lib is created since object files are compiled through libtool @@ -77,10 +76,6 @@ Patch7: gdal_nopdf.patch Patch8: %{name}-gcc11.patch # Drop -diag-disable compile flag Patch9: gdal_no-diag-disable.patch -# Fix GEOS and SFCGAL checks: -# https://github.com/OSGeo/gdal/pull/3476 -Patch10: 0001-configure-Also-save-LDFLAGS-when-checking-compilabil.patch -Patch11: 0002-configure-Ensure-with-geos-sfcgal-fail-if-unavailabl.patch BuildRequires: gcc @@ -149,10 +144,6 @@ BuildRequires: poppler-devel %endif BuildRequires: libpq-devel BuildRequires: proj-devel >= 5.2.0 -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python2-numpy -%endif %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-numpy @@ -244,23 +235,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi The GDAL Perl modules provide support to handle multiple GIS file formats. -%if %{with python2} -%package -n python2-gdal -%{?python_provide:%python_provide python2-gdal} -# Remove before F30 -Provides: %{name}-python = %{version}-%{release} -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} -Summary: Python modules for the GDAL file format library -Requires: numpy -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description -n python2-gdal -The GDAL Python modules provide support to handle multiple GIS file formats. -The package also includes a couple of useful utilities in Python. -%endif - - %if %{with python3} %package -n python3-gdal %{?python_provide:%python_provide python3-gdal} @@ -275,10 +249,10 @@ The GDAL Python 3 modules provide support to handle multiple GIS file formats. %endif -%if %{with python2} || %{with python3} +%if %{with python3} %package python-tools Summary: Python tools for the GDAL file format library -Requires: %{?with_python3:python3-gdal}%{?!with_python3:python2-gdal} +Requires: python3-gdal %description python-tools The GDAL Python package provides number of tools for programming and @@ -295,11 +269,7 @@ This package contains documentation for GDAL. # We don't want to provide private Python extension libs -%if %{with python2} && %{with python3} -%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\.so$ -%elif %{with python2} -%global __provides_exclude_from ^%{python2_sitearch}/.*\.so$ -%elif %{with_python3} +%if %{with_python3} %global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ %endif @@ -325,15 +295,6 @@ cp -p %SOURCE4 . sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure.ac %endif -# Tests expect to be next to gdal source directory, but we extract them within -# it. And putting tests next to the source directory wouldn't account for the -# version in the directory name, anyway, so we need to correct this. -sed -i \ - -e 's!../../gdal/swig/python/samples!../../swig/python/samples!' \ - %{name}autotest-%{testversion}/gcore/{cog,tiff_write}.py \ - %{name}autotest-%{testversion}/gdrivers/{gpkg,jp2lura,jp2openjpeg,test_validate_jp2}.py \ - %{name}autotest-%{testversion}/ogr/ogr_gpkg.py - %build # For future reference: @@ -404,14 +365,13 @@ make docs # Make Java module and documentation pushd swig/java make - ant maven + ANT_OPTS="-Dfile.encoding=utf-8" ant maven popd %mvn_artifact swig/java/build/maven/gdal-%version.pom swig/java/build/maven/gdal-%version.jar %endif # Make Python modules pushd swig/python - %{?with_python2:%py2_build} %{?with_python3:%py3_build} popd @@ -424,7 +384,6 @@ popd %install pushd swig/python - %{?with_python2:%py2_install} %{?with_python3:%py3_install} popd @@ -435,6 +394,9 @@ popd # Drop gdal.pdf symlink, as we don't build the pdf documentation rm doc/build/html/gdal.pdf +# Drop samples, installed through %%doc +rm -rf %{python3_sitearch}/osgeo_utils/samples + install -pm 755 ogr/ogrsf_frmts/s57/s57dump %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211createfromxml %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211dump %{buildroot}%{_bindir} @@ -448,7 +410,7 @@ mkdir -p %{buildroot}%{_libdir}/%{name}plugins #TODO: Don't do that? rm %{buildroot}%{perl_archlib}/perllocal.pod -%if %{without python} && %{without python3} +%if %{without python3} rm %buildroot%_mandir/man1/{pct2rgb,rgb2pct}.1 %endif @@ -617,8 +579,8 @@ popd %files libs %license LICENSE.TXT %doc NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.28 -%{_libdir}/libgdal.so.28.* +%{_libdir}/libgdal.so.29 +%{_libdir}/libgdal.so.29.* %{_datadir}/%{name} %dir %{_libdir}/%{name}plugins @@ -646,23 +608,14 @@ popd %{perl_vendorarch}/* %{_mandir}/man3/*.3pm* -%if %{with python2} -%files -n python2-gdal -%doc swig/python/README.rst -%doc swig/python/samples -%{python2_sitearch}/osgeo/ -%{python2_sitearch}/GDAL-%{version}-py*.egg-info/ -%endif - %if %{with python3} %files -n python3-gdal %doc swig/python/README.rst -%doc swig/python/samples -%{python3_sitearch}/osgeo +%doc swig/python/gdal-utils/osgeo_utils/samples %{python3_sitearch}/GDAL-%{version}-py*.egg-info/ -%endif +%{python3_sitearch}/osgeo/ +%{python3_sitearch}/osgeo_utils/ -%if %{with python2} || %{with python3} %files python-tools %_bindir/*.py %{_mandir}/man1/pct2rgb.1* @@ -686,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Mon May 03 2021 Sandro Mani - 3.3.0-1 +- Update to 3.3.0 + * Wed Mar 24 2021 Sandro Mani - 3.2.2-1 - Update to 3.2.2 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index f53b350..fa920f4 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/apps/GNUmakefile gdal-3.2.2-fedora-new/apps/GNUmakefile ---- gdal-3.2.2-fedora/apps/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/apps/GNUmakefile 2021-03-24 13:44:41.091428790 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/apps/GNUmakefile gdal-3.3.0-fedora-new/apps/GNUmakefile +--- gdal-3.3.0-fedora/apps/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/apps/GNUmakefile 2021-05-03 17:18:20.058677207 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 4929939..9fe8dd4 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/frmts/iso8211/GNUmakefile gdal-3.2.2-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.2.2-fedora/frmts/iso8211/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/frmts/iso8211/GNUmakefile 2021-03-24 13:44:40.686428780 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/frmts/iso8211/GNUmakefile gdal-3.3.0-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.3.0-fedora/frmts/iso8211/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/frmts/iso8211/GNUmakefile 2021-05-03 17:18:19.611677197 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch new file mode 100644 index 0000000..148e5a8 --- /dev/null +++ b/gdal_java.patch @@ -0,0 +1,112 @@ +diff -rupN --no-dereference gdal-3.3.0-fedora/swig/java/java.opt gdal-3.3.0-fedora-new/swig/java/java.opt +--- gdal-3.3.0-fedora/swig/java/java.opt 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/swig/java/java.opt 2021-05-03 17:18:19.173677188 +0200 +@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc + JAVAC=$(JAVA_HOME)/bin/javac + JAVA=$(JAVA_HOME)/bin/java + JAR=$(JAVA_HOME)/bin/jar +-JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux ++JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux + + +diff -rupN gdal-3.3.0-fedora/swig/java/add_javadoc.c gdal-3.3.0-fedora-new/swig/java/add_javadoc.c +--- gdal-3.3.0-fedora/swig/java/add_javadoc.c 2021-04-26 14:29:58.000000000 +0200 ++++ gdal-3.3.0-fedora-new/swig/java/add_javadoc.c 2021-05-04 00:54:09.480133336 +0200 +@@ -133,22 +133,22 @@ int main(int argc, char* argv[]) + FILE* fDst; + JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); + int nInstances = 0; +- char szLine[256]; +- char szClass[256]; ++ char szLine[512]; ++ char szClass[512]; + char javadoc[16384]; + szClass[0] = 0; +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + if (strstr(szLine, "/**") == NULL) continue; + begin: + strcpy(javadoc, szLine); +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + strcat(javadoc, szLine); + if (strstr(szLine, "*/")) + break; + } +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + if (szLine[0] == 10) + continue; +@@ -188,10 +188,10 @@ begin: + fDst = fopen(szDstName, "wt"); + if (fDst == NULL) continue; + szClass[0] = 0; +- char szPackage[256]; ++ char szPackage[512]; + szPackage[0] = 0; + +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + char szMethodName[1024]; + char* szOriLine = strdup(szLine); +@@ -224,8 +224,10 @@ begin: + if (strstr(szLine, "synchronized ")) + { + char* c = strstr(szLine, "synchronized "); ++ char rest[512]; ++ strcpy(rest, c + 13); + *c = 0; +- strcat(szLine, c + 13); ++ strcat(szLine, rest); + } + if (strstr(szLine, "public") && !strstr(szLine, "native")) + { +@@ -234,7 +236,7 @@ begin: + strcpy(szMethodName, szLine); + do + { +- fgets(szLine, 255, fSrc); ++ fgets(szLine, 511, fSrc); + strcpy(szMethodName + strlen(szMethodName) - 1, szLine); + } while (!strchr(szMethodName,')')); + strcpy(szLine, szMethodName); +@@ -261,7 +263,7 @@ begin: + { + do + { +- fgets(szLine, 255, fSrc); ++ fgets(szLine, 511, fSrc); + } while (!strchr(szLine,'}')); + } + break; +@@ -289,7 +291,7 @@ begin: + nBrackets --; + } + } +- fgets(szLine, 255, fSrc); ++ fgets(szLine, 511, fSrc); + } while(bFoundOpen == FALSE || nBrackets > 0); + } + else +diff -rupN gdal-3.3.0-fedora/swig/java/javadoc.java gdal-3.3.0-fedora-new/swig/java/javadoc.java +--- gdal-3.3.0-fedora/swig/java/javadoc.java 2021-04-26 14:29:59.000000000 +0200 ++++ gdal-3.3.0-fedora-new/swig/java/javadoc.java 2021-05-05 09:08:14.992037179 +0200 +@@ -11982,12 +11982,12 @@ public interface osrConstants:public fin + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM + + /** +- * Invalid input coordinate. e.g a latitude > 90°. ++ * Invalid input coordinate. e.g a latitude > 90 deg. + */ + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_INVALID_COORD + + /** +- * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90°, ++ * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90 deg, + * or iterative convergence method failed. + */ + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index acc32bf..57b575a 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/configure.ac gdal-3.2.2-fedora-new/configure.ac ---- gdal-3.2.2-fedora/configure.ac 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/configure.ac 2021-03-24 13:44:41.701428806 +0100 -@@ -61,7 +61,7 @@ dnl warning #2304: non-explicit construc +diff -rupN --no-dereference gdal-3.3.0-fedora/configure.ac gdal-3.3.0-fedora-new/configure.ac +--- gdal-3.3.0-fedora/configure.ac 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/configure.ac 2021-05-03 17:18:20.692677222 +0200 +@@ -64,7 +64,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index a31a78f..99dbe59 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/doc/source/index.rst gdal-3.2.2-fedora-new/doc/source/index.rst ---- gdal-3.2.2-fedora/doc/source/index.rst 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/doc/source/index.rst 2021-03-24 13:44:41.294428795 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/doc/source/index.rst gdal-3.3.0-fedora-new/doc/source/index.rst +--- gdal-3.3.0-fedora/doc/source/index.rst 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/doc/source/index.rst 2021-05-03 17:18:20.270677212 +0200 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 53dc39e..8039a4c 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,12 +1,12 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/doc/Makefile gdal-3.2.2-fedora-new/doc/Makefile ---- gdal-3.2.2-fedora/doc/Makefile 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/doc/Makefile 2021-03-24 13:44:40.886428785 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/doc/Makefile gdal-3.3.0-fedora-new/doc/Makefile +--- gdal-3.3.0-fedora/doc/Makefile 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/doc/Makefile 2021-05-03 17:18:19.833677202 +0200 @@ -2,7 +2,7 @@ # # You can set these variables from the command line. --SPHINXOPTS = --keep-going -j auto -W -+SPHINXOPTS = --keep-going +-SPHINXOPTS ?= --keep-going -j auto -W ++SPHINXOPTS ?= --keep-going SPHINXBUILD = sphinx-build SOURCEDIR = source BUILDDIR = build diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index dbb2204..8742261 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,24 +1,24 @@ -diff -rupN --no-dereference gdal-3.2.2-fedora/frmts/dods/GNUmakefile gdal-3.2.2-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.2.2-fedora/frmts/dods/GNUmakefile 2021-03-05 12:38:35.000000000 +0100 -+++ gdal-3.2.2-fedora-new/frmts/dods/GNUmakefile 2021-03-24 13:44:40.477428774 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/frmts/dods/GNUmakefile gdal-3.3.0-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.3.0-fedora/frmts/dods/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/frmts/dods/GNUmakefile 2021-05-03 17:18:19.398677193 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o --CPPFLAGS := $(CPPFLAGS) $(DODS_INC) -+CPPFLAGS := $(CPPFLAGS) $(DODS_INC) -I/usr/include/tirpc +-CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) ++CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -I/usr/include/tirpc default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.2.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.2.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-03-05 12:38:36.000000000 +0100 -+++ gdal-3.2.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-03-24 13:44:40.477428774 +0100 +diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.3.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 ++++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-05-03 17:18:19.398677193 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o --CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) -DDO_NOT_USE_DEBUG_BOOL -+CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc +-CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL ++CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc default: $(O_OBJ:.o=.$(OBJ_EXT)) diff --git a/sources b/sources index e839997..3fd724e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.2.2.tar.gz) = 324326f590fcd508e99f4ed5396a0d61065449f44894e2844e464650097c353eaf3c14074afa862c8d0784569e29545d4050ea65ded95cd02e5bb02deed80dc4 -SHA512 (gdal-3.2.2-fedora.tar.xz) = 3c3d84c77d93ab6943497571a4e6c1bea4a0b74f897f602abcdd59dda5e0799305d8b9444425593631f2d3852722568740237890c0af72ce3b8533367e04ab00 +SHA512 (gdalautotest-3.3.0.tar.gz) = facd8ec0c0743240d6bbdd271ef659182c9d38857a71e2abe153019e27f4adad94f759f007a31472941487ed2d3f588a10412e955f9bd99ea25da2dc97a8924d +SHA512 (gdal-3.3.0-fedora.tar.xz) = ce83c49740f333be17fa9e2287f2c24b79eed67c63fcf975eeda0340010f90b89085d4ee4e30da0105ddc53a2ac19eefaa89879dd27c33706a47546e9350e7ba From 9216c1befe414d319581c146d110e9ca726b5c97 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 7 May 2021 12:11:23 +0200 Subject: [PATCH 049/224] Rebuild (gdal) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7205032..9a0a8f3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Fri May 07 2021 Sandro Mani - 3.3.0-2 +- Rebuild (gdal) + * Mon May 03 2021 Sandro Mani - 3.3.0-1 - Update to 3.3.0 From 74fa4dd6444401e9ed99cf9ed6f80367f3cd3f34 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Thu, 20 May 2021 07:08:27 -0500 Subject: [PATCH 050/224] Rebuilding for libgta 1.2.1. --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 9a0a8f3..05c5c0c 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Thu May 20 2021 Richard Shaw - 3.3.0-3 +- Rebuilding for libgta 1.2.1. + * Fri May 07 2021 Sandro Mani - 3.3.0-2 - Rebuild (gdal) From 3fd907081043c1e9ce89228432f78c3992cc273a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 21 May 2021 12:22:30 +0200 Subject: [PATCH 051/224] Perl 5.34 rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 05c5c0c..f05f131 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Fri May 21 2021 Jitka Plesnikova - 3.3.0-4 +- Perl 5.34 rebuild + * Thu May 20 2021 Richard Shaw - 3.3.0-3 - Rebuilding for libgta 1.2.1. From d222a45ad4343f7ba42bdbb3d82098b3bca87aec Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 21 May 2021 15:08:22 +0200 Subject: [PATCH 052/224] Rebuild (libgta) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f05f131..853af72 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Fri May 21 2021 Sandro Mani - 3.3.0-5 +- Rebuild (libgta) + * Fri May 21 2021 Jitka Plesnikova - 3.3.0-4 - Perl 5.34 rebuild From ec7c5d35ff7c970989c29550919471f3e99cb273 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 24 May 2021 16:19:56 +0200 Subject: [PATCH 053/224] Perl 5.34 re-rebuild updated packages --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 853af72..d900806 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Mon May 24 2021 Jitka Plesnikova - 3.3.0-6 +- Perl 5.34 re-rebuild updated packages + * Fri May 21 2021 Sandro Mani - 3.3.0-5 - Rebuild (libgta) From d4edddc39f5398436c1ce212c55c957811838dc1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:04:54 +0200 Subject: [PATCH 054/224] Rebuilt for Python 3.10 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d900806..d1ac6fd 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.0 -Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 7%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Jun 04 2021 Python Maint - 3.3.0-7 +- Rebuilt for Python 3.10 + * Mon May 24 2021 Jitka Plesnikova - 3.3.0-6 - Perl 5.34 re-rebuild updated packages From d225d9d53edcb26243489dd0cce0bdcc9f741416 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 5 Jul 2021 23:07:34 +0200 Subject: [PATCH 055/224] Update to 3.3.1 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 9 ++++++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 34 +++++++++++++++++----------------- gdal_no-diag-disable.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 11 files changed, 57 insertions(+), 52 deletions(-) diff --git a/.gitignore b/.gitignore index e319f8b..54ce690 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.2.2-fedora.tar.xz /gdalautotest-3.3.0.tar.gz /gdal-3.3.0-fedora.tar.xz +/gdal-3.3.1-fedora.tar.xz +/gdalautotest-3.3.1.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 2177709..5645559 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-04-26 14:31:00.000000000 +0200 -+++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-05-03 17:18:20.482677217 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-06-28 12:59:02.000000000 +0200 ++++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-07-05 16:04:48.497897722 +0200 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-04-26 14:30:59.000000000 +0200 -+++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-05-03 17:18:20.483677217 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-06-28 12:59:01.000000000 +0200 ++++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-07-05 16:04:48.497897722 +0200 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.3.0-fedora/third_party/LercLib/Lerc2.h gdal-3.3.0-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.3.0-fedora/third_party/LercLib/Lerc2.h 2021-04-26 14:30:17.000000000 +0200 -+++ gdal-3.3.0-fedora-new/third_party/LercLib/Lerc2.h 2021-05-03 17:18:20.483677217 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/third_party/LercLib/Lerc2.h gdal-3.3.1-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.3.1-fedora/third_party/LercLib/Lerc2.h 2021-06-28 12:58:18.000000000 +0200 ++++ gdal-3.3.1-fedora-new/third_party/LercLib/Lerc2.h 2021-07-05 16:04:48.498897716 +0200 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index d1ac6fd..d59acba 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.3.0 +%global testversion 3.3.1 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.3.0 -Release: 7%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.3.1 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Jul 05 2021 Sandro Mani - 3.3.1-1 +- Update to 3.3.1 + * Fri Jun 04 2021 Python Maint - 3.3.0-7 - Rebuilt for Python 3.10 diff --git a/gdal_installapps.patch b/gdal_installapps.patch index fa920f4..4eccf7f 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/apps/GNUmakefile gdal-3.3.0-fedora-new/apps/GNUmakefile ---- gdal-3.3.0-fedora/apps/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/apps/GNUmakefile 2021-05-03 17:18:20.058677207 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/apps/GNUmakefile gdal-3.3.1-fedora-new/apps/GNUmakefile +--- gdal-3.3.1-fedora/apps/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/apps/GNUmakefile 2021-07-05 16:04:48.081900302 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 9fe8dd4..39bd428 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/frmts/iso8211/GNUmakefile gdal-3.3.0-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.3.0-fedora/frmts/iso8211/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/frmts/iso8211/GNUmakefile 2021-05-03 17:18:19.611677197 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/frmts/iso8211/GNUmakefile gdal-3.3.1-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.3.1-fedora/frmts/iso8211/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/frmts/iso8211/GNUmakefile 2021-07-05 16:04:47.659902921 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index 148e5a8..24790f4 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,17 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/swig/java/java.opt gdal-3.3.0-fedora-new/swig/java/java.opt ---- gdal-3.3.0-fedora/swig/java/java.opt 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/swig/java/java.opt 2021-05-03 17:18:19.173677188 +0200 -@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc - JAVAC=$(JAVA_HOME)/bin/javac - JAVA=$(JAVA_HOME)/bin/java - JAR=$(JAVA_HOME)/bin/jar --JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -+JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux - - -diff -rupN gdal-3.3.0-fedora/swig/java/add_javadoc.c gdal-3.3.0-fedora-new/swig/java/add_javadoc.c ---- gdal-3.3.0-fedora/swig/java/add_javadoc.c 2021-04-26 14:29:58.000000000 +0200 -+++ gdal-3.3.0-fedora-new/swig/java/add_javadoc.c 2021-05-04 00:54:09.480133336 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/add_javadoc.c gdal-3.3.1-fedora-new/swig/java/add_javadoc.c +--- gdal-3.3.1-fedora/swig/java/add_javadoc.c 2021-06-28 12:58:00.000000000 +0200 ++++ gdal-3.3.1-fedora-new/swig/java/add_javadoc.c 2021-07-05 16:04:47.215905676 +0200 @@ -133,22 +133,22 @@ int main(int argc, char* argv[]) FILE* fDst; JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); @@ -92,9 +81,9 @@ diff -rupN gdal-3.3.0-fedora/swig/java/add_javadoc.c gdal-3.3.0-fedora-new/swig/ } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN gdal-3.3.0-fedora/swig/java/javadoc.java gdal-3.3.0-fedora-new/swig/java/javadoc.java ---- gdal-3.3.0-fedora/swig/java/javadoc.java 2021-04-26 14:29:59.000000000 +0200 -+++ gdal-3.3.0-fedora-new/swig/java/javadoc.java 2021-05-05 09:08:14.992037179 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/javadoc.java gdal-3.3.1-fedora-new/swig/java/javadoc.java +--- gdal-3.3.1-fedora/swig/java/javadoc.java 2021-06-28 12:58:00.000000000 +0200 ++++ gdal-3.3.1-fedora-new/swig/java/javadoc.java 2021-07-05 16:04:47.217905663 +0200 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -110,3 +99,14 @@ diff -rupN gdal-3.3.0-fedora/swig/java/javadoc.java gdal-3.3.0-fedora-new/swig/j * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN +diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/java.opt gdal-3.3.1-fedora-new/swig/java/java.opt +--- gdal-3.3.1-fedora/swig/java/java.opt 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/swig/java/java.opt 2021-07-05 16:04:47.215905676 +0200 +@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc + JAVAC=$(JAVA_HOME)/bin/javac + JAVA=$(JAVA_HOME)/bin/java + JAR=$(JAVA_HOME)/bin/jar +-JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux ++JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux + + diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 57b575a..1174df4 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/configure.ac gdal-3.3.0-fedora-new/configure.ac ---- gdal-3.3.0-fedora/configure.ac 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/configure.ac 2021-05-03 17:18:20.692677222 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/configure.ac gdal-3.3.1-fedora-new/configure.ac +--- gdal-3.3.1-fedora/configure.ac 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/configure.ac 2021-07-05 16:04:48.710896401 +0200 @@ -64,7 +64,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 99dbe59..5a433a7 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/doc/source/index.rst gdal-3.3.0-fedora-new/doc/source/index.rst ---- gdal-3.3.0-fedora/doc/source/index.rst 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/doc/source/index.rst 2021-05-03 17:18:20.270677212 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/doc/source/index.rst gdal-3.3.1-fedora-new/doc/source/index.rst +--- gdal-3.3.1-fedora/doc/source/index.rst 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/doc/source/index.rst 2021-07-05 16:04:48.288899019 +0200 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 8039a4c..f469ed6 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/doc/Makefile gdal-3.3.0-fedora-new/doc/Makefile ---- gdal-3.3.0-fedora/doc/Makefile 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/doc/Makefile 2021-05-03 17:18:19.833677202 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/doc/Makefile gdal-3.3.1-fedora-new/doc/Makefile +--- gdal-3.3.1-fedora/doc/Makefile 2021-06-28 12:57:57.000000000 +0200 ++++ gdal-3.3.1-fedora-new/doc/Makefile 2021-07-05 16:04:47.871901605 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 8742261..52b8f75 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.0-fedora/frmts/dods/GNUmakefile gdal-3.3.0-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.3.0-fedora/frmts/dods/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/frmts/dods/GNUmakefile 2021-05-03 17:18:19.398677193 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/frmts/dods/GNUmakefile gdal-3.3.1-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.3.1-fedora/frmts/dods/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/frmts/dods/GNUmakefile 2021-07-05 16:04:47.443904261 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.3.0-fedora/frmts/dods/GNUmakefile gdal-3.3.0- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.3.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.3.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-04-26 14:29:56.000000000 +0200 -+++ gdal-3.3.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-05-03 17:18:19.398677193 +0200 +diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.3.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 ++++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-07-05 16:04:47.443904261 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 3fd724e..98b7ad5 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.3.0.tar.gz) = facd8ec0c0743240d6bbdd271ef659182c9d38857a71e2abe153019e27f4adad94f759f007a31472941487ed2d3f588a10412e955f9bd99ea25da2dc97a8924d -SHA512 (gdal-3.3.0-fedora.tar.xz) = ce83c49740f333be17fa9e2287f2c24b79eed67c63fcf975eeda0340010f90b89085d4ee4e30da0105ddc53a2ac19eefaa89879dd27c33706a47546e9350e7ba +SHA512 (gdal-3.3.1-fedora.tar.xz) = ac757fc0dda75e1acfbfa9c939cc0ff86debcc856f98972994c7953613d1c4a6b4d7190f48a9fb33d76a5a8fde52983a2d50970e806e7f6029f961e874e346da +SHA512 (gdalautotest-3.3.1.tar.gz) = 2fd6cc6b4923265ad839ce121f1e79151e3dc801bd90365ea699a49a975118dcd4c96e7cca493650f5226122e6d2deeccf8d1ab2467226586c36f087a9866b37 From 6379af6307cf36447cdf80f3717149b5afaf39cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 10 Jul 2021 11:53:14 +0200 Subject: [PATCH 056/224] Rebuild for versioned symbols in json-c --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d59acba..64c6149 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.1 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Sat Jul 10 2021 Björn Esser - 3.3.1-2 +- Rebuild for versioned symbols in json-c + * Mon Jul 05 2021 Sandro Mani - 3.3.1-1 - Update to 3.3.1 From b23e54713a194d9240d66932bc82322ee9bce61a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 23:53:41 +0000 Subject: [PATCH 057/224] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 64c6149..9eff258 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.1 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ popd #Or as before, using ldconfig %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 3.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Sat Jul 10 2021 Björn Esser - 3.3.1-2 - Rebuild for versioned symbols in json-c From 26b8c01dd0e5d906abfdd2375b88f505af804250 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 25 Jul 2021 00:16:54 +0200 Subject: [PATCH 058/224] Fix build with autoconf 2.70 --- gdal.spec | 2 ++ gdal_autoconf270.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gdal_autoconf270.patch diff --git a/gdal.spec b/gdal.spec index 9eff258..eb0e321 100644 --- a/gdal.spec +++ b/gdal.spec @@ -76,6 +76,8 @@ Patch7: gdal_nopdf.patch Patch8: %{name}-gcc11.patch # Drop -diag-disable compile flag Patch9: gdal_no-diag-disable.patch +# Fix build with autoconf 2.70 +Patch10: gdal_autoconf270.patch BuildRequires: gcc diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch new file mode 100644 index 0000000..bc42008 --- /dev/null +++ b/gdal_autoconf270.patch @@ -0,0 +1,12 @@ +diff -rupN gdal-3.3.1-fedora/m4/lib-link.m4 gdal-3.3.1-fedora-new/m4/lib-link.m4 +--- gdal-3.3.1-fedora/m4/lib-link.m4 2021-06-28 12:59:14.000000000 +0200 ++++ gdal-3.3.1-fedora-new/m4/lib-link.m4 2021-07-24 23:56:17.364927895 +0200 +@@ -108,8 +108,6 @@ dnl acl_hardcode_direct, + dnl acl_hardcode_minus_L. + AC_DEFUN([AC_LIB_RPATH], + [ +- dnl Tell automake >= 1.10 to complain if config.rpath is missing. +- m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host From b9037a9bc1145cfc94afaaec18e1e1424d6d2f2d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 2 Aug 2021 14:41:21 +0200 Subject: [PATCH 059/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index eb0e321..21463d0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.1 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Aug 02 2021 Sandro Mani - 3.3.1-4 +- Rebuild (poppler) + * Wed Jul 21 2021 Fedora Release Engineering - 3.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 2add6bb7cbc64b4c364bec53cb72d2e8f3ee24a2 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 9 Aug 2021 20:01:20 -0600 Subject: [PATCH 060/224] Rebuild for hdf5 1.10.7/netcdf 4.8.0 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 21463d0..1ffc854 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.1 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Aug 10 2021 Orion Poplawski - 3.3.1-5 +- Rebuild for hdf5 1.10.7/netcdf 4.8.0 + * Mon Aug 02 2021 Sandro Mani - 3.3.1-4 - Rebuild (poppler) From 3e685b82b497e0822745418e771de4c709f2fa90 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 7 Sep 2021 13:26:19 +0200 Subject: [PATCH 061/224] Update to 3.3.2 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 9 ++++++--- gdal_autoconf270.patch | 6 +++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 18 +++++++++--------- gdal_no-diag-disable.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 12 files changed, 52 insertions(+), 47 deletions(-) diff --git a/.gitignore b/.gitignore index 54ce690..87ed4c9 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.3.0-fedora.tar.xz /gdal-3.3.1-fedora.tar.xz /gdalautotest-3.3.1.tar.gz +/gdal-3.3.2-fedora.tar.xz +/gdalautotest-3.3.2.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 5645559..677f198 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-06-28 12:59:02.000000000 +0200 -+++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-07-05 16:04:48.497897722 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-09-01 11:49:35.000000000 +0200 ++++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-09-07 12:51:18.767929853 +0200 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-06-28 12:59:01.000000000 +0200 -+++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-07-05 16:04:48.497897722 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-09-01 11:49:34.000000000 +0200 ++++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-09-07 12:51:18.768929851 +0200 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.3.1-fedora/third_party/LercLib/Lerc2.h gdal-3.3.1-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.3.1-fedora/third_party/LercLib/Lerc2.h 2021-06-28 12:58:18.000000000 +0200 -+++ gdal-3.3.1-fedora-new/third_party/LercLib/Lerc2.h 2021-07-05 16:04:48.498897716 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/third_party/LercLib/Lerc2.h gdal-3.3.2-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.3.2-fedora/third_party/LercLib/Lerc2.h 2021-09-01 11:48:49.000000000 +0200 ++++ gdal-3.3.2-fedora-new/third_party/LercLib/Lerc2.h 2021-09-07 12:51:18.768929851 +0200 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index 1ffc854..01df4a2 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.3.1 +%global testversion 3.3.2 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.3.1 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.3.2 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Sep 07 2021 Sandro Mani - 3.3.2-1 +- Update to 3.3.2 + * Tue Aug 10 2021 Orion Poplawski - 3.3.1-5 - Rebuild for hdf5 1.10.7/netcdf 4.8.0 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index bc42008..d7bb0e4 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.3.1-fedora/m4/lib-link.m4 gdal-3.3.1-fedora-new/m4/lib-link.m4 ---- gdal-3.3.1-fedora/m4/lib-link.m4 2021-06-28 12:59:14.000000000 +0200 -+++ gdal-3.3.1-fedora-new/m4/lib-link.m4 2021-07-24 23:56:17.364927895 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/m4/lib-link.m4 gdal-3.3.2-fedora-new/m4/lib-link.m4 +--- gdal-3.3.2-fedora/m4/lib-link.m4 2021-09-01 11:49:49.000000000 +0200 ++++ gdal-3.3.2-fedora-new/m4/lib-link.m4 2021-09-07 12:51:19.228928933 +0200 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 4eccf7f..167c050 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/apps/GNUmakefile gdal-3.3.1-fedora-new/apps/GNUmakefile ---- gdal-3.3.1-fedora/apps/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/apps/GNUmakefile 2021-07-05 16:04:48.081900302 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/apps/GNUmakefile gdal-3.3.2-fedora-new/apps/GNUmakefile +--- gdal-3.3.2-fedora/apps/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 ++++ gdal-3.3.2-fedora-new/apps/GNUmakefile 2021-09-07 12:51:18.318930754 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 39bd428..efdf4da 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/frmts/iso8211/GNUmakefile gdal-3.3.1-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.3.1-fedora/frmts/iso8211/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/frmts/iso8211/GNUmakefile 2021-07-05 16:04:47.659902921 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/frmts/iso8211/GNUmakefile gdal-3.3.2-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.3.2-fedora/frmts/iso8211/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 ++++ gdal-3.3.2-fedora-new/frmts/iso8211/GNUmakefile 2021-09-07 12:51:17.869931658 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index 24790f4..c9bfade 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/add_javadoc.c gdal-3.3.1-fedora-new/swig/java/add_javadoc.c ---- gdal-3.3.1-fedora/swig/java/add_javadoc.c 2021-06-28 12:58:00.000000000 +0200 -+++ gdal-3.3.1-fedora-new/swig/java/add_javadoc.c 2021-07-05 16:04:47.215905676 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/add_javadoc.c gdal-3.3.2-fedora-new/swig/java/add_javadoc.c +--- gdal-3.3.2-fedora/swig/java/add_javadoc.c 2021-09-01 11:48:29.000000000 +0200 ++++ gdal-3.3.2-fedora-new/swig/java/add_javadoc.c 2021-09-07 12:51:17.389932633 +0200 @@ -133,22 +133,22 @@ int main(int argc, char* argv[]) FILE* fDst; JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); @@ -81,9 +81,9 @@ diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/add_javadoc.c gdal-3.3.1 } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/javadoc.java gdal-3.3.1-fedora-new/swig/java/javadoc.java ---- gdal-3.3.1-fedora/swig/java/javadoc.java 2021-06-28 12:58:00.000000000 +0200 -+++ gdal-3.3.1-fedora-new/swig/java/javadoc.java 2021-07-05 16:04:47.217905663 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/javadoc.java gdal-3.3.2-fedora-new/swig/java/javadoc.java +--- gdal-3.3.2-fedora/swig/java/javadoc.java 2021-09-01 11:48:29.000000000 +0200 ++++ gdal-3.3.2-fedora-new/swig/java/javadoc.java 2021-09-07 12:51:17.391932629 +0200 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -99,9 +99,9 @@ diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/javadoc.java gdal-3.3.1- * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.3.1-fedora/swig/java/java.opt gdal-3.3.1-fedora-new/swig/java/java.opt ---- gdal-3.3.1-fedora/swig/java/java.opt 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/swig/java/java.opt 2021-07-05 16:04:47.215905676 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/java.opt gdal-3.3.2-fedora-new/swig/java/java.opt +--- gdal-3.3.2-fedora/swig/java/java.opt 2021-09-01 11:48:26.000000000 +0200 ++++ gdal-3.3.2-fedora-new/swig/java/java.opt 2021-09-07 12:51:17.392932626 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 1174df4..ef0293b 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/configure.ac gdal-3.3.1-fedora-new/configure.ac ---- gdal-3.3.1-fedora/configure.ac 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/configure.ac 2021-07-05 16:04:48.710896401 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/configure.ac gdal-3.3.2-fedora-new/configure.ac +--- gdal-3.3.2-fedora/configure.ac 2021-09-01 11:48:27.000000000 +0200 ++++ gdal-3.3.2-fedora-new/configure.ac 2021-09-07 12:51:19.001929383 +0200 @@ -64,7 +64,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 5a433a7..9c4b69e 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/doc/source/index.rst gdal-3.3.1-fedora-new/doc/source/index.rst ---- gdal-3.3.1-fedora/doc/source/index.rst 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/doc/source/index.rst 2021-07-05 16:04:48.288899019 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/doc/source/index.rst gdal-3.3.2-fedora-new/doc/source/index.rst +--- gdal-3.3.2-fedora/doc/source/index.rst 2021-09-01 11:48:26.000000000 +0200 ++++ gdal-3.3.2-fedora-new/doc/source/index.rst 2021-09-07 12:51:18.542930304 +0200 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index f469ed6..a5e2328 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/doc/Makefile gdal-3.3.1-fedora-new/doc/Makefile ---- gdal-3.3.1-fedora/doc/Makefile 2021-06-28 12:57:57.000000000 +0200 -+++ gdal-3.3.1-fedora-new/doc/Makefile 2021-07-05 16:04:47.871901605 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/doc/Makefile gdal-3.3.2-fedora-new/doc/Makefile +--- gdal-3.3.2-fedora/doc/Makefile 2021-09-01 11:48:26.000000000 +0200 ++++ gdal-3.3.2-fedora-new/doc/Makefile 2021-09-07 12:51:18.095931201 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 52b8f75..72eedfa 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.1-fedora/frmts/dods/GNUmakefile gdal-3.3.1-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.3.1-fedora/frmts/dods/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/frmts/dods/GNUmakefile 2021-07-05 16:04:47.443904261 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/frmts/dods/GNUmakefile gdal-3.3.2-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.3.2-fedora/frmts/dods/GNUmakefile 2021-09-01 11:48:26.000000000 +0200 ++++ gdal-3.3.2-fedora-new/frmts/dods/GNUmakefile 2021-09-07 12:51:17.636932131 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.3.1-fedora/frmts/dods/GNUmakefile gdal-3.3.1- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.3.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.3.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-06-28 12:57:58.000000000 +0200 -+++ gdal-3.3.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-07-05 16:04:47.443904261 +0200 +diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.3.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 ++++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-09-07 12:51:17.636932131 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 98b7ad5..3305558 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.3.1-fedora.tar.xz) = ac757fc0dda75e1acfbfa9c939cc0ff86debcc856f98972994c7953613d1c4a6b4d7190f48a9fb33d76a5a8fde52983a2d50970e806e7f6029f961e874e346da -SHA512 (gdalautotest-3.3.1.tar.gz) = 2fd6cc6b4923265ad839ce121f1e79151e3dc801bd90365ea699a49a975118dcd4c96e7cca493650f5226122e6d2deeccf8d1ab2467226586c36f087a9866b37 +SHA512 (gdal-3.3.2-fedora.tar.xz) = 7fd49081d2ee03603083d51357a615386b53ddc2c15592001c560b060d3b7162f0594b6c2a5b82654617877a4e960b9462d4fcb9fbda9d3e7d4b7c63361d34ca +SHA512 (gdalautotest-3.3.2.tar.gz) = e82f95ba3214bfcdb4d38f87d7ec57931bc44da96b0cf58e81dd90ef60adf0ef700d8f3bcef17a706afdbd87feb01c201cc7d43ea8832daecdc98d9f2880ddda From 37081186130cf0322024cc5cb7efdb236a7d7f50 Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Tue, 14 Sep 2021 19:02:09 +0200 Subject: [PATCH 062/224] Rebuilt with OpenSSL 3.0.0 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 01df4a2..5072b64 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.2 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Sep 14 2021 Sahana Prasad - 3.3.2-2 +- Rebuilt with OpenSSL 3.0.0 + * Tue Sep 07 2021 Sandro Mani - 3.3.2-1 - Update to 3.3.2 From 1b155f18db6f751d5abfc381a31aa33bd3238599 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 21 Oct 2021 11:19:24 +0200 Subject: [PATCH 063/224] Rebuild (geos) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 5072b64..2336fac 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.3.2 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Oct 21 2021 Sandro Mani - 3.3.2-3 +- Rebuild (geos) + * Tue Sep 14 2021 Sahana Prasad - 3.3.2-2 - Rebuilt with OpenSSL 3.0.0 From ca7574ff6fcbd039b205906f837a6f82483f5a45 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 29 Oct 2021 18:35:40 +0200 Subject: [PATCH 064/224] Update to 3.3.3 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 9 ++++++--- gdal_autoconf270.patch | 6 +++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 18 +++++++++--------- gdal_no-diag-disable.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 12 files changed, 52 insertions(+), 47 deletions(-) diff --git a/.gitignore b/.gitignore index 87ed4c9..a2f5b3d 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.3.1.tar.gz /gdal-3.3.2-fedora.tar.xz /gdalautotest-3.3.2.tar.gz +/gdal-3.3.3-fedora.tar.xz +/gdalautotest-3.3.3.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 677f198..c8f8a7d 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-09-01 11:49:35.000000000 +0200 -+++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-09-07 12:51:18.767929853 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-10-25 13:40:57.000000000 +0200 ++++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-10-29 17:41:24.508850437 +0200 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-09-01 11:49:34.000000000 +0200 -+++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-09-07 12:51:18.768929851 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-10-25 13:40:56.000000000 +0200 ++++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-10-29 17:41:24.508850437 +0200 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.3.2-fedora/third_party/LercLib/Lerc2.h gdal-3.3.2-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.3.2-fedora/third_party/LercLib/Lerc2.h 2021-09-01 11:48:49.000000000 +0200 -+++ gdal-3.3.2-fedora-new/third_party/LercLib/Lerc2.h 2021-09-07 12:51:18.768929851 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/third_party/LercLib/Lerc2.h gdal-3.3.3-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.3.3-fedora/third_party/LercLib/Lerc2.h 2021-10-25 13:40:08.000000000 +0200 ++++ gdal-3.3.3-fedora-new/third_party/LercLib/Lerc2.h 2021-10-29 17:41:24.509850743 +0200 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index 2336fac..e479309 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.3.2 +%global testversion 3.3.3 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.3.2 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.3.3 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ popd #Or as before, using ldconfig %changelog +* Fri Oct 29 2021 Sandro Mani - 3.3.3-1 +- Update to 3.3.3 + * Thu Oct 21 2021 Sandro Mani - 3.3.2-3 - Rebuild (geos) diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index d7bb0e4..a6beccb 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/m4/lib-link.m4 gdal-3.3.2-fedora-new/m4/lib-link.m4 ---- gdal-3.3.2-fedora/m4/lib-link.m4 2021-09-01 11:49:49.000000000 +0200 -+++ gdal-3.3.2-fedora-new/m4/lib-link.m4 2021-09-07 12:51:19.228928933 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/m4/lib-link.m4 gdal-3.3.3-fedora-new/m4/lib-link.m4 +--- gdal-3.3.3-fedora/m4/lib-link.m4 2021-10-25 13:41:11.000000000 +0200 ++++ gdal-3.3.3-fedora-new/m4/lib-link.m4 2021-10-29 17:41:24.973992816 +0200 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 167c050..0f262aa 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/apps/GNUmakefile gdal-3.3.2-fedora-new/apps/GNUmakefile ---- gdal-3.3.2-fedora/apps/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 -+++ gdal-3.3.2-fedora-new/apps/GNUmakefile 2021-09-07 12:51:18.318930754 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/apps/GNUmakefile gdal-3.3.3-fedora-new/apps/GNUmakefile +--- gdal-3.3.3-fedora/apps/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 ++++ gdal-3.3.3-fedora-new/apps/GNUmakefile 2021-10-29 17:41:24.053711120 +0200 @@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index efdf4da..2f1ee52 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/frmts/iso8211/GNUmakefile gdal-3.3.2-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.3.2-fedora/frmts/iso8211/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 -+++ gdal-3.3.2-fedora-new/frmts/iso8211/GNUmakefile 2021-09-07 12:51:17.869931658 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/frmts/iso8211/GNUmakefile gdal-3.3.3-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.3.3-fedora/frmts/iso8211/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 ++++ gdal-3.3.3-fedora-new/frmts/iso8211/GNUmakefile 2021-10-29 17:41:23.597571497 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index c9bfade..fbd81f0 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/add_javadoc.c gdal-3.3.2-fedora-new/swig/java/add_javadoc.c ---- gdal-3.3.2-fedora/swig/java/add_javadoc.c 2021-09-01 11:48:29.000000000 +0200 -+++ gdal-3.3.2-fedora-new/swig/java/add_javadoc.c 2021-09-07 12:51:17.389932633 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/add_javadoc.c gdal-3.3.3-fedora-new/swig/java/add_javadoc.c +--- gdal-3.3.3-fedora/swig/java/add_javadoc.c 2021-10-25 13:39:48.000000000 +0200 ++++ gdal-3.3.3-fedora-new/swig/java/add_javadoc.c 2021-10-29 17:41:23.119425138 +0200 @@ -133,22 +133,22 @@ int main(int argc, char* argv[]) FILE* fDst; JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); @@ -81,9 +81,9 @@ diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/add_javadoc.c gdal-3.3.2 } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/javadoc.java gdal-3.3.2-fedora-new/swig/java/javadoc.java ---- gdal-3.3.2-fedora/swig/java/javadoc.java 2021-09-01 11:48:29.000000000 +0200 -+++ gdal-3.3.2-fedora-new/swig/java/javadoc.java 2021-09-07 12:51:17.391932629 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/javadoc.java gdal-3.3.3-fedora-new/swig/java/javadoc.java +--- gdal-3.3.3-fedora/swig/java/javadoc.java 2021-10-25 13:39:48.000000000 +0200 ++++ gdal-3.3.3-fedora-new/swig/java/javadoc.java 2021-10-29 17:41:23.121425751 +0200 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -99,9 +99,9 @@ diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/javadoc.java gdal-3.3.2- * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.3.2-fedora/swig/java/java.opt gdal-3.3.2-fedora-new/swig/java/java.opt ---- gdal-3.3.2-fedora/swig/java/java.opt 2021-09-01 11:48:26.000000000 +0200 -+++ gdal-3.3.2-fedora-new/swig/java/java.opt 2021-09-07 12:51:17.392932626 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/java.opt gdal-3.3.3-fedora-new/swig/java/java.opt +--- gdal-3.3.3-fedora/swig/java/java.opt 2021-10-25 13:39:45.000000000 +0200 ++++ gdal-3.3.3-fedora-new/swig/java/java.opt 2021-10-29 17:41:23.121425751 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index ef0293b..85fbfe3 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/configure.ac gdal-3.3.2-fedora-new/configure.ac ---- gdal-3.3.2-fedora/configure.ac 2021-09-01 11:48:27.000000000 +0200 -+++ gdal-3.3.2-fedora-new/configure.ac 2021-09-07 12:51:19.001929383 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/configure.ac gdal-3.3.3-fedora-new/configure.ac +--- gdal-3.3.3-fedora/configure.ac 2021-10-25 13:39:46.000000000 +0200 ++++ gdal-3.3.3-fedora-new/configure.ac 2021-10-29 17:41:24.742922086 +0200 @@ -64,7 +64,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 9c4b69e..2b32415 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/doc/source/index.rst gdal-3.3.2-fedora-new/doc/source/index.rst ---- gdal-3.3.2-fedora/doc/source/index.rst 2021-09-01 11:48:26.000000000 +0200 -+++ gdal-3.3.2-fedora-new/doc/source/index.rst 2021-09-07 12:51:18.542930304 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/doc/source/index.rst gdal-3.3.3-fedora-new/doc/source/index.rst +--- gdal-3.3.3-fedora/doc/source/index.rst 2021-10-25 13:39:45.000000000 +0200 ++++ gdal-3.3.3-fedora-new/doc/source/index.rst 2021-10-29 17:41:24.277779707 +0200 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index a5e2328..8038f34 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/doc/Makefile gdal-3.3.2-fedora-new/doc/Makefile ---- gdal-3.3.2-fedora/doc/Makefile 2021-09-01 11:48:26.000000000 +0200 -+++ gdal-3.3.2-fedora-new/doc/Makefile 2021-09-07 12:51:18.095931201 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/doc/Makefile gdal-3.3.3-fedora-new/doc/Makefile +--- gdal-3.3.3-fedora/doc/Makefile 2021-10-25 13:39:45.000000000 +0200 ++++ gdal-3.3.3-fedora-new/doc/Makefile 2021-10-29 17:41:23.827641921 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 72eedfa..3e3e4f1 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.2-fedora/frmts/dods/GNUmakefile gdal-3.3.2-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.3.2-fedora/frmts/dods/GNUmakefile 2021-09-01 11:48:26.000000000 +0200 -+++ gdal-3.3.2-fedora-new/frmts/dods/GNUmakefile 2021-09-07 12:51:17.636932131 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/frmts/dods/GNUmakefile gdal-3.3.3-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.3.3-fedora/frmts/dods/GNUmakefile 2021-10-25 13:39:45.000000000 +0200 ++++ gdal-3.3.3-fedora-new/frmts/dods/GNUmakefile 2021-10-29 17:41:23.363499849 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.3.2-fedora/frmts/dods/GNUmakefile gdal-3.3.2- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.3.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.3.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-09-01 11:48:27.000000000 +0200 -+++ gdal-3.3.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-09-07 12:51:17.636932131 +0200 +diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.3.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 ++++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-10-29 17:41:23.363499849 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 3305558..44ad03c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.3.2-fedora.tar.xz) = 7fd49081d2ee03603083d51357a615386b53ddc2c15592001c560b060d3b7162f0594b6c2a5b82654617877a4e960b9462d4fcb9fbda9d3e7d4b7c63361d34ca -SHA512 (gdalautotest-3.3.2.tar.gz) = e82f95ba3214bfcdb4d38f87d7ec57931bc44da96b0cf58e81dd90ef60adf0ef700d8f3bcef17a706afdbd87feb01c201cc7d43ea8832daecdc98d9f2880ddda +SHA512 (gdal-3.3.3-fedora.tar.xz) = e61105cf2f76a0dc59a32c7c8f0351446cf939ddca9fd9283f7c81312add640cb262ef853d13fecfe635c07944ff8df57cfdaca1fb8c4169be8a52ddc8c85090 +SHA512 (gdalautotest-3.3.3.tar.gz) = 942cc4a87653602e718f335bbdd80727475655e1e2a1993fda51df73a8ba5492c8fa365e0c3b61ee4a88d5044922065bf07247597798231d7e11a84249ed52b6 From 53151cf9ac477c83a9d6338bf8bc712a48318f4b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 11 Nov 2021 10:16:34 +0100 Subject: [PATCH 065/224] Update to 3.4.0 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 37 +++++++++++++++++-------------------- gdal_autoconf270.patch | 6 +++--- gdal_installapps.patch | 8 ++++---- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 18 +++++++++--------- gdal_no-diag-disable.patch | 8 ++++---- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 16 ++++++++-------- sources | 4 ++-- 12 files changed, 67 insertions(+), 68 deletions(-) diff --git a/.gitignore b/.gitignore index a2f5b3d..a39008a 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.3.2.tar.gz /gdal-3.3.3-fedora.tar.xz /gdalautotest-3.3.3.tar.gz +/gdal-3.4.0-fedora.tar.xz +/gdalautotest-3.4.0.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index c8f8a7d..27f799d 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-10-25 13:40:57.000000000 +0200 -+++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-10-29 17:41:24.508850437 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-11-04 12:56:51.000000000 +0100 ++++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-11-09 11:58:38.117291664 +0100 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-10-25 13:40:56.000000000 +0200 -+++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-10-29 17:41:24.508850437 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-11-04 12:56:50.000000000 +0100 ++++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-11-09 11:58:38.117291664 +0100 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.3.3-fedora/third_party/LercLib/Lerc2.h gdal-3.3.3-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.3.3-fedora/third_party/LercLib/Lerc2.h 2021-10-25 13:40:08.000000000 +0200 -+++ gdal-3.3.3-fedora-new/third_party/LercLib/Lerc2.h 2021-10-29 17:41:24.509850743 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/third_party/LercLib/Lerc2.h gdal-3.4.0-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.4.0-fedora/third_party/LercLib/Lerc2.h 2021-11-04 12:56:01.000000000 +0100 ++++ gdal-3.4.0-fedora-new/third_party/LercLib/Lerc2.h 2021-11-09 11:58:38.118291684 +0100 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index e479309..fae5a54 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.3.3 +%global testversion 3.4.0 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,7 +43,7 @@ %endif Name: gdal -Version: 3.3.3 +Version: 3.4.0 Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT @@ -396,9 +396,6 @@ popd # Drop gdal.pdf symlink, as we don't build the pdf documentation rm doc/build/html/gdal.pdf -# Drop samples, installed through %%doc -rm -rf %{python3_sitearch}/osgeo_utils/samples - install -pm 755 ogr/ogrsf_frmts/s57/s57dump %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211createfromxml %{buildroot}%{_bindir} install -pm 755 frmts/iso8211/8211dump %{buildroot}%{_bindir} @@ -461,7 +458,7 @@ cat > %{buildroot}%{_includedir}/%{name}/cpl_config.h < - 3.4.0-1 +- Update to 3.4.0 + * Fri Oct 29 2021 Sandro Mani - 3.3.3-1 - Update to 3.3.3 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index a6beccb..400c619 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/m4/lib-link.m4 gdal-3.3.3-fedora-new/m4/lib-link.m4 ---- gdal-3.3.3-fedora/m4/lib-link.m4 2021-10-25 13:41:11.000000000 +0200 -+++ gdal-3.3.3-fedora-new/m4/lib-link.m4 2021-10-29 17:41:24.973992816 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/m4/lib-link.m4 gdal-3.4.0-fedora-new/m4/lib-link.m4 +--- gdal-3.4.0-fedora/m4/lib-link.m4 2021-11-04 12:57:06.000000000 +0100 ++++ gdal-3.4.0-fedora-new/m4/lib-link.m4 2021-11-09 11:58:38.585300818 +0100 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 0f262aa..7ae026e 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/apps/GNUmakefile gdal-3.3.3-fedora-new/apps/GNUmakefile ---- gdal-3.3.3-fedora/apps/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 -+++ gdal-3.3.3-fedora-new/apps/GNUmakefile 2021-10-29 17:41:24.053711120 +0200 -@@ -233,6 +233,7 @@ gdal-config-inst: gdal-config.in ../GDAL +diff -rupN --no-dereference gdal-3.4.0-fedora/apps/GNUmakefile gdal-3.4.0-fedora-new/apps/GNUmakefile +--- gdal-3.4.0-fedora/apps/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/apps/GNUmakefile 2021-11-09 11:58:37.658282683 +0100 +@@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 2f1ee52..ebc16ac 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/frmts/iso8211/GNUmakefile gdal-3.3.3-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.3.3-fedora/frmts/iso8211/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 -+++ gdal-3.3.3-fedora-new/frmts/iso8211/GNUmakefile 2021-10-29 17:41:23.597571497 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/frmts/iso8211/GNUmakefile gdal-3.4.0-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.4.0-fedora/frmts/iso8211/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/frmts/iso8211/GNUmakefile 2021-11-09 11:58:37.203273779 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index fbd81f0..7300472 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/add_javadoc.c gdal-3.3.3-fedora-new/swig/java/add_javadoc.c ---- gdal-3.3.3-fedora/swig/java/add_javadoc.c 2021-10-25 13:39:48.000000000 +0200 -+++ gdal-3.3.3-fedora-new/swig/java/add_javadoc.c 2021-10-29 17:41:23.119425138 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0-fedora-new/swig/java/add_javadoc.c +--- gdal-3.4.0-fedora/swig/java/add_javadoc.c 2021-11-04 12:55:39.000000000 +0100 ++++ gdal-3.4.0-fedora-new/swig/java/add_javadoc.c 2021-11-09 11:58:36.600261974 +0100 @@ -133,22 +133,22 @@ int main(int argc, char* argv[]) FILE* fDst; JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); @@ -81,9 +81,9 @@ diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/add_javadoc.c gdal-3.3.3 } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/javadoc.java gdal-3.3.3-fedora-new/swig/java/javadoc.java ---- gdal-3.3.3-fedora/swig/java/javadoc.java 2021-10-25 13:39:48.000000000 +0200 -+++ gdal-3.3.3-fedora-new/swig/java/javadoc.java 2021-10-29 17:41:23.121425751 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/javadoc.java gdal-3.4.0-fedora-new/swig/java/javadoc.java +--- gdal-3.4.0-fedora/swig/java/javadoc.java 2021-11-04 12:55:40.000000000 +0100 ++++ gdal-3.4.0-fedora-new/swig/java/javadoc.java 2021-11-09 11:58:36.602262013 +0100 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -99,9 +99,9 @@ diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/javadoc.java gdal-3.3.3- * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.3.3-fedora/swig/java/java.opt gdal-3.3.3-fedora-new/swig/java/java.opt ---- gdal-3.3.3-fedora/swig/java/java.opt 2021-10-25 13:39:45.000000000 +0200 -+++ gdal-3.3.3-fedora-new/swig/java/java.opt 2021-10-29 17:41:23.121425751 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/java.opt gdal-3.4.0-fedora-new/swig/java/java.opt +--- gdal-3.4.0-fedora/swig/java/java.opt 2021-11-04 12:55:38.000000000 +0100 ++++ gdal-3.4.0-fedora-new/swig/java/java.opt 2021-11-09 11:58:36.602262013 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 85fbfe3..1be1592 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/configure.ac gdal-3.3.3-fedora-new/configure.ac ---- gdal-3.3.3-fedora/configure.ac 2021-10-25 13:39:46.000000000 +0200 -+++ gdal-3.3.3-fedora-new/configure.ac 2021-10-29 17:41:24.742922086 +0200 -@@ -64,7 +64,7 @@ dnl warning #2304: non-explicit construc +diff -rupN --no-dereference gdal-3.4.0-fedora/configure.ac gdal-3.4.0-fedora-new/configure.ac +--- gdal-3.4.0-fedora/configure.ac 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/configure.ac 2021-11-09 11:58:38.356296339 +0100 +@@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 2b32415..c0dee05 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/doc/source/index.rst gdal-3.3.3-fedora-new/doc/source/index.rst ---- gdal-3.3.3-fedora/doc/source/index.rst 2021-10-25 13:39:45.000000000 +0200 -+++ gdal-3.3.3-fedora-new/doc/source/index.rst 2021-10-29 17:41:24.277779707 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/doc/source/index.rst gdal-3.4.0-fedora-new/doc/source/index.rst +--- gdal-3.4.0-fedora/doc/source/index.rst 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/doc/source/index.rst 2021-11-09 11:58:37.885287126 +0100 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 8038f34..79ccc10 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/doc/Makefile gdal-3.3.3-fedora-new/doc/Makefile ---- gdal-3.3.3-fedora/doc/Makefile 2021-10-25 13:39:45.000000000 +0200 -+++ gdal-3.3.3-fedora-new/doc/Makefile 2021-10-29 17:41:23.827641921 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/doc/Makefile gdal-3.4.0-fedora-new/doc/Makefile +--- gdal-3.4.0-fedora/doc/Makefile 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/doc/Makefile 2021-11-09 11:58:37.435278319 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 3e3e4f1..6963ca4 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.3.3-fedora/frmts/dods/GNUmakefile gdal-3.3.3-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.3.3-fedora/frmts/dods/GNUmakefile 2021-10-25 13:39:45.000000000 +0200 -+++ gdal-3.3.3-fedora-new/frmts/dods/GNUmakefile 2021-10-29 17:41:23.363499849 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/frmts/dods/GNUmakefile gdal-3.4.0-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.4.0-fedora/frmts/dods/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/frmts/dods/GNUmakefile 2021-11-09 11:58:36.942268671 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,15 +10,15 @@ diff -rupN --no-dereference gdal-3.3.3-fedora/frmts/dods/GNUmakefile gdal-3.3.3- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.3.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.3.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-10-25 13:39:46.000000000 +0200 -+++ gdal-3.3.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-10-29 17:41:23.363499849 +0200 +diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.4.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 ++++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-11-09 11:58:36.942268671 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o --CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -+CPPFLAGS := -I.. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc +-CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL ++CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc default: $(O_OBJ:.o=.$(OBJ_EXT)) diff --git a/sources b/sources index 44ad03c..9611fc2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.3.3-fedora.tar.xz) = e61105cf2f76a0dc59a32c7c8f0351446cf939ddca9fd9283f7c81312add640cb262ef853d13fecfe635c07944ff8df57cfdaca1fb8c4169be8a52ddc8c85090 -SHA512 (gdalautotest-3.3.3.tar.gz) = 942cc4a87653602e718f335bbdd80727475655e1e2a1993fda51df73a8ba5492c8fa365e0c3b61ee4a88d5044922065bf07247597798231d7e11a84249ed52b6 +SHA512 (gdal-3.4.0-fedora.tar.xz) = b649dc43bbad297482a29e7202a32f57b75f0e9f9aa6e156b9759986660d8f27d5b5e73b6367e088108ceead9b558d552d3560ca7dac7a7b0c944c6509e5e956 +SHA512 (gdalautotest-3.4.0.tar.gz) = b9258b93e2db9cdc2aa0d290272314e4bfad177a51a7f60d40a8bbebbe9f5e31f9e7a7f0f25a3d600357a3db9c02cca0e426970e0057c59d176fedcdc32ef089 From 6aeff86eb756766f18d77768e503255e8e188351 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 20 Nov 2021 21:43:12 -0700 Subject: [PATCH 066/224] Rebuild for hdf5 1.12.1 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index fae5a54..c43c4a5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.0 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Sun Nov 21 2021 Orion Poplawski - 3.4.0-2 +- Rebuild for hdf5 1.12.1 + * Mon Nov 08 2021 Sandro Mani - 3.4.0-1 - Update to 3.4.0 From fd018d2f1a236556319128a8343a0c79ac6006ac Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 4 Jan 2022 16:38:20 +0100 Subject: [PATCH 067/224] Update to 3.4.1 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 ++++++------ gdal.spec | 9 ++++-- gdal_autoconf270.patch | 6 ++-- gdal_installapps.patch | 6 ++-- gdal_iso8211.patch | 6 ++-- gdal_java.patch | 60 +++++++++++++++----------------------- gdal_no-diag-disable.patch | 6 ++-- gdal_nopdf.patch | 6 ++-- gdal_sphinx.patch | 6 ++-- gdal_tirpcinc.patch | 12 ++++---- sources | 4 +-- 12 files changed, 66 insertions(+), 75 deletions(-) diff --git a/.gitignore b/.gitignore index a39008a..0a49695 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.3.3.tar.gz /gdal-3.4.0-fedora.tar.xz /gdalautotest-3.4.0.tar.gz +/gdal-3.4.1-fedora.tar.xz +/gdalautotest-3.4.1.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 27f799d..98e14d7 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-11-04 12:56:51.000000000 +0100 -+++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-11-09 11:58:38.117291664 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-12-27 21:26:29.000000000 +0100 ++++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-01-04 13:58:03.552554655 +0100 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-11-04 12:56:50.000000000 +0100 -+++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-11-09 11:58:38.117291664 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-12-27 21:26:28.000000000 +0100 ++++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-01-04 13:58:03.552554655 +0100 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.4.0-fedora/third_party/LercLib/Lerc2.h gdal-3.4.0-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.4.0-fedora/third_party/LercLib/Lerc2.h 2021-11-04 12:56:01.000000000 +0100 -+++ gdal-3.4.0-fedora-new/third_party/LercLib/Lerc2.h 2021-11-09 11:58:38.118291684 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/third_party/LercLib/Lerc2.h gdal-3.4.1-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.4.1-fedora/third_party/LercLib/Lerc2.h 2021-12-27 21:25:37.000000000 +0100 ++++ gdal-3.4.1-fedora-new/third_party/LercLib/Lerc2.h 2022-01-04 13:58:03.553554660 +0100 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index c43c4a5..a88cbc8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.4.0 +%global testversion 3.4.1 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.4.0 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.4.1 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Tue Jan 04 2022 Sandro Mani - 3.4.1-1 +- Update to 3.4.1 + * Sun Nov 21 2021 Orion Poplawski - 3.4.0-2 - Rebuild for hdf5 1.12.1 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index 400c619..b23ad7d 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/m4/lib-link.m4 gdal-3.4.0-fedora-new/m4/lib-link.m4 ---- gdal-3.4.0-fedora/m4/lib-link.m4 2021-11-04 12:57:06.000000000 +0100 -+++ gdal-3.4.0-fedora-new/m4/lib-link.m4 2021-11-09 11:58:38.585300818 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/m4/lib-link.m4 gdal-3.4.1-fedora-new/m4/lib-link.m4 +--- gdal-3.4.1-fedora/m4/lib-link.m4 2021-12-27 21:26:46.000000000 +0100 ++++ gdal-3.4.1-fedora-new/m4/lib-link.m4 2022-01-04 13:58:04.019556695 +0100 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 7ae026e..3f0914a 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/apps/GNUmakefile gdal-3.4.0-fedora-new/apps/GNUmakefile ---- gdal-3.4.0-fedora/apps/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/apps/GNUmakefile 2021-11-09 11:58:37.658282683 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/apps/GNUmakefile gdal-3.4.1-fedora-new/apps/GNUmakefile +--- gdal-3.4.1-fedora/apps/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/apps/GNUmakefile 2022-01-04 13:58:03.039552414 +0100 @@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index ebc16ac..fc112db 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/frmts/iso8211/GNUmakefile gdal-3.4.0-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.4.0-fedora/frmts/iso8211/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/frmts/iso8211/GNUmakefile 2021-11-09 11:58:37.203273779 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/frmts/iso8211/GNUmakefile gdal-3.4.1-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.4.1-fedora/frmts/iso8211/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/frmts/iso8211/GNUmakefile 2022-01-04 13:58:02.496550043 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index 7300472..89e054d 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,13 +1,11 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0-fedora-new/swig/java/add_javadoc.c ---- gdal-3.4.0-fedora/swig/java/add_javadoc.c 2021-11-04 12:55:39.000000000 +0100 -+++ gdal-3.4.0-fedora-new/swig/java/add_javadoc.c 2021-11-09 11:58:36.600261974 +0100 -@@ -133,22 +133,22 @@ int main(int argc, char* argv[]) - FILE* fDst; +diff -rupN gdal-3.4.1-fedora/swig/java/add_javadoc.c gdal-3.4.1-fedora-new/swig/java/add_javadoc.c +--- gdal-3.4.1-fedora/swig/java/add_javadoc.c 2021-12-27 21:25:14.000000000 +0100 ++++ gdal-3.4.1-fedora-new/swig/java/add_javadoc.c 2022-01-04 15:09:34.166703455 +0100 +@@ -142,21 +142,21 @@ int main(int argc, char* argv[]) JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); int nInstances = 0; -- char szLine[256]; + char szLine[512]; - char szClass[256]; -+ char szLine[512]; + char szClass[512]; char javadoc[16384]; szClass[0] = 0; @@ -29,9 +27,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0 { if (szLine[0] == 10) continue; -@@ -188,10 +188,10 @@ begin: - fDst = fopen(szDstName, "wt"); - if (fDst == NULL) continue; +@@ -209,10 +209,10 @@ begin: + continue; + } szClass[0] = 0; - char szPackage[256]; + char szPackage[512]; @@ -42,48 +40,36 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0 { char szMethodName[1024]; char* szOriLine = strdup(szLine); -@@ -224,8 +224,10 @@ begin: - if (strstr(szLine, "synchronized ")) - { - char* c = strstr(szLine, "synchronized "); -+ char rest[512]; -+ strcpy(rest, c + 13); - *c = 0; -- strcat(szLine, c + 13); -+ strcat(szLine, rest); - } - if (strstr(szLine, "public") && !strstr(szLine, "native")) - { -@@ -234,7 +236,7 @@ begin: +@@ -255,7 +255,7 @@ begin: strcpy(szMethodName, szLine); do { -- fgets(szLine, 255, fSrc); -+ fgets(szLine, 511, fSrc); +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); strcpy(szMethodName + strlen(szMethodName) - 1, szLine); } while (!strchr(szMethodName,')')); strcpy(szLine, szMethodName); -@@ -261,7 +263,7 @@ begin: +@@ -282,7 +282,7 @@ begin: { do { -- fgets(szLine, 255, fSrc); -+ fgets(szLine, 511, fSrc); +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); } while (!strchr(szLine,'}')); } break; -@@ -289,7 +291,7 @@ begin: +@@ -310,7 +310,7 @@ begin: nBrackets --; } } -- fgets(szLine, 255, fSrc); -+ fgets(szLine, 511, fSrc); +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/javadoc.java gdal-3.4.0-fedora-new/swig/java/javadoc.java ---- gdal-3.4.0-fedora/swig/java/javadoc.java 2021-11-04 12:55:40.000000000 +0100 -+++ gdal-3.4.0-fedora-new/swig/java/javadoc.java 2021-11-09 11:58:36.602262013 +0100 +diff -rupN gdal-3.4.1-fedora/swig/java/javadoc.java gdal-3.4.1-fedora-new/swig/java/javadoc.java +--- gdal-3.4.1-fedora/swig/java/javadoc.java 2021-12-27 21:25:14.000000000 +0100 ++++ gdal-3.4.1-fedora-new/swig/java/javadoc.java 2022-01-04 15:07:38.528621112 +0100 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -99,9 +85,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/javadoc.java gdal-3.4.0- * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/java.opt gdal-3.4.0-fedora-new/swig/java/java.opt ---- gdal-3.4.0-fedora/swig/java/java.opt 2021-11-04 12:55:38.000000000 +0100 -+++ gdal-3.4.0-fedora-new/swig/java/java.opt 2021-11-09 11:58:36.602262013 +0100 +diff -rupN gdal-3.4.1-fedora/swig/java/java.opt gdal-3.4.1-fedora-new/swig/java/java.opt +--- gdal-3.4.1-fedora/swig/java/java.opt 2021-12-27 21:25:12.000000000 +0100 ++++ gdal-3.4.1-fedora-new/swig/java/java.opt 2022-01-04 15:07:38.529621181 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 1be1592..911dd8b 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/configure.ac gdal-3.4.0-fedora-new/configure.ac ---- gdal-3.4.0-fedora/configure.ac 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/configure.ac 2021-11-09 11:58:38.356296339 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/configure.ac gdal-3.4.1-fedora-new/configure.ac +--- gdal-3.4.1-fedora/configure.ac 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/configure.ac 2022-01-04 13:58:03.791555699 +0100 @@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index c0dee05..3ff6361 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/doc/source/index.rst gdal-3.4.0-fedora-new/doc/source/index.rst ---- gdal-3.4.0-fedora/doc/source/index.rst 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/doc/source/index.rst 2021-11-09 11:58:37.885287126 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/doc/source/index.rst gdal-3.4.1-fedora-new/doc/source/index.rst +--- gdal-3.4.1-fedora/doc/source/index.rst 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/doc/source/index.rst 2022-01-04 13:58:03.286553493 +0100 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 79ccc10..c3ded15 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/doc/Makefile gdal-3.4.0-fedora-new/doc/Makefile ---- gdal-3.4.0-fedora/doc/Makefile 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/doc/Makefile 2021-11-09 11:58:37.435278319 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/doc/Makefile gdal-3.4.1-fedora-new/doc/Makefile +--- gdal-3.4.1-fedora/doc/Makefile 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/doc/Makefile 2022-01-04 13:58:02.787551314 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index 6963ca4..c8dfdaf 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.0-fedora/frmts/dods/GNUmakefile gdal-3.4.0-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.4.0-fedora/frmts/dods/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/frmts/dods/GNUmakefile 2021-11-09 11:58:36.942268671 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/frmts/dods/GNUmakefile gdal-3.4.1-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.4.1-fedora/frmts/dods/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 ++++ gdal-3.4.1-fedora-new/frmts/dods/GNUmakefile 2022-01-04 13:58:02.255548990 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/frmts/dods/GNUmakefile gdal-3.4.0- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.4.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.4.0-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-11-04 12:55:37.000000000 +0100 -+++ gdal-3.4.0-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2021-11-09 11:58:36.942268671 +0100 +diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.4.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-12-27 21:25:12.000000000 +0100 ++++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-01-04 13:58:02.256548994 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 9611fc2..80391a8 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.4.0-fedora.tar.xz) = b649dc43bbad297482a29e7202a32f57b75f0e9f9aa6e156b9759986660d8f27d5b5e73b6367e088108ceead9b558d552d3560ca7dac7a7b0c944c6509e5e956 -SHA512 (gdalautotest-3.4.0.tar.gz) = b9258b93e2db9cdc2aa0d290272314e4bfad177a51a7f60d40a8bbebbe9f5e31f9e7a7f0f25a3d600357a3db9c02cca0e426970e0057c59d176fedcdc32ef089 +SHA512 (gdal-3.4.1-fedora.tar.xz) = d254d8e93fb6f43ba2db33949b4c69959237e1cc6e044b8f710a3802f28acc481a8ca7f877f0eea75ecb4138e80e8a79eceb67aebe0b86dfc2f71883874c541b +SHA512 (gdalautotest-3.4.1.tar.gz) = 6aa5cab257afdc345d3736a599150051621d775f19dabf6644b41fcd5f6cb2012948e9f9bf82033ae361d892faa4e1cdbb802f089af5ec94ae0552cd0338ae43 From 35e7c63e8b001412e0c5b3482262d78fa67d1348 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 13 Jan 2022 16:41:10 +0100 Subject: [PATCH 068/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index a88cbc8..663ebcf 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.1 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Jan 13 2022 Sandro Mani - 3.4.1-2 +- Rebuild (poppler) + * Tue Jan 04 2022 Sandro Mani - 3.4.1-1 - Update to 3.4.1 From d2a9bdefc9c95af1d2d0a398d97edd7edf7a8de2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:01:56 +0000 Subject: [PATCH 069/224] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 663ebcf..68734c7 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.1 -Release: 2%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 3.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jan 13 2022 Sandro Mani - 3.4.1-2 - Rebuild (poppler) From 24b9641de7c8512dd468bf7e2af96c64a96c948b Mon Sep 17 00:00:00 2001 From: Jiri Date: Sat, 5 Feb 2022 20:45:08 +0100 Subject: [PATCH 070/224] Rebuilt for java-17-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java17 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 68734c7..e0087be 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.1 -Release: 3%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Sat Feb 05 2022 Jiri Vanek - 3.4.1-4 +- Rebuilt for java-17-openjdk as system jdk + * Thu Jan 20 2022 Fedora Release Engineering - 3.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 5b7635b54a9e6ecae46fa1111d287ec038c8663f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Sun, 13 Feb 2022 13:45:45 +0100 Subject: [PATCH 071/224] Rebuilt for libjasper.so.6 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index e0087be..0a2be9b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.1 -Release: 4%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Sun Feb 13 2022 Josef Ridky - 3.4.1-5 +- Rebuilt for libjasper.so.6 + * Sat Feb 05 2022 Jiri Vanek - 3.4.1-4 - Rebuilt for java-17-openjdk as system jdk From dcc248aeef00bccefed92dedf4b09a7b0e855b23 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 10 Mar 2022 00:03:08 +0100 Subject: [PATCH 072/224] Rebuild for proj-9.0.0 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0a2be9b..0b7c8b9 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,7 +44,7 @@ Name: gdal Version: 3.4.1 -Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Thu Mar 10 2022 Sandro Mani - 3.4.1-6 +- Rebuild for proj-9.0.0 + * Sun Feb 13 2022 Josef Ridky - 3.4.1-5 - Rebuilt for libjasper.so.6 From 6ff18a28cc8cf8158a3852f5f7ab4aebf2a7a10f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 14 Mar 2022 23:51:48 +0100 Subject: [PATCH 073/224] Update to 3.4.2 --- .gitignore | 2 ++ gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 9 ++++++--- gdal_autoconf270.patch | 6 +++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 18 +++++++++--------- gdal_no-diag-disable.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 4 ++-- 12 files changed, 52 insertions(+), 47 deletions(-) diff --git a/.gitignore b/.gitignore index 0a49695..0499d5b 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.4.0.tar.gz /gdal-3.4.1-fedora.tar.xz /gdalautotest-3.4.1.tar.gz +/gdal-3.4.2-fedora.tar.xz +/gdalautotest-3.4.2.tar.gz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 98e14d7..221fc4d 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2021-12-27 21:26:29.000000000 +0100 -+++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-01-04 13:58:03.552554655 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-03-08 11:12:11.000000000 +0100 ++++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-03-14 23:50:44.828159269 +0100 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2021-12-27 21:26:28.000000000 +0100 -+++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-01-04 13:58:03.552554655 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-03-08 11:12:10.000000000 +0100 ++++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-03-14 23:50:44.828159269 +0100 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.4.1-fedora/third_party/LercLib/Lerc2.h gdal-3.4.1-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.4.1-fedora/third_party/LercLib/Lerc2.h 2021-12-27 21:25:37.000000000 +0100 -+++ gdal-3.4.1-fedora-new/third_party/LercLib/Lerc2.h 2022-01-04 13:58:03.553554660 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/third_party/LercLib/Lerc2.h gdal-3.4.2-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.4.2-fedora/third_party/LercLib/Lerc2.h 2022-03-08 11:11:18.000000000 +0100 ++++ gdal-3.4.2-fedora-new/third_party/LercLib/Lerc2.h 2022-03-14 23:50:44.829159267 +0100 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index 0b7c8b9..d6c9af4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.4.1 +%global testversion 3.4.2 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.4.1 -Release: 6%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.4.2 +Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Mon Mar 14 2022 Sandro Mani - 3.4.2-1 +- Update to 3.4.2 + * Thu Mar 10 2022 Sandro Mani - 3.4.1-6 - Rebuild for proj-9.0.0 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index b23ad7d..9f843e7 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/m4/lib-link.m4 gdal-3.4.1-fedora-new/m4/lib-link.m4 ---- gdal-3.4.1-fedora/m4/lib-link.m4 2021-12-27 21:26:46.000000000 +0100 -+++ gdal-3.4.1-fedora-new/m4/lib-link.m4 2022-01-04 13:58:04.019556695 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/m4/lib-link.m4 gdal-3.4.2-fedora-new/m4/lib-link.m4 +--- gdal-3.4.2-fedora/m4/lib-link.m4 2022-03-08 11:12:26.000000000 +0100 ++++ gdal-3.4.2-fedora-new/m4/lib-link.m4 2022-03-14 23:50:45.320158106 +0100 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 3f0914a..36053ab 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/apps/GNUmakefile gdal-3.4.1-fedora-new/apps/GNUmakefile ---- gdal-3.4.1-fedora/apps/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/apps/GNUmakefile 2022-01-04 13:58:03.039552414 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/apps/GNUmakefile gdal-3.4.2-fedora-new/apps/GNUmakefile +--- gdal-3.4.2-fedora/apps/GNUmakefile 2022-03-08 11:10:52.000000000 +0100 ++++ gdal-3.4.2-fedora-new/apps/GNUmakefile 2022-03-14 23:50:44.391160302 +0100 @@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index fc112db..7c0decc 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/frmts/iso8211/GNUmakefile gdal-3.4.1-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.4.1-fedora/frmts/iso8211/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/frmts/iso8211/GNUmakefile 2022-01-04 13:58:02.496550043 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/frmts/iso8211/GNUmakefile gdal-3.4.2-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.4.2-fedora/frmts/iso8211/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 ++++ gdal-3.4.2-fedora-new/frmts/iso8211/GNUmakefile 2022-03-14 23:50:43.943161361 +0100 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index 89e054d..f6c42e1 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.4.1-fedora/swig/java/add_javadoc.c gdal-3.4.1-fedora-new/swig/java/add_javadoc.c ---- gdal-3.4.1-fedora/swig/java/add_javadoc.c 2021-12-27 21:25:14.000000000 +0100 -+++ gdal-3.4.1-fedora-new/swig/java/add_javadoc.c 2022-01-04 15:09:34.166703455 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/add_javadoc.c gdal-3.4.2-fedora-new/swig/java/add_javadoc.c +--- gdal-3.4.2-fedora/swig/java/add_javadoc.c 2022-03-08 11:10:55.000000000 +0100 ++++ gdal-3.4.2-fedora-new/swig/java/add_javadoc.c 2022-03-14 23:50:43.455162515 +0100 @@ -142,21 +142,21 @@ int main(int argc, char* argv[]) JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); int nInstances = 0; @@ -67,9 +67,9 @@ diff -rupN gdal-3.4.1-fedora/swig/java/add_javadoc.c gdal-3.4.1-fedora-new/swig/ } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN gdal-3.4.1-fedora/swig/java/javadoc.java gdal-3.4.1-fedora-new/swig/java/javadoc.java ---- gdal-3.4.1-fedora/swig/java/javadoc.java 2021-12-27 21:25:14.000000000 +0100 -+++ gdal-3.4.1-fedora-new/swig/java/javadoc.java 2022-01-04 15:07:38.528621112 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/javadoc.java gdal-3.4.2-fedora-new/swig/java/javadoc.java +--- gdal-3.4.2-fedora/swig/java/javadoc.java 2022-03-08 11:10:55.000000000 +0100 ++++ gdal-3.4.2-fedora-new/swig/java/javadoc.java 2022-03-14 23:50:43.456162513 +0100 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -85,9 +85,9 @@ diff -rupN gdal-3.4.1-fedora/swig/java/javadoc.java gdal-3.4.1-fedora-new/swig/j * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN gdal-3.4.1-fedora/swig/java/java.opt gdal-3.4.1-fedora-new/swig/java/java.opt ---- gdal-3.4.1-fedora/swig/java/java.opt 2021-12-27 21:25:12.000000000 +0100 -+++ gdal-3.4.1-fedora-new/swig/java/java.opt 2022-01-04 15:07:38.529621181 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/java.opt gdal-3.4.2-fedora-new/swig/java/java.opt +--- gdal-3.4.2-fedora/swig/java/java.opt 2022-03-08 11:10:53.000000000 +0100 ++++ gdal-3.4.2-fedora-new/swig/java/java.opt 2022-03-14 23:50:43.457162510 +0100 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index 911dd8b..fdbc99a 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/configure.ac gdal-3.4.1-fedora-new/configure.ac ---- gdal-3.4.1-fedora/configure.ac 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/configure.ac 2022-01-04 13:58:03.791555699 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/configure.ac gdal-3.4.2-fedora-new/configure.ac +--- gdal-3.4.2-fedora/configure.ac 2022-03-08 11:10:52.000000000 +0100 ++++ gdal-3.4.2-fedora-new/configure.ac 2022-03-14 23:50:45.076158683 +0100 @@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 3ff6361..6a447ba 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/doc/source/index.rst gdal-3.4.1-fedora-new/doc/source/index.rst ---- gdal-3.4.1-fedora/doc/source/index.rst 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/doc/source/index.rst 2022-01-04 13:58:03.286553493 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/doc/source/index.rst gdal-3.4.2-fedora-new/doc/source/index.rst +--- gdal-3.4.2-fedora/doc/source/index.rst 2022-03-08 11:10:53.000000000 +0100 ++++ gdal-3.4.2-fedora-new/doc/source/index.rst 2022-03-14 23:50:44.609159787 +0100 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index c3ded15..224b9db 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/doc/Makefile gdal-3.4.1-fedora-new/doc/Makefile ---- gdal-3.4.1-fedora/doc/Makefile 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/doc/Makefile 2022-01-04 13:58:02.787551314 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/doc/Makefile gdal-3.4.2-fedora-new/doc/Makefile +--- gdal-3.4.2-fedora/doc/Makefile 2022-03-08 11:10:52.000000000 +0100 ++++ gdal-3.4.2-fedora-new/doc/Makefile 2022-03-14 23:50:44.164160839 +0100 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index c8dfdaf..c792fb2 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.1-fedora/frmts/dods/GNUmakefile gdal-3.4.1-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.4.1-fedora/frmts/dods/GNUmakefile 2021-12-27 21:25:11.000000000 +0100 -+++ gdal-3.4.1-fedora-new/frmts/dods/GNUmakefile 2022-01-04 13:58:02.255548990 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/frmts/dods/GNUmakefile gdal-3.4.2-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.4.2-fedora/frmts/dods/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 ++++ gdal-3.4.2-fedora-new/frmts/dods/GNUmakefile 2022-03-14 23:50:43.717161896 +0100 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.4.1-fedora/frmts/dods/GNUmakefile gdal-3.4.1- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.4.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.4.1-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2021-12-27 21:25:12.000000000 +0100 -+++ gdal-3.4.1-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-01-04 13:58:02.256548994 +0100 +diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.4.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 ++++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-03-14 23:50:43.717161896 +0100 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index 80391a8..f34295e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.4.1-fedora.tar.xz) = d254d8e93fb6f43ba2db33949b4c69959237e1cc6e044b8f710a3802f28acc481a8ca7f877f0eea75ecb4138e80e8a79eceb67aebe0b86dfc2f71883874c541b -SHA512 (gdalautotest-3.4.1.tar.gz) = 6aa5cab257afdc345d3736a599150051621d775f19dabf6644b41fcd5f6cb2012948e9f9bf82033ae361d892faa4e1cdbb802f089af5ec94ae0552cd0338ae43 +SHA512 (gdal-3.4.2-fedora.tar.xz) = 68d94baa12c862fcec6a84e41d3c3a9574175cb408ab97d7c6e6a5dc011a298572259f7a90a9161ae87e3efffeda72118a3810cd985c2513d101b0460ba1d9d3 +SHA512 (gdalautotest-3.4.2.tar.gz) = a0d7d9aafda5e74fc32fcdba38bf6b9fa739fab41f9ee2fb1e0c43c44c6952f757116cc1140a5d45a2536189cf6436cac0e7e810bb85e9e0a7637cdfde33ea04 From 0b81415efdf7b18209ad05598292626517dedba7 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 4 May 2022 16:04:47 +0200 Subject: [PATCH 074/224] Update to 3.4.3 --- .gitignore | 1 + gdal-gcc11.patch | 18 +++++++++--------- gdal.spec | 7 +++++-- gdal_autoconf270.patch | 6 +++--- gdal_installapps.patch | 6 +++--- gdal_iso8211.patch | 6 +++--- gdal_java.patch | 18 +++++++++--------- gdal_no-diag-disable.patch | 6 +++--- gdal_nopdf.patch | 6 +++--- gdal_sphinx.patch | 6 +++--- gdal_tirpcinc.patch | 12 ++++++------ sources | 3 +-- 12 files changed, 49 insertions(+), 46 deletions(-) diff --git a/.gitignore b/.gitignore index 0499d5b..46023b4 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.4.1.tar.gz /gdal-3.4.2-fedora.tar.xz /gdalautotest-3.4.2.tar.gz +/gdal-3.4.3-fedora.tar.xz diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch index 221fc4d..4660e2f 100644 --- a/gdal-gcc11.patch +++ b/gdal-gcc11.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-03-08 11:12:11.000000000 +0100 -+++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-03-14 23:50:44.828159269 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-04-22 11:03:21.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-05-04 16:04:12.433118621 +0200 @@ -34,6 +34,7 @@ #include #include @@ -9,9 +9,9 @@ diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/cad //------------------------------------------------------------------------------ // CADVector -diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-03-08 11:12:10.000000000 +0100 -+++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-03-14 23:50:44.828159269 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-04-22 11:03:20.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-05-04 16:04:12.434118533 +0200 @@ -39,6 +39,7 @@ #include #include @@ -20,9 +20,9 @@ diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.4.2-fedora/third_party/LercLib/Lerc2.h gdal-3.4.2-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.4.2-fedora/third_party/LercLib/Lerc2.h 2022-03-08 11:11:18.000000000 +0100 -+++ gdal-3.4.2-fedora-new/third_party/LercLib/Lerc2.h 2022-03-14 23:50:44.829159267 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h 2022-04-22 11:02:29.000000000 +0200 ++++ gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h 2022-05-04 16:04:12.434118533 +0200 @@ -30,6 +30,7 @@ Contributors: Thomas Maurer #include #include diff --git a/gdal.spec b/gdal.spec index d6c9af4..84a02bd 100644 --- a/gdal.spec +++ b/gdal.spec @@ -43,8 +43,8 @@ %endif Name: gdal -Version: 3.4.2 -Release: 1%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap} +Version: 3.4.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -635,6 +635,9 @@ popd #Or as before, using ldconfig %changelog +* Wed May 04 2022 Sandro Mani - 3.4.3-1 +- Update to 3.4.3 + * Mon Mar 14 2022 Sandro Mani - 3.4.2-1 - Update to 3.4.2 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch index 9f843e7..76924ad 100644 --- a/gdal_autoconf270.patch +++ b/gdal_autoconf270.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/m4/lib-link.m4 gdal-3.4.2-fedora-new/m4/lib-link.m4 ---- gdal-3.4.2-fedora/m4/lib-link.m4 2022-03-08 11:12:26.000000000 +0100 -+++ gdal-3.4.2-fedora-new/m4/lib-link.m4 2022-03-14 23:50:45.320158106 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/m4/lib-link.m4 gdal-3.4.3-fedora-new/m4/lib-link.m4 +--- gdal-3.4.3-fedora/m4/lib-link.m4 2022-04-22 11:03:37.000000000 +0200 ++++ gdal-3.4.3-fedora-new/m4/lib-link.m4 2022-05-04 16:04:12.870079834 +0200 @@ -108,8 +108,6 @@ dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], diff --git a/gdal_installapps.patch b/gdal_installapps.patch index 36053ab..0c11d2a 100644 --- a/gdal_installapps.patch +++ b/gdal_installapps.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/apps/GNUmakefile gdal-3.4.2-fedora-new/apps/GNUmakefile ---- gdal-3.4.2-fedora/apps/GNUmakefile 2022-03-08 11:10:52.000000000 +0100 -+++ gdal-3.4.2-fedora-new/apps/GNUmakefile 2022-03-14 23:50:44.391160302 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/apps/GNUmakefile gdal-3.4.3-fedora-new/apps/GNUmakefile +--- gdal-3.4.3-fedora/apps/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/apps/GNUmakefile 2022-05-04 16:04:11.984158476 +0200 @@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL install: default diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch index 7c0decc..af6e439 100644 --- a/gdal_iso8211.patch +++ b/gdal_iso8211.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/frmts/iso8211/GNUmakefile gdal-3.4.2-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.4.2-fedora/frmts/iso8211/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 -+++ gdal-3.4.2-fedora-new/frmts/iso8211/GNUmakefile 2022-03-14 23:50:43.943161361 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile 2022-05-04 16:04:11.552196892 +0200 @@ -23,8 +23,7 @@ dist-clean: clean rm -rf $(DISTDIR) diff --git a/gdal_java.patch b/gdal_java.patch index f6c42e1..6817f9c 100644 --- a/gdal_java.patch +++ b/gdal_java.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/add_javadoc.c gdal-3.4.2-fedora-new/swig/java/add_javadoc.c ---- gdal-3.4.2-fedora/swig/java/add_javadoc.c 2022-03-08 11:10:55.000000000 +0100 -+++ gdal-3.4.2-fedora-new/swig/java/add_javadoc.c 2022-03-14 23:50:43.455162515 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/add_javadoc.c gdal-3.4.3-fedora-new/swig/java/add_javadoc.c +--- gdal-3.4.3-fedora/swig/java/add_javadoc.c 2022-04-22 11:02:06.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/add_javadoc.c 2022-05-04 16:04:11.092237798 +0200 @@ -142,21 +142,21 @@ int main(int argc, char* argv[]) JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); int nInstances = 0; @@ -67,9 +67,9 @@ diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/add_javadoc.c gdal-3.4.2 } while(bFoundOpen == FALSE || nBrackets > 0); } else -diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/javadoc.java gdal-3.4.2-fedora-new/swig/java/javadoc.java ---- gdal-3.4.2-fedora/swig/java/javadoc.java 2022-03-08 11:10:55.000000000 +0100 -+++ gdal-3.4.2-fedora-new/swig/java/javadoc.java 2022-03-14 23:50:43.456162513 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/javadoc.java gdal-3.4.3-fedora-new/swig/java/javadoc.java +--- gdal-3.4.3-fedora/swig/java/javadoc.java 2022-04-22 11:02:07.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/javadoc.java 2022-05-04 16:04:11.094237621 +0200 @@ -11982,12 +11982,12 @@ public interface osrConstants:public fin public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM @@ -85,9 +85,9 @@ diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/javadoc.java gdal-3.4.2- * or iterative convergence method failed. */ public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.4.2-fedora/swig/java/java.opt gdal-3.4.2-fedora-new/swig/java/java.opt ---- gdal-3.4.2-fedora/swig/java/java.opt 2022-03-08 11:10:53.000000000 +0100 -+++ gdal-3.4.2-fedora-new/swig/java/java.opt 2022-03-14 23:50:43.457162510 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/java.opt gdal-3.4.3-fedora-new/swig/java/java.opt +--- gdal-3.4.3-fedora/swig/java/java.opt 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/java.opt 2022-05-04 16:04:11.094237621 +0200 @@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch index fdbc99a..7443f3a 100644 --- a/gdal_no-diag-disable.patch +++ b/gdal_no-diag-disable.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/configure.ac gdal-3.4.2-fedora-new/configure.ac ---- gdal-3.4.2-fedora/configure.ac 2022-03-08 11:10:52.000000000 +0100 -+++ gdal-3.4.2-fedora-new/configure.ac 2022-03-14 23:50:45.076158683 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/configure.ac gdal-3.4.3-fedora-new/configure.ac +--- gdal-3.4.3-fedora/configure.ac 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/configure.ac 2022-05-04 16:04:12.651099272 +0200 @@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc dnl warning #3280: declaration hides member dnl remark #11074: Inlining inhibited by limit max-size diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch index 6a447ba..ff45da1 100644 --- a/gdal_nopdf.patch +++ b/gdal_nopdf.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/doc/source/index.rst gdal-3.4.2-fedora-new/doc/source/index.rst ---- gdal-3.4.2-fedora/doc/source/index.rst 2022-03-08 11:10:53.000000000 +0100 -+++ gdal-3.4.2-fedora-new/doc/source/index.rst 2022-03-14 23:50:44.609159787 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/doc/source/index.rst gdal-3.4.3-fedora-new/doc/source/index.rst +--- gdal-3.4.3-fedora/doc/source/index.rst 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/doc/source/index.rst 2022-05-04 16:04:12.215137970 +0200 @@ -4,8 +4,6 @@ GDAL .. include:: ./about_no_title.rst diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch index 224b9db..a806929 100644 --- a/gdal_sphinx.patch +++ b/gdal_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/doc/Makefile gdal-3.4.2-fedora-new/doc/Makefile ---- gdal-3.4.2-fedora/doc/Makefile 2022-03-08 11:10:52.000000000 +0100 -+++ gdal-3.4.2-fedora-new/doc/Makefile 2022-03-14 23:50:44.164160839 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/doc/Makefile gdal-3.4.3-fedora-new/doc/Makefile +--- gdal-3.4.3-fedora/doc/Makefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/doc/Makefile 2022-05-04 16:04:11.767177773 +0200 @@ -2,7 +2,7 @@ # diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch index c792fb2..a1a088f 100644 --- a/gdal_tirpcinc.patch +++ b/gdal_tirpcinc.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.4.2-fedora/frmts/dods/GNUmakefile gdal-3.4.2-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.4.2-fedora/frmts/dods/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 -+++ gdal-3.4.2-fedora-new/frmts/dods/GNUmakefile 2022-03-14 23:50:43.717161896 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.4.3-fedora/frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 @@ -4,7 +4,7 @@ include ../../GDALmake.opt OBJ = dodsdataset2.o @@ -10,9 +10,9 @@ diff -rupN --no-dereference gdal-3.4.2-fedora/frmts/dods/GNUmakefile gdal-3.4.2- default: $(OBJ:.o=.$(OBJ_EXT)) -diff -rupN --no-dereference gdal-3.4.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.4.2-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2022-03-08 11:10:53.000000000 +0100 -+++ gdal-3.4.2-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-03-14 23:50:43.717161896 +0100 +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 @@ -5,7 +5,7 @@ include ../../../GDALmake.opt OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o diff --git a/sources b/sources index f34295e..a52a6c7 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.4.2-fedora.tar.xz) = 68d94baa12c862fcec6a84e41d3c3a9574175cb408ab97d7c6e6a5dc011a298572259f7a90a9161ae87e3efffeda72118a3810cd985c2513d101b0460ba1d9d3 -SHA512 (gdalautotest-3.4.2.tar.gz) = a0d7d9aafda5e74fc32fcdba38bf6b9fa739fab41f9ee2fb1e0c43c44c6952f757116cc1140a5d45a2536189cf6436cac0e7e810bb85e9e0a7637cdfde33ea04 +SHA512 (gdal-3.4.3-fedora.tar.xz) = dc71756be69a98c255ba1f7fded5826848babc2137b2d06dd2919bfa051b4417c8737d3c97f499ba6a7d84bdf6ce2d12e1dd874907399ab6dab29a2d89198f06 From 74c97a98c37b6ae142a45b61bb9846485af6ac7f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 4 May 2022 16:46:52 +0200 Subject: [PATCH 075/224] Upload correct gdalautotest source --- .gitignore | 1 + gdal.spec | 2 +- sources | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 46023b4..b2be0d9 100644 --- a/.gitignore +++ b/.gitignore @@ -74,3 +74,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.4.2-fedora.tar.xz /gdalautotest-3.4.2.tar.gz /gdal-3.4.3-fedora.tar.xz +/gdalautotest-3.4.3.tar.gz diff --git a/gdal.spec b/gdal.spec index 84a02bd..07833cc 100644 --- a/gdal.spec +++ b/gdal.spec @@ -8,7 +8,7 @@ #TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO # Tests can be of a different version -%global testversion 3.4.2 +%global testversion 3.4.3 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) diff --git a/sources b/sources index a52a6c7..13795dd 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.4.3-fedora.tar.xz) = dc71756be69a98c255ba1f7fded5826848babc2137b2d06dd2919bfa051b4417c8737d3c97f499ba6a7d84bdf6ce2d12e1dd874907399ab6dab29a2d89198f06 +SHA512 (gdalautotest-3.4.3.tar.gz) = 49f97eafbd223f2d6df433ec2936ca781301b3a7edd4ed597e1186139841ace4df2ff221edd46466afbd5d4e3541040bcc92fa779c7f06419472bc9d424a2c80 From 0232d4b243fe6c1c6a8f16e6c91c7772ee4a38f2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 20 May 2022 22:56:49 +0200 Subject: [PATCH 076/224] Update to 3.5.0 --- .gitignore | 2 + cpl-config.h | 11 + gdal-cleaner.sh | 21 +- gdal-config | 11 + gdal-gcc11.patch | 33 -- gdal.spec | 738 ++++++++++++++++--------------------- gdal_autoconf270.patch | 12 - gdal_installapps.patch | 11 - gdal_iso8211.patch | 13 - gdal_java.patch | 98 ----- gdal_libver.patch | 26 ++ gdal_no-diag-disable.patch | 12 - gdal_nopdf.patch | 12 - gdal_sphinx.patch | 12 - gdal_tirpcinc.patch | 24 -- gdal_utils.patch | 39 ++ sources | 4 +- 17 files changed, 424 insertions(+), 655 deletions(-) create mode 100644 cpl-config.h create mode 100755 gdal-config delete mode 100644 gdal-gcc11.patch delete mode 100644 gdal_autoconf270.patch delete mode 100644 gdal_installapps.patch delete mode 100644 gdal_iso8211.patch delete mode 100644 gdal_java.patch create mode 100644 gdal_libver.patch delete mode 100644 gdal_no-diag-disable.patch delete mode 100644 gdal_nopdf.patch delete mode 100644 gdal_sphinx.patch delete mode 100644 gdal_tirpcinc.patch create mode 100644 gdal_utils.patch diff --git a/.gitignore b/.gitignore index b2be0d9..fb17c09 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.4.2.tar.gz /gdal-3.4.3-fedora.tar.xz /gdalautotest-3.4.3.tar.gz +/gdalautotest-3.5.0.tar.gz +/gdal-3.5.0-fedora.tar.xz diff --git a/cpl-config.h b/cpl-config.h new file mode 100644 index 0000000..456693f --- /dev/null +++ b/cpl-config.h @@ -0,0 +1,11 @@ +#include + +#if __WORDSIZE == 32 +#include "gdal/cpl_config-32.h" +#else +#if __WORDSIZE == 64 +#include "gdal/cpl_config-64.h" +#else +#error "Unknown word size" +#endif +#endif diff --git a/gdal-cleaner.sh b/gdal-cleaner.sh index 393ee2e..db17622 100755 --- a/gdal-cleaner.sh +++ b/gdal-cleaner.sh @@ -6,25 +6,32 @@ if [ $# -lt 1 ]; then fi VERSION="$1" +PRE="$2" -wget https://github.com/OSGeo/gdal/releases/download/v$VERSION/gdal-$VERSION.tar.gz +if [ ! -f "gdal-"${VERSION}${PRE}".tar.xz" ]; then + wget https://download.osgeo.org/gdal/${VERSION}/gdal-${VERSION}${PRE}.tar.xz +fi -tar xvf gdal-"${VERSION}".tar.gz +if [ -d gdal-"${VERSION}" ] || [ -d gdal-"${VERSION}"-fedora ]; then + echo "gdal-${VERSION} or gdal-${VERSION}-fedora in the way, please remove and rerun this script" + exit 1 +fi +tar xvf gdal-"${VERSION}${PRE}".tar.xz mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora rm data/cubewerx_extra.wkt -rm data/esri_extra.wkt -rm data/esri_Wisconsin_extra.wkt rm data/esri_StatePlane_extra.wkt rm data/ecw_cs.wkt -#Really necessary? -rm -r swig/php + +sed -i 's|data/cubewerx_extra.wkt||' gdal.cmake +sed -i 's|data/esri_StatePlane_extra.wkt||' gdal.cmake +sed -i 's|data/ecw_cs.wkt||' gdal.cmake popd #TODO: Insert Provenance file -tar cvfJ gdal-"${VERSION}"-fedora.tar.xz gdal-"${VERSION}"-fedora +tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}"-fedora diff --git a/gdal-config b/gdal-config new file mode 100755 index 0000000..383d5e1 --- /dev/null +++ b/gdal-config @@ -0,0 +1,11 @@ +#!/bin/bash + +ARCH=\$(uname -m) +case \$ARCH in +x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 ) +%{name}-config-64 \${*} +;; +*) +%{name}-config-32 \${*} +;; +esac diff --git a/gdal-gcc11.patch b/gdal-gcc11.patch deleted file mode 100644 index 4660e2f..0000000 --- a/gdal-gcc11.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp ---- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-04-22 11:03:21.000000000 +0200 -+++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-05-04 16:04:12.433118621 +0200 -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - - //------------------------------------------------------------------------------ - // CADVector -diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-04-22 11:03:20.000000000 +0200 -+++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-05-04 16:04:12.434118533 +0200 -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - - #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) - // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string -diff -rupN --no-dereference gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h ---- gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h 2022-04-22 11:02:29.000000000 +0200 -+++ gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h 2022-05-04 16:04:12.434118533 +0200 -@@ -30,6 +30,7 @@ Contributors: Thomas Maurer - #include - #include - #include -+#include - #include "Defines.h" - #include "BitMask.h" - #include "BitStuffer2.h" diff --git a/gdal.spec b/gdal.spec index 07833cc..7f5d90a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,18 +1,15 @@ -#TODO: msg needs to have PublicDecompWT.zip from EUMETSAT, which is not free; -# Building without msg therefore -#TODO: e00compr bundled? -#TODO: There are tests for bindings -- at least for Perl -#TODO: Java has a directory with test data and a build target called test -# It uses %%{JAVA_RUN}; make test seems to work in the build directory -#TODO: e00compr source is the same in the package and bundled in GDAL -#TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO - -# Tests can be of a different version -%global testversion 3.4.3 %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) +# We have multilib triage +%if "%{_lib}" == "lib" + %global cpuarch 32 +%else + %global cpuarch 64 +%endif + + %if 0%{?bootstrap} %global with_mysql 0 %global mysql --without-mysql @@ -32,151 +29,176 @@ %endif %bcond_without python3 +# No complete java yet in EL8 +%if 0%{?rhel} >= 8 +%bcond_with java +%else +%bcond_without java +%endif + +#global pre rc4 -# No ppc64 build for spatialite in EL6 -# https://bugzilla.redhat.com/show_bug.cgi?id=663938 -%if 0%{?rhel} == 6 -%ifnarch ppc64 -%global with_spatialite 0 -%global spatialite --without-spatialite -%endif -%endif Name: gdal -Version: 3.4.3 -Release: 1%{?dist} +Version: 3.5.0 +Release: 1%{?pre:%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org # Source0: http://download.osgeo.org/gdal/%%{version}/gdal-%%{version}.tar.xz # See PROVENANCE.TXT-fedora and the cleaner script for details! -Source0: %{name}-%{version}-fedora.tar.xz -Source1: http://download.osgeo.org/%{name}/%{testversion}/%{name}autotest-%{testversion}.tar.gz - -# Cleaner script for the tarball -Source3: %{name}-cleaner.sh - +Source0: %{name}-%{version}%{?pre:%pre}-fedora.tar.xz +Source1: http://download.osgeo.org/%{name}/%{version}/%{name}autotest-%{version}%{?pre:%pre}.tar.gz +# Multilib compatible cpl-config.h header +Source2: cpl-config.h +# Multilib compatible gdal-config script +Source3: gdal-config Source4: PROVENANCE.TXT-fedora -# Java build fixes -Patch2: gdal_java.patch -# Ensure rpc/types.h is found by dods driver (indirectly required by libdap/XDRUtils.h) -Patch3: gdal_tirpcinc.patch -# Use libtool to create libiso8211.a, otherwise broken static lib is created since object files are compiled through libtool -Patch4: gdal_iso8211.patch -# Don't pass -W to sphinx, it causes it to error out on warnings -# Don't do parallel build, currently fails with "Sphinx parallel build error: NotImplementedError" -Patch5: gdal_sphinx.patch -# Fix makefiles installing libtool wrappers instead of actual executables -Patch6: gdal_installapps.patch -# Don't refer to PDF manual which is not built -Patch7: gdal_nopdf.patch -# Fix issues caught by gcc-11 -Patch8: %{name}-gcc11.patch -# Drop -diag-disable compile flag -Patch9: gdal_no-diag-disable.patch -# Fix build with autoconf 2.70 -Patch10: gdal_autoconf270.patch +# Cleaner script for the tarball +Source5: %{name}-cleaner.sh + +# Add some utils to the default install target +Patch0: gdal_utils.patch +Patch1: gdal_libver.patch -BuildRequires: gcc +BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: automake -BuildRequires: autoconf -BuildRequires: ant + BuildRequires: armadillo-devel -BuildRequires: bash-completion BuildRequires: cfitsio-devel -#BuildRequires: CharLS-devel -BuildRequires: chrpath +BuildRequires: CharLS-devel BuildRequires: curl-devel -BuildRequires: doxygen BuildRequires: expat-devel -BuildRequires: fontconfig-devel BuildRequires: freexl-devel -BuildRequires: geos-devel >= 3.7.1 -BuildRequires: ghostscript +BuildRequires: geos-devel +BuildRequires: giflib-devel BuildRequires: hdf-devel -BuildRequires: hdf-static BuildRequires: hdf5-devel -# No complete java yet in EL8 -%if 0%{?rhel} < 8 -BuildRequires: java-devel >= 1:1.6.0 -%endif -BuildRequires: jasper-devel -BuildRequires: jpackage-utils -# No complete java yet in EL8 -%if 0%{?rhel} < 8 -# For 'mvn_artifact' and 'mvn_install' -BuildRequires: javapackages-local -%endif BuildRequires: json-c-devel +BuildRequires: libdap-devel BuildRequires: libgeotiff-devel BuildRequires: libgta-devel - BuildRequires: libjpeg-devel -BuildRequires: libpng-devel BuildRequires: libkml-devel - +BuildRequires: liblerc-devel +BuildRequires: libpng-devel +BuildRequires: libpq-devel +BuildRequires: librx-devel %if %{with_spatialite} BuildRequires: libspatialite-devel %endif - BuildRequires: libtiff-devel +BuildRequires: libtirpc-devel BuildRequires: libwebp-devel -BuildRequires: libtool -BuildRequires: giflib-devel -BuildRequires: netcdf-devel -BuildRequires: libdap-devel -BuildRequires: librx-devel %if 0%{?with_mysql} BuildRequires: mariadb-connector-c-devel %endif -BuildRequires: pcre-devel +BuildRequires: netcdf-devel BuildRequires: ogdi-devel -BuildRequires: perl-devel -BuildRequires: perl-generators +BuildRequires: openexr-devel BuildRequires: openjpeg2-devel -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: %{_bindir}/pkg-config +BuildRequires: pcre2-devel %if 0%{?with_poppler} BuildRequires: poppler-devel %endif -BuildRequires: libpq-devel BuildRequires: proj-devel >= 5.2.0 -%if %{with python3} -BuildRequires: python3-devel -BuildRequires: python3-numpy -BuildRequires: python3-setuptools -BuildRequires: python3dist(pytest) >= 3.6 -BuildRequires: python3dist(lxml) >= 4.5.1 -%endif +BuildRequires: qhull-devel BuildRequires: sqlite-devel BuildRequires: swig BuildRequires: unixODBC-devel BuildRequires: xerces-c-devel BuildRequires: xz-devel BuildRequires: zlib-devel -BuildRequires: libtirpc-devel -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme -BuildRequires: python3-breathe -BuildRequires: make +BuildRequires: mingw32-filesystem >= 102 +BuildRequires: mingw32-gcc-c++ +BuildRequires: mingw32-cfitsio +BuildRequires: mingw32-curl +BuildRequires: mingw32-expat +BuildRequires: mingw32-freexl +BuildRequires: mingw32-geos +BuildRequires: mingw32-giflib +BuildRequires: mingw32-libgeotiff +BuildRequires: mingw32-libgta +BuildRequires: mingw32-libjpeg-turbo +BuildRequires: mingw32-libkml +BuildRequires: mingw32-liblerc +BuildRequires: mingw32-libpng +BuildRequires: mingw32-libspatialite +BuildRequires: mingw32-libtiff +BuildRequires: mingw32-libwebp +BuildRequires: mingw32-openexr +BuildRequires: mingw32-openjpeg2 +BuildRequires: mingw32-pcre +BuildRequires: mingw32-poppler +BuildRequires: mingw32-postgresql +BuildRequires: mingw32-proj +BuildRequires: mingw32-sqlite +BuildRequires: mingw32-xerces-c +BuildRequires: mingw32-xz-libs +BuildRequires: mingw32-zlib + +BuildRequires: mingw64-filesystem >= 102 +BuildRequires: mingw64-gcc-c++ +BuildRequires: mingw64-cfitsio +BuildRequires: mingw64-curl +BuildRequires: mingw64-expat +BuildRequires: mingw64-freexl +BuildRequires: mingw64-geos +BuildRequires: mingw64-giflib +BuildRequires: mingw64-libgeotiff +BuildRequires: mingw64-libgta +BuildRequires: mingw64-libjpeg-turbo +BuildRequires: mingw64-libkml +BuildRequires: mingw64-liblerc +BuildRequires: mingw64-libpng +BuildRequires: mingw64-libspatialite +BuildRequires: mingw64-libtiff +BuildRequires: mingw64-libwebp +BuildRequires: mingw64-openexr +BuildRequires: mingw64-openjpeg2 +BuildRequires: mingw64-pcre +BuildRequires: mingw64-poppler +BuildRequires: mingw64-postgresql +BuildRequires: mingw64-proj +BuildRequires: mingw64-sqlite +BuildRequires: mingw64-xerces-c +BuildRequires: mingw64-xz-libs +BuildRequires: mingw64-zlib + +# Python +%if %{with python3} +BuildRequires: python3-devel +BuildRequires: python3-numpy +BuildRequires: python3-setuptools +BuildRequires: python3dist(pytest) >= 3.6 +BuildRequires: python3dist(lxml) >= 4.5.1 + +BuildRequires: mingw32-python3 +BuildRequires: mingw32-python3-numpy +BuildRequires: mingw32-python3-setuptools + +BuildRequires: mingw64-python3 +BuildRequires: mingw64-python3-numpy +BuildRequires: mingw64-python3-setuptools +%endif + +# Java +%if %{with java} +# For 'mvn_artifact' and 'mvn_install' +BuildRequires: ant +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: javapackages-local +BuildRequires: jpackage-utils +%endif # Run time dependency for gpsbabel driver Requires: gpsbabel - Requires: %{name}-libs%{?_isa} = %{version}-%{release} -# We have multilib triage -%if "%{_lib}" == "lib" - %global cpuarch 32 -%else - %global cpuarch 64 -%endif %description Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform @@ -207,8 +229,48 @@ Provides: bundled(degrib) = 2.14 This package contains the GDAL file format library. +%package -n mingw32-%{name} +Summary: MinGW Windows GDAL library +# GDAL bundles a modified copy of g2clib and degrib +# See frmts/grib/degrib/README.TXT +Provides: bundled(g2lib) = 1.6.0 +Provides: bundled(degrib) = 2.14 +BuildArch: noarch + +%description -n mingw32-%{name} +MinGW Windows GDAL library. + + +%package -n mingw32-%{name}-tools +Summary: MinGW Windows GDAL library tools +BuildArch: noarch + +%description -n mingw32-%{name}-tools +MinGW Windows GDAL library tools. + + +%package -n mingw64-%{name} +Summary: MinGW Windows GDAL library +# GDAL bundles a modified copy of g2clib and degrib +# See frmts/grib/degrib/README.TXT +Provides: bundled(g2lib) = 1.6.0 +Provides: bundled(degrib) = 2.14 +BuildArch: noarch + +%description -n mingw64-%{name} +MinGW Windows GDAL library. + + +%package -n mingw64-%{name}-tools +Summary: MinGW Windows GDAL library tools +BuildArch: noarch + +%description -n mingw64-%{name}-tools +MinGW Windows GDAL library tools. + + # No complete java yet in EL8 -%if 0%{?rhel} < 8 +%if %{with java} %package java Summary: Java modules for the GDAL file format library Requires: jpackage-utils @@ -228,30 +290,17 @@ This package contains the API documentation for %{name}. %endif -%package perl -Summary: Perl modules for the GDAL file format library -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%description perl -The GDAL Perl modules provide support to handle multiple GIS file formats. - - %if %{with python3} %package -n python3-gdal %{?python_provide:%python_provide python3-gdal} Summary: Python modules for the GDAL file format library Requires: python3-numpy Requires: %{name}-libs%{?_isa} = %{version}-%{release} -Obsoletes: gdal-python3 < 2.3.1 -Provides: gdal-python3 = %version-%release %description -n python3-gdal The GDAL Python 3 modules provide support to handle multiple GIS file formats. -%endif -%if %{with python3} %package python-tools Summary: Python tools for the GDAL file format library Requires: python3-gdal @@ -259,25 +308,32 @@ Requires: python3-gdal %description python-tools The GDAL Python package provides number of tools for programming and manipulating GDAL file format library -%endif -%package doc -Summary: Documentation for GDAL -BuildArch: noarch +%package -n mingw32-python3-%{name} +Summary: MinGW Windows Python3 GDAL bindings -%description doc -This package contains documentation for GDAL. +%description -n mingw32-python3-%{name} +MinGW Windows Python3 GDAL bindings. + + +%package -n mingw64-python3-%{name} +Summary: MinGW Windows Python3 GDAL bindings + +%description -n mingw64-python3-%{name} +MinGW Windows Python3 GDAL bindings. # We don't want to provide private Python extension libs -%if %{with_python3} %global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ %endif +%{?mingw_debug_package} + + %prep -%autosetup -p1 -n %{name}-%{version}-fedora -a 1 +%autosetup -p1 -n %{name}-%{version}-fedora # Delete bundled libraries rm -rf frmts/zlib @@ -287,323 +343,141 @@ rm -rf frmts/jpeg/libjpeg rm -rf frmts/jpeg/libjpeg12 rm -rf frmts/gtiff/libgeotiff rm -rf frmts/gtiff/libtiff +rm -rf mrf/LERCV1 +rm -rf third_party/LercLib + +# Setup autotest directory +tar xf %{SOURCE1} +mv %{name}autotest-%{version} autotest # Copy in PROVENANCE.TXT-fedora -cp -p %SOURCE4 . - -# Adjust check for LibDAP version -# http://trac.osgeo.org/gdal/ticket/4545 -%if %cpuarch == 64 - sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure.ac -%endif +cp -a %{SOURCE4} . %build -# For future reference: -# epsilon: Stalled review -- https://bugzilla.redhat.com/show_bug.cgi?id=660024 -# Building without pgeo driver, because it drags in Java -autoreconf -ifv +%cmake \ + -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ + -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ + -DGDAL_USE_JPEG12_INTERNAL=OFF +%cmake_build -%configure \ - --with-autoload=%{_libdir}/%{name}plugins \ - --includedir=%{_includedir}/%{name}/ \ - --prefix=%{_prefix} \ - --with-bash-completion \ - --with-armadillo \ - --with-curl \ - --with-cfitsio \ - --with-dods-root=%{_prefix} \ - --with-expat \ - --with-freexl \ - --with-geos \ - --with-geotiff \ - --with-gif \ - --with-gta \ - --with-hdf4 \ - --with-hdf5 \ - --with-jasper \ -%if 0%{?rhel} < 8 - --with-java \ -%endif - --with-jpeg \ - --with-libjson-c \ - --without-jpeg12 \ - --with-liblzma \ - --with-libtiff \ - --with-libz \ - --without-mdb \ - --without-msg \ - %{mysql} \ - --with-netcdf \ - --with-odbc \ - --with-ogdi \ - --with-openjpeg \ - --with-pcraster \ - --with-pg \ - --with-png \ - %{poppler} \ - --with-proj \ - %{spatialite} \ - --with-sqlite3 \ - --with-threads \ - --with-webp \ - --with-xerces \ - --enable-shared \ - --with-libkml - -%make_build - -# Build some utilities, as requested in BZ #1271906 -make -C ogr/ogrsf_frmts/s57 all -make -C frmts/iso8211 all - -# Documentation -make man -make docs - -# No complete java yet in EL8 -%if 0%{?rhel} < 8 - -# Make Java module and documentation -pushd swig/java - make - ANT_OPTS="-Dfile.encoding=utf-8" ant maven -popd -%mvn_artifact swig/java/build/maven/gdal-%version.pom swig/java/build/maven/gdal-%version.jar -%endif - -# Make Python modules -pushd swig/python - %{?with_python3:%py3_build} -popd - -# Make Perl modules -pushd swig/perl - perl Makefile.PL INSTALLDIRS=vendor - %make_build -popd +%mingw_cmake \ + -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ + -DGDAL_USE_JPEG12_INTERNAL=OFF +%mingw_make_build %install -pushd swig/python - %{?with_python3:%py3_install} -popd +%cmake_install +%mingw_make_install -%make_install -C swig/perl +# List of manpages for python scripts +for file in %{buildroot}%{_bindir}/*.py; do + if [ -f %{buildroot}%{_mandir}/man1/`basename ${file/.py/.1*}` ]; then + echo "%{_mandir}/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages.txt + echo "%exclude %{_mandir}/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages_excludes.txt + fi +done -%make_install install-man - -# Drop gdal.pdf symlink, as we don't build the pdf documentation -rm doc/build/html/gdal.pdf - -install -pm 755 ogr/ogrsf_frmts/s57/s57dump %{buildroot}%{_bindir} -install -pm 755 frmts/iso8211/8211createfromxml %{buildroot}%{_bindir} -install -pm 755 frmts/iso8211/8211dump %{buildroot}%{_bindir} -install -pm 755 frmts/iso8211/8211view %{buildroot}%{_bindir} -# Rename for %%files doc below -mv frmts/iso8211/html frmts/iso8211/iso8211_html - -# Directory for auto-loading plugins -mkdir -p %{buildroot}%{_libdir}/%{name}plugins - -#TODO: Don't do that? -rm %{buildroot}%{perl_archlib}/perllocal.pod - -%if %{without python3} -rm %buildroot%_mandir/man1/{pct2rgb,rgb2pct}.1 -%endif - -# Correct permissions -#TODO and potential ticket: Why are the permissions not correct? -find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \; -find %{buildroot}%{perl_vendorarch} -name "*.pm" -exec chmod 644 '{}' \; - -# No complete java yet in EL8 -%if 0%{?rhel} < 8 -# install Java plugin -%mvn_install -J swig/java/java - -# 775 on the .so? -# copy JNI libraries and links, non versioned link needed by JNI -# What is linked here? -mkdir -p %{buildroot}%{_jnidir}/%{name} -cp -pl swig/java/.libs/*.so* \ - %{buildroot}%{_jnidir}/%{name}/ -chrpath --delete %{buildroot}%{_jnidir}/%{name}/*jni.so* - -# Install Java API documentation in the designated place -mkdir -p %{buildroot}%{_javadocdir}/%{name} -cp -pr swig/java/java/org %{buildroot}%{_javadocdir}/%{name} -%endif - -#TODO: Header date lost during installation -# Install multilib cpl_config.h bz#430894 -install -p -D -m 644 port/cpl_config.h %{buildroot}%{_includedir}/%{name}/cpl_config-%{cpuarch}.h -# Create universal multilib cpl_config.h bz#341231 -# The problem is still there in 1.9. -#TODO: Ticket? - -#>>>>>>>>>>>>> -cat > %{buildroot}%{_includedir}/%{name}/cpl_config.h < - -#if __WORDSIZE == 32 -#include "gdal/cpl_config-32.h" -#else -#if __WORDSIZE == 64 -#include "gdal/cpl_config-64.h" -#else -#error "Unknown word size" -#endif -#endif -EOF -#<<<<<<<<<<<<< -touch -r NEWS.md port/cpl_config.h - - -# Multilib gdal-config -# Rename the original script to gdal-config-$arch (stores arch-specific information) -# and create a script to call one or the other -- depending on detected architecture -# TODO: The extra script will direct you to 64 bit libs on -# 64 bit systems -- whether you like that or not +# Multilib +# - cpl_config.h is arch-dependent (contains various SIZEOF defines) +# - gdal-config stores arch-specific information +mv %{buildroot}%{_includedir}/%{name}/cpl_config.h %{buildroot}%{_includedir}/%{name}/cpl_config-%{cpuarch}.h +cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{name}/cpl_config.h mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} -#>>>>>>>>>>>>> -cat > %{buildroot}%{_bindir}/%{name}-config < - 3.5.0-1 +- Update to 3.5.0 + * Wed May 04 2022 Sandro Mani - 3.4.3-1 - Update to 3.4.3 diff --git a/gdal_autoconf270.patch b/gdal_autoconf270.patch deleted file mode 100644 index 76924ad..0000000 --- a/gdal_autoconf270.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/m4/lib-link.m4 gdal-3.4.3-fedora-new/m4/lib-link.m4 ---- gdal-3.4.3-fedora/m4/lib-link.m4 2022-04-22 11:03:37.000000000 +0200 -+++ gdal-3.4.3-fedora-new/m4/lib-link.m4 2022-05-04 16:04:12.870079834 +0200 -@@ -108,8 +108,6 @@ dnl acl_hardcode_direct, - dnl acl_hardcode_minus_L. - AC_DEFUN([AC_LIB_RPATH], - [ -- dnl Tell automake >= 1.10 to complain if config.rpath is missing. -- m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) - AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS - AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld - AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host diff --git a/gdal_installapps.patch b/gdal_installapps.patch deleted file mode 100644 index 0c11d2a..0000000 --- a/gdal_installapps.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/apps/GNUmakefile gdal-3.4.3-fedora-new/apps/GNUmakefile ---- gdal-3.4.3-fedora/apps/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/apps/GNUmakefile 2022-05-04 16:04:11.984158476 +0200 -@@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL - - install: default - for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done -+ for f in $(BIN_LIST) ; do $(INSTALL) .libs/$$f $(DESTDIR)$(INST_BIN) ; done - $(INSTALL_DATA) gdal_utils.h $(DESTDIR)$(INST_INCLUDE) - $(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config - diff --git a/gdal_iso8211.patch b/gdal_iso8211.patch deleted file mode 100644 index af6e439..0000000 --- a/gdal_iso8211.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile ---- gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile 2022-05-04 16:04:11.552196892 +0200 -@@ -23,8 +23,7 @@ dist-clean: clean - rm -rf $(DISTDIR) - - $(ISOLIB): $(OBJ:.o=.$(OBJ_EXT)) -- $(AR) r $(ISOLIB) $? -- $(RANLIB) $(ISOLIB) -+ $(SHELL) $(top_builddir)/libtool --mode=link gcc -static -o $(ISOLIB) $? - - 8211createfromxml$(EXE): 8211createfromxml.$(OBJ_EXT) - $(LD) $(LDFLAGS) 8211createfromxml.$(OBJ_EXT) $(CONFIG_LIBS) -o 8211createfromxml$(EXE) diff --git a/gdal_java.patch b/gdal_java.patch deleted file mode 100644 index 6817f9c..0000000 --- a/gdal_java.patch +++ /dev/null @@ -1,98 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/add_javadoc.c gdal-3.4.3-fedora-new/swig/java/add_javadoc.c ---- gdal-3.4.3-fedora/swig/java/add_javadoc.c 2022-04-22 11:02:06.000000000 +0200 -+++ gdal-3.4.3-fedora-new/swig/java/add_javadoc.c 2022-05-04 16:04:11.092237798 +0200 -@@ -142,21 +142,21 @@ int main(int argc, char* argv[]) - JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); - int nInstances = 0; - char szLine[512]; -- char szClass[256]; -+ char szClass[512]; - char javadoc[16384]; - szClass[0] = 0; -- while(fgets(szLine, 255, fSrc)) -+ while(fgets(szLine, 511, fSrc)) - { - if (strstr(szLine, "/**") == NULL) continue; - begin: - strcpy(javadoc, szLine); -- while(fgets(szLine, 255, fSrc)) -+ while(fgets(szLine, 511, fSrc)) - { - strcat(javadoc, szLine); - if (strstr(szLine, "*/")) - break; - } -- while(fgets(szLine, 255, fSrc)) -+ while(fgets(szLine, 511, fSrc)) - { - if (szLine[0] == 10) - continue; -@@ -209,10 +209,10 @@ begin: - continue; - } - szClass[0] = 0; -- char szPackage[256]; -+ char szPackage[512]; - szPackage[0] = 0; - -- while(fgets(szLine, 255, fSrc)) -+ while(fgets(szLine, 511, fSrc)) - { - char szMethodName[1024]; - char* szOriLine = strdup(szLine); -@@ -255,7 +255,7 @@ begin: - strcpy(szMethodName, szLine); - do - { -- ignore_ret(fgets(szLine, 255, fSrc)); -+ ignore_ret(fgets(szLine, 511, fSrc)); - strcpy(szMethodName + strlen(szMethodName) - 1, szLine); - } while (!strchr(szMethodName,')')); - strcpy(szLine, szMethodName); -@@ -282,7 +282,7 @@ begin: - { - do - { -- ignore_ret(fgets(szLine, 255, fSrc)); -+ ignore_ret(fgets(szLine, 511, fSrc)); - } while (!strchr(szLine,'}')); - } - break; -@@ -310,7 +310,7 @@ begin: - nBrackets --; - } - } -- ignore_ret(fgets(szLine, 255, fSrc)); -+ ignore_ret(fgets(szLine, 511, fSrc)); - } while(bFoundOpen == FALSE || nBrackets > 0); - } - else -diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/javadoc.java gdal-3.4.3-fedora-new/swig/java/javadoc.java ---- gdal-3.4.3-fedora/swig/java/javadoc.java 2022-04-22 11:02:07.000000000 +0200 -+++ gdal-3.4.3-fedora-new/swig/java/javadoc.java 2022-05-04 16:04:11.094237621 +0200 -@@ -11982,12 +11982,12 @@ public interface osrConstants:public fin - public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM - - /** -- * Invalid input coordinate. e.g a latitude > 90°. -+ * Invalid input coordinate. e.g a latitude > 90 deg. - */ - public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_INVALID_COORD - - /** -- * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90°, -+ * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90 deg, - * or iterative convergence method failed. - */ - public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN -diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/java.opt gdal-3.4.3-fedora-new/swig/java/java.opt ---- gdal-3.4.3-fedora/swig/java/java.opt 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/swig/java/java.opt 2022-05-04 16:04:11.094237621 +0200 -@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc - JAVAC=$(JAVA_HOME)/bin/javac - JAVA=$(JAVA_HOME)/bin/java - JAR=$(JAVA_HOME)/bin/jar --JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -+JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux - - diff --git a/gdal_libver.patch b/gdal_libver.patch new file mode 100644 index 0000000..6ae3797 --- /dev/null +++ b/gdal_libver.patch @@ -0,0 +1,26 @@ +diff -rupN --no-dereference gdal-3.5.0-fedora/cmake/helpers/GdalVersion.cmake gdal-3.5.0-fedora-new/cmake/helpers/GdalVersion.cmake +--- gdal-3.5.0-fedora/cmake/helpers/GdalVersion.cmake 2022-05-10 16:03:37.000000000 +0200 ++++ gdal-3.5.0-fedora-new/cmake/helpers/GdalVersion.cmake 2022-05-16 12:38:04.503450282 +0200 +@@ -59,7 +59,7 @@ add_custom_target(generate_gdal_version_ + -P "${PROJECT_SOURCE_DIR}/cmake/helpers/generate_gdal_version_h.cmake" + VERBATIM) + +-if (WIN32) ++if (WIN32 AND NOT MINGW) + set(GDAL_SOVERSION "") + set(GDAL_ABI_FULL_VERSION "${GDAL_VERSION_MAJOR}${GDAL_VERSION_MINOR}") + else() +diff -rupN --no-dereference gdal-3.5.0-fedora/gdal.cmake gdal-3.5.0-fedora-new/gdal.cmake +--- gdal-3.5.0-fedora/gdal.cmake 2022-05-13 16:05:01.000000000 +0200 ++++ gdal-3.5.0-fedora-new/gdal.cmake 2022-05-16 12:38:04.503450282 +0200 +@@ -301,6 +301,10 @@ if (MSVC) + CACHE STRING "Postfix to add to the GDAL dll name for debug builds") + set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES DEBUG_POSTFIX "${GDAL_DEBUG_POSTFIX}") + endif () ++if(MINGW) ++ set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES RUNTIME_OUTPUT_NAME "${GDAL_LIB_OUTPUT_NAME}-${GDAL_SOVERSION}") ++endif(MINGW) ++ + + if (MSVC AND NOT BUILD_SHARED_LIBS) + target_compile_definitions(${GDAL_LIB_TARGET_NAME} PUBLIC CPL_DISABLE_DLL=) diff --git a/gdal_no-diag-disable.patch b/gdal_no-diag-disable.patch deleted file mode 100644 index 7443f3a..0000000 --- a/gdal_no-diag-disable.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/configure.ac gdal-3.4.3-fedora-new/configure.ac ---- gdal-3.4.3-fedora/configure.ac 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/configure.ac 2022-05-04 16:04:12.651099272 +0200 -@@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc - dnl warning #3280: declaration hides member - dnl remark #11074: Inlining inhibited by limit max-size - dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo --AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) -+#AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) - - AX_CHECK_COMPILE_FLAG([-Wextra],[C_WFLAGS="$C_WFLAGS -Wextra" CXX_WFLAGS="$CXX_WFLAGS -Wextra"],,[$ERROR_ON_UNKNOWN_OPTIONS]) - AX_CHECK_COMPILE_FLAG([-Winit-self],[C_WFLAGS="$C_WFLAGS -Winit-self" CXX_WFLAGS="$CXX_WFLAGS -Winit-self"],,[$ERROR_ON_UNKNOWN_OPTIONS]) diff --git a/gdal_nopdf.patch b/gdal_nopdf.patch deleted file mode 100644 index ff45da1..0000000 --- a/gdal_nopdf.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/doc/source/index.rst gdal-3.4.3-fedora-new/doc/source/index.rst ---- gdal-3.4.3-fedora/doc/source/index.rst 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/doc/source/index.rst 2022-05-04 16:04:12.215137970 +0200 -@@ -4,8 +4,6 @@ GDAL - - .. include:: ./about_no_title.rst - --This documentation is also available as a `PDF file `_. -- - .. toctree:: - :maxdepth: 2 - diff --git a/gdal_sphinx.patch b/gdal_sphinx.patch deleted file mode 100644 index a806929..0000000 --- a/gdal_sphinx.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/doc/Makefile gdal-3.4.3-fedora-new/doc/Makefile ---- gdal-3.4.3-fedora/doc/Makefile 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/doc/Makefile 2022-05-04 16:04:11.767177773 +0200 -@@ -2,7 +2,7 @@ - # - - # You can set these variables from the command line. --SPHINXOPTS ?= --keep-going -j auto -W -+SPHINXOPTS ?= --keep-going - SPHINXBUILD = sphinx-build - SOURCEDIR = source - BUILDDIR = build diff --git a/gdal_tirpcinc.patch b/gdal_tirpcinc.patch deleted file mode 100644 index a1a088f..0000000 --- a/gdal_tirpcinc.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile ---- gdal-3.4.3-fedora/frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 -@@ -4,7 +4,7 @@ include ../../GDALmake.opt - - OBJ = dodsdataset2.o - --CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -+CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -I/usr/include/tirpc - - default: $(OBJ:.o=.$(OBJ_EXT)) - -diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile ---- gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 -+++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 -@@ -5,7 +5,7 @@ include ../../../GDALmake.opt - OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ - ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o - --CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -+CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc - - default: $(O_OBJ:.o=.$(OBJ_EXT)) - diff --git a/gdal_utils.patch b/gdal_utils.patch new file mode 100644 index 0000000..2ce3466 --- /dev/null +++ b/gdal_utils.patch @@ -0,0 +1,39 @@ +diff -rupN --no-dereference gdal-3.5.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.5.0-fedora/frmts/iso8211/CMakeLists.txt 2022-05-10 16:03:38.000000000 +0200 ++++ gdal-3.5.0-fedora-new/frmts/iso8211/CMakeLists.txt 2022-05-16 12:38:04.307447544 +0200 +@@ -12,15 +12,18 @@ gdal_standard_includes(gdal_iso8211) + + # Because linking an OBJECT library + if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) +- add_executable(8211dump EXCLUDE_FROM_ALL 8211dump.cpp) ++ add_executable(8211dump 8211dump.cpp) + target_include_directories(8211dump PRIVATE $) + target_link_libraries(8211dump PRIVATE $ gdal_iso8211) ++ install(TARGETS 8211dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + +- add_executable(8211view EXCLUDE_FROM_ALL 8211view.cpp) ++ add_executable(8211view 8211view.cpp) + target_include_directories(8211view PRIVATE $) + target_link_libraries(8211view PRIVATE $ gdal_iso8211) ++ install(TARGETS 8211view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + +- add_executable(8211createfromxml EXCLUDE_FROM_ALL 8211createfromxml.cpp) ++ add_executable(8211createfromxml 8211createfromxml.cpp) + target_include_directories(8211createfromxml PRIVATE $) + target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) ++ install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif () +diff -rupN --no-dereference gdal-3.5.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.5.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-05-10 16:03:38.000000000 +0200 ++++ gdal-3.5.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-05-16 12:38:04.307447544 +0200 +@@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA + gdal_standard_includes(ogr_S57) + + if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) +- add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp) ++ add_executable(s57dump s57dump.cpp) + gdal_standard_includes(s57dump) + target_include_directories(s57dump PRIVATE $) + target_link_libraries(s57dump PRIVATE $ ogr_S57 gdal_iso8211) ++ install(TARGETS s57dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif () diff --git a/sources b/sources index 13795dd..1543e01 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.4.3-fedora.tar.xz) = dc71756be69a98c255ba1f7fded5826848babc2137b2d06dd2919bfa051b4417c8737d3c97f499ba6a7d84bdf6ce2d12e1dd874907399ab6dab29a2d89198f06 -SHA512 (gdalautotest-3.4.3.tar.gz) = 49f97eafbd223f2d6df433ec2936ca781301b3a7edd4ed597e1186139841ace4df2ff221edd46466afbd5d4e3541040bcc92fa779c7f06419472bc9d424a2c80 +SHA512 (gdalautotest-3.5.0.tar.gz) = 723c57425dd5f8acd61795be98b450844b5664b9940d47823829d510b8fb84d1d6db9ca880200d7732a83e7b0f1ae6e33269d8ebd91bf0e7d99e887b5f79aad0 +SHA512 (gdal-3.5.0-fedora.tar.xz) = c63bb0a3938d4375dc3e090d807be93506f4d470488d39e447f77f1488de64247d20cfd99121a2a5b3c10282752891056d616cd9eb2ad2be8ee2c4e5004d9380 From 51eca1bf7b8fac6a9cf46e353be7e55526f49d7c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 21 May 2022 00:52:42 +0200 Subject: [PATCH 077/224] Fix gdal-config --- gdal-config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdal-config b/gdal-config index 383d5e1..24b49ed 100755 --- a/gdal-config +++ b/gdal-config @@ -1,11 +1,11 @@ #!/bin/bash -ARCH=\$(uname -m) -case \$ARCH in +ARCH=$(uname -m) +case $ARCH in x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 ) -%{name}-config-64 \${*} +%{name}-config-64 ${*} ;; *) -%{name}-config-32 \${*} +%{name}-config-32 ${*} ;; esac From ff794792ae9b4c8a132b9fa944841357ed98bcee Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 21 May 2022 00:55:49 +0200 Subject: [PATCH 078/224] Bump release --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7f5d90a..6b7ac42 100644 --- a/gdal.spec +++ b/gdal.spec @@ -41,7 +41,7 @@ Name: gdal Version: 3.5.0 -Release: 1%{?pre:%pre}%{?dist} +Release: 2%{?pre:%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -532,6 +532,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Fri May 20 2022 Sandro Mani - 3.5.0-2 +- Fix gdal-config + * Fri May 13 2022 Sandro Mani - 3.5.0-1 - Update to 3.5.0 From 1afc97596498e57d1ed0051ba73e3d328d336e16 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 21 May 2022 10:39:56 +0200 Subject: [PATCH 079/224] Fix gdal-config take two --- gdal-config | 4 ++-- gdal.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gdal-config b/gdal-config index 24b49ed..37a3f66 100755 --- a/gdal-config +++ b/gdal-config @@ -3,9 +3,9 @@ ARCH=$(uname -m) case $ARCH in x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 ) -%{name}-config-64 ${*} +gdal-config-64 ${*} ;; *) -%{name}-config-32 ${*} +gdal-config-32 ${*} ;; esac diff --git a/gdal.spec b/gdal.spec index 6b7ac42..5e6175b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -41,7 +41,7 @@ Name: gdal Version: 3.5.0 -Release: 2%{?pre:%pre}%{?dist} +Release: 3%{?pre:%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -532,6 +532,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Sat May 21 2022 Sandro Mani - 3.5.0-3 +- Fix gdal-config take two + * Fri May 20 2022 Sandro Mani - 3.5.0-2 - Fix gdal-config From 8ca3f7888ddb9b39c29b053d9d1b3094770d4c3f Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 30 May 2022 19:40:01 +0200 Subject: [PATCH 080/224] Perl 5.36 rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 5e6175b..7e5da0c 100644 --- a/gdal.spec +++ b/gdal.spec @@ -41,7 +41,7 @@ Name: gdal Version: 3.5.0 -Release: 3%{?pre:%pre}%{?dist} +Release: 4%{?pre:%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -532,6 +532,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Mon May 30 2022 Jitka Plesnikova - 3.5.0-4 +- Perl 5.36 rebuild + * Sat May 21 2022 Sandro Mani - 3.5.0-3 - Fix gdal-config take two From 66fa4e05055c0f0834e2f25284fa1645c8f4faa0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 22:00:33 +0200 Subject: [PATCH 081/224] Rebuilt for Python 3.11 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7e5da0c..6124030 100644 --- a/gdal.spec +++ b/gdal.spec @@ -41,7 +41,7 @@ Name: gdal Version: 3.5.0 -Release: 4%{?pre:%pre}%{?dist} +Release: 5%{?pre:%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -532,6 +532,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Mon Jun 13 2022 Python Maint - 3.5.0-5 +- Rebuilt for Python 3.11 + * Mon May 30 2022 Jitka Plesnikova - 3.5.0-4 - Perl 5.36 rebuild From 25e216943762e0d70b6385c3d8a749659a223241 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 6 Jul 2022 13:22:17 +0200 Subject: [PATCH 082/224] Update to 3.5.1 --- gdal.spec | 17 ++++++++++++----- gdal_libver.patch | 26 -------------------------- gdal_utils.patch | 14 +++++++------- 3 files changed, 19 insertions(+), 38 deletions(-) delete mode 100644 gdal_libver.patch diff --git a/gdal.spec b/gdal.spec index 6124030..639afc5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -33,15 +33,19 @@ %if 0%{?rhel} >= 8 %bcond_with java %else +%ifarch %{java_arches} %bcond_without java +%else +%bcond_with java +%endif %endif -#global pre rc4 +#global pre rc1 Name: gdal -Version: 3.5.0 -Release: 5%{?pre:%pre}%{?dist} +Version: 3.5.1 +Release: 1%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -61,7 +65,6 @@ Source5: %{name}-cleaner.sh # Add some utils to the default install target Patch0: gdal_utils.patch -Patch1: gdal_libver.patch BuildRequires: cmake @@ -527,11 +530,15 @@ rm -r %{buildroot}%{mingw64_datadir} %{_jnidir}/%{name}/libgdalalljni.so %files javadoc -%{_jnidir}/%{name}/gdal-3.5.0-javadoc.jar +%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar %endif %changelog +* Wed Jul 06 2022 Sandro Mani - 3.5.1-1 +- Update to 3.5.1 +- Limit -java subpackage to %%java_arches + * Mon Jun 13 2022 Python Maint - 3.5.0-5 - Rebuilt for Python 3.11 diff --git a/gdal_libver.patch b/gdal_libver.patch deleted file mode 100644 index 6ae3797..0000000 --- a/gdal_libver.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -rupN --no-dereference gdal-3.5.0-fedora/cmake/helpers/GdalVersion.cmake gdal-3.5.0-fedora-new/cmake/helpers/GdalVersion.cmake ---- gdal-3.5.0-fedora/cmake/helpers/GdalVersion.cmake 2022-05-10 16:03:37.000000000 +0200 -+++ gdal-3.5.0-fedora-new/cmake/helpers/GdalVersion.cmake 2022-05-16 12:38:04.503450282 +0200 -@@ -59,7 +59,7 @@ add_custom_target(generate_gdal_version_ - -P "${PROJECT_SOURCE_DIR}/cmake/helpers/generate_gdal_version_h.cmake" - VERBATIM) - --if (WIN32) -+if (WIN32 AND NOT MINGW) - set(GDAL_SOVERSION "") - set(GDAL_ABI_FULL_VERSION "${GDAL_VERSION_MAJOR}${GDAL_VERSION_MINOR}") - else() -diff -rupN --no-dereference gdal-3.5.0-fedora/gdal.cmake gdal-3.5.0-fedora-new/gdal.cmake ---- gdal-3.5.0-fedora/gdal.cmake 2022-05-13 16:05:01.000000000 +0200 -+++ gdal-3.5.0-fedora-new/gdal.cmake 2022-05-16 12:38:04.503450282 +0200 -@@ -301,6 +301,10 @@ if (MSVC) - CACHE STRING "Postfix to add to the GDAL dll name for debug builds") - set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES DEBUG_POSTFIX "${GDAL_DEBUG_POSTFIX}") - endif () -+if(MINGW) -+ set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES RUNTIME_OUTPUT_NAME "${GDAL_LIB_OUTPUT_NAME}-${GDAL_SOVERSION}") -+endif(MINGW) -+ - - if (MSVC AND NOT BUILD_SHARED_LIBS) - target_compile_definitions(${GDAL_LIB_TARGET_NAME} PUBLIC CPL_DISABLE_DLL=) diff --git a/gdal_utils.patch b/gdal_utils.patch index 2ce3466..f20fa52 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.5.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.5.0-fedora/frmts/iso8211/CMakeLists.txt 2022-05-10 16:03:38.000000000 +0200 -+++ gdal-3.5.0-fedora-new/frmts/iso8211/CMakeLists.txt 2022-05-16 12:38:04.307447544 +0200 -@@ -12,15 +12,18 @@ gdal_standard_includes(gdal_iso8211) +diff -rupN --no-dereference gdal-3.5.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.5.1-fedora/frmts/iso8211/CMakeLists.txt 2022-06-30 11:26:28.000000000 +0200 ++++ gdal-3.5.1-fedora-new/frmts/iso8211/CMakeLists.txt 2022-07-06 13:21:14.754014199 +0200 +@@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.5.0-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.5.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.5.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-05-10 16:03:38.000000000 +0200 -+++ gdal-3.5.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-05-16 12:38:04.307447544 +0200 +diff -rupN --no-dereference gdal-3.5.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.5.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-06-30 11:26:28.000000000 +0200 ++++ gdal-3.5.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-07-06 13:21:14.754014199 +0200 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) From 7e04f460b2061e0e298669eafa7e28872d653a4b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 6 Jul 2022 14:07:26 +0200 Subject: [PATCH 083/224] Update sources --- .gitignore | 2 ++ sources | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fb17c09..e5718e8 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.4.3.tar.gz /gdalautotest-3.5.0.tar.gz /gdal-3.5.0-fedora.tar.xz +/gdalautotest-3.5.1.tar.gz +/gdal-3.5.1-fedora.tar.xz diff --git a/sources b/sources index 1543e01..44fbcf3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.5.0.tar.gz) = 723c57425dd5f8acd61795be98b450844b5664b9940d47823829d510b8fb84d1d6db9ca880200d7732a83e7b0f1ae6e33269d8ebd91bf0e7d99e887b5f79aad0 -SHA512 (gdal-3.5.0-fedora.tar.xz) = c63bb0a3938d4375dc3e090d807be93506f4d470488d39e447f77f1488de64247d20cfd99121a2a5b3c10282752891056d616cd9eb2ad2be8ee2c4e5004d9380 +SHA512 (gdalautotest-3.5.1.tar.gz) = 50bcaf7dc63c8dc7209b3e6915f5cfd0e6fd6721bc741ac13ef13d485ac7ae4fbf2b59c0e856cbe73b5d9fd787da2859037bf9c3264953bb6fbc8dbbe3662308 +SHA512 (gdal-3.5.1-fedora.tar.xz) = cdc620ec2a2ae064210502c29f38a7fc9940d2c58878be26e2bf0b88e152d2aa940928438c608bc52de4812a62d05342f39fb6fed4336bb48afde0383ee4e794 From ab64b86043c2e809f75ce40cfdf05379b5640901 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 04:14:16 +0000 Subject: [PATCH 084/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 639afc5..2e94c6d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.5.1 -Release: 1%{?pre:.%pre}%{?dist} +Release: 2%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 3.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jul 06 2022 Sandro Mani - 3.5.1-1 - Update to 3.5.1 - Limit -java subpackage to %%java_arches From 9133862397988c54cc8fbb65a650ce64f2100d3c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 21 Jul 2022 13:58:47 +0200 Subject: [PATCH 085/224] Rebuild (liblerc) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 2e94c6d..87644f4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.5.1 -Release: 2%{?pre:.%pre}%{?dist} +Release: 3%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Thu Jul 21 2022 Sandro Mani - 3.5.1-3 +- Rebuild (liblerc) + * Thu Jul 21 2022 Fedora Release Engineering - 3.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From b39c5fed7c14c1d9afeedc28a4067346e4af1489 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 27 Jul 2022 14:03:22 +0200 Subject: [PATCH 086/224] Rebuild (liblerc) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 87644f4..03b522d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.5.1 -Release: 3%{?pre:.%pre}%{?dist} +Release: 4%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Wed Jul 27 2022 Sandro Mani - 3.5.1-4 +- Rebuild (liblerc) + * Thu Jul 21 2022 Sandro Mani - 3.5.1-3 - Rebuild (liblerc) From 024ed5a8154e4f22bbdb66008666b5d384192504 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 3 Aug 2022 16:31:45 +0200 Subject: [PATCH 087/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 03b522d..81943e2 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.5.1 -Release: 4%{?pre:.%pre}%{?dist} +Release: 5%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Tue Aug 02 2022 Sandro Mani - 3.5.1-5 +- Rebuild (poppler) + * Wed Jul 27 2022 Sandro Mani - 3.5.1-4 - Rebuild (liblerc) From a625e0934f642c896ac4a358c075763753797edc Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 4 Sep 2022 19:50:03 +0200 Subject: [PATCH 088/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 81943e2..7232320 100644 --- a/gdal.spec +++ b/gdal.spec @@ -45,7 +45,7 @@ Name: gdal Version: 3.5.1 -Release: 5%{?pre:.%pre}%{?dist} +Release: 6%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Sun Sep 04 2022 Sandro Mani - 3.5.1-6 +- Rebuild (proj) + * Tue Aug 02 2022 Sandro Mani - 3.5.1-5 - Rebuild (poppler) From 4bde9e154ec1d352740e444c77ea49fce0e225bc Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 13 Sep 2022 09:27:50 +0200 Subject: [PATCH 089/224] Update to 3.5.2 --- .gitignore | 1 + gdal.spec | 7 +++++-- sources | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e5718e8..aca8cd4 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.5.0-fedora.tar.xz /gdalautotest-3.5.1.tar.gz /gdal-3.5.1-fedora.tar.xz +/gdal-3.5.2-fedora.tar.xz diff --git a/gdal.spec b/gdal.spec index 7232320..51aa162 100644 --- a/gdal.spec +++ b/gdal.spec @@ -44,8 +44,8 @@ Name: gdal -Version: 3.5.1 -Release: 6%{?pre:.%pre}%{?dist} +Version: 3.5.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -535,6 +535,9 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Tue Sep 13 2022 Sandro Mani - 3.5.2-1 +- Update to 3.5.2 + * Sun Sep 04 2022 Sandro Mani - 3.5.1-6 - Rebuild (proj) diff --git a/sources b/sources index 44fbcf3..816db93 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdalautotest-3.5.1.tar.gz) = 50bcaf7dc63c8dc7209b3e6915f5cfd0e6fd6721bc741ac13ef13d485ac7ae4fbf2b59c0e856cbe73b5d9fd787da2859037bf9c3264953bb6fbc8dbbe3662308 -SHA512 (gdal-3.5.1-fedora.tar.xz) = cdc620ec2a2ae064210502c29f38a7fc9940d2c58878be26e2bf0b88e152d2aa940928438c608bc52de4812a62d05342f39fb6fed4336bb48afde0383ee4e794 +SHA512 (gdal-3.5.2-fedora.tar.xz) = ed6f2a5d370bfaed7266937e018abbafc60468c486699681a84be623b1b5ef20781973589f8840553d532b5e4a8a3d1691b7c6ab48a4e5ee714820abbaac391f From 0c0a9d2f7b341c75c37303803c9f3ce9daeda41a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 13 Sep 2022 09:39:08 +0200 Subject: [PATCH 090/224] Update sources --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index aca8cd4..1c02f43 100644 --- a/.gitignore +++ b/.gitignore @@ -80,3 +80,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.5.1.tar.gz /gdal-3.5.1-fedora.tar.xz /gdal-3.5.2-fedora.tar.xz +/gdalautotest-3.5.2.tar.gz diff --git a/sources b/sources index 816db93..9c6e3c8 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.5.2-fedora.tar.xz) = ed6f2a5d370bfaed7266937e018abbafc60468c486699681a84be623b1b5ef20781973589f8840553d532b5e4a8a3d1691b7c6ab48a4e5ee714820abbaac391f +SHA512 (gdalautotest-3.5.2.tar.gz) = 92017d76dc9523b7e24c50dc54b1b1d8856cb4be8a3c8d4fc23bd8a5abaad46c758d606a743cfc30aa4c74a876f203ae105f7e06b66b2873d06de70c2edd1cc2 From 8d385588cf10dd029ff60ef773e808e01f929478 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Fri, 7 Oct 2022 10:35:07 -0700 Subject: [PATCH 091/224] Add mingw build conditional There are many unmet mingw build requires for epel and current need to have epel gdal mingw packages. So add a mingw conditional similar to libkml and libspatialite. Java building works on RHEL 9, so limit the RHEL check to just 8 Signed-off-by: Tom Rix --- gdal.spec | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gdal.spec b/gdal.spec index 51aa162..cb7ae34 100644 --- a/gdal.spec +++ b/gdal.spec @@ -30,7 +30,7 @@ %bcond_without python3 # No complete java yet in EL8 -%if 0%{?rhel} >= 8 +%if 0%{?rhel} == 8 %bcond_with java %else %ifarch %{java_arches} @@ -40,12 +40,18 @@ %endif %endif +%if 0%{?fedora} +%bcond_without mingw +%else +%bcond_with mingw +%endif + #global pre rc1 Name: gdal Version: 3.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -116,6 +122,7 @@ BuildRequires: xerces-c-devel BuildRequires: xz-devel BuildRequires: zlib-devel +%if %{with mingw} BuildRequires: mingw32-filesystem >= 102 BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-cfitsio @@ -171,6 +178,7 @@ BuildRequires: mingw64-sqlite BuildRequires: mingw64-xerces-c BuildRequires: mingw64-xz-libs BuildRequires: mingw64-zlib +%endif # Python %if %{with python3} @@ -180,6 +188,7 @@ BuildRequires: python3-setuptools BuildRequires: python3dist(pytest) >= 3.6 BuildRequires: python3dist(lxml) >= 4.5.1 +%if %{with mingw} BuildRequires: mingw32-python3 BuildRequires: mingw32-python3-numpy BuildRequires: mingw32-python3-setuptools @@ -188,6 +197,7 @@ BuildRequires: mingw64-python3 BuildRequires: mingw64-python3-numpy BuildRequires: mingw64-python3-setuptools %endif +%endif # Java %if %{with java} @@ -231,7 +241,7 @@ Provides: bundled(degrib) = 2.14 %description libs This package contains the GDAL file format library. - +%if %{with mingw} %package -n mingw32-%{name} Summary: MinGW Windows GDAL library # GDAL bundles a modified copy of g2clib and degrib @@ -270,7 +280,7 @@ BuildArch: noarch %description -n mingw64-%{name}-tools MinGW Windows GDAL library tools. - +%endif # No complete java yet in EL8 %if %{with java} @@ -313,6 +323,7 @@ The GDAL Python package provides number of tools for programming and manipulating GDAL file format library +%if %{with mingw} %package -n mingw32-python3-%{name} Summary: MinGW Windows Python3 GDAL bindings @@ -325,15 +336,16 @@ Summary: MinGW Windows Python3 GDAL bindings %description -n mingw64-python3-%{name} MinGW Windows Python3 GDAL bindings. - +%endif # We don't want to provide private Python extension libs %global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ %endif +%if %{with mingw} %{?mingw_debug_package} - +%endif %prep %autosetup -p1 -n %{name}-%{version}-fedora @@ -364,15 +376,18 @@ cp -a %{SOURCE4} . -DGDAL_USE_JPEG12_INTERNAL=OFF %cmake_build +%if %{with mingw} %mingw_cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ -DGDAL_USE_JPEG12_INTERNAL=OFF %mingw_make_build - +%endif %install %cmake_install +%if %{with mingw} %mingw_make_install +%endif # List of manpages for python scripts for file in %{buildroot}%{_bindir}/*.py; do @@ -390,13 +405,14 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{name}/cpl_config.h mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config +%if %{with mingw} # Delete data from cross packages rm -r %{buildroot}%{mingw32_datadir} rm -r %{buildroot}%{mingw64_datadir} %mingw_debug_install_post - +%endif %if 0%{run_tests} %check @@ -456,6 +472,7 @@ rm -r %{buildroot}%{mingw64_datadir} %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man1/gdal-config.1* +%if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT %{mingw32_bindir}/libgdal-31.dll @@ -481,6 +498,7 @@ rm -r %{buildroot}%{mingw64_datadir} %files -n mingw64-%{name}-tools %{mingw64_bindir}/*.exe +%endif %if %{with python3} %files -n python3-gdal @@ -509,6 +527,7 @@ rm -r %{buildroot}%{mingw64_datadir} %{_bindir}/rgb2pct.py %{_datadir}/bash-completion/completions/*.py +%if %{with mingw} %files -n mingw32-python3-%{name} %{mingw32_bindir}/*.py %{mingw32_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ @@ -521,6 +540,7 @@ rm -r %{buildroot}%{mingw64_datadir} %{mingw64_python3_sitearch}/osgeo/ %{mingw64_python3_sitearch}/osgeo_utils/ %endif +%endif %if %{with java} %files java @@ -535,6 +555,10 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Fri Oct 7 2022 Tom Rix - 3.5.2-2 +- Add mingw build conditional +- Reduce java build condition to rhel 8 + * Tue Sep 13 2022 Sandro Mani - 3.5.2-1 - Update to 3.5.2 From 0632849332278be19b62cd3dde755b38f19338cd Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 1 Nov 2022 10:09:06 +0100 Subject: [PATCH 092/224] Update to 3.5.3 --- .gitignore | 2 ++ gdal.spec | 22 +++++++++++++++------- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 25 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 1c02f43..3644f8f 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.5.1-fedora.tar.xz /gdal-3.5.2-fedora.tar.xz /gdalautotest-3.5.2.tar.gz +/gdal-3.5.3-fedora.tar.xz +/gdalautotest-3.5.3.tar.gz diff --git a/gdal.spec b/gdal.spec index cb7ae34..6c141d7 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.5.2 -Release: 2%{?dist} +Version: 3.5.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -383,10 +383,15 @@ cp -a %{SOURCE4} . %mingw_make_build %endif + %install %cmake_install + %if %{with mingw} %mingw_make_install +# Delete data from cross packages +rm -r %{buildroot}%{mingw32_datadir} +rm -r %{buildroot}%{mingw64_datadir} %endif # List of manpages for python scripts @@ -405,15 +410,12 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{name}/cpl_config.h mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config + %if %{with mingw} -# Delete data from cross packages -rm -r %{buildroot}%{mingw32_datadir} -rm -r %{buildroot}%{mingw64_datadir} - - %mingw_debug_install_post %endif + %if 0%{run_tests} %check %ctest || : @@ -555,6 +557,12 @@ rm -r %{buildroot}%{mingw64_datadir} %changelog +* Tue Nov 01 2022 Sandro Mani - 3.5.3-1 +- Update to 3.5.3 + +* Wed Oct 19 2022 Sandro Mani - 3.5.2-3 +- Rebuild (python-3.11) + * Fri Oct 7 2022 Tom Rix - 3.5.2-2 - Add mingw build conditional - Reduce java build condition to rhel 8 diff --git a/gdal_utils.patch b/gdal_utils.patch index f20fa52..21420d0 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.5.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.5.1-fedora/frmts/iso8211/CMakeLists.txt 2022-06-30 11:26:28.000000000 +0200 -+++ gdal-3.5.1-fedora-new/frmts/iso8211/CMakeLists.txt 2022-07-06 13:21:14.754014199 +0200 +diff -rupN --no-dereference gdal-3.5.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.5.3-fedora/frmts/iso8211/CMakeLists.txt 2022-10-21 16:57:17.000000000 +0200 ++++ gdal-3.5.3-fedora-new/frmts/iso8211/CMakeLists.txt 2022-11-01 10:08:25.214006490 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.5.1-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.5.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.5.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-06-30 11:26:28.000000000 +0200 -+++ gdal-3.5.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-07-06 13:21:14.754014199 +0200 +diff -rupN --no-dereference gdal-3.5.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.5.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-10-21 16:57:17.000000000 +0200 ++++ gdal-3.5.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-01 10:08:25.215006490 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 9c6e3c8..1cf900c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.5.2-fedora.tar.xz) = ed6f2a5d370bfaed7266937e018abbafc60468c486699681a84be623b1b5ef20781973589f8840553d532b5e4a8a3d1691b7c6ab48a4e5ee714820abbaac391f -SHA512 (gdalautotest-3.5.2.tar.gz) = 92017d76dc9523b7e24c50dc54b1b1d8856cb4be8a3c8d4fc23bd8a5abaad46c758d606a743cfc30aa4c74a876f203ae105f7e06b66b2873d06de70c2edd1cc2 +SHA512 (gdal-3.5.3-fedora.tar.xz) = 754a64bdd403de538ddc45f144ed0533493943c5e298445e300c6224c72ce58f2ca1dc71b18d88d04f351def04b1d7ead9682426d3fdd761b210ab1639afaf1f +SHA512 (gdalautotest-3.5.3.tar.gz) = 3b18c94d0b0e1d6d2d38ca82cddc8e69f2acf800fa1b4e7fbabaf112e9ad69fa807b92e652b43ebd122e3b5e8d6cc0d5644e92127a673676bc7df396720dab5e From 5406afbc89ce90c29ecb16809029371560a71a0d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 1 Nov 2022 11:13:08 +0100 Subject: [PATCH 093/224] Add gdal-fortify-source.patch --- gdal-fortify-source.patch | 21 +++++++++++++++++++++ gdal.spec | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 gdal-fortify-source.patch diff --git a/gdal-fortify-source.patch b/gdal-fortify-source.patch new file mode 100644 index 0000000..d669957 --- /dev/null +++ b/gdal-fortify-source.patch @@ -0,0 +1,21 @@ +diff -rupN gdal-3.5.3-fedora/port/vsipreload.cpp gdal-3.5.3-fedora-new/port/vsipreload.cpp +--- gdal-3.5.3-fedora/port/vsipreload.cpp 2022-10-21 16:57:18.000000000 +0200 ++++ gdal-3.5.3-fedora-new/port/vsipreload.cpp 2022-11-01 11:11:12.423024266 +0100 +@@ -46,6 +46,17 @@ + // LD_PRELOAD=./vsipreload.so ls -al /vsicurl/http://download.osgeo.org/gdal/data/sqlite3 + // LD_PRELOAD=./vsipreload.so find /vsicurl/http://download.osgeo.org/gdal/data/sqlite3 + ++ ++/* ++ * We need to export open* etc., but _FORTIFY_SOURCE defines conflicting ++ * always_inline versions. Disable _FORTIFY_SOURCE for this file, so we ++ * can define our overrides. ++ */ ++#ifdef _FORTIFY_SOURCE ++#undef _FORTIFY_SOURCE ++#endif ++ ++ + #define _GNU_SOURCE 1 + #define _LARGEFILE64_SOURCE 1 + #include diff --git a/gdal.spec b/gdal.spec index 6c141d7..d481f0b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -71,6 +71,10 @@ Source5: %{name}-cleaner.sh # Add some utils to the default install target Patch0: gdal_utils.patch +# Fix build failure +# inlining failed in call to ‘always_inline’ ‘open.localalias’ +# See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2526 for a similar issue +Patch1: gdal-fortify-source.patch BuildRequires: cmake From 7eab992acdde18035bf6d7b7fc86518c02c6d793 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 3 Nov 2022 12:19:00 +0100 Subject: [PATCH 094/224] Temporarily disable java --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d481f0b..86e42e8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -34,7 +34,7 @@ %bcond_with java %else %ifarch %{java_arches} -%bcond_without java +%bcond_with java %else %bcond_with java %endif From 237ae061cccd9fbc614ad5b42f82a099a791f95a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 3 Nov 2022 12:21:36 +0100 Subject: [PATCH 095/224] Re-enable java --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 86e42e8..d481f0b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -34,7 +34,7 @@ %bcond_with java %else %ifarch %{java_arches} -%bcond_with java +%bcond_without java %else %bcond_with java %endif From f68d00740206d8ca7bb71861ca2493e3b697f330 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 3 Nov 2022 14:00:19 +0100 Subject: [PATCH 096/224] Revert "Re-enable java" This reverts commit 237ae061cccd9fbc614ad5b42f82a099a791f95a. --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d481f0b..86e42e8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -34,7 +34,7 @@ %bcond_with java %else %ifarch %{java_arches} -%bcond_without java +%bcond_with java %else %bcond_with java %endif From e8cede5ed1e0ce13870779f2b50d430c257be3d2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 3 Nov 2022 14:00:30 +0100 Subject: [PATCH 097/224] BR: mingw-dlfcn --- gdal.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdal.spec b/gdal.spec index 86e42e8..c1958cc 100644 --- a/gdal.spec +++ b/gdal.spec @@ -131,6 +131,7 @@ BuildRequires: mingw32-filesystem >= 102 BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-cfitsio BuildRequires: mingw32-curl +BuildRequires: mingw32-dlfcn BuildRequires: mingw32-expat BuildRequires: mingw32-freexl BuildRequires: mingw32-geos @@ -159,6 +160,7 @@ BuildRequires: mingw64-filesystem >= 102 BuildRequires: mingw64-gcc-c++ BuildRequires: mingw64-cfitsio BuildRequires: mingw64-curl +BuildRequires: mingw64-dlfcn BuildRequires: mingw64-expat BuildRequires: mingw64-freexl BuildRequires: mingw64-geos From 33a6cfdf66daca12066baa70f66fac71f53fb216 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 3 Nov 2022 14:39:31 +0100 Subject: [PATCH 098/224] Re-enable java This reverts commit f68d00740206d8ca7bb71861ca2493e3b697f330. --- gdal.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdal.spec b/gdal.spec index c1958cc..44c5356 100644 --- a/gdal.spec +++ b/gdal.spec @@ -34,7 +34,7 @@ %bcond_with java %else %ifarch %{java_arches} -%bcond_with java +%bcond_without java %else %bcond_with java %endif @@ -51,7 +51,7 @@ Name: gdal Version: 3.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -563,6 +563,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Nov 03 2022 Sandro Mani - 3.5.3-2 +- Re-enable java + * Tue Nov 01 2022 Sandro Mani - 3.5.3-1 - Update to 3.5.3 From 60f867e15f024e282a171fd3f63777645488e98f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 12 Nov 2022 09:52:08 +0100 Subject: [PATCH 099/224] Update to 3.6.0 --- .gitignore | 2 ++ gdal-fortify-source.patch | 12 ++++++------ gdal.spec | 23 +++++++++++++++++------ gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 3644f8f..a5b2bf6 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.5.2.tar.gz /gdal-3.5.3-fedora.tar.xz /gdalautotest-3.5.3.tar.gz +/gdal-3.6.0-fedora.tar.xz +/gdalautotest-3.6.0.tar.gz diff --git a/gdal-fortify-source.patch b/gdal-fortify-source.patch index d669957..bb4a0d8 100644 --- a/gdal-fortify-source.patch +++ b/gdal-fortify-source.patch @@ -1,9 +1,9 @@ -diff -rupN gdal-3.5.3-fedora/port/vsipreload.cpp gdal-3.5.3-fedora-new/port/vsipreload.cpp ---- gdal-3.5.3-fedora/port/vsipreload.cpp 2022-10-21 16:57:18.000000000 +0200 -+++ gdal-3.5.3-fedora-new/port/vsipreload.cpp 2022-11-01 11:11:12.423024266 +0100 -@@ -46,6 +46,17 @@ - // LD_PRELOAD=./vsipreload.so ls -al /vsicurl/http://download.osgeo.org/gdal/data/sqlite3 - // LD_PRELOAD=./vsipreload.so find /vsicurl/http://download.osgeo.org/gdal/data/sqlite3 +diff -rupN --no-dereference gdal-3.6.0-fedora/port/vsipreload.cpp gdal-3.6.0-fedora-new/port/vsipreload.cpp +--- gdal-3.6.0-fedora/port/vsipreload.cpp 2022-11-06 21:09:21.000000000 +0100 ++++ gdal-3.6.0-fedora-new/port/vsipreload.cpp 2022-11-11 18:33:22.896005450 +0100 +@@ -55,6 +55,17 @@ + #undef _FORTIFY_SOURCE + #endif + +/* diff --git a/gdal.spec b/gdal.spec index 44c5356..051596d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.5.3 -Release: 2%{?dist} +Version: 3.6.0 +Release: 1%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -81,6 +81,7 @@ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: armadillo-devel +BuildRequires: bison BuildRequires: cfitsio-devel BuildRequires: CharLS-devel BuildRequires: curl-devel @@ -106,6 +107,7 @@ BuildRequires: libspatialite-devel BuildRequires: libtiff-devel BuildRequires: libtirpc-devel BuildRequires: libwebp-devel +BuildRequires: libzstd-devel %if 0%{?with_mysql} BuildRequires: mariadb-connector-c-devel %endif @@ -155,6 +157,7 @@ BuildRequires: mingw32-sqlite BuildRequires: mingw32-xerces-c BuildRequires: mingw32-xz-libs BuildRequires: mingw32-zlib +BuildRequires: mingw32-zstd BuildRequires: mingw64-filesystem >= 102 BuildRequires: mingw64-gcc-c++ @@ -184,6 +187,7 @@ BuildRequires: mingw64-sqlite BuildRequires: mingw64-xerces-c BuildRequires: mingw64-xz-libs BuildRequires: mingw64-zlib +BuildRequires: mingw64-zstd %endif # Python @@ -466,8 +470,8 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.31 -%{_libdir}/libgdal.so.31.* +%{_libdir}/libgdal.so.32 +%{_libdir}/libgdal.so.32.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -483,7 +487,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-31.dll +%{mingw32_bindir}/libgdal-32.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -496,7 +500,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-31.dll +%{mingw64_bindir}/libgdal-32.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -530,6 +534,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/gdalattachpct.py %{_bindir}/gdalcompare.py %{_bindir}/gdalmove.py +%{_bindir}/ogr_layer_algebra.py %{_bindir}/ogrmerge.py %{_bindir}/pct2rgb.py %{_bindir}/rgb2pct.py @@ -563,6 +568,12 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Nov 11 2022 Sandro Mani - 3.6.0-1 +- Update to 3.6.0 + +* Thu Nov 03 2022 Sandro Mani - 3.6.0-0.1.rc1 +- Update to 3.6.0-rc1 + * Thu Nov 03 2022 Sandro Mani - 3.5.3-2 - Re-enable java diff --git a/gdal_utils.patch b/gdal_utils.patch index 21420d0..438f50f 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.5.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.5.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.5.3-fedora/frmts/iso8211/CMakeLists.txt 2022-10-21 16:57:17.000000000 +0200 -+++ gdal-3.5.3-fedora-new/frmts/iso8211/CMakeLists.txt 2022-11-01 10:08:25.214006490 +0100 +diff -rupN --no-dereference gdal-3.6.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.6.0-fedora/frmts/iso8211/CMakeLists.txt 2022-11-06 21:09:20.000000000 +0100 ++++ gdal-3.6.0-fedora-new/frmts/iso8211/CMakeLists.txt 2022-11-11 18:33:22.642005448 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.5.3-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.5.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.5.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.5.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-10-21 16:57:17.000000000 +0200 -+++ gdal-3.5.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-01 10:08:25.215006490 +0100 +diff -rupN --no-dereference gdal-3.6.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.6.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-06 21:09:20.000000000 +0100 ++++ gdal-3.6.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-11 18:33:22.643005448 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 1cf900c..7ddc85d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.5.3-fedora.tar.xz) = 754a64bdd403de538ddc45f144ed0533493943c5e298445e300c6224c72ce58f2ca1dc71b18d88d04f351def04b1d7ead9682426d3fdd761b210ab1639afaf1f -SHA512 (gdalautotest-3.5.3.tar.gz) = 3b18c94d0b0e1d6d2d38ca82cddc8e69f2acf800fa1b4e7fbabaf112e9ad69fa807b92e652b43ebd122e3b5e8d6cc0d5644e92127a673676bc7df396720dab5e +SHA512 (gdal-3.6.0-fedora.tar.xz) = 8156297a55b327e581eda15e0a10b594b8d4e887e1e098a796c9bcd1fc4ba61aad58d2bf81623f891b4d1170a59c064c67068b1cd2a45c06155ef1a00013af21 +SHA512 (gdalautotest-3.6.0.tar.gz) = bdc03de9f99d46780cce18ded034d9db44b112d886148489115f743b3843b3fb534583607a4d6fa2eafcac905d11446e1bebc41b62a9eafe93a0ee8c335167d7 From f2db417532a4e2e19f7669eaabd1c1f86402457b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 18 Nov 2022 16:45:31 +0100 Subject: [PATCH 100/224] Rebuild (mingw-postgresql) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 051596d..d6755f3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.0 -Release: 1%{?pre:.%pre}%{?dist} +Release: 2%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Nov 18 2022 Sandro Mani - 3.6.0-2 +- Rebuild (mingw-postgresql) + * Fri Nov 11 2022 Sandro Mani - 3.6.0-1 - Update to 3.6.0 From cdc2c17277284870cb37dbde483508338335b3fc Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 5 Dec 2022 12:55:10 +0100 Subject: [PATCH 101/224] Switch to pcre2 for mingw build --- gdal.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdal.spec b/gdal.spec index d6755f3..0792450 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.0 -Release: 2%{?pre:.%pre}%{?dist} +Release: 3%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -149,7 +149,7 @@ BuildRequires: mingw32-libtiff BuildRequires: mingw32-libwebp BuildRequires: mingw32-openexr BuildRequires: mingw32-openjpeg2 -BuildRequires: mingw32-pcre +BuildRequires: mingw32-pcre2 BuildRequires: mingw32-poppler BuildRequires: mingw32-postgresql BuildRequires: mingw32-proj @@ -179,7 +179,7 @@ BuildRequires: mingw64-libtiff BuildRequires: mingw64-libwebp BuildRequires: mingw64-openexr BuildRequires: mingw64-openjpeg2 -BuildRequires: mingw64-pcre +BuildRequires: mingw64-pcre2 BuildRequires: mingw64-poppler BuildRequires: mingw64-postgresql BuildRequires: mingw64-proj @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Dec 05 2022 Sandro Mani - 3.6.0-3 +- Switch to pcre2 for mingw build + * Fri Nov 18 2022 Sandro Mani - 3.6.0-2 - Rebuild (mingw-postgresql) From e5a8e31edd7c8b448a3d26d8206d3cd7cdb5eff0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 5 Dec 2022 15:14:46 +0100 Subject: [PATCH 102/224] Rebuild (mingw-xerces-c) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0792450..8dec8cb 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.0 -Release: 3%{?pre:.%pre}%{?dist} +Release: 4%{?pre:.%pre}%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Dec 05 2022 Sandro Mani - 3.6.0-4 +- Rebuild (mingw-xerces-c) + * Mon Dec 05 2022 Sandro Mani - 3.6.0-3 - Switch to pcre2 for mingw build From 4bad91032ef833e0da5cb3de2689e5631158aaea Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Dec 2022 20:52:37 +0100 Subject: [PATCH 103/224] Update to 3.6.1 --- .gitignore | 2 ++ gdal-fortify-source.patch | 6 +++--- gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index a5b2bf6..530248a 100644 --- a/.gitignore +++ b/.gitignore @@ -85,3 +85,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.5.3.tar.gz /gdal-3.6.0-fedora.tar.xz /gdalautotest-3.6.0.tar.gz +/gdalautotest-3.6.1.tar.gz +/gdal-3.6.1.tar.xz diff --git a/gdal-fortify-source.patch b/gdal-fortify-source.patch index bb4a0d8..5a02ebe 100644 --- a/gdal-fortify-source.patch +++ b/gdal-fortify-source.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.0-fedora/port/vsipreload.cpp gdal-3.6.0-fedora-new/port/vsipreload.cpp ---- gdal-3.6.0-fedora/port/vsipreload.cpp 2022-11-06 21:09:21.000000000 +0100 -+++ gdal-3.6.0-fedora-new/port/vsipreload.cpp 2022-11-11 18:33:22.896005450 +0100 +diff -rupN --no-dereference gdal-3.6.1-fedora/port/vsipreload.cpp gdal-3.6.1-fedora-new/port/vsipreload.cpp +--- gdal-3.6.1-fedora/port/vsipreload.cpp 2022-12-14 00:02:36.000000000 +0100 ++++ gdal-3.6.1-fedora-new/port/vsipreload.cpp 2022-12-15 20:52:13.229007790 +0100 @@ -55,6 +55,17 @@ #undef _FORTIFY_SOURCE #endif diff --git a/gdal.spec b/gdal.spec index 8dec8cb..eb4fdaa 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.6.0 -Release: 4%{?pre:.%pre}%{?dist} +Version: 3.6.1 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Dec 15 2022 Sandro Mani - 3.6.1-1 +- Update to 3.6.1 + * Mon Dec 05 2022 Sandro Mani - 3.6.0-4 - Rebuild (mingw-xerces-c) diff --git a/gdal_utils.patch b/gdal_utils.patch index 438f50f..494de45 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.6.0-fedora/frmts/iso8211/CMakeLists.txt 2022-11-06 21:09:20.000000000 +0100 -+++ gdal-3.6.0-fedora-new/frmts/iso8211/CMakeLists.txt 2022-11-11 18:33:22.642005448 +0100 +diff -rupN --no-dereference gdal-3.6.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.6.1-fedora/frmts/iso8211/CMakeLists.txt 2022-12-14 00:02:36.000000000 +0100 ++++ gdal-3.6.1-fedora-new/frmts/iso8211/CMakeLists.txt 2022-12-15 20:52:13.000007785 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.6.0-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.6.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.6.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-06 21:09:20.000000000 +0100 -+++ gdal-3.6.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-11-11 18:33:22.643005448 +0100 +diff -rupN --no-dereference gdal-3.6.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.6.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-12-14 00:02:36.000000000 +0100 ++++ gdal-3.6.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-12-15 20:52:13.000007785 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 7ddc85d..2342a17 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.6.0-fedora.tar.xz) = 8156297a55b327e581eda15e0a10b594b8d4e887e1e098a796c9bcd1fc4ba61aad58d2bf81623f891b4d1170a59c064c67068b1cd2a45c06155ef1a00013af21 -SHA512 (gdalautotest-3.6.0.tar.gz) = bdc03de9f99d46780cce18ded034d9db44b112d886148489115f743b3843b3fb534583607a4d6fa2eafcac905d11446e1bebc41b62a9eafe93a0ee8c335167d7 +SHA512 (gdalautotest-3.6.1.tar.gz) = a91ba311840b98d16df1918752bb5a629bdbe68b98e3ca9f00e2a8ee49f9f68021081700eb39cce7cf5b09fc3fafed987ea067c8135ab2469b91c34338ba7ef2 +SHA512 (gdal-3.6.1.tar.xz) = 07138bdd66a0259cffed3a1587904760b734fffa546f5cdf7ca9ee472c77676e5694f6c92d57f03f9cdb94cc3992a0404688f248b79e263eb0c1e3ab6025f6bb From a3dfc6afde9386fc9b88bd70303df77fecc5d52f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Dec 2022 21:19:08 +0100 Subject: [PATCH 104/224] Update to 3.6.1 --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 530248a..15f56ed 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.6.0.tar.gz /gdalautotest-3.6.1.tar.gz /gdal-3.6.1.tar.xz +/gdal-3.6.1-fedora.tar.xz diff --git a/sources b/sources index 2342a17..5c9f525 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ +SHA512 (gdal-3.6.1-fedora.tar.xz) = 2c3d01a4140e5788713091562efd0ed5972419e746062f075558c0f66d9d5f2310c81859c9f8a2b6307bf81e89c059040bdd1ab18199fde847f1adf3942fbf3f SHA512 (gdalautotest-3.6.1.tar.gz) = a91ba311840b98d16df1918752bb5a629bdbe68b98e3ca9f00e2a8ee49f9f68021081700eb39cce7cf5b09fc3fafed987ea067c8135ab2469b91c34338ba7ef2 -SHA512 (gdal-3.6.1.tar.xz) = 07138bdd66a0259cffed3a1587904760b734fffa546f5cdf7ca9ee472c77676e5694f6c92d57f03f9cdb94cc3992a0404688f248b79e263eb0c1e3ab6025f6bb From af4294a6a6df4b032c9c70b89a9be44060cbf7f2 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 29 Dec 2022 09:38:46 -1000 Subject: [PATCH 105/224] Rebuild for cfitsio 4.2 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index eb4fdaa..436f390 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Dec 29 2022 Maxwell G - 3.6.1-2 +- Rebuild for cfitsio 4.2 + * Thu Dec 15 2022 Sandro Mani - 3.6.1-1 - Update to 3.6.1 From 28e52779b5545b81b4cc8e782f64c3253bf0667d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 2 Jan 2023 11:10:07 +0100 Subject: [PATCH 106/224] Rebuild (mingw-cfitsio) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 436f390..c664d50 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Jan 02 2023 Sandro Mani - 3.6.1-3 +- Rebuild (mingw-cfitsio) + * Thu Dec 29 2022 Maxwell G - 3.6.1-2 - Rebuild for cfitsio 4.2 From 5ddff3bb694f55168c1bb9971a1ced2d03679470 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 5 Jan 2023 09:10:38 +0100 Subject: [PATCH 107/224] Update to 3.6.2 --- .gitignore | 1 + gdal-fortify-source.patch | 8 ++++---- gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 3 +-- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 15f56ed..8e33792 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.6.1.tar.gz /gdal-3.6.1.tar.xz /gdal-3.6.1-fedora.tar.xz +/gdal-3.6.2-fedora.tar.xz diff --git a/gdal-fortify-source.patch b/gdal-fortify-source.patch index 5a02ebe..47519d5 100644 --- a/gdal-fortify-source.patch +++ b/gdal-fortify-source.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.6.1-fedora/port/vsipreload.cpp gdal-3.6.1-fedora-new/port/vsipreload.cpp ---- gdal-3.6.1-fedora/port/vsipreload.cpp 2022-12-14 00:02:36.000000000 +0100 -+++ gdal-3.6.1-fedora-new/port/vsipreload.cpp 2022-12-15 20:52:13.229007790 +0100 -@@ -55,6 +55,17 @@ +diff -rupN --no-dereference gdal-3.6.2-fedora/port/vsipreload.cpp gdal-3.6.2-fedora-new/port/vsipreload.cpp +--- gdal-3.6.2-fedora/port/vsipreload.cpp 2023-01-02 15:38:17.000000000 +0100 ++++ gdal-3.6.2-fedora-new/port/vsipreload.cpp 2023-01-05 09:09:34.828929089 +0100 +@@ -62,6 +62,17 @@ #undef _FORTIFY_SOURCE #endif diff --git a/gdal.spec b/gdal.spec index c664d50..094f566 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.6.1 -Release: 3%{?dist} +Version: 3.6.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Jan 05 2023 Sandro Mani - 3.6.2-1 +- Update to 3.6.2 + * Mon Jan 02 2023 Sandro Mani - 3.6.1-3 - Rebuild (mingw-cfitsio) diff --git a/gdal_utils.patch b/gdal_utils.patch index 494de45..67b72f5 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.6.1-fedora/frmts/iso8211/CMakeLists.txt 2022-12-14 00:02:36.000000000 +0100 -+++ gdal-3.6.1-fedora-new/frmts/iso8211/CMakeLists.txt 2022-12-15 20:52:13.000007785 +0100 +diff -rupN --no-dereference gdal-3.6.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.2-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.6.2-fedora/frmts/iso8211/CMakeLists.txt 2023-01-02 15:38:16.000000000 +0100 ++++ gdal-3.6.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-01-05 09:09:34.553926914 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.6.1-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.6.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.6.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-12-14 00:02:36.000000000 +0100 -+++ gdal-3.6.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2022-12-15 20:52:13.000007785 +0100 +diff -rupN --no-dereference gdal-3.6.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.6.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-01-02 15:38:17.000000000 +0100 ++++ gdal-3.6.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-01-05 09:09:34.554926922 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 5c9f525..f841178 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.6.1-fedora.tar.xz) = 2c3d01a4140e5788713091562efd0ed5972419e746062f075558c0f66d9d5f2310c81859c9f8a2b6307bf81e89c059040bdd1ab18199fde847f1adf3942fbf3f -SHA512 (gdalautotest-3.6.1.tar.gz) = a91ba311840b98d16df1918752bb5a629bdbe68b98e3ca9f00e2a8ee49f9f68021081700eb39cce7cf5b09fc3fafed987ea067c8135ab2469b91c34338ba7ef2 +SHA512 (gdal-3.6.2-fedora.tar.xz) = 44d1034d5ae2f36fa2ef923df955953d2634eb18b46540746b524451b3e6e0a1ab419648b3ac850dfa6a09115b3d78ded06b49cf690d284199121c73d8124512 From 8cea7c92f87978922c4e1cedfb4249f0cb657c66 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 5 Jan 2023 09:22:14 +0100 Subject: [PATCH 108/224] Upload all sources --- .gitignore | 1 + sources | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8e33792..27a57c4 100644 --- a/.gitignore +++ b/.gitignore @@ -89,3 +89,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.6.1.tar.xz /gdal-3.6.1-fedora.tar.xz /gdal-3.6.2-fedora.tar.xz +/gdalautotest-3.6.2.tar.gz diff --git a/sources b/sources index f841178..cff55e2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (gdal-3.6.2-fedora.tar.xz) = 44d1034d5ae2f36fa2ef923df955953d2634eb18b46540746b524451b3e6e0a1ab419648b3ac850dfa6a09115b3d78ded06b49cf690d284199121c73d8124512 +SHA512 (gdalautotest-3.6.2.tar.gz) = 63dd6f185b766cea9a200190428f2791c99f2d4032e7503404199833fa63cd31bc3b56e198a7d145cd954aace767d16d1d75c602880e9bee962dea98e9cf1859 +SHA512 (gdal-3.6.2-fedora.tar.xz) = b20b36553115c3a76626394bc2ace8f6c7c3d868b40198805da7ea829e56230058ddd469dead2b0a5c26b81d3e4d1d5f365372cfa1effdc4a80ef015d33760db From 0f6f27c7aefd008afb2ce5ab2f448b1d659fc8a9 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 12 Jan 2023 11:32:52 -0600 Subject: [PATCH 109/224] Rebuild for cfitsio 4.2 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 094f566..57dff98 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Jan 12 2023 Maxwell G - 3.6.2-2 +- Rebuild for cfitsio 4.2 + * Thu Jan 05 2023 Sandro Mani - 3.6.2-1 - Update to 3.6.2 From 1c6e0056f7b23fa9bbcaf3162c5c632f8316bfce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 04:29:06 +0000 Subject: [PATCH 110/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 57dff98..5a0a5d8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -568,6 +568,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 3.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jan 12 2023 Maxwell G - 3.6.2-2 - Rebuild for cfitsio 4.2 From e58fcd24f0c0469e947e0c977fbcb0ac0d34714f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 22 Jan 2023 19:33:22 -0700 Subject: [PATCH 111/224] Add upstream patch to add missing include needed for gcc 13 --- gdal-include.patch | 21 +++++++++++++++++++++ gdal.spec | 9 +++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 gdal-include.patch diff --git a/gdal-include.patch b/gdal-include.patch new file mode 100644 index 0000000..6e826ad --- /dev/null +++ b/gdal-include.patch @@ -0,0 +1,21 @@ +From 412b7fe6604141ee371f5a5a628bab1c5304de76 Mon Sep 17 00:00:00 2001 +From: Even Rouault +Date: Tue, 17 Jan 2023 13:39:05 +0100 +Subject: [PATCH] testcopywords.cpp: fix build error with clang 15.0.7 + +--- + autotest/cpp/testcopywords.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/autotest/cpp/testcopywords.cpp b/autotest/cpp/testcopywords.cpp +index a59d9bf91a3..07a0f448c69 100644 +--- a/autotest/cpp/testcopywords.cpp ++++ b/autotest/cpp/testcopywords.cpp +@@ -30,6 +30,7 @@ + #include "cpl_conv.h" + #include "gdal.h" + ++#include + #include + + GByte *pIn; diff --git a/gdal.spec b/gdal.spec index 5a0a5d8..adddbce 100644 --- a/gdal.spec +++ b/gdal.spec @@ -75,7 +75,9 @@ Patch0: gdal_utils.patch # inlining failed in call to ‘always_inline’ ‘open.localalias’ # See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2526 for a similar issue Patch1: gdal-fortify-source.patch - +# Add missing include needed for gcc 13 +# https://github.com/OSGeo/gdal/commit/412b7fe6604141ee371f5a5a628bab1c5304de76 +Patch2: gdal-include.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -358,7 +360,7 @@ MinGW Windows Python3 GDAL bindings. %endif %prep -%autosetup -p1 -n %{name}-%{version}-fedora +%autosetup -N -p1 -n %{name}-%{version}-fedora # Delete bundled libraries rm -rf frmts/zlib @@ -375,6 +377,9 @@ rm -rf third_party/LercLib tar xf %{SOURCE1} mv %{name}autotest-%{version} autotest +# Need to patch autotest +%autopatch -p1 + # Copy in PROVENANCE.TXT-fedora cp -a %{SOURCE4} . From dd5e0052fc9ce50fb07e136924815388e26dd2b6 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 4 Feb 2023 12:18:51 +0100 Subject: [PATCH 112/224] Rebuild (gdal) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index adddbce..f5d61bf 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -573,6 +573,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Feb 04 2023 Sandro Mani - 3.6.2-4 +- Rebuild (poppler) + * Thu Jan 19 2023 Fedora Release Engineering - 3.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 261b3f6f09b84dc074ca2384af1896d25657961f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 7 Feb 2023 10:13:30 +0100 Subject: [PATCH 113/224] Rebuild (mingw-poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f5d61bf..d014f66 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -573,6 +573,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Feb 07 2023 Sandro Mani - 3.6.2-5 +- Rebuild (mingw-poppler) + * Sat Feb 04 2023 Sandro Mani - 3.6.2-4 - Rebuild (poppler) From 3fbb4fa80a9353b527b82c1f34979a093f2657f2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 4 Mar 2023 08:58:50 +0100 Subject: [PATCH 114/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d014f66..45eba3d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -573,6 +573,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Mar 04 2023 Sandro Mani - 3.6.2-6 +- Rebuild (proj) + * Tue Feb 07 2023 Sandro Mani - 3.6.2-5 - Rebuild (mingw-poppler) From f9c99ced77845dcacca19d6f57fc811bb97fe309 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 14 Mar 2023 15:15:58 +0100 Subject: [PATCH 115/224] Update to 3.6.3 --- .gitignore | 2 ++ gdal-fortify-source.patch | 21 --------------------- gdal-include.patch | 21 --------------------- gdal.spec | 14 +++++--------- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 6 files changed, 15 insertions(+), 59 deletions(-) delete mode 100644 gdal-fortify-source.patch delete mode 100644 gdal-include.patch diff --git a/.gitignore b/.gitignore index 27a57c4..193f1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -90,3 +90,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.6.1-fedora.tar.xz /gdal-3.6.2-fedora.tar.xz /gdalautotest-3.6.2.tar.gz +/gdal-3.6.3-fedora.tar.xz +/gdalautotest-3.6.3.tar.gz diff --git a/gdal-fortify-source.patch b/gdal-fortify-source.patch deleted file mode 100644 index 47519d5..0000000 --- a/gdal-fortify-source.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -rupN --no-dereference gdal-3.6.2-fedora/port/vsipreload.cpp gdal-3.6.2-fedora-new/port/vsipreload.cpp ---- gdal-3.6.2-fedora/port/vsipreload.cpp 2023-01-02 15:38:17.000000000 +0100 -+++ gdal-3.6.2-fedora-new/port/vsipreload.cpp 2023-01-05 09:09:34.828929089 +0100 -@@ -62,6 +62,17 @@ - #undef _FORTIFY_SOURCE - #endif - -+ -+/* -+ * We need to export open* etc., but _FORTIFY_SOURCE defines conflicting -+ * always_inline versions. Disable _FORTIFY_SOURCE for this file, so we -+ * can define our overrides. -+ */ -+#ifdef _FORTIFY_SOURCE -+#undef _FORTIFY_SOURCE -+#endif -+ -+ - #define _GNU_SOURCE 1 - #define _LARGEFILE64_SOURCE 1 - #include diff --git a/gdal-include.patch b/gdal-include.patch deleted file mode 100644 index 6e826ad..0000000 --- a/gdal-include.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 412b7fe6604141ee371f5a5a628bab1c5304de76 Mon Sep 17 00:00:00 2001 -From: Even Rouault -Date: Tue, 17 Jan 2023 13:39:05 +0100 -Subject: [PATCH] testcopywords.cpp: fix build error with clang 15.0.7 - ---- - autotest/cpp/testcopywords.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/autotest/cpp/testcopywords.cpp b/autotest/cpp/testcopywords.cpp -index a59d9bf91a3..07a0f448c69 100644 ---- a/autotest/cpp/testcopywords.cpp -+++ b/autotest/cpp/testcopywords.cpp -@@ -30,6 +30,7 @@ - #include "cpl_conv.h" - #include "gdal.h" - -+#include - #include - - GByte *pIn; diff --git a/gdal.spec b/gdal.spec index 45eba3d..6724632 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.6.2 -Release: 6%{?dist} +Version: 3.6.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -71,13 +71,6 @@ Source5: %{name}-cleaner.sh # Add some utils to the default install target Patch0: gdal_utils.patch -# Fix build failure -# inlining failed in call to ‘always_inline’ ‘open.localalias’ -# See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2526 for a similar issue -Patch1: gdal-fortify-source.patch -# Add missing include needed for gcc 13 -# https://github.com/OSGeo/gdal/commit/412b7fe6604141ee371f5a5a628bab1c5304de76 -Patch2: gdal-include.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -573,6 +566,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Mar 14 2023 Sandro Mani - 3.6.3-1 +- Update to 3.6.3 + * Sat Mar 04 2023 Sandro Mani - 3.6.2-6 - Rebuild (proj) diff --git a/gdal_utils.patch b/gdal_utils.patch index 67b72f5..e9bde4c 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.2-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.6.2-fedora/frmts/iso8211/CMakeLists.txt 2023-01-02 15:38:16.000000000 +0100 -+++ gdal-3.6.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-01-05 09:09:34.553926914 +0100 +diff -rupN --no-dereference gdal-3.6.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.6.3-fedora/frmts/iso8211/CMakeLists.txt 2023-03-07 18:14:55.000000000 +0100 ++++ gdal-3.6.3-fedora-new/frmts/iso8211/CMakeLists.txt 2023-03-14 09:21:05.455845507 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.6.2-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.6.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.6.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-01-02 15:38:17.000000000 +0100 -+++ gdal-3.6.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-01-05 09:09:34.554926922 +0100 +diff -rupN --no-dereference gdal-3.6.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.6.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-03-07 18:14:55.000000000 +0100 ++++ gdal-3.6.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-03-14 09:21:05.455845507 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index cff55e2..6f81701 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.6.2.tar.gz) = 63dd6f185b766cea9a200190428f2791c99f2d4032e7503404199833fa63cd31bc3b56e198a7d145cd954aace767d16d1d75c602880e9bee962dea98e9cf1859 -SHA512 (gdal-3.6.2-fedora.tar.xz) = b20b36553115c3a76626394bc2ace8f6c7c3d868b40198805da7ea829e56230058ddd469dead2b0a5c26b81d3e4d1d5f365372cfa1effdc4a80ef015d33760db +SHA512 (gdal-3.6.3-fedora.tar.xz) = cacfde8de337fd922cdd22a6061fe14e28bfbd1e36ff58c0990d20fb1cb23c6e06ea02d8c92745028b1699821c19b00617b2cddfacfbe2f86759cb9c5e1b7013 +SHA512 (gdalautotest-3.6.3.tar.gz) = 2967c07a0c5cb426048ead60b6428e8ebb5c5f4bd1ff7409991537575b5a1eabd1d4da2d65607894e16153fd4ce8a31a501788b938a155ddf8cec581fddac1d4 From f95f749e5e1eb9fc8927a8e364cc9d0531fadc2a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 22 Apr 2023 15:03:03 +0200 Subject: [PATCH 116/224] Update to 3.6.4 --- .gitignore | 2 ++ gdal.spec | 5 ++++- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 193f1e3..61a85a7 100644 --- a/.gitignore +++ b/.gitignore @@ -92,3 +92,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.6.2.tar.gz /gdal-3.6.3-fedora.tar.xz /gdalautotest-3.6.3.tar.gz +/gdal-3.6.4-fedora.tar.xz +/gdalautotest-3.6.4.tar.gz diff --git a/gdal.spec b/gdal.spec index 6724632..d0af155 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,7 +50,7 @@ Name: gdal -Version: 3.6.3 +Version: 3.6.4 Release: 1%{?dist} Summary: GIS file format library License: MIT @@ -566,6 +566,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Apr 22 2023 Sandro Mani - 3.6.4-1 +- Update to 3.6.4 + * Tue Mar 14 2023 Sandro Mani - 3.6.3-1 - Update to 3.6.3 diff --git a/gdal_utils.patch b/gdal_utils.patch index e9bde4c..686f61b 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.6.3-fedora/frmts/iso8211/CMakeLists.txt 2023-03-07 18:14:55.000000000 +0100 -+++ gdal-3.6.3-fedora-new/frmts/iso8211/CMakeLists.txt 2023-03-14 09:21:05.455845507 +0100 +diff -rupN --no-dereference gdal-3.6.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.4-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.6.4-fedora/frmts/iso8211/CMakeLists.txt 2023-04-17 13:50:19.000000000 +0200 ++++ gdal-3.6.4-fedora-new/frmts/iso8211/CMakeLists.txt 2023-04-22 14:48:30.133740745 +0200 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.6.3-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.6.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.6.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-03-07 18:14:55.000000000 +0100 -+++ gdal-3.6.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-03-14 09:21:05.455845507 +0100 +diff -rupN --no-dereference gdal-3.6.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.6.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-04-17 13:50:19.000000000 +0200 ++++ gdal-3.6.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-04-22 14:48:30.134740600 +0200 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 6f81701..b0ff7ed 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.6.3-fedora.tar.xz) = cacfde8de337fd922cdd22a6061fe14e28bfbd1e36ff58c0990d20fb1cb23c6e06ea02d8c92745028b1699821c19b00617b2cddfacfbe2f86759cb9c5e1b7013 -SHA512 (gdalautotest-3.6.3.tar.gz) = 2967c07a0c5cb426048ead60b6428e8ebb5c5f4bd1ff7409991537575b5a1eabd1d4da2d65607894e16153fd4ce8a31a501788b938a155ddf8cec581fddac1d4 +SHA512 (gdal-3.6.4-fedora.tar.xz) = 2563a94e4479be00fadda28909002d2be2488a7ca47f66ed2f266bc6f36bf9ec364a43c2ec6281c6054c30d1130b765250bc92e226408ed1257a3c965618840e +SHA512 (gdalautotest-3.6.4.tar.gz) = 2a7704e57f8bc0687c759d047b5a8fb290b2959eb058e02b08edf12e9cca17d6a9121213ef48e8b616c94c8cbe321531612700c6db52cb47fbcc5893c1c1c1c1 From ffdd3ca417477dfb8d019640ed5fc9a7fa4b3d1a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 2 May 2023 11:32:36 +0200 Subject: [PATCH 117/224] Drop unused librx BR --- gdal.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdal.spec b/gdal.spec index d0af155..f995031 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -95,7 +95,6 @@ BuildRequires: libkml-devel BuildRequires: liblerc-devel BuildRequires: libpng-devel BuildRequires: libpq-devel -BuildRequires: librx-devel %if %{with_spatialite} BuildRequires: libspatialite-devel %endif @@ -566,6 +565,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue May 02 2023 Sandro Mani - 3.6.4-2 +- Drop unused librx BR + * Sat Apr 22 2023 Sandro Mani - 3.6.4-1 - Update to 3.6.4 From 0ad5990efa531d01317a83d2a5ea03f095390237 Mon Sep 17 00:00:00 2001 From: Markus Neteler Date: Tue, 9 May 2023 23:19:38 +0200 Subject: [PATCH 118/224] SPDX migration --- gdal.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gdal.spec b/gdal.spec index f995031..bf99aa0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.6.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -565,6 +565,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue May 09 2023 Markus Neteler - 3.6.4-3 +- SPDX migration + * Tue May 02 2023 Sandro Mani - 3.6.4-2 - Drop unused librx BR @@ -1489,7 +1492,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config - Added jnis - Patches updated with proper version info - Added suggestions from Ralph Apel - + Versionless symlink for gdal.jar - + Maven2 pom - + JPP-style depmap - + Use -f XX.files for ruby and python + + Versionless symlink for gdal.jar + + Maven2 pom + + JPP-style depmap + + Use -f XX.files for ruby and python From 84674d8354842dec4a5d077ddc5a2d5afee36c04 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 11 May 2023 07:34:53 +0200 Subject: [PATCH 119/224] Update to 3.7.0 --- .gitignore | 2 ++ gdal.spec | 24 ++++++++++++++++-------- sources | 4 ++-- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 61a85a7..47864fb 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.6.3.tar.gz /gdal-3.6.4-fedora.tar.xz /gdalautotest-3.6.4.tar.gz +/gdal-3.7.0-fedora.tar.xz +/gdalautotest-3.7.0.tar.gz diff --git a/gdal.spec b/gdal.spec index bf99aa0..7ee93a0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.6.4 -Release: 3%{?dist} +Version: 3.7.0 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -84,6 +84,7 @@ BuildRequires: expat-devel BuildRequires: freexl-devel BuildRequires: geos-devel BuildRequires: giflib-devel +BuildRequires: gtest-devel BuildRequires: hdf-devel BuildRequires: hdf5-devel BuildRequires: json-c-devel @@ -380,13 +381,16 @@ cp -a %{SOURCE4} . %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ - -DGDAL_USE_JPEG12_INTERNAL=OFF + -DGDAL_USE_JPEG12_INTERNAL=OFF \ + -DENABLE_DEFLATE64=OFF %cmake_build %if %{with mingw} %mingw_cmake \ + -DBUILD_TESTING=OFF \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ - -DGDAL_USE_JPEG12_INTERNAL=OFF + -DGDAL_USE_JPEG12_INTERNAL=OFF \ + -DENABLE_DEFLATE64=OFF %mingw_make_build %endif @@ -458,6 +462,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/ogrlineref %{_bindir}/ogrtindex %{_bindir}/s57dump +%{_bindir}/sozip %{_datadir}/bash-completion/completions/* %exclude %{_datadir}/bash-completion/completions/*.py %{_mandir}/man1/* @@ -467,8 +472,8 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.32 -%{_libdir}/libgdal.so.32.* +%{_libdir}/libgdal.so.33 +%{_libdir}/libgdal.so.33.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -484,7 +489,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-32.dll +%{mingw32_bindir}/libgdal-33.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -497,7 +502,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-32.dll +%{mingw64_bindir}/libgdal-33.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -565,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu May 11 2023 Sandro Mani - 3.7.0-1 +- Update to 3.7.0 + * Tue May 09 2023 Markus Neteler - 3.6.4-3 - SPDX migration diff --git a/sources b/sources index b0ff7ed..51c9acc 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.6.4-fedora.tar.xz) = 2563a94e4479be00fadda28909002d2be2488a7ca47f66ed2f266bc6f36bf9ec364a43c2ec6281c6054c30d1130b765250bc92e226408ed1257a3c965618840e -SHA512 (gdalautotest-3.6.4.tar.gz) = 2a7704e57f8bc0687c759d047b5a8fb290b2959eb058e02b08edf12e9cca17d6a9121213ef48e8b616c94c8cbe321531612700c6db52cb47fbcc5893c1c1c1c1 +SHA512 (gdal-3.7.0-fedora.tar.xz) = 954866448d973d32340887431680928c0dfcd5eebbec784c2897b7ee51a4ff878d431a66071a46ec2cf2490375635ce4aa3e7b99fd0c08f94542d6eeaf7277a1 +SHA512 (gdalautotest-3.7.0.tar.gz) = 81e80c799a8a910a861182480e8306c8583cdffe7cb62f47fbaddf031e1c4d1d3fb341edf0daddbb8c934e5f2d547b380feb2f5a9f22cd50db14e43c2b02737b From 3b9ef5046ac9c529153a0b1bf3688946735674be Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 3 Jul 2023 13:58:12 +0200 Subject: [PATCH 120/224] Rebuilt for Python 3.12 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7ee93a0..27ea603 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Jul 03 2023 Python Maint - 3.7.0-2 +- Rebuilt for Python 3.12 + * Thu May 11 2023 Sandro Mani - 3.7.0-1 - Update to 3.7.0 From 6ee8448d69ad5cab91c346b609b35314957f8f01 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 18 Jul 2023 08:09:05 +0200 Subject: [PATCH 121/224] Update to 3.7.1 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 47864fb..ad3a876 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.6.4.tar.gz /gdal-3.7.0-fedora.tar.xz /gdalautotest-3.7.0.tar.gz +/gdal-3.7.1-fedora.tar.xz +/gdalautotest-3.7.1.tar.gz diff --git a/gdal.spec b/gdal.spec index 27ea603..fd0feda 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.7.0 -Release: 2%{?dist} +Version: 3.7.1 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Jul 18 2023 Sandro Mani - 3.7.1-1 +- Update to 3.7.1 + * Mon Jul 03 2023 Python Maint - 3.7.0-2 - Rebuilt for Python 3.12 diff --git a/gdal_utils.patch b/gdal_utils.patch index 686f61b..bf7aa1a 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.6.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.6.4-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.6.4-fedora/frmts/iso8211/CMakeLists.txt 2023-04-17 13:50:19.000000000 +0200 -+++ gdal-3.6.4-fedora-new/frmts/iso8211/CMakeLists.txt 2023-04-22 14:48:30.133740745 +0200 +diff -rupN --no-dereference gdal-3.7.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.7.1-fedora/frmts/iso8211/CMakeLists.txt 2023-07-06 13:14:14.000000000 +0200 ++++ gdal-3.7.1-fedora-new/frmts/iso8211/CMakeLists.txt 2023-07-18 08:06:27.536065080 +0200 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.6.4-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.6.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.6.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.6.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-04-17 13:50:19.000000000 +0200 -+++ gdal-3.6.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-04-22 14:48:30.134740600 +0200 +diff -rupN --no-dereference gdal-3.7.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.7.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-07-06 13:14:14.000000000 +0200 ++++ gdal-3.7.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-07-18 08:06:27.536065080 +0200 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 51c9acc..303c772 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.7.0-fedora.tar.xz) = 954866448d973d32340887431680928c0dfcd5eebbec784c2897b7ee51a4ff878d431a66071a46ec2cf2490375635ce4aa3e7b99fd0c08f94542d6eeaf7277a1 -SHA512 (gdalautotest-3.7.0.tar.gz) = 81e80c799a8a910a861182480e8306c8583cdffe7cb62f47fbaddf031e1c4d1d3fb341edf0daddbb8c934e5f2d547b380feb2f5a9f22cd50db14e43c2b02737b +SHA512 (gdal-3.7.1-fedora.tar.xz) = 55e3e822aade14b3edea7c7907fea2c3735a43b37b4fc990252b1170c686a639a151b15ae1fe8cc886fcd869778611a5a87b3bab7b64ebfceb692b863e10217d +SHA512 (gdalautotest-3.7.1.tar.gz) = d69de5daa9e1f49089b5465f93b09a2717065d119127150e65dbbfb23dc664c34b7e21e59edb17ce827b62d43d72f1d672ac70dca592ade90fe07359644e2c66 From 538b78ae4b4518567499e8f87b364ce02788d27a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 20:54:29 +0000 Subject: [PATCH 122/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index fd0feda..5c4095c 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 3.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 18 2023 Sandro Mani - 3.7.1-1 - Update to 3.7.1 From 5e63728f691db1cd6350853ffcf6bec71ac02cfd Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Mon, 7 Aug 2023 15:14:15 +0200 Subject: [PATCH 123/224] Rebuild for poppler 23.08.0 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 5c4095c..4bfdb8b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Aug 07 2023 Marek Kasik - 3.7.1-3 +- Rebuild for poppler 23.08.0 + * Wed Jul 19 2023 Fedora Release Engineering - 3.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 6c1f1b153a809ea91c253d0b1d9393afb57d7732 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 10 Aug 2023 14:26:18 -0400 Subject: [PATCH 124/224] rebuild for new qhull --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 4bfdb8b..0365013 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Aug 9 2023 Tom Callaway - 3.7.1-4 +- rebuild for new qhull + * Mon Aug 07 2023 Marek Kasik - 3.7.1-3 - Rebuild for poppler 23.08.0 From c0901e5ae73f3088a3d26f1e3bdd12fc19afba60 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 14 Aug 2023 12:51:26 +0200 Subject: [PATCH 125/224] Rebuild (mingw-poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0365013..6ca2ca0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Aug 14 2023 Sandro Mani - 3.7.1-5 +- Rebuild (mingw-poppler) + * Wed Aug 9 2023 Tom Callaway - 3.7.1-4 - rebuild for new qhull From f9675a7ba2fb3d4e7ea52a082006845017445f57 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 15 Aug 2023 23:32:12 +0200 Subject: [PATCH 126/224] Rebuild (libspatialite) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 6ca2ca0..8064267 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Aug 15 2023 Sandro Mani - 3.7.1-6 +- Rebuild (libspatialite) + * Mon Aug 14 2023 Sandro Mani - 3.7.1-5 - Rebuild (mingw-poppler) From a1088f112f432ee0d620acc151d71938ea6e405c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 3 Sep 2023 22:24:08 +0200 Subject: [PATCH 127/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 8064267..085a99d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.7.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sun Sep 03 2023 Sandro Mani - 3.7.1-7 +- Rebuild (proj) + * Tue Aug 15 2023 Sandro Mani - 3.7.1-6 - Rebuild (libspatialite) From a4c537600623cef09107006a994008d037fef8ab Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 13 Sep 2023 21:42:34 +0200 Subject: [PATCH 128/224] Update to 3.7.2 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ad3a876..96e0cc3 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.7.0.tar.gz /gdal-3.7.1-fedora.tar.xz /gdalautotest-3.7.1.tar.gz +/gdal-3.7.2-fedora.tar.xz +/gdalautotest-3.7.2.tar.gz diff --git a/gdal.spec b/gdal.spec index 085a99d..3445c23 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.7.1 -Release: 7%{?dist} +Version: 3.7.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Sep 13 2023 Sandro Mani - 3.7.2-1 +- Update to 3.7.2 + * Sun Sep 03 2023 Sandro Mani - 3.7.1-7 - Rebuild (proj) diff --git a/gdal_utils.patch b/gdal_utils.patch index bf7aa1a..5a7126b 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.7.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.7.1-fedora/frmts/iso8211/CMakeLists.txt 2023-07-06 13:14:14.000000000 +0200 -+++ gdal-3.7.1-fedora-new/frmts/iso8211/CMakeLists.txt 2023-07-18 08:06:27.536065080 +0200 +diff -rupN --no-dereference gdal-3.7.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.2-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.7.2-fedora/frmts/iso8211/CMakeLists.txt 2023-09-05 11:06:01.000000000 +0200 ++++ gdal-3.7.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-09-13 18:08:12.415548075 +0200 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.7.1-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.7.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.7.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-07-06 13:14:14.000000000 +0200 -+++ gdal-3.7.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-07-18 08:06:27.536065080 +0200 +diff -rupN --no-dereference gdal-3.7.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.7.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-09-05 11:06:01.000000000 +0200 ++++ gdal-3.7.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-09-13 18:08:12.417548017 +0200 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 303c772..19468aa 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.7.1-fedora.tar.xz) = 55e3e822aade14b3edea7c7907fea2c3735a43b37b4fc990252b1170c686a639a151b15ae1fe8cc886fcd869778611a5a87b3bab7b64ebfceb692b863e10217d -SHA512 (gdalautotest-3.7.1.tar.gz) = d69de5daa9e1f49089b5465f93b09a2717065d119127150e65dbbfb23dc664c34b7e21e59edb17ce827b62d43d72f1d672ac70dca592ade90fe07359644e2c66 +SHA512 (gdal-3.7.2-fedora.tar.xz) = 205e432af6e17c1f993daf9d35d27ed8de31d4b7e7e0564fe0d7d05e49c278d1499c93b12d083bf7a7799c5d9ff40e2ea2ac56f7b5d0d77873f635135fd7f23c +SHA512 (gdalautotest-3.7.2.tar.gz) = 9c3ace4811805b6393fe4f06d95e155427da8bb18aa8ceec0f28966c92bdf6edd57c565889c4d8deb58f46a3cb88e39fc31aa33fe27804f228e91781bd9e91b3 From 2bd4654b9761b36e628fbbb6b11afc621dd6cf7d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 3 Nov 2023 19:01:10 +0100 Subject: [PATCH 129/224] Update to 3.7.3 --- .gitignore | 1 + gdal.spec | 5 ++++- gdal_utils.patch | 12 ++++++------ sources | 3 +-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 96e0cc3..dc4d607 100644 --- a/.gitignore +++ b/.gitignore @@ -100,3 +100,4 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.7.1.tar.gz /gdal-3.7.2-fedora.tar.xz /gdalautotest-3.7.2.tar.gz +/gdal-3.7.3-fedora.tar.xz diff --git a/gdal.spec b/gdal.spec index 3445c23..d5f557d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,7 +50,7 @@ Name: gdal -Version: 3.7.2 +Version: 3.7.3 Release: 1%{?dist} Summary: GIS file format library License: MIT @@ -570,6 +570,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Nov 03 2023 Sandro Mani - 3.7.3-1 +- Update to 3.7.3 + * Wed Sep 13 2023 Sandro Mani - 3.7.2-1 - Update to 3.7.2 diff --git a/gdal_utils.patch b/gdal_utils.patch index 5a7126b..8f7e563 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.7.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.2-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.7.2-fedora/frmts/iso8211/CMakeLists.txt 2023-09-05 11:06:01.000000000 +0200 -+++ gdal-3.7.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-09-13 18:08:12.415548075 +0200 +diff -rupN --no-dereference gdal-3.7.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.7.3-fedora/frmts/iso8211/CMakeLists.txt 2023-10-30 17:03:44.000000000 +0100 ++++ gdal-3.7.3-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-03 18:58:27.663679053 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.7.2-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.7.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.7.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-09-05 11:06:01.000000000 +0200 -+++ gdal-3.7.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-09-13 18:08:12.417548017 +0200 +diff -rupN --no-dereference gdal-3.7.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.7.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-10-30 17:03:44.000000000 +0100 ++++ gdal-3.7.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-03 18:58:27.663679053 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 19468aa..d1edc5a 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.7.2-fedora.tar.xz) = 205e432af6e17c1f993daf9d35d27ed8de31d4b7e7e0564fe0d7d05e49c278d1499c93b12d083bf7a7799c5d9ff40e2ea2ac56f7b5d0d77873f635135fd7f23c -SHA512 (gdalautotest-3.7.2.tar.gz) = 9c3ace4811805b6393fe4f06d95e155427da8bb18aa8ceec0f28966c92bdf6edd57c565889c4d8deb58f46a3cb88e39fc31aa33fe27804f228e91781bd9e91b3 +SHA512 (gdal-3.7.3-fedora.tar.xz) = f521a404396bad3a24280cad813030adfd4718560d2aa9756b96eded042fe20b7a87547d4f905c615180e1f7bcca075422bfb9319bc322d0f3bb2c67bbee5e57 From df64a19909c4005ffcdcb2b79156ebdab5f7c96a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 3 Nov 2023 19:10:44 +0100 Subject: [PATCH 130/224] Fix sources --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index dc4d607..73dc071 100644 --- a/.gitignore +++ b/.gitignore @@ -101,3 +101,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.7.2-fedora.tar.xz /gdalautotest-3.7.2.tar.gz /gdal-3.7.3-fedora.tar.xz +/gdalautotest-3.7.3.tar.gz diff --git a/sources b/sources index d1edc5a..3269de5 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.7.3-fedora.tar.xz) = f521a404396bad3a24280cad813030adfd4718560d2aa9756b96eded042fe20b7a87547d4f905c615180e1f7bcca075422bfb9319bc322d0f3bb2c67bbee5e57 +SHA512 (gdalautotest-3.7.3.tar.gz) = e19d5afa9e7280a6ac837b01c23cddc7ff3ca6578ab347b915ec84bdde091f1b54095a2eed0042538eb4eae38613816d79531aa541f6cc6f1cbeee41b2fa11fd From adeb164c3492ad3cd0d177101d73835f10462019 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 15 Nov 2023 11:51:14 +0100 Subject: [PATCH 131/224] Update to 3.8.0 --- .gitignore | 2 ++ gdal.spec | 15 ++++++++++----- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 73dc071..3fd6d9d 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.7.2.tar.gz /gdal-3.7.3-fedora.tar.xz /gdalautotest-3.7.3.tar.gz +/gdal-3.8.0-fedora.tar.xz +/gdalautotest-3.8.0.tar.gz diff --git a/gdal.spec b/gdal.spec index d5f557d..df458ba 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,7 +50,7 @@ Name: gdal -Version: 3.7.3 +Version: 3.8.0 Release: 1%{?dist} Summary: GIS file format library License: MIT @@ -381,6 +381,7 @@ cp -a %{SOURCE4} . %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ + -DGDAL_JAVA_JNI_INSTALL_DIR=%{_jnidir}/%{name} \ -DGDAL_USE_JPEG12_INTERNAL=OFF \ -DENABLE_DEFLATE64=OFF %cmake_build @@ -445,6 +446,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/gdalbuildvrt %{_bindir}/gdaldem %{_bindir}/gdalenhance +%{_bindir}/gdal_footprint %{_bindir}/gdalinfo %{_bindir}/gdallocationinfo %{_bindir}/gdalmanage @@ -472,8 +474,8 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.33 -%{_libdir}/libgdal.so.33.* +%{_libdir}/libgdal.so.34 +%{_libdir}/libgdal.so.34.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -489,7 +491,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-33.dll +%{mingw32_bindir}/libgdal-34.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -502,7 +504,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-33.dll +%{mingw64_bindir}/libgdal-34.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -570,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Nov 14 2023 Sandro Mani - 3.8.0-1 +- Update to 3.8.0 + * Fri Nov 03 2023 Sandro Mani - 3.7.3-1 - Update to 3.7.3 diff --git a/gdal_utils.patch b/gdal_utils.patch index 8f7e563..edf629c 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.7.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.7.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.7.3-fedora/frmts/iso8211/CMakeLists.txt 2023-10-30 17:03:44.000000000 +0100 -+++ gdal-3.7.3-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-03 18:58:27.663679053 +0100 +diff -rupN --no-dereference gdal-3.8.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.0-fedora/frmts/iso8211/CMakeLists.txt 2023-11-09 10:51:01.000000000 +0100 ++++ gdal-3.8.0-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-14 10:30:30.892535282 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.7.3-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.7.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.7.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.7.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-10-30 17:03:44.000000000 +0100 -+++ gdal-3.7.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-03 18:58:27.663679053 +0100 +diff -rupN --no-dereference gdal-3.8.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-09 10:51:02.000000000 +0100 ++++ gdal-3.8.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-14 10:30:30.892535282 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 3269de5..7543b87 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.7.3-fedora.tar.xz) = f521a404396bad3a24280cad813030adfd4718560d2aa9756b96eded042fe20b7a87547d4f905c615180e1f7bcca075422bfb9319bc322d0f3bb2c67bbee5e57 -SHA512 (gdalautotest-3.7.3.tar.gz) = e19d5afa9e7280a6ac837b01c23cddc7ff3ca6578ab347b915ec84bdde091f1b54095a2eed0042538eb4eae38613816d79531aa541f6cc6f1cbeee41b2fa11fd +SHA512 (gdal-3.8.0-fedora.tar.xz) = 100d752a55ecb3f6735be23bf3a3106fad20fb2b00edb7f99cc3df2b5fd603c169bedb8dde0d848ed0865319d14257a4cff14273a48bd79002212d95f683607a +SHA512 (gdalautotest-3.8.0.tar.gz) = e72705571a337412d379cdf36debbe01aca61e789527c5e1f1c47904ba817c390a04032913fde75f899b96ec4f0b3a849ec3ead2539c31b59ca5006cd5e4e431 From 4f960b66cc841dfe410d9235f4a20b4a0a6c9395 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 30 Nov 2023 21:42:04 +0100 Subject: [PATCH 132/224] Update to 3.8.1 --- .gitignore | 2 ++ gdal.spec | 5 ++++- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3fd6d9d..942e144 100644 --- a/.gitignore +++ b/.gitignore @@ -104,3 +104,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.7.3.tar.gz /gdal-3.8.0-fedora.tar.xz /gdalautotest-3.8.0.tar.gz +/gdal-3.8.1-fedora.tar.xz +/gdalautotest-3.8.1.tar.gz diff --git a/gdal.spec b/gdal.spec index df458ba..8f40b20 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,7 +50,7 @@ Name: gdal -Version: 3.8.0 +Version: 3.8.1 Release: 1%{?dist} Summary: GIS file format library License: MIT @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Nov 30 2023 Sandro Mani - 3.8.1-1 +- Update to 3.8.1 + * Tue Nov 14 2023 Sandro Mani - 3.8.0-1 - Update to 3.8.0 diff --git a/gdal_utils.patch b/gdal_utils.patch index edf629c..965b23b 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.0-fedora/frmts/iso8211/CMakeLists.txt 2023-11-09 10:51:01.000000000 +0100 -+++ gdal-3.8.0-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-14 10:30:30.892535282 +0100 +diff -rupN --no-dereference gdal-3.8.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.1-fedora/frmts/iso8211/CMakeLists.txt 2023-11-28 16:21:30.000000000 +0100 ++++ gdal-3.8.1-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-30 21:41:54.822089877 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.8.0-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.8.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-09 10:51:02.000000000 +0100 -+++ gdal-3.8.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-14 10:30:30.892535282 +0100 +diff -rupN --no-dereference gdal-3.8.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-28 16:21:30.000000000 +0100 ++++ gdal-3.8.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-30 21:41:54.822089877 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 7543b87..35b8a24 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.0-fedora.tar.xz) = 100d752a55ecb3f6735be23bf3a3106fad20fb2b00edb7f99cc3df2b5fd603c169bedb8dde0d848ed0865319d14257a4cff14273a48bd79002212d95f683607a -SHA512 (gdalautotest-3.8.0.tar.gz) = e72705571a337412d379cdf36debbe01aca61e789527c5e1f1c47904ba817c390a04032913fde75f899b96ec4f0b3a849ec3ead2539c31b59ca5006cd5e4e431 +SHA512 (gdal-3.8.1-fedora.tar.xz) = 1e90628c4e5816031bbb92379c283567c6e863775e00e7128d7ceaa4725e9502b6d42e049414c1f4ed21aed7968925b02e9d2e688d48f71c2aa193adbda4282f +SHA512 (gdalautotest-3.8.1.tar.gz) = fea3a5ff76182427df0af8fb42b7098bd8461854d0ca403445a26e907966fb5c186681cf0b2b8a6486ecefb0a4619d9cf2b3603e7028cb3e3fa496830d94797c From a574d8277ab229b0452fe86a624a556e5bafdce3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 20 Dec 2023 09:37:58 +0100 Subject: [PATCH 133/224] Rebuild (armadillo) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 8f40b20..50b0169 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Dec 20 2023 Sandro Mani - 3.8.1-2 +- Rebuild (armadillo) + * Thu Nov 30 2023 Sandro Mani - 3.8.1-1 - Update to 3.8.1 From 9fa8f6a6dd2d9b08bbc02c51432c67d8d969b032 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 20 Dec 2023 14:54:33 +0100 Subject: [PATCH 134/224] Update to 3.8.2 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 942e144..a6c3bb7 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.0.tar.gz /gdal-3.8.1-fedora.tar.xz /gdalautotest-3.8.1.tar.gz +/gdal-3.8.2-fedora.tar.xz +/gdalautotest-3.8.2.tar.gz diff --git a/gdal.spec b/gdal.spec index 50b0169..1a30b89 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.8.1 -Release: 2%{?dist} +Version: 3.8.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Dec 20 2023 Sandro Mani - 3.8.2-1 +- Update to 3.8.2 + * Wed Dec 20 2023 Sandro Mani - 3.8.1-2 - Rebuild (armadillo) diff --git a/gdal_utils.patch b/gdal_utils.patch index 965b23b..3976b83 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.1-fedora/frmts/iso8211/CMakeLists.txt 2023-11-28 16:21:30.000000000 +0100 -+++ gdal-3.8.1-fedora-new/frmts/iso8211/CMakeLists.txt 2023-11-30 21:41:54.822089877 +0100 +diff -rupN --no-dereference gdal-3.8.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.2-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.2-fedora/frmts/iso8211/CMakeLists.txt 2023-12-16 14:40:35.000000000 +0100 ++++ gdal-3.8.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-12-20 14:28:50.710321058 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.8.1-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.8.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-28 16:21:30.000000000 +0100 -+++ gdal-3.8.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-11-30 21:41:54.822089877 +0100 +diff -rupN --no-dereference gdal-3.8.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-12-16 14:40:35.000000000 +0100 ++++ gdal-3.8.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-12-20 14:28:50.717321391 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 35b8a24..e3eb159 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.1-fedora.tar.xz) = 1e90628c4e5816031bbb92379c283567c6e863775e00e7128d7ceaa4725e9502b6d42e049414c1f4ed21aed7968925b02e9d2e688d48f71c2aa193adbda4282f -SHA512 (gdalautotest-3.8.1.tar.gz) = fea3a5ff76182427df0af8fb42b7098bd8461854d0ca403445a26e907966fb5c186681cf0b2b8a6486ecefb0a4619d9cf2b3603e7028cb3e3fa496830d94797c +SHA512 (gdal-3.8.2-fedora.tar.xz) = fbb01257db8a48f1c42d95c05d2a1312ef6a6b730c51fe87fa78b2ec4870e2ef59199d6334ce5034f92ee62de7906a631711151d86d5e370d180331662f4f289 +SHA512 (gdalautotest-3.8.2.tar.gz) = e1b6f3f4bda081e0fdefd8ae1f02c3c712d55a310c9e474b1e454332965db7ce239d85a40479cde335fba204aabf13aac8076aa10afe9aa3367a0a6b87f2a10e From 72e2f007d3f158b4e867ffc960dc7a622f4ddf01 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 21 Dec 2023 12:21:08 +0100 Subject: [PATCH 135/224] Rebuild (armadillo) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 1a30b89..3016697 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Dec 21 2023 Sandro Mani - 3.8.2-2 +- Rebuild (armadillo) + * Wed Dec 20 2023 Sandro Mani - 3.8.2-1 - Update to 3.8.2 From fdbad445a7bc16900a73fcf4aa75973ff3869474 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 8 Jan 2024 22:33:10 +0100 Subject: [PATCH 136/224] Update to 3.8.3 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index a6c3bb7..8e4977d 100644 --- a/.gitignore +++ b/.gitignore @@ -108,3 +108,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.1.tar.gz /gdal-3.8.2-fedora.tar.xz /gdalautotest-3.8.2.tar.gz +/gdal-3.8.3-fedora.tar.xz +/gdalautotest-3.8.3.tar.gz diff --git a/gdal.spec b/gdal.spec index 3016697..d0771e2 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.8.2 -Release: 2%{?dist} +Version: 3.8.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Jan 08 2024 Sandro Mani - 3.8.3-1 +- Update to 3.8.3 + * Thu Dec 21 2023 Sandro Mani - 3.8.2-2 - Rebuild (armadillo) diff --git a/gdal_utils.patch b/gdal_utils.patch index 3976b83..c776178 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.2-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.2-fedora/frmts/iso8211/CMakeLists.txt 2023-12-16 14:40:35.000000000 +0100 -+++ gdal-3.8.2-fedora-new/frmts/iso8211/CMakeLists.txt 2023-12-20 14:28:50.710321058 +0100 +diff -rupN --no-dereference gdal-3.8.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.3-fedora/frmts/iso8211/CMakeLists.txt 2024-01-04 19:08:59.000000000 +0100 ++++ gdal-3.8.3-fedora-new/frmts/iso8211/CMakeLists.txt 2024-01-08 22:30:01.000874184 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.8.2-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.8.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-12-16 14:40:35.000000000 +0100 -+++ gdal-3.8.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2023-12-20 14:28:50.717321391 +0100 +diff -rupN --no-dereference gdal-3.8.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-01-04 19:08:59.000000000 +0100 ++++ gdal-3.8.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-01-08 22:30:01.005874179 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index e3eb159..417256b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.2-fedora.tar.xz) = fbb01257db8a48f1c42d95c05d2a1312ef6a6b730c51fe87fa78b2ec4870e2ef59199d6334ce5034f92ee62de7906a631711151d86d5e370d180331662f4f289 -SHA512 (gdalautotest-3.8.2.tar.gz) = e1b6f3f4bda081e0fdefd8ae1f02c3c712d55a310c9e474b1e454332965db7ce239d85a40479cde335fba204aabf13aac8076aa10afe9aa3367a0a6b87f2a10e +SHA512 (gdal-3.8.3-fedora.tar.xz) = ccd8682a2ab837f23923281a4ff2c539b359dfcf91f3def1f08b2c4267545e3cb72bb1818f9bfc972e3ec2db3e0124a648a29f7317b1637129a27ce58b018d19 +SHA512 (gdalautotest-3.8.3.tar.gz) = 02f80acac170ab46878875dd5ee5d9956c940defcdad9fca14a38781ad7696d0117e63baefc36de370780999ae7ec3ff2ec4cb4a2c37c202365a852c7d01ebc3 From 04fad8ce0a852d9e447872d44d2a769d31672e2a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 20:23:03 +0000 Subject: [PATCH 137/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d0771e2..3260877 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 3.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 08 2024 Sandro Mani - 3.8.3-1 - Update to 3.8.3 From 203b15df029156c17efbd50432364c40971956d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 12:37:38 +0000 Subject: [PATCH 138/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 3260877..036654a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -572,6 +572,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 3.8.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 3.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From dbdf7b71dec4bb0283a26c332417ca5fef6303b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 27 Jan 2024 20:10:51 +0200 Subject: [PATCH 139/224] Enable arrow and libdeflate --- gdal.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdal.spec b/gdal.spec index 036654a..de960a3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -88,7 +88,9 @@ BuildRequires: gtest-devel BuildRequires: hdf-devel BuildRequires: hdf5-devel BuildRequires: json-c-devel +BuildRequires: libarrow-devel BuildRequires: libdap-devel +BuildRequires: libdeflate-devel BuildRequires: libgeotiff-devel BuildRequires: libgta-devel BuildRequires: libjpeg-devel From 9c83057c023979c83f4d6719f814c5812d10b7c3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 27 Jan 2024 19:42:31 +0100 Subject: [PATCH 140/224] Enable libarrow, libdeflate --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index de960a3..2b37727 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -574,6 +574,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Jan 27 2024 Sandro Mani - 3.8.3-4 +- Enable libarrow, libdeflate + * Wed Jan 24 2024 Fedora Release Engineering - 3.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 9ce19127666e9ad2ad1f3ddd1c0d66e8a7c6c2f8 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 27 Jan 2024 19:50:49 +0100 Subject: [PATCH 141/224] Restrict libarrow-devel BR to 64bit arches --- gdal.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdal.spec b/gdal.spec index 2b37727..18581b8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -88,7 +88,9 @@ BuildRequires: gtest-devel BuildRequires: hdf-devel BuildRequires: hdf5-devel BuildRequires: json-c-devel +%ifnarch %{ix86} %{arm} BuildRequires: libarrow-devel +%endif BuildRequires: libdap-devel BuildRequires: libdeflate-devel BuildRequires: libgeotiff-devel From eea08ba9a504aabc78fb45a282d79505e4db19b6 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 3 Feb 2024 00:45:12 +0100 Subject: [PATCH 142/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 18581b8..333750b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -576,6 +576,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Feb 02 2024 Sandro Mani - 3.8.3-5 +- Rebuild (poppler) + * Sat Jan 27 2024 Sandro Mani - 3.8.3-4 - Enable libarrow, libdeflate From 428abb70dffd20eb6e84c9ba6b66f93ec52e742d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Feb 2024 12:51:32 +0100 Subject: [PATCH 143/224] Add gdal_incompatible-pointer-types.patch --- gdal.spec | 2 ++ gdal_incompatible-pointer-types.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gdal_incompatible-pointer-types.patch diff --git a/gdal.spec b/gdal.spec index 333750b..39e6d47 100644 --- a/gdal.spec +++ b/gdal.spec @@ -71,6 +71,8 @@ Source5: %{name}-cleaner.sh # Add some utils to the default install target Patch0: gdal_utils.patch +# Fix passing incompatible pointer type +Patch1: gdal_incompatible-pointer-types.patch BuildRequires: cmake BuildRequires: gcc-c++ diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch new file mode 100644 index 0000000..419c90d --- /dev/null +++ b/gdal_incompatible-pointer-types.patch @@ -0,0 +1,12 @@ +diff -rupN gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp gdal-3.8.3-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp 2024-01-04 19:08:58.000000000 +0100 ++++ gdal-3.8.3-fedora-new/port/cpl_vsil_win32.cpp 2024-02-15 10:00:46.920595081 +0100 +@@ -812,7 +812,7 @@ int VSIWin32FilesystemHandler::Stat(cons + } + else + { +- nResult = _wstat64(pwszFilename, pStatBuf); ++ nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); + if (nResult < 0) + { + DWORD nLastError = GetLastError(); From eec2045095f7df18b12fcc8a4745549a4576f6c8 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 14 Nov 2023 21:12:30 +0200 Subject: [PATCH 144/224] Add riscv64 to gdal-config Signed-off-by: David Abdurachmanov --- gdal-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal-config b/gdal-config index 37a3f66..0a258a7 100755 --- a/gdal-config +++ b/gdal-config @@ -2,7 +2,7 @@ ARCH=$(uname -m) case $ARCH in -x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 ) +x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 | riscv64 ) gdal-config-64 ${*} ;; *) From d4112b5ee2e08856b0db563729ca261c33435ce0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 18 Feb 2024 23:42:06 +0100 Subject: [PATCH 145/224] Update to 3.8.4 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 6 +++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 8e4977d..a39939f 100644 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.2.tar.gz /gdal-3.8.3-fedora.tar.xz /gdalautotest-3.8.3.tar.gz +/gdal-3.8.4-fedora.tar.xz +/gdalautotest-3.8.4.tar.gz diff --git a/gdal.spec b/gdal.spec index 39e6d47..9f7430f 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.8.3 -Release: 5%{?dist} +Version: 3.8.4 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -578,6 +578,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sun Feb 18 2024 Sandro Mani - 3.8.4-1 +- Update to 3.8.4 + * Fri Feb 02 2024 Sandro Mani - 3.8.3-5 - Rebuild (poppler) diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 419c90d..cbdea00 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp gdal-3.8.3-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.8.3-fedora/port/cpl_vsil_win32.cpp 2024-01-04 19:08:58.000000000 +0100 -+++ gdal-3.8.3-fedora-new/port/cpl_vsil_win32.cpp 2024-02-15 10:00:46.920595081 +0100 +diff -rupN --no-dereference gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp 2024-02-08 20:16:25.000000000 +0100 ++++ gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp 2024-02-18 23:38:43.682963451 +0100 @@ -812,7 +812,7 @@ int VSIWin32FilesystemHandler::Stat(cons } else diff --git a/gdal_utils.patch b/gdal_utils.patch index c776178..ea41ef8 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.3-fedora/frmts/iso8211/CMakeLists.txt 2024-01-04 19:08:59.000000000 +0100 -+++ gdal-3.8.3-fedora-new/frmts/iso8211/CMakeLists.txt 2024-01-08 22:30:01.000874184 +0100 +diff -rupN --no-dereference gdal-3.8.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.4-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.4-fedora/frmts/iso8211/CMakeLists.txt 2024-02-08 20:16:25.000000000 +0100 ++++ gdal-3.8.4-fedora-new/frmts/iso8211/CMakeLists.txt 2024-02-18 23:38:43.387970571 +0100 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.8.3-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.8.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-01-04 19:08:59.000000000 +0100 -+++ gdal-3.8.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-01-08 22:30:01.005874179 +0100 +diff -rupN --no-dereference gdal-3.8.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-02-08 20:16:25.000000000 +0100 ++++ gdal-3.8.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-02-18 23:38:43.391970475 +0100 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 417256b..54c89be 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.3-fedora.tar.xz) = ccd8682a2ab837f23923281a4ff2c539b359dfcf91f3def1f08b2c4267545e3cb72bb1818f9bfc972e3ec2db3e0124a648a29f7317b1637129a27ce58b018d19 -SHA512 (gdalautotest-3.8.3.tar.gz) = 02f80acac170ab46878875dd5ee5d9956c940defcdad9fca14a38781ad7696d0117e63baefc36de370780999ae7ec3ff2ec4cb4a2c37c202365a852c7d01ebc3 +SHA512 (gdal-3.8.4-fedora.tar.xz) = 4acfe6f7bc980edf928b9244c103df1eb38858c052b90b4270b20362998bc4c597c24e2ec1df713f3f4890d82330667f43dc65a9c5f5779a3ee1a910c449bd26 +SHA512 (gdalautotest-3.8.4.tar.gz) = 582a67bfabfa98e552d8c6ad6a1666ab770534c74d982f44714223c7dc98fba2854b266fc84d58191db54e4cc859eaf91426c2b738bee228918f730057ded751 From e9a4e4940e92dfb6880a535fb46495134cf2df7f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 26 Feb 2024 10:08:47 +0100 Subject: [PATCH 146/224] BR: libarchive --- gdal.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 9f7430f..c46e7cc 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -90,6 +90,7 @@ BuildRequires: gtest-devel BuildRequires: hdf-devel BuildRequires: hdf5-devel BuildRequires: json-c-devel +BuildRequires: libarchive-devel %ifnarch %{ix86} %{arm} BuildRequires: libarrow-devel %endif @@ -139,6 +140,7 @@ BuildRequires: mingw32-expat BuildRequires: mingw32-freexl BuildRequires: mingw32-geos BuildRequires: mingw32-giflib +BuildRequires: mingw32-libarchive BuildRequires: mingw32-libgeotiff BuildRequires: mingw32-libgta BuildRequires: mingw32-libjpeg-turbo @@ -169,6 +171,7 @@ BuildRequires: mingw64-expat BuildRequires: mingw64-freexl BuildRequires: mingw64-geos BuildRequires: mingw64-giflib +BuildRequires: mingw64-libarchive BuildRequires: mingw64-libgeotiff BuildRequires: mingw64-libgta BuildRequires: mingw64-libjpeg-turbo @@ -578,6 +581,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Feb 26 2024 Sandro Mani - 3.8.4-2 +- BR: libarchive + * Sun Feb 18 2024 Sandro Mani - 3.8.4-1 - Update to 3.8.4 From eb4a188f4f5c400f7f0b2fba4cdf78597b968680 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 5 Mar 2024 15:54:37 +0100 Subject: [PATCH 147/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index c46e7cc..983f1a4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -581,6 +581,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Mar 05 2024 Sandro Mani - 3.8.4-3 +- Rebuild (proj) + * Mon Feb 26 2024 Sandro Mani - 3.8.4-2 - BR: libarchive From 3d314501ed10e53f4bdaf87791e2397ee4154a20 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 6 Mar 2024 10:47:08 +0100 Subject: [PATCH 148/224] Add gdal_java8.patch --- gdal.spec | 3 +++ gdal_java8.patch | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 gdal_java8.patch diff --git a/gdal.spec b/gdal.spec index 983f1a4..d54748b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -73,6 +73,9 @@ Source5: %{name}-cleaner.sh Patch0: gdal_utils.patch # Fix passing incompatible pointer type Patch1: gdal_incompatible-pointer-types.patch +# Increase javac source/target to 8 +# [javac] error: Source option 7 is no longer supported. Use 8 or later. +Patch2: gdal_java8.patch BuildRequires: cmake BuildRequires: gcc-c++ diff --git a/gdal_java8.patch b/gdal_java8.patch new file mode 100644 index 0000000..675ea4a --- /dev/null +++ b/gdal_java8.patch @@ -0,0 +1,21 @@ +diff -rupN gdal-3.8.4-fedora/swig/java/build.xml gdal-3.8.4-fedora-new/swig/java/build.xml +--- gdal-3.8.4-fedora/swig/java/build.xml 2024-02-08 20:16:25.000000000 +0100 ++++ gdal-3.8.4-fedora-new/swig/java/build.xml 2024-03-06 10:20:06.192646839 +0100 +@@ -21,7 +21,7 @@ + + + + + compilation complete +@@ -38,7 +38,7 @@ + + + + + compilation of tests complete From d6fb33fcd4f2e47cc4511d730a8ff586a2f403cb Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 19 Mar 2024 09:17:08 +0100 Subject: [PATCH 149/224] Rebuild (libarrow) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d54748b..920dd7a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -584,6 +584,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Mar 19 2024 Sandro Mani - 3.8.4-4 +- Rebuild (libarrow) + * Tue Mar 05 2024 Sandro Mani - 3.8.4-3 - Rebuild (proj) From b969229332859f41dd0b8cfcaa1ac95b1673f915 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 21 Mar 2024 14:43:14 +0100 Subject: [PATCH 150/224] Rebuild (libarrow) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 920dd7a..4dfb9c1 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -584,6 +584,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Mar 21 2024 Sandro Mani - 3.8.4-5 +- Rebuild (libarrow) + * Tue Mar 19 2024 Sandro Mani - 3.8.4-4 - Rebuild (libarrow) From 42bea944001edd3884640aae3d5afa1a17843e10 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 8 Apr 2024 09:44:43 +0200 Subject: [PATCH 151/224] Update to 3.8.5 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 6 +++--- gdal_java8.patch | 6 +++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 6 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index a39939f..d70080b 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.3.tar.gz /gdal-3.8.4-fedora.tar.xz /gdalautotest-3.8.4.tar.gz +/gdal-3.8.5-fedora.tar.xz +/gdalautotest-3.8.5.tar.gz diff --git a/gdal.spec b/gdal.spec index 4dfb9c1..7c8df9b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.8.4 -Release: 5%{?dist} +Version: 3.8.5 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -584,6 +584,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Apr 08 2024 Sandro Mani - 3.8.5-1 +- Update to 3.8.5 + * Thu Mar 21 2024 Sandro Mani - 3.8.4-5 - Rebuild (libarrow) diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index cbdea00..ab66a38 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp 2024-02-08 20:16:25.000000000 +0100 -+++ gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp 2024-02-18 23:38:43.682963451 +0100 +diff -rupN --no-dereference gdal-3.8.5-fedora/port/cpl_vsil_win32.cpp gdal-3.8.5-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.8.5-fedora/port/cpl_vsil_win32.cpp 2024-04-02 12:05:54.000000000 +0200 ++++ gdal-3.8.5-fedora-new/port/cpl_vsil_win32.cpp 2024-04-08 09:44:28.226414023 +0200 @@ -812,7 +812,7 @@ int VSIWin32FilesystemHandler::Stat(cons } else diff --git a/gdal_java8.patch b/gdal_java8.patch index 675ea4a..5a34e0f 100644 --- a/gdal_java8.patch +++ b/gdal_java8.patch @@ -1,6 +1,6 @@ -diff -rupN gdal-3.8.4-fedora/swig/java/build.xml gdal-3.8.4-fedora-new/swig/java/build.xml ---- gdal-3.8.4-fedora/swig/java/build.xml 2024-02-08 20:16:25.000000000 +0100 -+++ gdal-3.8.4-fedora-new/swig/java/build.xml 2024-03-06 10:20:06.192646839 +0100 +diff -rupN --no-dereference gdal-3.8.5-fedora/swig/java/build.xml gdal-3.8.5-fedora-new/swig/java/build.xml +--- gdal-3.8.5-fedora/swig/java/build.xml 2024-04-02 12:05:54.000000000 +0200 ++++ gdal-3.8.5-fedora-new/swig/java/build.xml 2024-04-08 09:44:28.451386861 +0200 @@ -21,7 +21,7 @@ diff --git a/gdal_utils.patch b/gdal_utils.patch index ea41ef8..56de356 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.8.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.4-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.4-fedora/frmts/iso8211/CMakeLists.txt 2024-02-08 20:16:25.000000000 +0100 -+++ gdal-3.8.4-fedora-new/frmts/iso8211/CMakeLists.txt 2024-02-18 23:38:43.387970571 +0100 +diff -rupN --no-dereference gdal-3.8.5-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.5-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.8.5-fedora/frmts/iso8211/CMakeLists.txt 2024-04-02 12:05:54.000000000 +0200 ++++ gdal-3.8.5-fedora-new/frmts/iso8211/CMakeLists.txt 2024-04-08 09:44:27.994442034 +0200 @@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library @@ -23,9 +23,9 @@ diff -rupN --no-dereference gdal-3.8.4-fedora/frmts/iso8211/CMakeLists.txt gdal- target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) + install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif () -diff -rupN --no-dereference gdal-3.8.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-02-08 20:16:25.000000000 +0100 -+++ gdal-3.8.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-02-18 23:38:43.391970475 +0100 +diff -rupN --no-dereference gdal-3.8.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.8.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-04-02 12:05:54.000000000 +0200 ++++ gdal-3.8.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-04-08 09:44:27.994442034 +0200 @@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA gdal_standard_includes(ogr_S57) diff --git a/sources b/sources index 54c89be..09c7c0f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.4-fedora.tar.xz) = 4acfe6f7bc980edf928b9244c103df1eb38858c052b90b4270b20362998bc4c597c24e2ec1df713f3f4890d82330667f43dc65a9c5f5779a3ee1a910c449bd26 -SHA512 (gdalautotest-3.8.4.tar.gz) = 582a67bfabfa98e552d8c6ad6a1666ab770534c74d982f44714223c7dc98fba2854b266fc84d58191db54e4cc859eaf91426c2b738bee228918f730057ded751 +SHA512 (gdal-3.8.5-fedora.tar.xz) = b7d85884a70ef063c955010b9d592174f887908da22d4512656155c37a284c02dad5835fcaef05b6b83c4dcf4b69a7dc7af430dce28828da9ef4b5880c660b04 +SHA512 (gdalautotest-3.8.5.tar.gz) = 18251e2fe5870bcbbde9c4278d7ce969feb6397a727679f56e6cf051cf5a3ded29217c034566cb9c5ebb02d51ad4d12933ab918eeadb0017c78859892bbf4f19 From dba74755eaf73bfb3c93f92098404f8376e7acfa Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 14 Apr 2024 16:22:34 +0200 Subject: [PATCH 152/224] BR: parquet-libs-devel --- gdal.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7c8df9b..94438ab 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -120,6 +120,9 @@ BuildRequires: netcdf-devel BuildRequires: ogdi-devel BuildRequires: openexr-devel BuildRequires: openjpeg2-devel +%ifnarch %{ix86} %{arm} +BuildRequires: parquet-libs-devel +%endif BuildRequires: pcre2-devel %if 0%{?with_poppler} BuildRequires: poppler-devel @@ -584,6 +587,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sun Apr 14 2024 Sandro Mani - 3.8.5-2 +- BR: parquet-libs-devel + * Mon Apr 08 2024 Sandro Mani - 3.8.5-1 - Update to 3.8.5 From 969ceac62c4eeccb12eb9b4f76413ab0ecca1aae Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 23 Apr 2024 13:22:22 +0200 Subject: [PATCH 153/224] Rebuild (libarrow) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 94438ab..c27a6cf 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -587,6 +587,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Apr 23 2024 Sandro Mani - 3.8.5-3 +- Rebuild (libarrow) + * Sun Apr 14 2024 Sandro Mani - 3.8.5-2 - BR: parquet-libs-devel From a3a71f65ed5f426c78a9c08a3be28bb548cc4ce2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 24 Apr 2024 08:15:35 -0400 Subject: [PATCH 154/224] Rebuilt for openexr 3.2.4 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index c27a6cf..2afdd89 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.8.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -587,6 +587,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Apr 24 2024 Benjamin A. Beasley - 3.8.5-4 +- Rebuilt for openexr 3.2.4 + * Tue Apr 23 2024 Sandro Mani - 3.8.5-3 - Rebuild (libarrow) From cbf2ff081e95664adb75ff23a750271da8534cf8 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 13 May 2024 14:41:55 +0200 Subject: [PATCH 155/224] Update to 3.9.0 --- .gitignore | 2 + gdal.spec | 84 ++++++++++++++++++++++----- gdal_incompatible-pointer-types.patch | 29 +++++---- gdal_java8.patch | 21 ------- gdal_utils.patch | 66 ++++++++++----------- sources | 4 +- 6 files changed, 124 insertions(+), 82 deletions(-) delete mode 100644 gdal_java8.patch diff --git a/.gitignore b/.gitignore index d70080b..0ca83cf 100644 --- a/.gitignore +++ b/.gitignore @@ -114,3 +114,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.4.tar.gz /gdal-3.8.5-fedora.tar.xz /gdalautotest-3.8.5.tar.gz +/gdal-3.9.0-fedora.tar.xz +/gdalautotest-3.9.0.tar.gz diff --git a/gdal.spec b/gdal.spec index 2afdd89..ba840e3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.8.5 -Release: 4%{?dist} +Version: 3.9.0 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -73,9 +73,6 @@ Source5: %{name}-cleaner.sh Patch0: gdal_utils.patch # Fix passing incompatible pointer type Patch1: gdal_incompatible-pointer-types.patch -# Increase javac source/target to 8 -# [javac] error: Source option 7 is no longer supported. Use 8 or later. -Patch2: gdal_java8.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -451,33 +448,51 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -f gdal_python_manpages_excludes.txt %{_bindir}/8211* +%{_bindir}/gdal2tiles +%{_bindir}/gdal2xyz +%{_bindir}/gdaladdo +%{_bindir}/gdalattachpct +%{_bindir}/gdalbuildvrt +%{_bindir}/gdal_calc +%{_bindir}/gdalcompare %{_bindir}/gdal_contour %{_bindir}/gdal_create -%{_bindir}/gdal_grid -%{_bindir}/gdal_rasterize -%{_bindir}/gdal_translate -%{_bindir}/gdal_viewshed -%{_bindir}/gdaladdo -%{_bindir}/gdalbuildvrt %{_bindir}/gdaldem +%{_bindir}/gdal_edit %{_bindir}/gdalenhance +%{_bindir}/gdal_fillnodata %{_bindir}/gdal_footprint +%{_bindir}/gdal_grid %{_bindir}/gdalinfo %{_bindir}/gdallocationinfo %{_bindir}/gdalmanage %{_bindir}/gdalmdiminfo %{_bindir}/gdalmdimtranslate +%{_bindir}/gdal_merge +%{_bindir}/gdalmove +%{_bindir}/gdal_pansharpen +%{_bindir}/gdal_polygonize +%{_bindir}/gdal_proximity +%{_bindir}/gdal_rasterize +%{_bindir}/gdal_retile +%{_bindir}/gdal_sieve %{_bindir}/gdalsrsinfo %{_bindir}/gdaltindex %{_bindir}/gdaltransform +%{_bindir}/gdal_translate +%{_bindir}/gdal_viewshed %{_bindir}/gdalwarp %{_bindir}/gnmanalyse %{_bindir}/gnmmanage %{_bindir}/nearblack %{_bindir}/ogr2ogr %{_bindir}/ogrinfo +%{_bindir}/ogr_layer_algebra %{_bindir}/ogrlineref +%{_bindir}/ogrmerge %{_bindir}/ogrtindex +%{_bindir}/pct2rgb +%{_bindir}/rgb2pct %{_bindir}/s57dump %{_bindir}/sozip %{_datadir}/bash-completion/completions/* @@ -489,8 +504,8 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.34 -%{_libdir}/libgdal.so.34.* +%{_libdir}/libgdal.so.35 +%{_libdir}/libgdal.so.35.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -506,7 +521,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-34.dll +%{mingw32_bindir}/libgdal-35.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -516,10 +531,28 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw32-%{name}-tools %{mingw32_bindir}/*.exe +%{mingw32_bindir}/gdal2tiles +%{mingw32_bindir}/gdal2xyz +%{mingw32_bindir}/gdal_calc +%{mingw32_bindir}/gdal_edit +%{mingw32_bindir}/gdal_fillnodata +%{mingw32_bindir}/gdal_merge +%{mingw32_bindir}/gdal_pansharpen +%{mingw32_bindir}/gdal_polygonize +%{mingw32_bindir}/gdal_proximity +%{mingw32_bindir}/gdal_retile +%{mingw32_bindir}/gdal_sieve +%{mingw32_bindir}/gdalattachpct +%{mingw32_bindir}/gdalcompare +%{mingw32_bindir}/gdalmove +%{mingw32_bindir}/ogr_layer_algebra +%{mingw32_bindir}/ogrmerge +%{mingw32_bindir}/pct2rgb +%{mingw32_bindir}/rgb2pct %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-34.dll +%{mingw64_bindir}/libgdal-35.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -529,6 +562,24 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name}-tools %{mingw64_bindir}/*.exe +%{mingw64_bindir}/gdal2tiles +%{mingw64_bindir}/gdal2xyz +%{mingw64_bindir}/gdal_calc +%{mingw64_bindir}/gdal_edit +%{mingw64_bindir}/gdal_fillnodata +%{mingw64_bindir}/gdal_merge +%{mingw64_bindir}/gdal_pansharpen +%{mingw64_bindir}/gdal_polygonize +%{mingw64_bindir}/gdal_proximity +%{mingw64_bindir}/gdal_retile +%{mingw64_bindir}/gdal_sieve +%{mingw64_bindir}/gdalattachpct +%{mingw64_bindir}/gdalcompare +%{mingw64_bindir}/gdalmove +%{mingw64_bindir}/ogr_layer_algebra +%{mingw64_bindir}/ogrmerge +%{mingw64_bindir}/pct2rgb +%{mingw64_bindir}/rgb2pct %endif %if %{with python3} @@ -587,6 +638,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat May 11 2024 Sandro Mani - 3.9.0-1 +- Update to 3.9.0 + * Wed Apr 24 2024 Benjamin A. Beasley - 3.8.5-4 - Rebuilt for openexr 3.2.4 diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index ab66a38..2470704 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,12 +1,21 @@ -diff -rupN --no-dereference gdal-3.8.5-fedora/port/cpl_vsil_win32.cpp gdal-3.8.5-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.8.5-fedora/port/cpl_vsil_win32.cpp 2024-04-02 12:05:54.000000000 +0200 -+++ gdal-3.8.5-fedora-new/port/cpl_vsil_win32.cpp 2024-04-08 09:44:28.226414023 +0200 -@@ -812,7 +812,7 @@ int VSIWin32FilesystemHandler::Stat(cons +diff -rupN --no-dereference gdal-3.9.0-fedora/port/cpl_vsil_win32.cpp gdal-3.9.0-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.9.0-fedora/port/cpl_vsil_win32.cpp 2024-05-07 14:53:29.000000000 +0200 ++++ gdal-3.9.0-fedora-new/port/cpl_vsil_win32.cpp 2024-05-11 23:30:58.675477427 +0200 +@@ -859,7 +859,7 @@ int VSIWin32FilesystemHandler::Stat(cons + return nResult; } - else - { -- nResult = _wstat64(pwszFilename, pStatBuf); -+ nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); - if (nResult < 0) + +- int nResult = _wstat64(pwszFilename, pStatBuf); ++ int nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); + + // If _wstat64() fails and the original name is not an extended one, + // then retry with an extended filename +@@ -870,7 +870,7 @@ int VSIWin32FilesystemHandler::Stat(cons + nLastError == ERROR_FILENAME_EXCED_RANGE) { - DWORD nLastError = GetLastError(); + VSIWin32TryLongFilename(pwszFilename); +- nResult = _wstat64(pwszFilename, pStatBuf); ++ nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); + } + } + diff --git a/gdal_java8.patch b/gdal_java8.patch deleted file mode 100644 index 5a34e0f..0000000 --- a/gdal_java8.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -rupN --no-dereference gdal-3.8.5-fedora/swig/java/build.xml gdal-3.8.5-fedora-new/swig/java/build.xml ---- gdal-3.8.5-fedora/swig/java/build.xml 2024-04-02 12:05:54.000000000 +0200 -+++ gdal-3.8.5-fedora-new/swig/java/build.xml 2024-04-08 09:44:28.451386861 +0200 -@@ -21,7 +21,7 @@ - - - - - compilation complete -@@ -38,7 +38,7 @@ - - - - - compilation of tests complete diff --git a/gdal_utils.patch b/gdal_utils.patch index 56de356..22531e4 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,39 +1,37 @@ -diff -rupN --no-dereference gdal-3.8.5-fedora/frmts/iso8211/CMakeLists.txt gdal-3.8.5-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.8.5-fedora/frmts/iso8211/CMakeLists.txt 2024-04-02 12:05:54.000000000 +0200 -+++ gdal-3.8.5-fedora-new/frmts/iso8211/CMakeLists.txt 2024-04-08 09:44:27.994442034 +0200 -@@ -15,15 +15,18 @@ gdal_standard_includes(gdal_iso8211) +diff -rupN --no-dereference gdal-3.9.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.9.0-fedora/frmts/iso8211/CMakeLists.txt 2024-05-07 14:53:28.000000000 +0200 ++++ gdal-3.9.0-fedora-new/frmts/iso8211/CMakeLists.txt 2024-05-11 23:30:58.442485524 +0200 +@@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P + gdal_standard_includes(gdal_iso8211) # Because linking an OBJECT library - if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) -- add_executable(8211dump EXCLUDE_FROM_ALL 8211dump.cpp) -+ add_executable(8211dump 8211dump.cpp) - target_include_directories(8211dump PRIVATE $) - target_link_libraries(8211dump PRIVATE $ gdal_iso8211) -+ install(TARGETS 8211dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +-add_executable(8211dump EXCLUDE_FROM_ALL 8211dump.cpp) ++add_executable(8211dump 8211dump.cpp) + target_include_directories(8211dump PRIVATE $) + target_link_libraries(8211dump PRIVATE $ gdal_iso8211) ++install(TARGETS 8211dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -- add_executable(8211view EXCLUDE_FROM_ALL 8211view.cpp) -+ add_executable(8211view 8211view.cpp) - target_include_directories(8211view PRIVATE $) - target_link_libraries(8211view PRIVATE $ gdal_iso8211) -+ install(TARGETS 8211view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +-add_executable(8211view EXCLUDE_FROM_ALL 8211view.cpp) ++add_executable(8211view 8211view.cpp) + target_include_directories(8211view PRIVATE $) + target_link_libraries(8211view PRIVATE $ gdal_iso8211) ++install(TARGETS 8211view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -- add_executable(8211createfromxml EXCLUDE_FROM_ALL 8211createfromxml.cpp) -+ add_executable(8211createfromxml 8211createfromxml.cpp) - target_include_directories(8211createfromxml PRIVATE $) - target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) -+ install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif () -diff -rupN --no-dereference gdal-3.8.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.8.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.8.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-04-02 12:05:54.000000000 +0200 -+++ gdal-3.8.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-04-08 09:44:27.994442034 +0200 -@@ -17,8 +17,9 @@ target_include_directories(ogr_S57 PRIVA - gdal_standard_includes(ogr_S57) +-add_executable(8211createfromxml EXCLUDE_FROM_ALL 8211createfromxml.cpp) ++add_executable(8211createfromxml 8211createfromxml.cpp) + target_include_directories(8211createfromxml PRIVATE $) + target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) ++install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +diff -rupN --no-dereference gdal-3.9.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.9.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-05-07 14:53:29.000000000 +0200 ++++ gdal-3.9.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-05-11 23:30:58.442485524 +0200 +@@ -27,7 +27,8 @@ set_property( + APPEND + PROPERTY RESOURCE "${GDAL_DATA_FILES}") - if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) -- add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp) -+ add_executable(s57dump s57dump.cpp) - gdal_standard_includes(s57dump) - target_include_directories(s57dump PRIVATE $) - target_link_libraries(s57dump PRIVATE $ ogr_S57 gdal_iso8211) -+ install(TARGETS s57dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif () +-add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp) ++add_executable(s57dump s57dump.cpp) + gdal_standard_includes(s57dump) + target_include_directories(s57dump PRIVATE $) + target_link_libraries(s57dump PRIVATE $ ogr_S57 gdal_iso8211) ++install(TARGETS s57dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/sources b/sources index 09c7c0f..f80fbd6 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.8.5-fedora.tar.xz) = b7d85884a70ef063c955010b9d592174f887908da22d4512656155c37a284c02dad5835fcaef05b6b83c4dcf4b69a7dc7af430dce28828da9ef4b5880c660b04 -SHA512 (gdalautotest-3.8.5.tar.gz) = 18251e2fe5870bcbbde9c4278d7ce969feb6397a727679f56e6cf051cf5a3ded29217c034566cb9c5ebb02d51ad4d12933ab918eeadb0017c78859892bbf4f19 +SHA512 (gdal-3.9.0-fedora.tar.xz) = b9a4b928b6cbc8252eafe084f87cb652df4936f583931148230974513bea0f2c6664d8cb050415bef8efdd3fbffa777553ee52abf756e33bafd0148ccdb4093f +SHA512 (gdalautotest-3.9.0.tar.gz) = 411037da7c8de6985dad7b5f3868527b8f59b280a2b7fd29addab81ae1ae58f8611843de355d9a39ea3fca09001b7931c669f379e88b407116784e597b2cda7f From 146fa349355837e5d4cf0e8ac841c53d3b2c3063 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 14 May 2024 08:23:06 +0200 Subject: [PATCH 156/224] BR: libarrow-dataset-devel --- gdal.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index ba840e3..66f9f27 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -93,6 +93,7 @@ BuildRequires: json-c-devel BuildRequires: libarchive-devel %ifnarch %{ix86} %{arm} BuildRequires: libarrow-devel +BuildRequires: libarrow-dataset-devel %endif BuildRequires: libdap-devel BuildRequires: libdeflate-devel @@ -638,6 +639,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue May 14 2024 Sandro Mani - 3.9.0-2 +- BR: libarrow-dataset-devel + * Sat May 11 2024 Sandro Mani - 3.9.0-1 - Update to 3.9.0 From cc57ed2f4c214be3eac39da0cc2d2f1245d61947 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 15 May 2024 09:27:54 +0200 Subject: [PATCH 157/224] Rebuild (libarrow) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 66f9f27..a1466e5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed May 15 2024 Sandro Mani - 3.9.0-3 +- Rebuild (libarrow) + * Tue May 14 2024 Sandro Mani - 3.9.0-2 - BR: libarrow-dataset-devel From 24441e8c2364704b20f0373503325a4b107c42bb Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sun, 9 Jun 2024 12:17:57 +0200 Subject: [PATCH 158/224] Rebuilt for Python 3.13 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index a1466e5..6ecaf57 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sun Jun 09 2024 Python Maint - 3.9.0-4 +- Rebuilt for Python 3.13 + * Wed May 15 2024 Sandro Mani - 3.9.0-3 - Rebuild (libarrow) From 6e6c24f59547ed74f3094330db56c4f0bac6ccf3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 26 Jun 2024 14:49:01 +0200 Subject: [PATCH 159/224] Update to 3.9.1 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 14 +++++++------- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 0ca83cf..79b6497 100644 --- a/.gitignore +++ b/.gitignore @@ -116,3 +116,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.8.5.tar.gz /gdal-3.9.0-fedora.tar.xz /gdalautotest-3.9.0.tar.gz +/gdal-3.9.1-fedora.tar.xz +/gdalautotest-3.9.1.tar.gz diff --git a/gdal.spec b/gdal.spec index 6ecaf57..090a222 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.9.0 -Release: 4%{?dist} +Version: 3.9.1 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Jun 26 2024 Sandro Mani - 3.9.1-1 +- Update to 3.9.1 + * Sun Jun 09 2024 Python Maint - 3.9.0-4 - Rebuilt for Python 3.13 diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 2470704..66158c1 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,16 +1,16 @@ -diff -rupN --no-dereference gdal-3.9.0-fedora/port/cpl_vsil_win32.cpp gdal-3.9.0-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.9.0-fedora/port/cpl_vsil_win32.cpp 2024-05-07 14:53:29.000000000 +0200 -+++ gdal-3.9.0-fedora-new/port/cpl_vsil_win32.cpp 2024-05-11 23:30:58.675477427 +0200 -@@ -859,7 +859,7 @@ int VSIWin32FilesystemHandler::Stat(cons - return nResult; - } +diff -rupN --no-dereference gdal-3.9.1-fedora/port/cpl_vsil_win32.cpp gdal-3.9.1-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.9.1-fedora/port/cpl_vsil_win32.cpp 2024-06-23 00:04:02.000000000 +0200 ++++ gdal-3.9.1-fedora-new/port/cpl_vsil_win32.cpp 2024-06-26 14:10:19.573087395 +0200 +@@ -868,7 +868,7 @@ int VSIWin32FilesystemHandler::Stat(cons + pwszFilename[nLen - 1] = 0; + #endif - int nResult = _wstat64(pwszFilename, pStatBuf); + int nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); // If _wstat64() fails and the original name is not an extended one, // then retry with an extended filename -@@ -870,7 +870,7 @@ int VSIWin32FilesystemHandler::Stat(cons +@@ -879,7 +879,7 @@ int VSIWin32FilesystemHandler::Stat(cons nLastError == ERROR_FILENAME_EXCED_RANGE) { VSIWin32TryLongFilename(pwszFilename); diff --git a/gdal_utils.patch b/gdal_utils.patch index 22531e4..28c97c9 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.9.0-fedora/frmts/iso8211/CMakeLists.txt 2024-05-07 14:53:28.000000000 +0200 -+++ gdal-3.9.0-fedora-new/frmts/iso8211/CMakeLists.txt 2024-05-11 23:30:58.442485524 +0200 +diff -rupN --no-dereference gdal-3.9.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.9.1-fedora/frmts/iso8211/CMakeLists.txt 2024-06-23 00:04:01.000000000 +0200 ++++ gdal-3.9.1-fedora-new/frmts/iso8211/CMakeLists.txt 2024-06-26 14:10:19.294087763 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.9.0-fedora/frmts/iso8211/CMakeLists.txt gdal- target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.9.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.9.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-05-07 14:53:29.000000000 +0200 -+++ gdal-3.9.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-05-11 23:30:58.442485524 +0200 +diff -rupN --no-dereference gdal-3.9.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.9.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-06-23 00:04:01.000000000 +0200 ++++ gdal-3.9.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-06-26 14:10:19.294087763 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index f80fbd6..96dd308 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.9.0-fedora.tar.xz) = b9a4b928b6cbc8252eafe084f87cb652df4936f583931148230974513bea0f2c6664d8cb050415bef8efdd3fbffa777553ee52abf756e33bafd0148ccdb4093f -SHA512 (gdalautotest-3.9.0.tar.gz) = 411037da7c8de6985dad7b5f3868527b8f59b280a2b7fd29addab81ae1ae58f8611843de355d9a39ea3fca09001b7931c669f379e88b407116784e597b2cda7f +SHA512 (gdal-3.9.1-fedora.tar.xz) = b672d91a1d4b04caa06e7abda9f3ab8688195991377a9254bd40524022a9737b7e29983a72de20ff71d00d635a510ab6cc1f580d7a805820bf90eea4eb699131 +SHA512 (gdalautotest-3.9.1.tar.gz) = e35c3dbd4239b1404b0fb774dae1d675bdfbc406d97ac909ec0e20b57d60fbc9236158871249fbdf9e3fb727b3d16a13a366803462afde9f2be4cb1efd91bf6e From 116814cf3e35b2346cc48b266f61686eb2edae2a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 00:17:11 +0000 Subject: [PATCH 160/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 090a222..2428c0a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -639,6 +639,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 3.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jun 26 2024 Sandro Mani - 3.9.1-1 - Update to 3.9.1 From f23205c745251a0718f7ef2c31131452b2d68116 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 22 Jul 2024 22:57:19 +0200 Subject: [PATCH 161/224] BR: openssl-engine-devel --- gdal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal.spec b/gdal.spec index 2428c0a..5c7f66a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -118,6 +118,7 @@ BuildRequires: netcdf-devel BuildRequires: ogdi-devel BuildRequires: openexr-devel BuildRequires: openjpeg2-devel +BuildRequires: openssl-engine-devel %ifnarch %{ix86} %{arm} BuildRequires: parquet-libs-devel %endif From 3019ac08e330ab52dc8f4f960254e476095556b7 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 22 Jul 2024 23:05:57 +0200 Subject: [PATCH 162/224] BR: openssl-devel-engine --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 5c7f66a..3060b82 100644 --- a/gdal.spec +++ b/gdal.spec @@ -118,7 +118,7 @@ BuildRequires: netcdf-devel BuildRequires: ogdi-devel BuildRequires: openexr-devel BuildRequires: openjpeg2-devel -BuildRequires: openssl-engine-devel +BuildRequires: openssl-devel-engine %ifnarch %{ix86} %{arm} BuildRequires: parquet-libs-devel %endif From bb308c73699cbc08912e404c54be301b46e73df2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 17 Aug 2024 21:04:23 +0200 Subject: [PATCH 163/224] Update to 3.9.2 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 6 +++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 79b6497..63045fa 100644 --- a/.gitignore +++ b/.gitignore @@ -118,3 +118,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.9.0.tar.gz /gdal-3.9.1-fedora.tar.xz /gdalautotest-3.9.1.tar.gz +/gdal-3.9.2-fedora.tar.xz +/gdalautotest-3.9.2.tar.gz diff --git a/gdal.spec b/gdal.spec index 3060b82..87b71f5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.9.1 -Release: 2%{?dist} +Version: 3.9.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -640,6 +640,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Aug 17 2024 Sandro Mani - 3.9.2-1 +- Update to 3.9.2 + * Thu Jul 18 2024 Fedora Release Engineering - 3.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 66158c1..8ccc113 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.1-fedora/port/cpl_vsil_win32.cpp gdal-3.9.1-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.9.1-fedora/port/cpl_vsil_win32.cpp 2024-06-23 00:04:02.000000000 +0200 -+++ gdal-3.9.1-fedora-new/port/cpl_vsil_win32.cpp 2024-06-26 14:10:19.573087395 +0200 +diff -rupN --no-dereference gdal-3.9.2-fedora/port/cpl_vsil_win32.cpp gdal-3.9.2-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.9.2-fedora/port/cpl_vsil_win32.cpp 2024-08-13 18:05:09.000000000 +0200 ++++ gdal-3.9.2-fedora-new/port/cpl_vsil_win32.cpp 2024-08-17 21:01:37.857799035 +0200 @@ -868,7 +868,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index 28c97c9..c741a31 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.9.1-fedora/frmts/iso8211/CMakeLists.txt 2024-06-23 00:04:01.000000000 +0200 -+++ gdal-3.9.1-fedora-new/frmts/iso8211/CMakeLists.txt 2024-06-26 14:10:19.294087763 +0200 +diff -rupN --no-dereference gdal-3.9.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.2-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.9.2-fedora/frmts/iso8211/CMakeLists.txt 2024-08-13 18:05:08.000000000 +0200 ++++ gdal-3.9.2-fedora-new/frmts/iso8211/CMakeLists.txt 2024-08-17 21:01:37.591798698 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.9.1-fedora/frmts/iso8211/CMakeLists.txt gdal- target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.9.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.9.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-06-23 00:04:01.000000000 +0200 -+++ gdal-3.9.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-06-26 14:10:19.294087763 +0200 +diff -rupN --no-dereference gdal-3.9.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.9.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-08-13 18:05:09.000000000 +0200 ++++ gdal-3.9.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-08-17 21:01:37.591798698 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index 96dd308..488c540 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.9.1-fedora.tar.xz) = b672d91a1d4b04caa06e7abda9f3ab8688195991377a9254bd40524022a9737b7e29983a72de20ff71d00d635a510ab6cc1f580d7a805820bf90eea4eb699131 -SHA512 (gdalautotest-3.9.1.tar.gz) = e35c3dbd4239b1404b0fb774dae1d675bdfbc406d97ac909ec0e20b57d60fbc9236158871249fbdf9e3fb727b3d16a13a366803462afde9f2be4cb1efd91bf6e +SHA512 (gdal-3.9.2-fedora.tar.xz) = 8c7c724eee441fd824269baa2e371f3ffcd290dac8a538c8c9f1291754b7951d546c0101634e837c822db210769b0f5d39b7fbfe52b1f4bd2dabf7e7c9022e7f +SHA512 (gdalautotest-3.9.2.tar.gz) = 0d6b8e3d5749dedf6011318ed287aa8c9483f42b4780966672250b93fbf703f44329cad2785de33d0c05b24095a0d2518cd7f69003425a254c8b06c54a6eb8c4 From ad17a9315afa89353ee026dc4e0c752a95ee70da Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 22 Aug 2024 14:31:15 +0200 Subject: [PATCH 164/224] Rebuild for poppler 24.08.0 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 87b71f5..c9f5b96 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -640,6 +640,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Aug 22 2024 Marek Kasik - 3.9.2-2 +- Rebuild for poppler 24.08.0 + * Sat Aug 17 2024 Sandro Mani - 3.9.2-1 - Update to 3.9.2 From 69b2dc04abeb637d650b06ade06c4e094138d9b0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 23 Aug 2024 14:43:36 +0200 Subject: [PATCH 165/224] Rebuild (mingw-poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index c9f5b96..30ba345 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -640,6 +640,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Aug 23 2024 Sandro Mani - 3.9.2-3 +- Rebuild (mingw-poppler) + * Thu Aug 22 2024 Marek Kasik - 3.9.2-2 - Rebuild for poppler 24.08.0 From 71ad4bc0e5831c7bcb0328097d4428bb47329efc Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 16 Sep 2024 20:12:17 +0200 Subject: [PATCH 166/224] Rebuild (proj) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 30ba345..3c28223 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -640,6 +640,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Sep 16 2024 Sandro Mani - 3.9.2-4 +- Rebuild (proj) + * Fri Aug 23 2024 Sandro Mani - 3.9.2-3 - Rebuild (mingw-poppler) From ed075d832d1dd095702201486e6eae7d9a4335e3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 15 Oct 2024 08:54:16 +0200 Subject: [PATCH 167/224] Update to 3.9.3 --- .gitignore | 2 ++ gdal.spec | 8 ++++++-- gdal_incompatible-pointer-types.patch | 6 +++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 63045fa..6857d67 100644 --- a/.gitignore +++ b/.gitignore @@ -120,3 +120,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.9.1.tar.gz /gdal-3.9.2-fedora.tar.xz /gdalautotest-3.9.2.tar.gz +/gdalautotest-3.9.3.tar.gz +/gdal-3.9.3-fedora.tar.xz diff --git a/gdal.spec b/gdal.spec index 3c28223..1d641da 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.9.2 -Release: 4%{?dist} +Version: 3.9.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -202,6 +202,7 @@ BuildRequires: mingw64-zstd # Python %if %{with python3} BuildRequires: python3-devel +BuildRequires: python3-filelock BuildRequires: python3-numpy BuildRequires: python3-setuptools BuildRequires: python3dist(pytest) >= 3.6 @@ -640,6 +641,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Oct 15 2024 Sandro Mani - 3.9.3-1 +- Update to 3.9.3 + * Mon Sep 16 2024 Sandro Mani - 3.9.2-4 - Rebuild (proj) diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 8ccc113..21678b8 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.2-fedora/port/cpl_vsil_win32.cpp gdal-3.9.2-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.9.2-fedora/port/cpl_vsil_win32.cpp 2024-08-13 18:05:09.000000000 +0200 -+++ gdal-3.9.2-fedora-new/port/cpl_vsil_win32.cpp 2024-08-17 21:01:37.857799035 +0200 +diff -rupN --no-dereference gdal-3.9.3-fedora/port/cpl_vsil_win32.cpp gdal-3.9.3-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.9.3-fedora/port/cpl_vsil_win32.cpp 2024-10-07 18:02:07.000000000 +0200 ++++ gdal-3.9.3-fedora-new/port/cpl_vsil_win32.cpp 2024-10-15 08:07:44.994694330 +0200 @@ -868,7 +868,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index c741a31..a3f3868 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.2-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.9.2-fedora/frmts/iso8211/CMakeLists.txt 2024-08-13 18:05:08.000000000 +0200 -+++ gdal-3.9.2-fedora-new/frmts/iso8211/CMakeLists.txt 2024-08-17 21:01:37.591798698 +0200 +diff -rupN --no-dereference gdal-3.9.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.9.3-fedora/frmts/iso8211/CMakeLists.txt 2024-10-07 18:02:06.000000000 +0200 ++++ gdal-3.9.3-fedora-new/frmts/iso8211/CMakeLists.txt 2024-10-15 08:07:44.760697595 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.9.2-fedora/frmts/iso8211/CMakeLists.txt gdal- target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.9.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.9.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-08-13 18:05:09.000000000 +0200 -+++ gdal-3.9.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-08-17 21:01:37.591798698 +0200 +diff -rupN --no-dereference gdal-3.9.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.9.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-10-07 18:02:06.000000000 +0200 ++++ gdal-3.9.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-10-15 08:07:44.760697595 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index 488c540..2db7a97 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.9.2-fedora.tar.xz) = 8c7c724eee441fd824269baa2e371f3ffcd290dac8a538c8c9f1291754b7951d546c0101634e837c822db210769b0f5d39b7fbfe52b1f4bd2dabf7e7c9022e7f -SHA512 (gdalautotest-3.9.2.tar.gz) = 0d6b8e3d5749dedf6011318ed287aa8c9483f42b4780966672250b93fbf703f44329cad2785de33d0c05b24095a0d2518cd7f69003425a254c8b06c54a6eb8c4 +SHA512 (gdalautotest-3.9.3.tar.gz) = a9f44065bb5817cdc32995cd57f65f8a588dfaea77d4a5bc2d9ea361ef1423843358d7e31be2e27505b6e991d07b18f0f5c3fd9526cf697c74bc88f558205d61 +SHA512 (gdal-3.9.3-fedora.tar.xz) = 7e5fd560d01cd513f690cce1e83264a97937e2da48f9ce1ad581f64b3a75a35e30c2db810a612e89edc77d7844a4391a9024d7827a867c8c337d2b20de2e92d7 From d0886d734b485ec9e1c8deb2df4989e7bfeaaa04 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Fri, 18 Oct 2024 13:05:49 +0100 Subject: [PATCH 168/224] Rebuild for xerces-c 3.3 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 1d641da..fe49efd 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Oct 18 2024 Pete Walter - 3.9.3-2 +- Rebuild for xerces-c 3.3 + * Tue Oct 15 2024 Sandro Mani - 3.9.3-1 - Update to 3.9.3 From 9db09212f6b03b8e409188b08f5c9e55f7f13ff2 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Mon, 21 Oct 2024 15:56:26 +0100 Subject: [PATCH 169/224] Rebuild for xerces-c 3.3 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index fe49efd..1c92158 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Oct 21 2024 Pete Walter - 3.9.3-3 +- Rebuild for xerces-c 3.3 + * Fri Oct 18 2024 Pete Walter - 3.9.3-2 - Rebuild for xerces-c 3.3 From 6bcb0f2a1630a712cc8c07729a3ae4afc10362e3 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 22 Oct 2024 23:05:27 +0200 Subject: [PATCH 170/224] Rebuild (mingw-xerces-c) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 1c92158..72980fc 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Oct 22 2024 Sandro Mani - 3.9.3-4 +- Rebuild (mingw-xerces-c) + * Mon Oct 21 2024 Pete Walter - 3.9.3-3 - Rebuild for xerces-c 3.3 From 136e7f4f642a5a143451402ceb214887631ce234 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 25 Oct 2024 17:24:07 -0600 Subject: [PATCH 171/224] Rebuild for hdf5 1.14.5 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 72980fc..dcb555b 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.9.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -641,6 +641,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Oct 25 2024 Orion Poplawski - 3.9.3-5 +- Rebuild for hdf5 1.14.5 + * Tue Oct 22 2024 Sandro Mani - 3.9.3-4 - Rebuild (mingw-xerces-c) From 25d1347aae1c8040df7f6537d757ff64bf142ea1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 7 Nov 2024 15:54:55 +0100 Subject: [PATCH 172/224] Update to 3.10.0 --- .gitignore | 2 ++ gdal.spec | 19 +++++++++++++------ gdal_incompatible-pointer-types.patch | 10 +++++----- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 5 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 6857d67..c9b7748 100644 --- a/.gitignore +++ b/.gitignore @@ -122,3 +122,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.9.2.tar.gz /gdalautotest-3.9.3.tar.gz /gdal-3.9.3-fedora.tar.xz +/gdal-3.10.0-fedora.tar.xz +/gdalautotest-3.10.0.tar.gz diff --git a/gdal.spec b/gdal.spec index dcb555b..e880573 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.9.3 -Release: 5%{?dist} +Version: 3.10.0 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -118,7 +118,11 @@ BuildRequires: netcdf-devel BuildRequires: ogdi-devel BuildRequires: openexr-devel BuildRequires: openjpeg2-devel +%if 0%{?fedora} BuildRequires: openssl-devel-engine +%else +BuildRequires: openssl-devel +%endif %ifnarch %{ix86} %{arm} BuildRequires: parquet-libs-devel %endif @@ -507,8 +511,8 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.35 -%{_libdir}/libgdal.so.35.* +%{_libdir}/libgdal.so.36 +%{_libdir}/libgdal.so.36.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -524,7 +528,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-35.dll +%{mingw32_bindir}/libgdal-36.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -555,7 +559,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-35.dll +%{mingw64_bindir}/libgdal-36.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -641,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Nov 06 2024 Sandro Mani - 3.10.0-1 +- Update to 3.10.0 + * Fri Oct 25 2024 Orion Poplawski - 3.9.3-5 - Rebuild for hdf5 1.14.5 diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 21678b8..d05e7f2 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.9.3-fedora/port/cpl_vsil_win32.cpp gdal-3.9.3-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.9.3-fedora/port/cpl_vsil_win32.cpp 2024-10-07 18:02:07.000000000 +0200 -+++ gdal-3.9.3-fedora-new/port/cpl_vsil_win32.cpp 2024-10-15 08:07:44.994694330 +0200 -@@ -868,7 +868,7 @@ int VSIWin32FilesystemHandler::Stat(cons +diff -rupN --no-dereference gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp 2024-11-01 16:47:25.000000000 +0100 ++++ gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp 2024-11-06 16:50:12.824350522 +0100 +@@ -897,7 +897,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif @@ -10,7 +10,7 @@ diff -rupN --no-dereference gdal-3.9.3-fedora/port/cpl_vsil_win32.cpp gdal-3.9.3 // If _wstat64() fails and the original name is not an extended one, // then retry with an extended filename -@@ -879,7 +879,7 @@ int VSIWin32FilesystemHandler::Stat(cons +@@ -908,7 +908,7 @@ int VSIWin32FilesystemHandler::Stat(cons nLastError == ERROR_FILENAME_EXCED_RANGE) { VSIWin32TryLongFilename(pwszFilename); diff --git a/gdal_utils.patch b/gdal_utils.patch index a3f3868..924f2df 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.9.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.9.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.9.3-fedora/frmts/iso8211/CMakeLists.txt 2024-10-07 18:02:06.000000000 +0200 -+++ gdal-3.9.3-fedora-new/frmts/iso8211/CMakeLists.txt 2024-10-15 08:07:44.760697595 +0200 +diff -rupN --no-dereference gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt 2024-11-01 16:47:25.000000000 +0100 ++++ gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt 2024-11-06 16:50:12.603332820 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.9.3-fedora/frmts/iso8211/CMakeLists.txt gdal- target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.9.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.9.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.9.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-10-07 18:02:06.000000000 +0200 -+++ gdal-3.9.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-10-15 08:07:44.760697595 +0200 +diff -rupN --no-dereference gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-01 16:47:26.000000000 +0100 ++++ gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-06 16:50:12.604332900 +0100 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index 2db7a97..91f3552 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdalautotest-3.9.3.tar.gz) = a9f44065bb5817cdc32995cd57f65f8a588dfaea77d4a5bc2d9ea361ef1423843358d7e31be2e27505b6e991d07b18f0f5c3fd9526cf697c74bc88f558205d61 -SHA512 (gdal-3.9.3-fedora.tar.xz) = 7e5fd560d01cd513f690cce1e83264a97937e2da48f9ce1ad581f64b3a75a35e30c2db810a612e89edc77d7844a4391a9024d7827a867c8c337d2b20de2e92d7 +SHA512 (gdal-3.10.0-fedora.tar.xz) = d17a6d5894847e03c3b8f5de55e87321d1fc848c8b822664b36b28abe1388fffd4288db5798a9261b46aa05d82903724a46af5752c9c7d7a42dfd063df2ee757 +SHA512 (gdalautotest-3.10.0.tar.gz) = 89ae4dfedb7f86405dc43c6ddeddbba569b050189fc85ae43521a1be4d71dd3fbc8e357b33753786d2ce921eaf9a1e9805d2a79a822885f462c526c4ba43ad00 From 394eed33aab4d0c224f6e3276b6dc3e759dddbd8 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 19 Nov 2024 23:59:55 +0100 Subject: [PATCH 173/224] Require gpsbabel only on Fedora --- gdal.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index e880573..60860a2 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -233,7 +233,10 @@ BuildRequires: jpackage-utils %endif # Run time dependency for gpsbabel driver +# FIXME: Not package for EPEL currently +%if %{?fedora} Requires: gpsbabel +%endif Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -645,6 +648,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Nov 19 2024 Sandro Mani - 3.10.0-2 +- Require gpsbabel only on Fedora + * Wed Nov 06 2024 Sandro Mani - 3.10.0-1 - Update to 3.10.0 From b8e3c555f63c9d1fcf6216c9438b46b784448d87 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 20 Nov 2024 00:01:30 +0100 Subject: [PATCH 174/224] Fix conditional --- gdal.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 60860a2..653037f 100644 --- a/gdal.spec +++ b/gdal.spec @@ -234,7 +234,7 @@ BuildRequires: jpackage-utils # Run time dependency for gpsbabel driver # FIXME: Not package for EPEL currently -%if %{?fedora} +%if 0%{?fedora} Requires: gpsbabel %endif Requires: %{name}-libs%{?_isa} = %{version}-%{release} From 098b14e2147a23b9060d91518bbf135dff0821ad Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 20 Nov 2024 09:23:03 +0100 Subject: [PATCH 175/224] Drop fedora conditional for gpsbabel requires --- gdal.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdal.spec b/gdal.spec index 653037f..6162239 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -233,10 +233,7 @@ BuildRequires: jpackage-utils %endif # Run time dependency for gpsbabel driver -# FIXME: Not package for EPEL currently -%if 0%{?fedora} Requires: gpsbabel -%endif Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -648,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Nov 20 2024 Sandro Mani - 3.10.0-3 +- Drop fedora conditional for gpsbabel requires + * Tue Nov 19 2024 Sandro Mani - 3.10.0-2 - Require gpsbabel only on Fedora From ad3453eb76271c13fdc2c682c038301dda51458f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 27 Nov 2024 14:30:32 +0000 Subject: [PATCH 176/224] Rebuild for libarrow 18 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 6162239..2f8353d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -645,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Nov 27 2024 Richard W.M. Jones - 3.10.0-4 +- Rebuild for libarrow 18 + * Wed Nov 20 2024 Sandro Mani - 3.10.0-3 - Drop fedora conditional for gpsbabel requires From 637386cf97c601bcae74ab7f819a757e3545ab7e Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 15 Jan 2025 08:55:47 +0100 Subject: [PATCH 177/224] Update to 3.10.1 --- .gitignore | 1 + gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 10 +++++----- gdal_utils.patch | 12 ++++++------ sources | 3 +-- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index c9b7748..cbfe67d 100644 --- a/.gitignore +++ b/.gitignore @@ -124,3 +124,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.9.3-fedora.tar.xz /gdal-3.10.0-fedora.tar.xz /gdalautotest-3.10.0.tar.gz +/gdal-3.10.1-fedora.tar.xz diff --git a/gdal.spec b/gdal.spec index 2f8353d..fe2be01 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.10.0 -Release: 4%{?dist} +Version: 3.10.1 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -645,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Jan 14 2025 Sandro Mani - 3.10.1-1 +- Update to 3.10.1 + * Wed Nov 27 2024 Richard W.M. Jones - 3.10.0-4 - Rebuild for libarrow 18 diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index d05e7f2..4cbb9f2 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp 2024-11-01 16:47:25.000000000 +0100 -+++ gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp 2024-11-06 16:50:12.824350522 +0100 -@@ -897,7 +897,7 @@ int VSIWin32FilesystemHandler::Stat(cons +diff -rupN --no-dereference gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp 2025-01-14 22:27:26.805886705 +0100 +@@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif @@ -10,7 +10,7 @@ diff -rupN --no-dereference gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp gdal-3.10 // If _wstat64() fails and the original name is not an extended one, // then retry with an extended filename -@@ -908,7 +908,7 @@ int VSIWin32FilesystemHandler::Stat(cons +@@ -907,7 +907,7 @@ int VSIWin32FilesystemHandler::Stat(cons nLastError == ERROR_FILENAME_EXCED_RANGE) { VSIWin32TryLongFilename(pwszFilename); diff --git a/gdal_utils.patch b/gdal_utils.patch index 924f2df..a6f07e7 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt 2024-11-01 16:47:25.000000000 +0100 -+++ gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt 2024-11-06 16:50:12.603332820 +0100 +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-01-14 22:27:26.561168120 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-01 16:47:26.000000000 +0100 -+++ gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-06 16:50:12.604332900 +0100 +diff -rupN --no-dereference gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-01-14 22:27:26.561517435 +0100 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index 91f3552..d34b03b 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gdal-3.10.0-fedora.tar.xz) = d17a6d5894847e03c3b8f5de55e87321d1fc848c8b822664b36b28abe1388fffd4288db5798a9261b46aa05d82903724a46af5752c9c7d7a42dfd063df2ee757 -SHA512 (gdalautotest-3.10.0.tar.gz) = 89ae4dfedb7f86405dc43c6ddeddbba569b050189fc85ae43521a1be4d71dd3fbc8e357b33753786d2ce921eaf9a1e9805d2a79a822885f462c526c4ba43ad00 +SHA512 (gdal-3.10.1-fedora.tar.xz) = 4296a467a8754ac684b731760dcc81825f8b1faf55cf98aedbc1cd5923153672cf56af0e88fab258b969a3600f0300ab6b89994a84be31fd04f6336b2d098901 From 2bc527eb6a783d18bf428ff2c6a72a7434487941 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 15 Jan 2025 10:24:22 +0100 Subject: [PATCH 178/224] Fix sources --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index cbfe67d..71d3c8b 100644 --- a/.gitignore +++ b/.gitignore @@ -125,3 +125,4 @@ gdalautotest-1.7.0.tar.gz /gdal-3.10.0-fedora.tar.xz /gdalautotest-3.10.0.tar.gz /gdal-3.10.1-fedora.tar.xz +/gdalautotest-3.10.1.tar.gz diff --git a/sources b/sources index d34b03b..309e687 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (gdal-3.10.1-fedora.tar.xz) = 4296a467a8754ac684b731760dcc81825f8b1faf55cf98aedbc1cd5923153672cf56af0e88fab258b969a3600f0300ab6b89994a84be31fd04f6336b2d098901 +SHA512 (gdalautotest-3.10.1.tar.gz) = 1e7120ef24fece22e05c61f35d05fe5c18dac4c011e85537940457358ed62d53e3b391cb611c396448b6f4dafca15d78716cef2275d9557ab5a679d9240a260a From 565ce6e0534ca5c091b833fb7ae0a2900114bdfa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 19:35:45 +0000 Subject: [PATCH 179/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index fe2be01..89f8a39 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -645,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 3.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Jan 14 2025 Sandro Mani - 3.10.1-1 - Update to 3.10.1 From 93adb52b9f29f80718dcc53fbb810ae73ce2e7fb Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 11 Feb 2025 11:48:58 +0100 Subject: [PATCH 180/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 89f8a39..29c099a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -645,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Tue Feb 11 2025 Sandro Mani - 3.10.1-3 +- Rebuild (poppler) + * Thu Jan 16 2025 Fedora Release Engineering - 3.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From b75d0ec0d46debccb4f7cf0be4a42d8a08aa7e5a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 11 Feb 2025 12:06:03 +0100 Subject: [PATCH 181/224] Backport patch to fix build against poppler 25.02.00 --- ...975d327d67394b6be03b22bd40c7e83db0cb.patch | 227 ++++++++++++++++++ gdal.spec | 2 + gdal_incompatible-pointer-types.patch | 2 +- gdal_utils.patch | 4 +- 4 files changed, 232 insertions(+), 3 deletions(-) create mode 100644 9b99975d327d67394b6be03b22bd40c7e83db0cb.patch diff --git a/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch b/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch new file mode 100644 index 0000000..4841c73 --- /dev/null +++ b/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch @@ -0,0 +1,227 @@ +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfdataset.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfdataset.cpp +--- gdal-3.10.1-fedora/frmts/pdf/pdfdataset.cpp 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfdataset.cpp 2025-02-11 12:05:42.107459437 +0100 +@@ -1964,6 +1964,14 @@ CPLErr PDFDataset::ReadPixels(int nReqXO + PDFDoc *poDoc = m_poDocPoppler; + poSplashOut->startDoc(poDoc); + ++ // Note: Poppler 25.2 is certainly not the lowest version where we can ++ // avoid the hack. ++#if !(POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2)) ++#define USE_OPTCONTENT_HACK ++#endif ++ ++#ifdef USE_OPTCONTENT_HACK + /* EVIL: we modify a private member... */ + /* poppler (at least 0.12 and 0.14 versions) don't render correctly */ + /* some PDFs and display an error message 'Could not find a OCG with +@@ -1978,6 +1986,7 @@ CPLErr PDFDataset::ReadPixels(int nReqXO + OCGs *poOldOCGs = poCatalog->optContent; + if (!m_bUseOCG) + poCatalog->optContent = nullptr; ++#endif + try + { + poDoc->displayPageSlice(poSplashOut, m_iPage, m_dfDPI, m_dfDPI, 0, +@@ -1988,14 +1997,19 @@ CPLErr PDFDataset::ReadPixels(int nReqXO + { + CPLError(CE_Failure, CPLE_AppDefined, + "PDFDoc::displayPageSlice() failed with %s", e.what()); ++ ++#ifdef USE_OPTCONTENT_HACK + /* Restore back */ + poCatalog->optContent = poOldOCGs; ++#endif + delete poSplashOut; + return CE_Failure; + } + ++#ifdef USE_OPTCONTENT_HACK + /* Restore back */ + poCatalog->optContent = poOldOCGs; ++#endif + + SplashBitmap *poBitmap = poSplashOut->getBitmap(); + if (poBitmap->getWidth() != nReqXSize || +@@ -3734,9 +3748,14 @@ void PDFDataset::ExploreLayersPoppler(GD + } + else + osCurLayer = std::move(osName); +- // CPLDebug("PDF", "Layer %s", osCurLayer.c_str()); ++ // CPLDebug("PDF", "Layer %s", osCurLayer.c_str()); + +- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ const ++#endif ++ OCGs *optContentConfig = ++ m_poDocPoppler->getOptContentConfig(); + struct Ref r; + r.num = poObj->GetRefNum().toInt(); + r.gen = poObj->GetRefGen(); +@@ -3772,11 +3791,19 @@ void PDFDataset::FindLayersPoppler(int i + if (poPages) + nPageCount = poPages->GetLength(); + +- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ const ++#endif ++ OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); + if (optContentConfig == nullptr || !optContentConfig->isOk()) + return; + +- Array *array = optContentConfig->getOrderArray(); ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ const ++#endif ++ Array *array = optContentConfig->getOrderArray(); + if (array) + { + GDALPDFArray *poArray = GDALPDFCreateArray(array); +@@ -3812,7 +3839,11 @@ void PDFDataset::FindLayersPoppler(int i + + void PDFDataset::TurnLayersOnOffPoppler() + { +- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ const ++#endif ++ OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); + if (optContentConfig == nullptr || !optContentConfig->isOk()) + return; + +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfio.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfio.cpp +--- gdal-3.10.1-fedora/frmts/pdf/pdfio.cpp 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfio.cpp 2025-02-11 12:05:42.108975633 +0100 +@@ -237,23 +237,40 @@ int VSIPDFFileStream::lookChar() + /* reset() */ + /************************************************************************/ + ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++bool VSIPDFFileStream::reset() ++#else + void VSIPDFFileStream::reset() ++#endif + { + nSavedPos = VSIFTellL(f); + bHasSavedPos = TRUE; + VSIFSeekL(f, nCurrentPos = nStart, SEEK_SET); + nPosInBuffer = -1; + nBufferLength = -1; ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ return true; ++#endif + } + + /************************************************************************/ + /* unfilteredReset() */ + /************************************************************************/ + ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION > 2) ++bool VSIPDFFileStream::unfilteredReset() ++{ ++ return reset(); ++} ++#else + void VSIPDFFileStream::unfilteredReset() + { + reset(); + } ++#endif + + /************************************************************************/ + /* close() */ +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfio.h gdal-3.10.1-fedora-new/frmts/pdf/pdfio.h +--- gdal-3.10.1-fedora/frmts/pdf/pdfio.h 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfio.h 2025-02-11 12:05:42.109184996 +0100 +@@ -48,8 +48,20 @@ class VSIPDFFileStream final : public Ba + virtual int getUnfilteredChar() override; + virtual int lookChar() override; + ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++ virtual bool reset() override; ++#else + virtual void reset() override; ++#endif ++ ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION > 2) ++ virtual bool unfilteredReset() override; ++#else + virtual void unfilteredReset() override; ++#endif ++ + virtual void close() override; + + bool FoundLinearizedHint() const +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfobject.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.cpp +--- gdal-3.10.1-fedora/frmts/pdf/pdfobject.cpp 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.cpp 2025-02-11 12:05:42.109467442 +0100 +@@ -979,13 +979,13 @@ class GDALPDFDictionaryPoppler : public + class GDALPDFArrayPoppler : public GDALPDFArray + { + private: +- Array *m_poArray; ++ const Array *m_poArray; + std::vector> m_v{}; + + CPL_DISALLOW_COPY_ASSIGN(GDALPDFArrayPoppler) + + public: +- GDALPDFArrayPoppler(Array *poArray) : m_poArray(poArray) ++ GDALPDFArrayPoppler(const Array *poArray) : m_poArray(poArray) + { + } + +@@ -1334,7 +1334,7 @@ std::map &GD + /* GDALPDFCreateArray() */ + /************************************************************************/ + +-GDALPDFArray *GDALPDFCreateArray(Array *array) ++GDALPDFArray *GDALPDFCreateArray(const Array *array) + { + return new GDALPDFArrayPoppler(array); + } +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfobject.h gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.h +--- gdal-3.10.1-fedora/frmts/pdf/pdfobject.h 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.h 2025-02-11 12:05:42.109835676 +0100 +@@ -405,7 +405,7 @@ class GDALPDFObjectPoppler : public GDAL + virtual int GetRefGen() override; + }; + +-GDALPDFArray *GDALPDFCreateArray(Array *array); ++GDALPDFArray *GDALPDFCreateArray(const Array *array); + + #endif // HAVE_POPPLER + +diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfsdk_headers_poppler.h gdal-3.10.1-fedora-new/frmts/pdf/pdfsdk_headers_poppler.h +--- gdal-3.10.1-fedora/frmts/pdf/pdfsdk_headers_poppler.h 2025-01-08 15:54:06.000000000 +0100 ++++ gdal-3.10.1-fedora-new/frmts/pdf/pdfsdk_headers_poppler.h 2025-02-11 12:05:42.110031975 +0100 +@@ -51,10 +51,15 @@ + + #include + +-#define private \ +- public /* Ugly! Catalog::optContent is private but we need it... */ ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) ++#include ++#else ++/* Ugly! Catalog::optContent is private but we need it for ancient Poppler versions. */ ++#define private public + #include + #undef private ++#endif + + #define private public /* Ugly! PDFDoc::str is private but we need it... */ + #include diff --git a/gdal.spec b/gdal.spec index 29c099a..626b36f 100644 --- a/gdal.spec +++ b/gdal.spec @@ -73,6 +73,8 @@ Source5: %{name}-cleaner.sh Patch0: gdal_utils.patch # Fix passing incompatible pointer type Patch1: gdal_incompatible-pointer-types.patch +# Fix build against Poppler 25.02.00 +Patch2: https://github.com/OSGeo/gdal/commit/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch BuildRequires: cmake BuildRequires: gcc-c++ diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index 4cbb9f2..bdc49ad 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp --- gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp 2025-01-14 22:27:26.805886705 +0100 ++++ gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp 2025-02-11 12:05:41.864960068 +0100 @@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index a6f07e7..8acc136 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt --- gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-01-14 22:27:26.561168120 +0100 ++++ gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-02-11 12:05:41.611360679 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -24,7 +24,7 @@ diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt gdal +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) diff -rupN --no-dereference gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt --- gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-01-14 22:27:26.561517435 +0100 ++++ gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-11 12:05:41.611651522 +0100 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") From bf35e9cb08b528c5c64a12dcb500a0839dca838e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 13 Feb 2025 21:35:45 -0500 Subject: [PATCH 182/224] Rebuilt for libarrow 19 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 626b36f..4695fc3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -647,6 +647,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri Feb 14 2025 Benjamin A. Beasley - 3.10.1-4 +- Rebuilt for libarrow 19 + * Tue Feb 11 2025 Sandro Mani - 3.10.1-3 - Rebuild (poppler) From c666a6931175bcb59854777d5888b37af0fee792 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 15 Feb 2025 07:18:26 +0100 Subject: [PATCH 183/224] Update to 3.10.2 --- .gitignore | 2 + ...975d327d67394b6be03b22bd40c7e83db0cb.patch | 227 ------------------ gdal.spec | 9 +- gdal_incompatible-pointer-types.patch | 6 +- gdal_utils.patch | 12 +- sources | 4 +- 6 files changed, 18 insertions(+), 242 deletions(-) delete mode 100644 9b99975d327d67394b6be03b22bd40c7e83db0cb.patch diff --git a/.gitignore b/.gitignore index 71d3c8b..3448ee1 100644 --- a/.gitignore +++ b/.gitignore @@ -126,3 +126,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.10.0.tar.gz /gdal-3.10.1-fedora.tar.xz /gdalautotest-3.10.1.tar.gz +/gdal-3.10.2-fedora.tar.xz +/gdalautotest-3.10.2.tar.gz diff --git a/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch b/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch deleted file mode 100644 index 4841c73..0000000 --- a/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch +++ /dev/null @@ -1,227 +0,0 @@ -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfdataset.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfdataset.cpp ---- gdal-3.10.1-fedora/frmts/pdf/pdfdataset.cpp 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfdataset.cpp 2025-02-11 12:05:42.107459437 +0100 -@@ -1964,6 +1964,14 @@ CPLErr PDFDataset::ReadPixels(int nReqXO - PDFDoc *poDoc = m_poDocPoppler; - poSplashOut->startDoc(poDoc); - -+ // Note: Poppler 25.2 is certainly not the lowest version where we can -+ // avoid the hack. -+#if !(POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2)) -+#define USE_OPTCONTENT_HACK -+#endif -+ -+#ifdef USE_OPTCONTENT_HACK - /* EVIL: we modify a private member... */ - /* poppler (at least 0.12 and 0.14 versions) don't render correctly */ - /* some PDFs and display an error message 'Could not find a OCG with -@@ -1978,6 +1986,7 @@ CPLErr PDFDataset::ReadPixels(int nReqXO - OCGs *poOldOCGs = poCatalog->optContent; - if (!m_bUseOCG) - poCatalog->optContent = nullptr; -+#endif - try - { - poDoc->displayPageSlice(poSplashOut, m_iPage, m_dfDPI, m_dfDPI, 0, -@@ -1988,14 +1997,19 @@ CPLErr PDFDataset::ReadPixels(int nReqXO - { - CPLError(CE_Failure, CPLE_AppDefined, - "PDFDoc::displayPageSlice() failed with %s", e.what()); -+ -+#ifdef USE_OPTCONTENT_HACK - /* Restore back */ - poCatalog->optContent = poOldOCGs; -+#endif - delete poSplashOut; - return CE_Failure; - } - -+#ifdef USE_OPTCONTENT_HACK - /* Restore back */ - poCatalog->optContent = poOldOCGs; -+#endif - - SplashBitmap *poBitmap = poSplashOut->getBitmap(); - if (poBitmap->getWidth() != nReqXSize || -@@ -3734,9 +3748,14 @@ void PDFDataset::ExploreLayersPoppler(GD - } - else - osCurLayer = std::move(osName); -- // CPLDebug("PDF", "Layer %s", osCurLayer.c_str()); -+ // CPLDebug("PDF", "Layer %s", osCurLayer.c_str()); - -- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ const -+#endif -+ OCGs *optContentConfig = -+ m_poDocPoppler->getOptContentConfig(); - struct Ref r; - r.num = poObj->GetRefNum().toInt(); - r.gen = poObj->GetRefGen(); -@@ -3772,11 +3791,19 @@ void PDFDataset::FindLayersPoppler(int i - if (poPages) - nPageCount = poPages->GetLength(); - -- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ const -+#endif -+ OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); - if (optContentConfig == nullptr || !optContentConfig->isOk()) - return; - -- Array *array = optContentConfig->getOrderArray(); -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ const -+#endif -+ Array *array = optContentConfig->getOrderArray(); - if (array) - { - GDALPDFArray *poArray = GDALPDFCreateArray(array); -@@ -3812,7 +3839,11 @@ void PDFDataset::FindLayersPoppler(int i - - void PDFDataset::TurnLayersOnOffPoppler() - { -- OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ const -+#endif -+ OCGs *optContentConfig = m_poDocPoppler->getOptContentConfig(); - if (optContentConfig == nullptr || !optContentConfig->isOk()) - return; - -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfio.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfio.cpp ---- gdal-3.10.1-fedora/frmts/pdf/pdfio.cpp 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfio.cpp 2025-02-11 12:05:42.108975633 +0100 -@@ -237,23 +237,40 @@ int VSIPDFFileStream::lookChar() - /* reset() */ - /************************************************************************/ - -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+bool VSIPDFFileStream::reset() -+#else - void VSIPDFFileStream::reset() -+#endif - { - nSavedPos = VSIFTellL(f); - bHasSavedPos = TRUE; - VSIFSeekL(f, nCurrentPos = nStart, SEEK_SET); - nPosInBuffer = -1; - nBufferLength = -1; -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ return true; -+#endif - } - - /************************************************************************/ - /* unfilteredReset() */ - /************************************************************************/ - -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION > 2) -+bool VSIPDFFileStream::unfilteredReset() -+{ -+ return reset(); -+} -+#else - void VSIPDFFileStream::unfilteredReset() - { - reset(); - } -+#endif - - /************************************************************************/ - /* close() */ -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfio.h gdal-3.10.1-fedora-new/frmts/pdf/pdfio.h ---- gdal-3.10.1-fedora/frmts/pdf/pdfio.h 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfio.h 2025-02-11 12:05:42.109184996 +0100 -@@ -48,8 +48,20 @@ class VSIPDFFileStream final : public Ba - virtual int getUnfilteredChar() override; - virtual int lookChar() override; - -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+ virtual bool reset() override; -+#else - virtual void reset() override; -+#endif -+ -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION > 2) -+ virtual bool unfilteredReset() override; -+#else - virtual void unfilteredReset() override; -+#endif -+ - virtual void close() override; - - bool FoundLinearizedHint() const -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfobject.cpp gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.cpp ---- gdal-3.10.1-fedora/frmts/pdf/pdfobject.cpp 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.cpp 2025-02-11 12:05:42.109467442 +0100 -@@ -979,13 +979,13 @@ class GDALPDFDictionaryPoppler : public - class GDALPDFArrayPoppler : public GDALPDFArray - { - private: -- Array *m_poArray; -+ const Array *m_poArray; - std::vector> m_v{}; - - CPL_DISALLOW_COPY_ASSIGN(GDALPDFArrayPoppler) - - public: -- GDALPDFArrayPoppler(Array *poArray) : m_poArray(poArray) -+ GDALPDFArrayPoppler(const Array *poArray) : m_poArray(poArray) - { - } - -@@ -1334,7 +1334,7 @@ std::map &GD - /* GDALPDFCreateArray() */ - /************************************************************************/ - --GDALPDFArray *GDALPDFCreateArray(Array *array) -+GDALPDFArray *GDALPDFCreateArray(const Array *array) - { - return new GDALPDFArrayPoppler(array); - } -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfobject.h gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.h ---- gdal-3.10.1-fedora/frmts/pdf/pdfobject.h 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfobject.h 2025-02-11 12:05:42.109835676 +0100 -@@ -405,7 +405,7 @@ class GDALPDFObjectPoppler : public GDAL - virtual int GetRefGen() override; - }; - --GDALPDFArray *GDALPDFCreateArray(Array *array); -+GDALPDFArray *GDALPDFCreateArray(const Array *array); - - #endif // HAVE_POPPLER - -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/pdf/pdfsdk_headers_poppler.h gdal-3.10.1-fedora-new/frmts/pdf/pdfsdk_headers_poppler.h ---- gdal-3.10.1-fedora/frmts/pdf/pdfsdk_headers_poppler.h 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/pdf/pdfsdk_headers_poppler.h 2025-02-11 12:05:42.110031975 +0100 -@@ -51,10 +51,15 @@ - - #include - --#define private \ -- public /* Ugly! Catalog::optContent is private but we need it... */ -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 2) -+#include -+#else -+/* Ugly! Catalog::optContent is private but we need it for ancient Poppler versions. */ -+#define private public - #include - #undef private -+#endif - - #define private public /* Ugly! PDFDoc::str is private but we need it... */ - #include diff --git a/gdal.spec b/gdal.spec index 4695fc3..91371b5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.10.1 -Release: 4%{?dist} +Version: 3.10.2 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -73,8 +73,6 @@ Source5: %{name}-cleaner.sh Patch0: gdal_utils.patch # Fix passing incompatible pointer type Patch1: gdal_incompatible-pointer-types.patch -# Fix build against Poppler 25.02.00 -Patch2: https://github.com/OSGeo/gdal/commit/9b99975d327d67394b6be03b22bd40c7e83db0cb.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -647,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Sat Feb 15 2025 Sandro Mani - 3.10.2-1 +- Update to 3.10.2 + * Fri Feb 14 2025 Benjamin A. Beasley - 3.10.1-4 - Rebuilt for libarrow 19 diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index bdc49ad..b497a63 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.10.1-fedora/port/cpl_vsil_win32.cpp 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/port/cpl_vsil_win32.cpp 2025-02-11 12:05:41.864960068 +0100 +diff -rupN --no-dereference gdal-3.10.2-fedora/port/cpl_vsil_win32.cpp gdal-3.10.2-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.10.2-fedora/port/cpl_vsil_win32.cpp 2025-02-11 12:10:04.000000000 +0100 ++++ gdal-3.10.2-fedora-new/port/cpl_vsil_win32.cpp 2025-02-15 07:17:31.885707137 +0100 @@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index 8acc136..bd45d88 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-02-11 12:05:41.611360679 +0100 +diff -rupN --no-dereference gdal-3.10.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.2-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.10.2-fedora/frmts/iso8211/CMakeLists.txt 2025-02-11 12:10:04.000000000 +0100 ++++ gdal-3.10.2-fedora-new/frmts/iso8211/CMakeLists.txt 2025-02-15 07:17:31.661793475 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.10.1-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.10.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-01-08 15:54:06.000000000 +0100 -+++ gdal-3.10.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-11 12:05:41.611651522 +0100 +diff -rupN --no-dereference gdal-3.10.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.10.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-11 12:10:04.000000000 +0100 ++++ gdal-3.10.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-15 07:17:31.662050788 +0100 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index 309e687..d0abeeb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.10.1-fedora.tar.xz) = 4296a467a8754ac684b731760dcc81825f8b1faf55cf98aedbc1cd5923153672cf56af0e88fab258b969a3600f0300ab6b89994a84be31fd04f6336b2d098901 -SHA512 (gdalautotest-3.10.1.tar.gz) = 1e7120ef24fece22e05c61f35d05fe5c18dac4c011e85537940457358ed62d53e3b391cb611c396448b6f4dafca15d78716cef2275d9557ab5a679d9240a260a +SHA512 (gdal-3.10.2-fedora.tar.xz) = 87cdd7f8a33d9387eb4b38bab374bcfa6c728174e71e32bfc991b1680af38c3e9b4c07cbad83093c8902e314ee2b9cd565efb51d54f017d48cf8c0fe7dfc918b +SHA512 (gdalautotest-3.10.2.tar.gz) = 260965abc9c5b46b2365e436167699f10d8e5e8d937bc6ee28b9295c558c064ce63851f7594ac9a29edbfae7615cb642ba7a8a53db84b074c49a589835394c40 From 8c749deb757af737931f029b843d523a3311b341 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 20 Feb 2025 11:17:48 +0100 Subject: [PATCH 184/224] Rebuild for libarrow 19 in poppler's sidetag --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 91371b5..391c483 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -645,6 +645,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Feb 20 2025 Marek Kasik - 3.10.2-2 +- Rebuild for libarrow 19 in poppler's sidetag + * Sat Feb 15 2025 Sandro Mani - 3.10.2-1 - Update to 3.10.2 From 2f7e4bef1f0126a5f71786d819927b2020f90df6 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 20 Feb 2025 15:09:21 +0100 Subject: [PATCH 185/224] Add definitions of missing int16_t and int32_t --- gdal-3.10.2-integer-types.patch | 10 ++++++++++ gdal.spec | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gdal-3.10.2-integer-types.patch diff --git a/gdal-3.10.2-integer-types.patch b/gdal-3.10.2-integer-types.patch new file mode 100644 index 0000000..bbcd633 --- /dev/null +++ b/gdal-3.10.2-integer-types.patch @@ -0,0 +1,10 @@ +--- gdal-3.10.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ++++ gdal-3.10.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) + // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string diff --git a/gdal.spec b/gdal.spec index 391c483..f027c26 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -73,6 +73,8 @@ Source5: %{name}-cleaner.sh Patch0: gdal_utils.patch # Fix passing incompatible pointer type Patch1: gdal_incompatible-pointer-types.patch +# Add definitions of missing int16_t and int32_t +Patch2: gdal-3.10.2-integer-types.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -645,6 +647,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Feb 20 2025 Marek Kasik - 3.10.2-3 +- Add definitions of missing int16_t and int32_t + * Thu Feb 20 2025 Marek Kasik - 3.10.2-2 - Rebuild for libarrow 19 in poppler's sidetag From 00acea5160e54d231bd8a6603be669e666fffbda Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 26 Feb 2025 12:52:39 +0100 Subject: [PATCH 186/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f027c26..361c18a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -647,6 +647,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Wed Feb 26 2025 Sandro Mani - 3.10.2-4 +- Rebuild (poppler) + * Thu Feb 20 2025 Marek Kasik - 3.10.2-3 - Add definitions of missing int16_t and int32_t From db98046d348c0582c0a58c2fe8a95016643e7da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 27 Feb 2025 16:35:50 +0200 Subject: [PATCH 187/224] Enable blosc --- gdal.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 361c18a..ea9f217 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal Version: 3.10.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -81,6 +81,7 @@ BuildRequires: gcc-c++ BuildRequires: armadillo-devel BuildRequires: bison +BuildRequires: blosc-devel BuildRequires: cfitsio-devel BuildRequires: CharLS-devel BuildRequires: curl-devel @@ -647,6 +648,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Thu Feb 27 2025 Laurențiu Nicola - 3.10.2-5 +- Enable blosc + * Wed Feb 26 2025 Sandro Mani - 3.10.2-4 - Rebuild (poppler) From 899461ad981ec571209e0bed1b3353667c5a34e9 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 7 Apr 2025 13:47:17 +0200 Subject: [PATCH 188/224] Update to 3.10.3 --- .gitignore | 2 ++ gdal-3.10.2-integer-types.patch | 5 +++-- gdal.spec | 7 +++++-- gdal_incompatible-pointer-types.patch | 6 +++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 6 files changed, 21 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 3448ee1..31914c4 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.10.1.tar.gz /gdal-3.10.2-fedora.tar.xz /gdalautotest-3.10.2.tar.gz +/gdal-3.10.3-fedora.tar.xz +/gdalautotest-3.10.3.tar.gz diff --git a/gdal-3.10.2-integer-types.patch b/gdal-3.10.2-integer-types.patch index bbcd633..dfad44c 100644 --- a/gdal-3.10.2-integer-types.patch +++ b/gdal-3.10.2-integer-types.patch @@ -1,5 +1,6 @@ ---- gdal-3.10.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp -+++ gdal-3.10.2-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-04-01 13:03:21.000000000 +0200 ++++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-04-07 13:39:47.674069257 +0200 @@ -23,6 +23,7 @@ #include #include diff --git a/gdal.spec b/gdal.spec index ea9f217..74866e5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -50,8 +50,8 @@ Name: gdal -Version: 3.10.2 -Release: 5%{?dist} +Version: 3.10.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -648,6 +648,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Mon Apr 07 2025 Sandro Mani - 3.10.3-1 +- Update to 3.10.3 + * Thu Feb 27 2025 Laurențiu Nicola - 3.10.2-5 - Enable blosc diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index b497a63..f70e12e 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.10.2-fedora/port/cpl_vsil_win32.cpp gdal-3.10.2-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.10.2-fedora/port/cpl_vsil_win32.cpp 2025-02-11 12:10:04.000000000 +0100 -+++ gdal-3.10.2-fedora-new/port/cpl_vsil_win32.cpp 2025-02-15 07:17:31.885707137 +0100 +diff -rupN --no-dereference gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp +--- gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp 2025-04-01 13:03:22.000000000 +0200 ++++ gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp 2025-04-07 13:39:47.318116680 +0200 @@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index bd45d88..3128eba 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.10.2-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.2-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.10.2-fedora/frmts/iso8211/CMakeLists.txt 2025-02-11 12:10:04.000000000 +0100 -+++ gdal-3.10.2-fedora-new/frmts/iso8211/CMakeLists.txt 2025-02-15 07:17:31.661793475 +0100 +diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt 2025-04-01 13:03:21.000000000 +0200 ++++ gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-04-07 13:39:46.951980413 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.10.2-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.10.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.10.2-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-11 12:10:04.000000000 +0100 -+++ gdal-3.10.2-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-02-15 07:17:31.662050788 +0100 +diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-01 13:03:22.000000000 +0200 ++++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-07 13:39:46.952461833 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") diff --git a/sources b/sources index d0abeeb..0ddc2fd 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.10.2-fedora.tar.xz) = 87cdd7f8a33d9387eb4b38bab374bcfa6c728174e71e32bfc991b1680af38c3e9b4c07cbad83093c8902e314ee2b9cd565efb51d54f017d48cf8c0fe7dfc918b -SHA512 (gdalautotest-3.10.2.tar.gz) = 260965abc9c5b46b2365e436167699f10d8e5e8d937bc6ee28b9295c558c064ce63851f7594ac9a29edbfae7615cb642ba7a8a53db84b074c49a589835394c40 +SHA512 (gdal-3.10.3-fedora.tar.xz) = 1dced4c7a62ce74323e26d859b4fe82b67f660ab65c2a44f8de35771b7d9dca73b2d1d8c0497588b686bd3b5ea05045caa9558e19618e4c2b2bea3bf03781483 +SHA512 (gdalautotest-3.10.3.tar.gz) = af8637944498adfbc33b26f747bab0ad6b46216c58a994248ad8e252c90c6050709bef1b0c15986edfb6a87ee7d09bac8fd837266b5deb8980409bb018037c60 From 770433fc76596b9a4a42510a3142582720ff7869 Mon Sep 17 00:00:00 2001 From: Ales Nezbeda Date: Thu, 6 Mar 2025 14:49:46 +0100 Subject: [PATCH 189/224] Prepare spec file to be compatible with RHEL Changes applicable to non-fedora distros: Remove as much dependencies as possible. None of the dependencies removed are present in RHEL currently, so they have to go. Basically we are creating minimal build which would be compatible with RHEL without new dependencies that would need adding to RHEL repos. --- gdal.spec | 255 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 141 insertions(+), 114 deletions(-) diff --git a/gdal.spec b/gdal.spec index 74866e5..9b8673e 100644 --- a/gdal.spec +++ b/gdal.spec @@ -79,21 +79,36 @@ Patch2: gdal-3.10.2-integer-types.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: armadillo-devel BuildRequires: bison +BuildRequires: curl-devel +BuildRequires: expat-devel +BuildRequires: geos-devel +BuildRequires: json-c-devel +BuildRequires: libarchive-devel +BuildRequires: libpng-devel +BuildRequires: libpq-devel +BuildRequires: libtiff-devel +BuildRequires: libtirpc-devel +BuildRequires: mariadb-connector-c-devel +BuildRequires: openjpeg2-devel +BuildRequires: pcre2-devel +BuildRequires: proj-devel >= 5.2.0 +BuildRequires: sqlite-devel +BuildRequires: swig +BuildRequires: unixODBC-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel + +%if 0%{?fedora} +BuildRequires: armadillo-devel BuildRequires: blosc-devel BuildRequires: cfitsio-devel BuildRequires: CharLS-devel -BuildRequires: curl-devel -BuildRequires: expat-devel BuildRequires: freexl-devel -BuildRequires: geos-devel BuildRequires: giflib-devel BuildRequires: gtest-devel BuildRequires: hdf-devel BuildRequires: hdf5-devel -BuildRequires: json-c-devel -BuildRequires: libarchive-devel %ifnarch %{ix86} %{arm} BuildRequires: libarrow-devel BuildRequires: libarrow-dataset-devel @@ -105,13 +120,9 @@ BuildRequires: libgta-devel BuildRequires: libjpeg-devel BuildRequires: libkml-devel BuildRequires: liblerc-devel -BuildRequires: libpng-devel -BuildRequires: libpq-devel %if %{with_spatialite} BuildRequires: libspatialite-devel %endif -BuildRequires: libtiff-devel -BuildRequires: libtirpc-devel BuildRequires: libwebp-devel BuildRequires: libzstd-devel %if 0%{?with_mysql} @@ -120,27 +131,50 @@ BuildRequires: mariadb-connector-c-devel BuildRequires: netcdf-devel BuildRequires: ogdi-devel BuildRequires: openexr-devel -BuildRequires: openjpeg2-devel -%if 0%{?fedora} BuildRequires: openssl-devel-engine -%else -BuildRequires: openssl-devel -%endif %ifnarch %{ix86} %{arm} BuildRequires: parquet-libs-devel %endif -BuildRequires: pcre2-devel %if 0%{?with_poppler} BuildRequires: poppler-devel %endif -BuildRequires: proj-devel >= 5.2.0 BuildRequires: qhull-devel -BuildRequires: sqlite-devel -BuildRequires: swig -BuildRequires: unixODBC-devel BuildRequires: xerces-c-devel -BuildRequires: xz-devel -BuildRequires: zlib-devel + +# Python +%if %{with python3} +BuildRequires: python3-devel +BuildRequires: python3-filelock +BuildRequires: python3-numpy +BuildRequires: python3-setuptools +BuildRequires: python3dist(pytest) >= 3.6 +BuildRequires: python3dist(lxml) >= 4.5.1 + +%if %{with mingw} +BuildRequires: mingw32-python3 +BuildRequires: mingw32-python3-numpy +BuildRequires: mingw32-python3-setuptools + +BuildRequires: mingw64-python3 +BuildRequires: mingw64-python3-numpy +BuildRequires: mingw64-python3-setuptools +%endif +%endif + +# Java +%if %{with java} +# For 'mvn_artifact' and 'mvn_install' +BuildRequires: ant +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: javapackages-local +BuildRequires: jpackage-utils +%endif +Requires: gpsbabel +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +%else +BuildRequires: libjpeg-turbo-devel +BuildRequires: openssl-devel +%endif %if %{with mingw} BuildRequires: mingw32-filesystem >= 102 @@ -206,39 +240,6 @@ BuildRequires: mingw64-zlib BuildRequires: mingw64-zstd %endif -# Python -%if %{with python3} -BuildRequires: python3-devel -BuildRequires: python3-filelock -BuildRequires: python3-numpy -BuildRequires: python3-setuptools -BuildRequires: python3dist(pytest) >= 3.6 -BuildRequires: python3dist(lxml) >= 4.5.1 - -%if %{with mingw} -BuildRequires: mingw32-python3 -BuildRequires: mingw32-python3-numpy -BuildRequires: mingw32-python3-setuptools - -BuildRequires: mingw64-python3 -BuildRequires: mingw64-python3-numpy -BuildRequires: mingw64-python3-setuptools -%endif -%endif - -# Java -%if %{with java} -# For 'mvn_artifact' and 'mvn_install' -BuildRequires: ant -BuildRequires: java-devel >= 1:1.6.0 -BuildRequires: javapackages-local -BuildRequires: jpackage-utils -%endif - -# Run time dependency for gpsbabel driver -Requires: gpsbabel -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - %description Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform @@ -268,6 +269,49 @@ Provides: bundled(degrib) = 2.14 %description libs This package contains the GDAL file format library. +%if 0%{?fedora} +# No complete java yet in EL8 +%if %{with java} +%package java +Summary: Java modules for the GDAL file format library +Requires: jpackage-utils +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description java +The GDAL Java modules provide support to handle multiple GIS file formats. + + +%package javadoc +Summary: Javadocs for %{name} +Requires: jpackage-utils +BuildArch: noarch + +%description javadoc +This package contains the API documentation for %{name}. +%endif + + +%if %{with python3} +%package -n python3-gdal +%{?python_provide:%python_provide python3-gdal} +Summary: Python modules for the GDAL file format library +Requires: python3-numpy +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description -n python3-gdal +The GDAL Python 3 modules provide support to handle multiple GIS file formats. + + +%package python-tools +Summary: Python tools for the GDAL file format library +Requires: python3-gdal + +%description python-tools +The GDAL Python package provides number of tools for programming and +manipulating GDAL file format library + +%endif + %if %{with mingw} %package -n mingw32-%{name} Summary: MinGW Windows GDAL library @@ -309,47 +353,6 @@ BuildArch: noarch MinGW Windows GDAL library tools. %endif -# No complete java yet in EL8 -%if %{with java} -%package java -Summary: Java modules for the GDAL file format library -Requires: jpackage-utils -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description java -The GDAL Java modules provide support to handle multiple GIS file formats. - - -%package javadoc -Summary: Javadocs for %{name} -Requires: jpackage-utils -BuildArch: noarch - -%description javadoc -This package contains the API documentation for %{name}. -%endif - - -%if %{with python3} -%package -n python3-gdal -%{?python_provide:%python_provide python3-gdal} -Summary: Python modules for the GDAL file format library -Requires: python3-numpy -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description -n python3-gdal -The GDAL Python 3 modules provide support to handle multiple GIS file formats. - - -%package python-tools -Summary: Python tools for the GDAL file format library -Requires: python3-gdal - -%description python-tools -The GDAL Python package provides number of tools for programming and -manipulating GDAL file format library - - %if %{with mingw} %package -n mingw32-python3-%{name} Summary: MinGW Windows Python3 GDAL bindings @@ -402,8 +405,23 @@ cp -a %{SOURCE4} . %build %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ +%if 0%{?fedora} -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ -DGDAL_JAVA_JNI_INSTALL_DIR=%{_jnidir}/%{name} \ +%endif +%if ! 0%{?fedora} + -DGDAL_BUILD_OPTIONAL_DRIVERS=OFF \ + -DOGR_BUILD_OPTIONAL_DRIVERS=OFF \ + -DGDAL_USE_JPEG=ON \ + -DGDAL_USE_JPEG_INTERNAL=OFF \ + -DGDAL_USE_GOOGLETEST=OFF \ + -DGDAL_USE_LERC=OFF \ + -DGDAL_USE_LERC_INTERNAL=OFF \ + -DGDAL_USE_GEOTIFF=OFF \ + -DGDAL_USE_GEOTIFF_INTERNAL=OFF \ + -DBUILD_PYTHON_BINDINGS=OFF \ + -DBUILD_TESTING=OFF \ +%endif -DGDAL_USE_JPEG12_INTERNAL=OFF \ -DENABLE_DEFLATE64=OFF %cmake_build @@ -456,21 +474,18 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %endif +%if 0%{?fedora} %files -f gdal_python_manpages_excludes.txt -%{_bindir}/8211* -%{_bindir}/gdal2tiles -%{_bindir}/gdal2xyz +%else +%files +%endif + %{_bindir}/gdaladdo -%{_bindir}/gdalattachpct %{_bindir}/gdalbuildvrt -%{_bindir}/gdal_calc -%{_bindir}/gdalcompare %{_bindir}/gdal_contour %{_bindir}/gdal_create %{_bindir}/gdaldem -%{_bindir}/gdal_edit %{_bindir}/gdalenhance -%{_bindir}/gdal_fillnodata %{_bindir}/gdal_footprint %{_bindir}/gdal_grid %{_bindir}/gdalinfo @@ -478,14 +493,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/gdalmanage %{_bindir}/gdalmdiminfo %{_bindir}/gdalmdimtranslate -%{_bindir}/gdal_merge -%{_bindir}/gdalmove -%{_bindir}/gdal_pansharpen -%{_bindir}/gdal_polygonize -%{_bindir}/gdal_proximity %{_bindir}/gdal_rasterize -%{_bindir}/gdal_retile -%{_bindir}/gdal_sieve %{_bindir}/gdalsrsinfo %{_bindir}/gdaltindex %{_bindir}/gdaltransform @@ -497,14 +505,31 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/nearblack %{_bindir}/ogr2ogr %{_bindir}/ogrinfo -%{_bindir}/ogr_layer_algebra %{_bindir}/ogrlineref -%{_bindir}/ogrmerge %{_bindir}/ogrtindex +%{_bindir}/sozip +%if 0%{?fedora} +%{_bindir}/8211* +%{_bindir}/gdal2tiles +%{_bindir}/gdal2xyz +%{_bindir}/gdalattachpct +%{_bindir}/gdal_calc +%{_bindir}/gdalcompare +%{_bindir}/gdal_edit +%{_bindir}/gdal_fillnodata +%{_bindir}/gdal_merge +%{_bindir}/gdalmove +%{_bindir}/gdal_pansharpen +%{_bindir}/gdal_polygonize +%{_bindir}/gdal_proximity +%{_bindir}/gdal_retile +%{_bindir}/gdal_sieve +%{_bindir}/ogr_layer_algebra +%{_bindir}/ogrmerge %{_bindir}/pct2rgb %{_bindir}/rgb2pct %{_bindir}/s57dump -%{_bindir}/sozip +%endif %{_datadir}/bash-completion/completions/* %exclude %{_datadir}/bash-completion/completions/*.py %{_mandir}/man1/* @@ -592,6 +617,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{mingw64_bindir}/rgb2pct %endif +%if 0%{?fedora} %if %{with python3} %files -n python3-gdal %doc swig/python/README.rst @@ -645,6 +671,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files javadoc %{_jnidir}/%{name}/gdal-%{version}-javadoc.jar %endif +%endif %changelog From 529be833d45b806c3bb9c381b09e94f16c5c7cd5 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 18 Apr 2025 00:30:12 +0200 Subject: [PATCH 190/224] Cleanup conditionals and fix %%files --- gdal.spec | 315 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 184 insertions(+), 131 deletions(-) diff --git a/gdal.spec b/gdal.spec index 9b8673e..b653876 100644 --- a/gdal.spec +++ b/gdal.spec @@ -28,22 +28,18 @@ %global spatialite "--with-spatialite" %endif +%if 0%{?fedora} +%bcond_without mingw %bcond_without python3 -# No complete java yet in EL8 -%if 0%{?rhel} == 8 -%bcond_with java -%else %ifarch %{java_arches} %bcond_without java %else %bcond_with java %endif -%endif - -%if 0%{?fedora} -%bcond_without mingw %else %bcond_with mingw +%bcond_with python3 +%bcond_with java %endif #global pre rc1 @@ -100,6 +96,7 @@ BuildRequires: xz-devel BuildRequires: zlib-devel %if 0%{?fedora} +# Fedora dependencies BuildRequires: armadillo-devel BuildRequires: blosc-devel BuildRequires: cfitsio-devel @@ -140,6 +137,11 @@ BuildRequires: poppler-devel %endif BuildRequires: qhull-devel BuildRequires: xerces-c-devel +%else +# RHEL dependencies +BuildRequires: libjpeg-turbo-devel +BuildRequires: openssl-devel +%endif # Python %if %{with python3} @@ -149,16 +151,6 @@ BuildRequires: python3-numpy BuildRequires: python3-setuptools BuildRequires: python3dist(pytest) >= 3.6 BuildRequires: python3dist(lxml) >= 4.5.1 - -%if %{with mingw} -BuildRequires: mingw32-python3 -BuildRequires: mingw32-python3-numpy -BuildRequires: mingw32-python3-setuptools - -BuildRequires: mingw64-python3 -BuildRequires: mingw64-python3-numpy -BuildRequires: mingw64-python3-setuptools -%endif %endif # Java @@ -169,15 +161,10 @@ BuildRequires: java-devel >= 1:1.6.0 BuildRequires: javapackages-local BuildRequires: jpackage-utils %endif -Requires: gpsbabel -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -%else -BuildRequires: libjpeg-turbo-devel -BuildRequires: openssl-devel -%endif +# MinGW %if %{with mingw} -BuildRequires: mingw32-filesystem >= 102 +BuildRequires: mingw32-filesystem BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-cfitsio BuildRequires: mingw32-curl @@ -207,8 +194,13 @@ BuildRequires: mingw32-xerces-c BuildRequires: mingw32-xz-libs BuildRequires: mingw32-zlib BuildRequires: mingw32-zstd +%if %{with python3} +BuildRequires: mingw32-python3 +BuildRequires: mingw32-python3-numpy +BuildRequires: mingw32-python3-setuptools +%endif -BuildRequires: mingw64-filesystem >= 102 +BuildRequires: mingw64-filesystem BuildRequires: mingw64-gcc-c++ BuildRequires: mingw64-cfitsio BuildRequires: mingw64-curl @@ -238,7 +230,17 @@ BuildRequires: mingw64-xerces-c BuildRequires: mingw64-xz-libs BuildRequires: mingw64-zlib BuildRequires: mingw64-zstd +%if %{with python3} +BuildRequires: mingw64-python3 +BuildRequires: mingw64-python3-numpy +BuildRequires: mingw64-python3-setuptools %endif +%endif + +%if 0%{?fedora} +Requires: gpsbabel +%endif +Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description @@ -269,8 +271,7 @@ Provides: bundled(degrib) = 2.14 %description libs This package contains the GDAL file format library. -%if 0%{?fedora} -# No complete java yet in EL8 + %if %{with java} %package java Summary: Java modules for the GDAL file format library @@ -310,8 +311,11 @@ Requires: python3-gdal The GDAL Python package provides number of tools for programming and manipulating GDAL file format library +# We don't want to provide private Python extension libs +%global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ %endif + %if %{with mingw} %package -n mingw32-%{name} Summary: MinGW Windows GDAL library @@ -333,6 +337,15 @@ BuildArch: noarch MinGW Windows GDAL library tools. +%if %{with python3} +%package -n mingw32-python3-%{name} +Summary: MinGW Windows Python3 GDAL bindings + +%description -n mingw32-python3-%{name} +MinGW Windows Python3 GDAL bindings. +%endif + + %package -n mingw64-%{name} Summary: MinGW Windows GDAL library # GDAL bundles a modified copy of g2clib and degrib @@ -351,16 +364,9 @@ BuildArch: noarch %description -n mingw64-%{name}-tools MinGW Windows GDAL library tools. -%endif - -%if %{with mingw} -%package -n mingw32-python3-%{name} -Summary: MinGW Windows Python3 GDAL bindings - -%description -n mingw32-python3-%{name} -MinGW Windows Python3 GDAL bindings. +%if %{with python3} %package -n mingw64-python3-%{name} Summary: MinGW Windows Python3 GDAL bindings @@ -368,12 +374,6 @@ Summary: MinGW Windows Python3 GDAL bindings MinGW Windows Python3 GDAL bindings. %endif -# We don't want to provide private Python extension libs -%global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ -%endif - - -%if %{with mingw} %{?mingw_debug_package} %endif @@ -405,7 +405,7 @@ cp -a %{SOURCE4} . %build %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ -%if 0%{?fedora} +%if %{with java} -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ -DGDAL_JAVA_JNI_INSTALL_DIR=%{_jnidir}/%{name} \ %endif @@ -438,22 +438,23 @@ cp -a %{SOURCE4} . %install %cmake_install +# FIXME These should not be installed, the counterparts without the *.py suffix are the wanted ones +rm -f %{buildroot}%{_bindir}/*.py +# FIXME Fix bash-completion filenames +for file in %{buildroot}%{_datadir}/bash-completion/completions/*.py; do + mv $file ${file/.py/} +done %if %{with mingw} %mingw_make_install +# FIXME These should not be installed, the counterparts without the *.py suffix are the wanted ones +rm -f %{buildroot}%{mingw32_bindir}/*.py +rm -f %{buildroot}%{mingw64_bindir}/*.py # Delete data from cross packages rm -r %{buildroot}%{mingw32_datadir} rm -r %{buildroot}%{mingw64_datadir} %endif -# List of manpages for python scripts -for file in %{buildroot}%{_bindir}/*.py; do - if [ -f %{buildroot}%{_mandir}/man1/`basename ${file/.py/.1*}` ]; then - echo "%{_mandir}/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages.txt - echo "%exclude %{_mandir}/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages_excludes.txt - fi -done - # Multilib # - cpl_config.h is arch-dependent (contains various SIZEOF defines) # - gdal-config stores arch-specific information @@ -474,12 +475,7 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %endif -%if 0%{?fedora} -%files -f gdal_python_manpages_excludes.txt -%else %files -%endif - %{_bindir}/gdaladdo %{_bindir}/gdalbuildvrt %{_bindir}/gdal_contour @@ -510,31 +506,59 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/sozip %if 0%{?fedora} %{_bindir}/8211* -%{_bindir}/gdal2tiles -%{_bindir}/gdal2xyz -%{_bindir}/gdalattachpct -%{_bindir}/gdal_calc -%{_bindir}/gdalcompare -%{_bindir}/gdal_edit -%{_bindir}/gdal_fillnodata -%{_bindir}/gdal_merge -%{_bindir}/gdalmove -%{_bindir}/gdal_pansharpen -%{_bindir}/gdal_polygonize -%{_bindir}/gdal_proximity -%{_bindir}/gdal_retile -%{_bindir}/gdal_sieve -%{_bindir}/ogr_layer_algebra -%{_bindir}/ogrmerge -%{_bindir}/pct2rgb -%{_bindir}/rgb2pct %{_bindir}/s57dump %endif -%{_datadir}/bash-completion/completions/* -%exclude %{_datadir}/bash-completion/completions/*.py -%{_mandir}/man1/* -%exclude %{_mandir}/man1/gdal-config.1* -# Python manpages excluded in -f gdal_python_manpages_excludes.txt +%{_datadir}/bash-completion/completions/gdaladdo +%{_datadir}/bash-completion/completions/gdalbuildvrt +%{_datadir}/bash-completion/completions/gdal-config +%{_datadir}/bash-completion/completions/gdal_contour +%{_datadir}/bash-completion/completions/gdal_create +%{_datadir}/bash-completion/completions/gdaldem +%{_datadir}/bash-completion/completions/gdalenhance +%{_datadir}/bash-completion/completions/gdal_grid +%{_datadir}/bash-completion/completions/gdalinfo +%{_datadir}/bash-completion/completions/gdallocationinfo +%{_datadir}/bash-completion/completions/gdalmanage +%{_datadir}/bash-completion/completions/gdal_rasterize +%{_datadir}/bash-completion/completions/gdalsrsinfo +%{_datadir}/bash-completion/completions/gdaltindex +%{_datadir}/bash-completion/completions/gdaltransform +%{_datadir}/bash-completion/completions/gdal_translate +%{_datadir}/bash-completion/completions/gdal_viewshed +%{_datadir}/bash-completion/completions/gdalwarp +%{_datadir}/bash-completion/completions/ogr2ogr +%{_datadir}/bash-completion/completions/ogrinfo +%{_datadir}/bash-completion/completions/ogrlineref +%{_datadir}/bash-completion/completions/ogrtindex +%{_mandir}/man1/gdaladdo.1.* +%{_mandir}/man1/gdalbuildvrt.1.* +%{_mandir}/man1/gdal-config.1.* +%{_mandir}/man1/gdal_contour.1.* +%{_mandir}/man1/gdal_create.1.* +%{_mandir}/man1/gdaldem.1.* +%{_mandir}/man1/gdal_footprint.1.* +%{_mandir}/man1/gdal_grid.1.* +%{_mandir}/man1/gdalinfo.1.* +%{_mandir}/man1/gdallocationinfo.1.* +%{_mandir}/man1/gdalmanage.1.* +%{_mandir}/man1/gdalmdiminfo.1.* +%{_mandir}/man1/gdalmdimtranslate.1.* +%{_mandir}/man1/gdal_rasterize.1.* +%{_mandir}/man1/gdalsrsinfo.1.* +%{_mandir}/man1/gdaltindex.1.* +%{_mandir}/man1/gdaltransform.1.* +%{_mandir}/man1/gdal_translate.1.* +%{_mandir}/man1/gdal_viewshed.1.* +%{_mandir}/man1/gdalwarp.1.* +%{_mandir}/man1/gnmanalyse.1.* +%{_mandir}/man1/gnmmanage.1.* +%{_mandir}/man1/nearblack.1.* +%{_mandir}/man1/ogr2ogr.1.* +%{_mandir}/man1/ogrinfo.1.* +%{_mandir}/man1/ogrlineref.1.* +%{_mandir}/man1/ogrmerge.1.* +%{_mandir}/man1/ogrtindex.1.* +%{_mandir}/man1/sozip.1.* %files libs %license LICENSE.TXT @@ -553,6 +577,77 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man1/gdal-config.1* +%if %{with java} +%files java +%{_jnidir}/%{name}/gdal-%{version}-sources.jar +%{_jnidir}/%{name}/gdal-%{version}.jar +%{_jnidir}/%{name}/gdal-%{version}.pom +%{_jnidir}/%{name}/libgdalalljni.so + +%files javadoc +%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar +%endif + +%if %{with python3} +%files -n python3-gdal +%doc swig/python/README.rst +%{python3_sitearch}/GDAL-%{version}-py*.egg-info/ +%{python3_sitearch}/osgeo/ +%{python3_sitearch}/osgeo_utils/ + +%files python-tools +%{_bindir}/gdal2tiles +%{_bindir}/gdal2xyz +%{_bindir}/gdalattachpct +%{_bindir}/gdal_calc +%{_bindir}/gdalcompare +%{_bindir}/gdal_edit +%{_bindir}/gdal_fillnodata +%{_bindir}/gdal_merge +%{_bindir}/gdalmove +%{_bindir}/gdal_pansharpen +%{_bindir}/gdal_polygonize +%{_bindir}/gdal_proximity +%{_bindir}/gdal_retile +%{_bindir}/gdal_sieve +%{_bindir}/ogr_layer_algebra +%{_bindir}/ogrmerge +%{_bindir}/pct2rgb +%{_bindir}/rgb2pct +%{_datadir}/bash-completion/completions/gdal2tiles +%{_datadir}/bash-completion/completions/gdal2xyz +%{_datadir}/bash-completion/completions/gdal_calc +%{_datadir}/bash-completion/completions/gdalchksum +%{_datadir}/bash-completion/completions/gdalcompare +%{_datadir}/bash-completion/completions/gdal_edit +%{_datadir}/bash-completion/completions/gdal_fillnodata +%{_datadir}/bash-completion/completions/gdalident +%{_datadir}/bash-completion/completions/gdalimport +%{_datadir}/bash-completion/completions/gdal_merge +%{_datadir}/bash-completion/completions/gdalmove +%{_datadir}/bash-completion/completions/gdal_polygonize +%{_datadir}/bash-completion/completions/gdal_proximity +%{_datadir}/bash-completion/completions/gdal_retile +%{_datadir}/bash-completion/completions/gdal_sieve +%{_datadir}/bash-completion/completions/ogrmerge +%{_mandir}/man1/gdal2tiles.1* +%{_mandir}/man1/gdal_calc.1* +%{_mandir}/man1/gdalcompare.1* +%{_mandir}/man1/gdal_edit.1* +%{_mandir}/man1/gdal_fillnodata.1* +%{_mandir}/man1/gdal_merge.1* +%{_mandir}/man1/gdalmove.1* +%{_mandir}/man1/gdal_pansharpen.1* +%{_mandir}/man1/gdal_polygonize.1* +%{_mandir}/man1/gdal_proximity.1* +%{_mandir}/man1/gdal_retile.1* +%{_mandir}/man1/gdal_sieve.1* +%{_mandir}/man1/ogr_layer_algebra.1* +%{_mandir}/man1/ogrmerge.1* +%{_mandir}/man1/pct2rgb.1* +%{_mandir}/man1/rgb2pct.1* +%endif + %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT @@ -566,6 +661,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw32-%{name}-tools %{mingw32_bindir}/*.exe + +%if %{with python3} +%files -n mingw32-python3-%{name} %{mingw32_bindir}/gdal2tiles %{mingw32_bindir}/gdal2xyz %{mingw32_bindir}/gdal_calc @@ -584,6 +682,10 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{mingw32_bindir}/ogrmerge %{mingw32_bindir}/pct2rgb %{mingw32_bindir}/rgb2pct +%{mingw32_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ +%{mingw32_python3_sitearch}/osgeo/ +%{mingw32_python3_sitearch}/osgeo_utils/ +%endif %files -n mingw64-%{name} %license LICENSE.TXT @@ -597,6 +699,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -n mingw64-%{name}-tools %{mingw64_bindir}/*.exe + +%if %{with python3} +%files -n mingw64-python3-%{name} %{mingw64_bindir}/gdal2tiles %{mingw64_bindir}/gdal2xyz %{mingw64_bindir}/gdal_calc @@ -615,64 +720,12 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{mingw64_bindir}/ogrmerge %{mingw64_bindir}/pct2rgb %{mingw64_bindir}/rgb2pct -%endif - -%if 0%{?fedora} -%if %{with python3} -%files -n python3-gdal -%doc swig/python/README.rst -%{python3_sitearch}/GDAL-%{version}-py*.egg-info/ -%{python3_sitearch}/osgeo/ -%{python3_sitearch}/osgeo_utils/ - -%files python-tools -f gdal_python_manpages.txt -%{_bindir}/gdal_calc.py -%{_bindir}/gdal_edit.py -%{_bindir}/gdal_fillnodata.py -%{_bindir}/gdal_merge.py -%{_bindir}/gdal_pansharpen.py -%{_bindir}/gdal_polygonize.py -%{_bindir}/gdal_proximity.py -%{_bindir}/gdal_retile.py -%{_bindir}/gdal_sieve.py -%{_bindir}/gdal2tiles.py -%{_bindir}/gdal2xyz.py -%{_bindir}/gdalattachpct.py -%{_bindir}/gdalcompare.py -%{_bindir}/gdalmove.py -%{_bindir}/ogr_layer_algebra.py -%{_bindir}/ogrmerge.py -%{_bindir}/pct2rgb.py -%{_bindir}/rgb2pct.py -%{_datadir}/bash-completion/completions/*.py - -%if %{with mingw} -%files -n mingw32-python3-%{name} -%{mingw32_bindir}/*.py -%{mingw32_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ -%{mingw32_python3_sitearch}/osgeo/ -%{mingw32_python3_sitearch}/osgeo_utils/ - -%files -n mingw64-python3-%{name} -%{mingw64_bindir}/*.py %{mingw64_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ %{mingw64_python3_sitearch}/osgeo/ %{mingw64_python3_sitearch}/osgeo_utils/ %endif %endif -%if %{with java} -%files java -%{_jnidir}/%{name}/gdal-%{version}-sources.jar -%{_jnidir}/%{name}/gdal-%{version}.jar -%{_jnidir}/%{name}/gdal-%{version}.pom -%{_jnidir}/%{name}/libgdalalljni.so - -%files javadoc -%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar -%endif -%endif - %changelog * Mon Apr 07 2025 Sandro Mani - 3.10.3-1 From 7e827502512658c0eb94d5a7c5b851af3a5e7e49 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 18 May 2025 21:39:52 +0200 Subject: [PATCH 191/224] Fix *.py scripts packaging --- gdal.spec | 129 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 90 insertions(+), 39 deletions(-) diff --git a/gdal.spec b/gdal.spec index b653876..3d36c11 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.10.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -438,18 +438,9 @@ cp -a %{SOURCE4} . %install %cmake_install -# FIXME These should not be installed, the counterparts without the *.py suffix are the wanted ones -rm -f %{buildroot}%{_bindir}/*.py -# FIXME Fix bash-completion filenames -for file in %{buildroot}%{_datadir}/bash-completion/completions/*.py; do - mv $file ${file/.py/} -done %if %{with mingw} %mingw_make_install -# FIXME These should not be installed, the counterparts without the *.py suffix are the wanted ones -rm -f %{buildroot}%{mingw32_bindir}/*.py -rm -f %{buildroot}%{mingw64_bindir}/*.py # Delete data from cross packages rm -r %{buildroot}%{mingw32_datadir} rm -r %{buildroot}%{mingw64_datadir} @@ -463,6 +454,9 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{name}/cpl_config.h mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config +# FIXME Fix shebangs +find %{buildroot} -name '*.py' -exec sed -i 's|^#!python$|#!/usr/bin/python3|g' {} \; + %if %{with mingw} %mingw_debug_install_post @@ -476,25 +470,25 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files -%{_bindir}/gdaladdo -%{_bindir}/gdalbuildvrt %{_bindir}/gdal_contour %{_bindir}/gdal_create -%{_bindir}/gdaldem -%{_bindir}/gdalenhance %{_bindir}/gdal_footprint %{_bindir}/gdal_grid +%{_bindir}/gdal_rasterize +%{_bindir}/gdal_translate +%{_bindir}/gdal_viewshed +%{_bindir}/gdaladdo +%{_bindir}/gdalbuildvrt +%{_bindir}/gdaldem +%{_bindir}/gdalenhance %{_bindir}/gdalinfo %{_bindir}/gdallocationinfo %{_bindir}/gdalmanage %{_bindir}/gdalmdiminfo %{_bindir}/gdalmdimtranslate -%{_bindir}/gdal_rasterize %{_bindir}/gdalsrsinfo %{_bindir}/gdaltindex %{_bindir}/gdaltransform -%{_bindir}/gdal_translate -%{_bindir}/gdal_viewshed %{_bindir}/gdalwarp %{_bindir}/gnmanalyse %{_bindir}/gnmmanage @@ -508,23 +502,23 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %{_bindir}/8211* %{_bindir}/s57dump %endif -%{_datadir}/bash-completion/completions/gdaladdo -%{_datadir}/bash-completion/completions/gdalbuildvrt %{_datadir}/bash-completion/completions/gdal-config %{_datadir}/bash-completion/completions/gdal_contour %{_datadir}/bash-completion/completions/gdal_create +%{_datadir}/bash-completion/completions/gdal_grid +%{_datadir}/bash-completion/completions/gdal_rasterize +%{_datadir}/bash-completion/completions/gdal_translate +%{_datadir}/bash-completion/completions/gdal_viewshed +%{_datadir}/bash-completion/completions/gdaladdo +%{_datadir}/bash-completion/completions/gdalbuildvrt %{_datadir}/bash-completion/completions/gdaldem %{_datadir}/bash-completion/completions/gdalenhance -%{_datadir}/bash-completion/completions/gdal_grid %{_datadir}/bash-completion/completions/gdalinfo %{_datadir}/bash-completion/completions/gdallocationinfo %{_datadir}/bash-completion/completions/gdalmanage -%{_datadir}/bash-completion/completions/gdal_rasterize %{_datadir}/bash-completion/completions/gdalsrsinfo %{_datadir}/bash-completion/completions/gdaltindex %{_datadir}/bash-completion/completions/gdaltransform -%{_datadir}/bash-completion/completions/gdal_translate -%{_datadir}/bash-completion/completions/gdal_viewshed %{_datadir}/bash-completion/completions/gdalwarp %{_datadir}/bash-completion/completions/ogr2ogr %{_datadir}/bash-completion/completions/ogrinfo @@ -597,39 +591,57 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %files python-tools %{_bindir}/gdal2tiles +%{_bindir}/gdal2tiles.py %{_bindir}/gdal2xyz +%{_bindir}/gdal2xyz.py %{_bindir}/gdalattachpct +%{_bindir}/gdalattachpct.py %{_bindir}/gdal_calc +%{_bindir}/gdal_calc.py %{_bindir}/gdalcompare +%{_bindir}/gdalcompare.py %{_bindir}/gdal_edit +%{_bindir}/gdal_edit.py %{_bindir}/gdal_fillnodata +%{_bindir}/gdal_fillnodata.py %{_bindir}/gdal_merge +%{_bindir}/gdal_merge.py %{_bindir}/gdalmove +%{_bindir}/gdalmove.py %{_bindir}/gdal_pansharpen +%{_bindir}/gdal_pansharpen.py %{_bindir}/gdal_polygonize +%{_bindir}/gdal_polygonize.py %{_bindir}/gdal_proximity +%{_bindir}/gdal_proximity.py %{_bindir}/gdal_retile +%{_bindir}/gdal_retile.py %{_bindir}/gdal_sieve +%{_bindir}/gdal_sieve.py %{_bindir}/ogr_layer_algebra +%{_bindir}/ogr_layer_algebra.py %{_bindir}/ogrmerge +%{_bindir}/ogrmerge.py %{_bindir}/pct2rgb +%{_bindir}/pct2rgb.py %{_bindir}/rgb2pct -%{_datadir}/bash-completion/completions/gdal2tiles -%{_datadir}/bash-completion/completions/gdal2xyz -%{_datadir}/bash-completion/completions/gdal_calc -%{_datadir}/bash-completion/completions/gdalchksum -%{_datadir}/bash-completion/completions/gdalcompare -%{_datadir}/bash-completion/completions/gdal_edit -%{_datadir}/bash-completion/completions/gdal_fillnodata -%{_datadir}/bash-completion/completions/gdalident -%{_datadir}/bash-completion/completions/gdalimport -%{_datadir}/bash-completion/completions/gdal_merge -%{_datadir}/bash-completion/completions/gdalmove -%{_datadir}/bash-completion/completions/gdal_polygonize -%{_datadir}/bash-completion/completions/gdal_proximity -%{_datadir}/bash-completion/completions/gdal_retile -%{_datadir}/bash-completion/completions/gdal_sieve -%{_datadir}/bash-completion/completions/ogrmerge +%{_bindir}/rgb2pct.py +%{_datadir}/bash-completion/completions/gdal2tiles.py +%{_datadir}/bash-completion/completions/gdal2xyz.py +%{_datadir}/bash-completion/completions/gdal_calc.py +%{_datadir}/bash-completion/completions/gdal_edit.py +%{_datadir}/bash-completion/completions/gdal_fillnodata.py +%{_datadir}/bash-completion/completions/gdal_merge.py +%{_datadir}/bash-completion/completions/gdal_polygonize.py +%{_datadir}/bash-completion/completions/gdal_proximity.py +%{_datadir}/bash-completion/completions/gdal_retile.py +%{_datadir}/bash-completion/completions/gdal_sieve.py +%{_datadir}/bash-completion/completions/gdalchksum.py +%{_datadir}/bash-completion/completions/gdalcompare.py +%{_datadir}/bash-completion/completions/gdalident.py +%{_datadir}/bash-completion/completions/gdalimport.py +%{_datadir}/bash-completion/completions/gdalmove.py +%{_datadir}/bash-completion/completions/ogrmerge.py %{_mandir}/man1/gdal2tiles.1* %{_mandir}/man1/gdal_calc.1* %{_mandir}/man1/gdalcompare.1* @@ -665,23 +677,41 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with python3} %files -n mingw32-python3-%{name} %{mingw32_bindir}/gdal2tiles +%{mingw32_bindir}/gdal2tiles.py %{mingw32_bindir}/gdal2xyz +%{mingw32_bindir}/gdal2xyz.py %{mingw32_bindir}/gdal_calc +%{mingw32_bindir}/gdal_calc.py %{mingw32_bindir}/gdal_edit +%{mingw32_bindir}/gdal_edit.py %{mingw32_bindir}/gdal_fillnodata +%{mingw32_bindir}/gdal_fillnodata.py %{mingw32_bindir}/gdal_merge +%{mingw32_bindir}/gdal_merge.py %{mingw32_bindir}/gdal_pansharpen +%{mingw32_bindir}/gdal_pansharpen.py %{mingw32_bindir}/gdal_polygonize +%{mingw32_bindir}/gdal_polygonize.py %{mingw32_bindir}/gdal_proximity +%{mingw32_bindir}/gdal_proximity.py %{mingw32_bindir}/gdal_retile +%{mingw32_bindir}/gdal_retile.py %{mingw32_bindir}/gdal_sieve +%{mingw32_bindir}/gdal_sieve.py %{mingw32_bindir}/gdalattachpct +%{mingw32_bindir}/gdalattachpct.py %{mingw32_bindir}/gdalcompare +%{mingw32_bindir}/gdalcompare.py %{mingw32_bindir}/gdalmove +%{mingw32_bindir}/gdalmove.py %{mingw32_bindir}/ogr_layer_algebra +%{mingw32_bindir}/ogr_layer_algebra.py %{mingw32_bindir}/ogrmerge +%{mingw32_bindir}/ogrmerge.py %{mingw32_bindir}/pct2rgb +%{mingw32_bindir}/pct2rgb.py %{mingw32_bindir}/rgb2pct +%{mingw32_bindir}/rgb2pct.py %{mingw32_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ %{mingw32_python3_sitearch}/osgeo/ %{mingw32_python3_sitearch}/osgeo_utils/ @@ -703,23 +733,41 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %if %{with python3} %files -n mingw64-python3-%{name} %{mingw64_bindir}/gdal2tiles +%{mingw64_bindir}/gdal2tiles.py %{mingw64_bindir}/gdal2xyz +%{mingw64_bindir}/gdal2xyz.py %{mingw64_bindir}/gdal_calc +%{mingw64_bindir}/gdal_calc.py %{mingw64_bindir}/gdal_edit +%{mingw64_bindir}/gdal_edit.py %{mingw64_bindir}/gdal_fillnodata +%{mingw64_bindir}/gdal_fillnodata.py %{mingw64_bindir}/gdal_merge +%{mingw64_bindir}/gdal_merge.py %{mingw64_bindir}/gdal_pansharpen +%{mingw64_bindir}/gdal_pansharpen.py %{mingw64_bindir}/gdal_polygonize +%{mingw64_bindir}/gdal_polygonize.py %{mingw64_bindir}/gdal_proximity +%{mingw64_bindir}/gdal_proximity.py %{mingw64_bindir}/gdal_retile +%{mingw64_bindir}/gdal_retile.py %{mingw64_bindir}/gdal_sieve +%{mingw64_bindir}/gdal_sieve.py %{mingw64_bindir}/gdalattachpct +%{mingw64_bindir}/gdalattachpct.py %{mingw64_bindir}/gdalcompare +%{mingw64_bindir}/gdalcompare.py %{mingw64_bindir}/gdalmove +%{mingw64_bindir}/gdalmove.py %{mingw64_bindir}/ogr_layer_algebra +%{mingw64_bindir}/ogr_layer_algebra.py %{mingw64_bindir}/ogrmerge +%{mingw64_bindir}/ogrmerge.py %{mingw64_bindir}/pct2rgb +%{mingw64_bindir}/pct2rgb.py %{mingw64_bindir}/rgb2pct +%{mingw64_bindir}/rgb2pct.py %{mingw64_python3_sitearch}/GDAL-%{version}-py%{mingw32_python3_version}.egg-info/ %{mingw64_python3_sitearch}/osgeo/ %{mingw64_python3_sitearch}/osgeo_utils/ @@ -728,6 +776,9 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config %changelog +* Fri May 16 2025 Sandro Mani - 3.10.3-2 +- Fix *.py scripts packaging + * Mon Apr 07 2025 Sandro Mani - 3.10.3-1 - Update to 3.10.3 From 1a3603cd221c141d9f0122ce22963990fc95a035 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 22 May 2025 18:26:07 -0400 Subject: [PATCH 192/224] Remove completions and manpages for unpackaged scripts When building for RHEL, the python bindings and scripts are now disabled, but the completions and manpages are not controlled by the option which disables the scripts. --- gdal.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 3d36c11..0245a8a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -457,6 +457,15 @@ cp -a %{SOURCE3} %{buildroot}%{_bindir}/%{name}-config # FIXME Fix shebangs find %{buildroot} -name '*.py' -exec sed -i 's|^#!python$|#!/usr/bin/python3|g' {} \; +%if %{without python3} +# completions and manpages for python scripts regardless of BUILD_PYTHON_BINDINGS +for p in gdal2tiles gdal2xyz gdal_calc gdal_edit gdal_fillnodata gdal_merge gdal_pansharpen \ + gdal_polygonize gdal_proximity gdal_retile gdal_sieve gdalchksum gdalcompare \ + gdalident gdalimport gdalmove ogr_layer_algebra ogrmerge pct2rgb rgb2pct ; do + rm -f %{buildroot}%{_datadir}/bash-completion/completions/${p}.py + rm -f %{buildroot}%{_mandir}/man1/${p}.1* +done +%endif %if %{with mingw} %mingw_debug_install_post @@ -550,7 +559,6 @@ find %{buildroot} -name '*.py' -exec sed -i 's|^#!python$|#!/usr/bin/python3|g' %{_mandir}/man1/ogr2ogr.1.* %{_mandir}/man1/ogrinfo.1.* %{_mandir}/man1/ogrlineref.1.* -%{_mandir}/man1/ogrmerge.1.* %{_mandir}/man1/ogrtindex.1.* %{_mandir}/man1/sozip.1.* From 424b52eaac56b608ae8a16d69908e3104cbd0387 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 4 Jun 2025 00:50:30 +0200 Subject: [PATCH 193/224] Rebuilt for Python 3.14 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 0245a8a..7ea847c 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.10.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -784,6 +784,9 @@ done %changelog +* Tue Jun 03 2025 Python Maint - 3.10.3-3 +- Rebuilt for Python 3.14 + * Fri May 16 2025 Sandro Mani - 3.10.3-2 - Fix *.py scripts packaging From 8df52d19a34abc9106f700a1789aab8c03d3de00 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 10 Jul 2025 19:20:36 -0400 Subject: [PATCH 194/224] Rebuilt for libarrow 20 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 7ea847c..b6d185d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.10.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -784,6 +784,9 @@ done %changelog +* Thu Jul 10 2025 Stephen Gallagher - 3.10.3-4 +- Rebuilt for libarrow 20 + * Tue Jun 03 2025 Python Maint - 3.10.3-3 - Rebuilt for Python 3.14 From e70fc9f76d430e6c3ce22a74d4982e40bb0d2696 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 18 Jul 2025 17:21:27 +0200 Subject: [PATCH 195/224] Rebuild (poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index b6d185d..0f47ca5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.10.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -784,6 +784,9 @@ done %changelog +* Fri Jul 18 2025 Sandro Mani - 3.10.3-5 +- Rebuild (poppler) + * Thu Jul 10 2025 Stephen Gallagher - 3.10.3-4 - Rebuilt for libarrow 20 From 1eca685c25f55823beaa6ba41962b0920a1404b4 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 18 Jul 2025 18:49:26 +0200 Subject: [PATCH 196/224] Backport patch to fix build against poppler 2025.05.0 --- ...e2189ff0a464f3150ed8b2dd5a3cc1194012.patch | 49 +++++++++++++++++++ gdal-3.10.2-integer-types.patch | 2 +- gdal.spec | 2 + gdal_incompatible-pointer-types.patch | 2 +- gdal_utils.patch | 4 +- 5 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch diff --git a/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch b/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch new file mode 100644 index 0000000..0b51fcd --- /dev/null +++ b/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch @@ -0,0 +1,49 @@ +diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/pdf/pdfio.cpp gdal-3.10.3-fedora-new/frmts/pdf/pdfio.cpp +--- gdal-3.10.3-fedora/frmts/pdf/pdfio.cpp 2025-04-01 13:03:21.000000000 +0200 ++++ gdal-3.10.3-fedora-new/frmts/pdf/pdfio.cpp 2025-07-18 18:48:46.145599620 +0200 +@@ -77,12 +77,25 @@ BaseStream *VSIPDFFileStream::copy() + /************************************************************************/ + /* makeSubStream() */ + /************************************************************************/ ++ ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 5) ++std::unique_ptr VSIPDFFileStream::makeSubStream(Goffset startA, ++ bool limitedA, ++ Goffset lengthA, ++ Object &&dictA) ++{ ++ return std::make_unique(this, startA, limitedA, lengthA, ++ std::move(dictA)); ++} ++#else + Stream *VSIPDFFileStream::makeSubStream(Goffset startA, bool limitedA, + Goffset lengthA, Object &&dictA) + { + return new VSIPDFFileStream(this, startA, limitedA, lengthA, + std::move(dictA)); + } ++#endif + + /************************************************************************/ + /* getPos() */ +diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/pdf/pdfio.h gdal-3.10.3-fedora-new/frmts/pdf/pdfio.h +--- gdal-3.10.3-fedora/frmts/pdf/pdfio.h 2025-04-01 13:03:22.000000000 +0200 ++++ gdal-3.10.3-fedora-new/frmts/pdf/pdfio.h 2025-07-18 18:48:46.145779709 +0200 +@@ -32,8 +32,16 @@ class VSIPDFFileStream final : public Ba + + virtual BaseStream *copy() override; + ++#if POPPLER_MAJOR_VERSION > 25 || \ ++ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 5) ++ virtual std::unique_ptr makeSubStream(Goffset startA, bool limitedA, ++ Goffset lengthA, ++ Object &&dictA) override; ++#else + virtual Stream *makeSubStream(Goffset startA, bool limitedA, + Goffset lengthA, Object &&dictA) override; ++ ++#endif + virtual Goffset getPos() override; + virtual Goffset getStart() override; + diff --git a/gdal-3.10.2-integer-types.patch b/gdal-3.10.2-integer-types.patch index dfad44c..aaeca5d 100644 --- a/gdal-3.10.2-integer-types.patch +++ b/gdal-3.10.2-integer-types.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp --- gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-04-01 13:03:21.000000000 +0200 -+++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-04-07 13:39:47.674069257 +0200 ++++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-07-18 18:48:45.937456577 +0200 @@ -23,6 +23,7 @@ #include #include diff --git a/gdal.spec b/gdal.spec index 0f47ca5..9284c9a 100644 --- a/gdal.spec +++ b/gdal.spec @@ -71,6 +71,8 @@ Patch0: gdal_utils.patch Patch1: gdal_incompatible-pointer-types.patch # Add definitions of missing int16_t and int32_t Patch2: gdal-3.10.2-integer-types.patch +# Fix build against poppler 2025.05.0+ +Patch3: https://github.com/OSGeo/gdal/commit/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch BuildRequires: cmake BuildRequires: gcc-c++ diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch index f70e12e..f33adc6 100644 --- a/gdal_incompatible-pointer-types.patch +++ b/gdal_incompatible-pointer-types.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp --- gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp 2025-04-01 13:03:22.000000000 +0200 -+++ gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp 2025-04-07 13:39:47.318116680 +0200 ++++ gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp 2025-07-18 18:48:45.724376806 +0200 @@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif diff --git a/gdal_utils.patch b/gdal_utils.patch index 3128eba..099a954 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt --- gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt 2025-04-01 13:03:21.000000000 +0200 -+++ gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-04-07 13:39:46.951980413 +0200 ++++ gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-18 18:48:45.507762803 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -24,7 +24,7 @@ diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt --- gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-01 13:03:22.000000000 +0200 -+++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-07 13:39:46.952461833 +0200 ++++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-18 18:48:45.508029107 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") From 20fd14c6becdd63b4fbd75ecf721bdffc6b3dd1b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 21:10:49 +0000 Subject: [PATCH 197/224] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 9284c9a..94fc370 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.10.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -786,6 +786,9 @@ done %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 3.10.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jul 18 2025 Sandro Mani - 3.10.3-5 - Rebuild (poppler) From 1bfaf552742f0188b54762342827b42943fff905 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 27 Jul 2025 19:08:42 +0200 Subject: [PATCH 198/224] Update to 3.11.3 --- .gitignore | 2 + ...e2189ff0a464f3150ed8b2dd5a3cc1194012.patch | 49 ------ gdal-3.10.2-integer-types.patch | 11 -- gdal-cleaner.sh | 18 +- gdal.spec | 156 ++++++++++++------ gdal_incompatible-pointer-types.patch | 21 --- gdal_utils.patch | 15 ++ sources | 4 +- 8 files changed, 138 insertions(+), 138 deletions(-) delete mode 100644 a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch delete mode 100644 gdal-3.10.2-integer-types.patch delete mode 100644 gdal_incompatible-pointer-types.patch diff --git a/.gitignore b/.gitignore index 31914c4..cba36dd 100644 --- a/.gitignore +++ b/.gitignore @@ -130,3 +130,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.10.2.tar.gz /gdal-3.10.3-fedora.tar.xz /gdalautotest-3.10.3.tar.gz +/gdal-3.11.3-fedora.tar.xz +/gdalautotest-3.11.3.tar.gz diff --git a/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch b/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch deleted file mode 100644 index 0b51fcd..0000000 --- a/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/pdf/pdfio.cpp gdal-3.10.3-fedora-new/frmts/pdf/pdfio.cpp ---- gdal-3.10.3-fedora/frmts/pdf/pdfio.cpp 2025-04-01 13:03:21.000000000 +0200 -+++ gdal-3.10.3-fedora-new/frmts/pdf/pdfio.cpp 2025-07-18 18:48:46.145599620 +0200 -@@ -77,12 +77,25 @@ BaseStream *VSIPDFFileStream::copy() - /************************************************************************/ - /* makeSubStream() */ - /************************************************************************/ -+ -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 5) -+std::unique_ptr VSIPDFFileStream::makeSubStream(Goffset startA, -+ bool limitedA, -+ Goffset lengthA, -+ Object &&dictA) -+{ -+ return std::make_unique(this, startA, limitedA, lengthA, -+ std::move(dictA)); -+} -+#else - Stream *VSIPDFFileStream::makeSubStream(Goffset startA, bool limitedA, - Goffset lengthA, Object &&dictA) - { - return new VSIPDFFileStream(this, startA, limitedA, lengthA, - std::move(dictA)); - } -+#endif - - /************************************************************************/ - /* getPos() */ -diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/pdf/pdfio.h gdal-3.10.3-fedora-new/frmts/pdf/pdfio.h ---- gdal-3.10.3-fedora/frmts/pdf/pdfio.h 2025-04-01 13:03:22.000000000 +0200 -+++ gdal-3.10.3-fedora-new/frmts/pdf/pdfio.h 2025-07-18 18:48:46.145779709 +0200 -@@ -32,8 +32,16 @@ class VSIPDFFileStream final : public Ba - - virtual BaseStream *copy() override; - -+#if POPPLER_MAJOR_VERSION > 25 || \ -+ (POPPLER_MAJOR_VERSION == 25 && POPPLER_MINOR_VERSION >= 5) -+ virtual std::unique_ptr makeSubStream(Goffset startA, bool limitedA, -+ Goffset lengthA, -+ Object &&dictA) override; -+#else - virtual Stream *makeSubStream(Goffset startA, bool limitedA, - Goffset lengthA, Object &&dictA) override; -+ -+#endif - virtual Goffset getPos() override; - virtual Goffset getStart() override; - diff --git a/gdal-3.10.2-integer-types.patch b/gdal-3.10.2-integer-types.patch deleted file mode 100644 index aaeca5d..0000000 --- a/gdal-3.10.2-integer-types.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ---- gdal-3.10.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-04-01 13:03:21.000000000 +0200 -+++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2025-07-18 18:48:45.937456577 +0200 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) - // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string diff --git a/gdal-cleaner.sh b/gdal-cleaner.sh index db17622..b7f4a8c 100755 --- a/gdal-cleaner.sh +++ b/gdal-cleaner.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ $# -lt 1 ]; then - echo "Usage: $0 version" + echo "Usage: $0 version pre" exit 1 fi @@ -18,20 +18,20 @@ if [ -d gdal-"${VERSION}" ] || [ -d gdal-"${VERSION}"-fedora ]; then fi tar xvf gdal-"${VERSION}${PRE}".tar.xz -mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora +mv gdal-"${VERSION}${PRE}"{,-fedora} && pushd gdal-"${VERSION}${PRE}"-fedora -rm data/cubewerx_extra.wkt -rm data/esri_StatePlane_extra.wkt -rm data/ecw_cs.wkt +rm ogr/data/cubewerx_extra.wkt +rm ogr/data/esri_StatePlane_extra.wkt +rm ogr/data/ecw_cs.wkt -sed -i 's|data/cubewerx_extra.wkt||' gdal.cmake -sed -i 's|data/esri_StatePlane_extra.wkt||' gdal.cmake -sed -i 's|data/ecw_cs.wkt||' gdal.cmake +sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/cubewerx_extra.wkt||' ogr/CMakeLists.txt +sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/esri_StatePlane_extra.wkt||' ogr/CMakeLists.txt +sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/ecw_cs.wkt||' ogr/CMakeLists.txt popd #TODO: Insert Provenance file -tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}"-fedora +tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}${PRE}"-fedora diff --git a/gdal.spec b/gdal.spec index 94fc370..52a02f3 100644 --- a/gdal.spec +++ b/gdal.spec @@ -42,12 +42,12 @@ %bcond_with java %endif -#global pre rc1 +#global pre beta1 Name: gdal -Version: 3.10.3 -Release: 6%{?dist} +Version: 3.11.3 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -67,12 +67,6 @@ Source5: %{name}-cleaner.sh # Add some utils to the default install target Patch0: gdal_utils.patch -# Fix passing incompatible pointer type -Patch1: gdal_incompatible-pointer-types.patch -# Add definitions of missing int16_t and int32_t -Patch2: gdal-3.10.2-integer-types.patch -# Fix build against poppler 2025.05.0+ -Patch3: https://github.com/OSGeo/gdal/commit/a689e2189ff0a464f3150ed8b2dd5a3cc1194012.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -175,6 +169,7 @@ BuildRequires: mingw32-expat BuildRequires: mingw32-freexl BuildRequires: mingw32-geos BuildRequires: mingw32-giflib +BuildRequires: mingw32-json-c BuildRequires: mingw32-libarchive BuildRequires: mingw32-libgeotiff BuildRequires: mingw32-libgta @@ -211,6 +206,7 @@ BuildRequires: mingw64-expat BuildRequires: mingw64-freexl BuildRequires: mingw64-geos BuildRequires: mingw64-giflib +BuildRequires: mingw64-json-c BuildRequires: mingw64-libarchive BuildRequires: mingw64-libgeotiff BuildRequires: mingw64-libgta @@ -380,22 +376,23 @@ MinGW Windows Python3 GDAL bindings. %endif %prep -%autosetup -N -p1 -n %{name}-%{version}-fedora +%autosetup -N -p1 -n %{name}-%{version}%{?pre:%pre}-fedora # Delete bundled libraries -rm -rf frmts/zlib +# rm -rf frmts/zlib rm -rf frmts/png/libpng rm -rf frmts/gif/giflib rm -rf frmts/jpeg/libjpeg rm -rf frmts/jpeg/libjpeg12 rm -rf frmts/gtiff/libgeotiff -rm -rf frmts/gtiff/libtiff +# FIXME: frmts/libertiff/libtiff_codecs.h requires tif_lzw.c, tif_packbits.c, tif_lerc.c +# rm -rf frmts/gtiff/libtiff rm -rf mrf/LERCV1 rm -rf third_party/LercLib # Setup autotest directory tar xf %{SOURCE1} -mv %{name}autotest-%{version} autotest +mv %{name}autotest-%{version}%{?pre:%pre} autotest # Need to patch autotest %autopatch -p1 @@ -407,6 +404,8 @@ cp -a %{SOURCE4} . %build %cmake \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ + -DGDAL_USE_EXTERNAL_LIB=ON \ + -DGDAL_USE_INTERNAL_LIBS=OFF \ %if %{with java} -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \ -DGDAL_JAVA_JNI_INSTALL_DIR=%{_jnidir}/%{name} \ @@ -414,26 +413,17 @@ cp -a %{SOURCE4} . %if ! 0%{?fedora} -DGDAL_BUILD_OPTIONAL_DRIVERS=OFF \ -DOGR_BUILD_OPTIONAL_DRIVERS=OFF \ - -DGDAL_USE_JPEG=ON \ - -DGDAL_USE_JPEG_INTERNAL=OFF \ - -DGDAL_USE_GOOGLETEST=OFF \ - -DGDAL_USE_LERC=OFF \ - -DGDAL_USE_LERC_INTERNAL=OFF \ - -DGDAL_USE_GEOTIFF=OFF \ - -DGDAL_USE_GEOTIFF_INTERNAL=OFF \ -DBUILD_PYTHON_BINDINGS=OFF \ - -DBUILD_TESTING=OFF \ + -DBUILD_TESTING=OFF %endif - -DGDAL_USE_JPEG12_INTERNAL=OFF \ - -DENABLE_DEFLATE64=OFF %cmake_build %if %{with mingw} %mingw_cmake \ -DBUILD_TESTING=OFF \ -DCMAKE_INSTALL_INCLUDEDIR=include/gdal \ - -DGDAL_USE_JPEG12_INTERNAL=OFF \ - -DENABLE_DEFLATE64=OFF + -DGDAL_USE_EXTERNAL_LIB=ON \ + -DGDAL_USE_INTERNAL_LIBS=OFF %mingw_make_build %endif @@ -481,6 +471,9 @@ done %files +%{_bindir}/gdal +%{_bindir}/gdaladdo +%{_bindir}/gdalbuildvrt %{_bindir}/gdal_contour %{_bindir}/gdal_create %{_bindir}/gdal_footprint @@ -567,8 +560,8 @@ done %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.36 -%{_libdir}/libgdal.so.36.* +%{_libdir}/libgdal.so.37 +%{_libdir}/libgdal.so.37.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -635,23 +628,23 @@ done %{_bindir}/pct2rgb %{_bindir}/pct2rgb.py %{_bindir}/rgb2pct -%{_bindir}/rgb2pct.py -%{_datadir}/bash-completion/completions/gdal2tiles.py -%{_datadir}/bash-completion/completions/gdal2xyz.py -%{_datadir}/bash-completion/completions/gdal_calc.py -%{_datadir}/bash-completion/completions/gdal_edit.py -%{_datadir}/bash-completion/completions/gdal_fillnodata.py -%{_datadir}/bash-completion/completions/gdal_merge.py -%{_datadir}/bash-completion/completions/gdal_polygonize.py -%{_datadir}/bash-completion/completions/gdal_proximity.py -%{_datadir}/bash-completion/completions/gdal_retile.py -%{_datadir}/bash-completion/completions/gdal_sieve.py -%{_datadir}/bash-completion/completions/gdalchksum.py -%{_datadir}/bash-completion/completions/gdalcompare.py -%{_datadir}/bash-completion/completions/gdalident.py -%{_datadir}/bash-completion/completions/gdalimport.py -%{_datadir}/bash-completion/completions/gdalmove.py -%{_datadir}/bash-completion/completions/ogrmerge.py +%{_datadir}/bash-completion/completions/gdal +%{_datadir}/bash-completion/completions/gdal2tiles +%{_datadir}/bash-completion/completions/gdal2xyz +%{_datadir}/bash-completion/completions/gdal_calc +%{_datadir}/bash-completion/completions/gdalchksum +%{_datadir}/bash-completion/completions/gdalcompare +%{_datadir}/bash-completion/completions/gdal_edit +%{_datadir}/bash-completion/completions/gdal_fillnodata +%{_datadir}/bash-completion/completions/gdalident +%{_datadir}/bash-completion/completions/gdalimport +%{_datadir}/bash-completion/completions/gdal_merge +%{_datadir}/bash-completion/completions/gdalmove +%{_datadir}/bash-completion/completions/gdal_polygonize +%{_datadir}/bash-completion/completions/gdal_proximity +%{_datadir}/bash-completion/completions/gdal_retile +%{_datadir}/bash-completion/completions/gdal_sieve +%{_datadir}/bash-completion/completions/ogrmerge %{_mandir}/man1/gdal2tiles.1* %{_mandir}/man1/gdal_calc.1* %{_mandir}/man1/gdalcompare.1* @@ -668,12 +661,80 @@ done %{_mandir}/man1/ogrmerge.1* %{_mandir}/man1/pct2rgb.1* %{_mandir}/man1/rgb2pct.1* +%{_mandir}/man1/gdal-convert.1* +%{_mandir}/man1/gdal-info.1* +%{_mandir}/man1/gdal-mdim-convert.1* +%{_mandir}/man1/gdal-mdim-info.1* +%{_mandir}/man1/gdal-mdim.1* +%{_mandir}/man1/gdal-raster-calc.1* +%{_mandir}/man1/gdal-raster-clean-collar.1* +%{_mandir}/man1/gdal-raster-clip.1* +%{_mandir}/man1/gdal-raster-color-map.1* +%{_mandir}/man1/gdal-raster-contour.1* +%{_mandir}/man1/gdal-raster-convert.1* +%{_mandir}/man1/gdal-raster-create.1* +%{_mandir}/man1/gdal-raster-edit.1* +%{_mandir}/man1/gdal-raster-fill-nodata.1* +%{_mandir}/man1/gdal-raster-footprint.1* +%{_mandir}/man1/gdal-raster-hillshade.1* +%{_mandir}/man1/gdal-raster-index.1* +%{_mandir}/man1/gdal-raster-info.1* +%{_mandir}/man1/gdal-raster-mosaic.1* +%{_mandir}/man1/gdal-raster-overview-add.1* +%{_mandir}/man1/gdal-raster-overview-delete.1* +%{_mandir}/man1/gdal-raster-pipeline.1* +%{_mandir}/man1/gdal-raster-pixel-info.1* +%{_mandir}/man1/gdal-raster-polygonize.1* +%{_mandir}/man1/gdal-raster-reclassify.1* +%{_mandir}/man1/gdal-raster-reproject.1* +%{_mandir}/man1/gdal-raster-resize.1* +%{_mandir}/man1/gdal-raster-roughness.1* +%{_mandir}/man1/gdal-raster-scale.1* +%{_mandir}/man1/gdal-raster-select.1* +%{_mandir}/man1/gdal-raster-set-type.1* +%{_mandir}/man1/gdal-raster-sieve.1* +%{_mandir}/man1/gdal-raster-slope.1* +%{_mandir}/man1/gdal-raster-stack.1* +%{_mandir}/man1/gdal-raster-tile.1* +%{_mandir}/man1/gdal-raster-tpi.1* +%{_mandir}/man1/gdal-raster-tri.1* +%{_mandir}/man1/gdal-raster-unscale.1* +%{_mandir}/man1/gdal-raster-viewshed.1* +%{_mandir}/man1/gdal-raster.1* +%{_mandir}/man1/gdal-vector-clip.1* +%{_mandir}/man1/gdal-vector-convert.1* +%{_mandir}/man1/gdal-vector-edit.1* +%{_mandir}/man1/gdal-vector-filter.1* +%{_mandir}/man1/gdal-vector-geom-buffer.1* +%{_mandir}/man1/gdal-vector-geom-explode-collections.1* +%{_mandir}/man1/gdal-vector-geom-make-valid.1* +%{_mandir}/man1/gdal-vector-geom-segmentize.1* +%{_mandir}/man1/gdal-vector-geom-set-type.1* +%{_mandir}/man1/gdal-vector-geom-simplify.1* +%{_mandir}/man1/gdal-vector-geom-swap-xy.1* +%{_mandir}/man1/gdal-vector-geom.1* +%{_mandir}/man1/gdal-vector-grid.1* +%{_mandir}/man1/gdal-vector-info.1* +%{_mandir}/man1/gdal-vector-pipeline.1* +%{_mandir}/man1/gdal-vector-rasterize.1* +%{_mandir}/man1/gdal-vector-select.1* +%{_mandir}/man1/gdal-vector-sql.1* +%{_mandir}/man1/gdal-vector.1* +%{_mandir}/man1/gdal-vector_concat.1* +%{_mandir}/man1/gdal-vsi-copy.1* +%{_mandir}/man1/gdal-vsi-delete.1* +%{_mandir}/man1/gdal-vsi-list.1* +%{_mandir}/man1/gdal-vsi-move.1* +%{_mandir}/man1/gdal-vsi-sozip.1* +%{_mandir}/man1/gdal-vsi-sync.1* +%{_mandir}/man1/gdal-vsi.1* +%{_mandir}/man1/gdal.1* %endif %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-36.dll +%{mingw32_bindir}/libgdal-37.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -729,7 +790,7 @@ done %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-36.dll +%{mingw64_bindir}/libgdal-37.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -786,6 +847,9 @@ done %changelog +* Sun Jul 27 2025 Sandro Mani - 3.11.3-1 +- Update to 3.11.3 + * Wed Jul 23 2025 Fedora Release Engineering - 3.10.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/gdal_incompatible-pointer-types.patch b/gdal_incompatible-pointer-types.patch deleted file mode 100644 index f33adc6..0000000 --- a/gdal_incompatible-pointer-types.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -rupN --no-dereference gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp ---- gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp 2025-04-01 13:03:22.000000000 +0200 -+++ gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp 2025-07-18 18:48:45.724376806 +0200 -@@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons - pwszFilename[nLen - 1] = 0; - #endif - -- int nResult = _wstat64(pwszFilename, pStatBuf); -+ int nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); - - // If _wstat64() fails and the original name is not an extended one, - // then retry with an extended filename -@@ -907,7 +907,7 @@ int VSIWin32FilesystemHandler::Stat(cons - nLastError == ERROR_FILENAME_EXCED_RANGE) - { - VSIWin32TryLongFilename(pwszFilename); -- nResult = _wstat64(pwszFilename, pStatBuf); -+ nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); - } - } - diff --git a/gdal_utils.patch b/gdal_utils.patch index 099a954..62a2f1c 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,12 @@ +<<<<<<< HEAD diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt --- gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt 2025-04-01 13:03:21.000000000 +0200 +++ gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-18 18:48:45.507762803 +0200 +======= +diff -rupN --no-dereference gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt 2025-07-12 12:33:49.000000000 +0200 ++++ gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-13 12:08:42.843328554 +0200 +>>>>>>> a8c258f (Update to 3.11.3) @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,12 +28,21 @@ diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +<<<<<<< HEAD diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt --- gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-01 13:03:22.000000000 +0200 +++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-18 18:48:45.508029107 +0200 @@ -27,7 +27,8 @@ set_property( APPEND PROPERTY RESOURCE "${GDAL_DATA_FILES}") +======= +diff -rupN --no-dereference gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-12 12:33:50.000000000 +0200 ++++ gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-13 12:08:42.843906384 +0200 +@@ -35,7 +35,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) + target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) + endif() +>>>>>>> a8c258f (Update to 3.11.3) -add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp) +add_executable(s57dump s57dump.cpp) diff --git a/sources b/sources index 0ddc2fd..dabdefb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.10.3-fedora.tar.xz) = 1dced4c7a62ce74323e26d859b4fe82b67f660ab65c2a44f8de35771b7d9dca73b2d1d8c0497588b686bd3b5ea05045caa9558e19618e4c2b2bea3bf03781483 -SHA512 (gdalautotest-3.10.3.tar.gz) = af8637944498adfbc33b26f747bab0ad6b46216c58a994248ad8e252c90c6050709bef1b0c15986edfb6a87ee7d09bac8fd837266b5deb8980409bb018037c60 +SHA512 (gdal-3.11.3-fedora.tar.xz) = 3ca3940387f414b98845cf3ac62988ba4a5fd0b18e2f95cbc9373012c70c8600327b119e176795dc6fd90f9066f4b201feadfa78f037c5599e0c14ad6cf4531b +SHA512 (gdalautotest-3.11.3.tar.gz) = b7a42317c02e0cd268c77bb77e2c8e2742d4611f228a1f8a7cd8c6f27c0d854249ec6410af2a9848cdc18b7080b29cd6ff15478ab78f2eb6b3ecd2183f3a0d69 From e95684c34eee419ff5fe857e18f306583eb9e090 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 27 Jul 2025 19:23:59 +0200 Subject: [PATCH 199/224] Fix malformed patch --- gdal_utils.patch | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gdal_utils.patch b/gdal_utils.patch index 62a2f1c..26d7480 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,12 +1,6 @@ -<<<<<<< HEAD -diff -rupN --no-dereference gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.10.3-fedora/frmts/iso8211/CMakeLists.txt 2025-04-01 13:03:21.000000000 +0200 -+++ gdal-3.10.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-18 18:48:45.507762803 +0200 -======= diff -rupN --no-dereference gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt --- gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt 2025-07-12 12:33:49.000000000 +0200 +++ gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-13 12:08:42.843328554 +0200 ->>>>>>> a8c258f (Update to 3.11.3) @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -28,21 +22,12 @@ diff -rupN --no-dereference gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -<<<<<<< HEAD -diff -rupN --no-dereference gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.10.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-04-01 13:03:22.000000000 +0200 -+++ gdal-3.10.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-18 18:48:45.508029107 +0200 -@@ -27,7 +27,8 @@ set_property( - APPEND - PROPERTY RESOURCE "${GDAL_DATA_FILES}") -======= diff -rupN --no-dereference gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt --- gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-12 12:33:50.000000000 +0200 +++ gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-13 12:08:42.843906384 +0200 @@ -35,7 +35,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) endif() ->>>>>>> a8c258f (Update to 3.11.3) -add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp) +add_executable(s57dump s57dump.cpp) From 698a044082f6ca1c7a0003a4c462c699b951b07a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 27 Jul 2025 20:53:16 +0200 Subject: [PATCH 200/224] Drop BR: ogdi-devel (#2345558) --- gdal.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 52a02f3..91551b8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -122,7 +122,6 @@ BuildRequires: libzstd-devel BuildRequires: mariadb-connector-c-devel %endif BuildRequires: netcdf-devel -BuildRequires: ogdi-devel BuildRequires: openexr-devel BuildRequires: openssl-devel-engine %ifnarch %{ix86} %{arm} From c4cc55a1812a13fc8a33ff5b799660c13a89dc09 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 28 Jul 2025 10:41:06 +0200 Subject: [PATCH 201/224] Fix %%files --- gdal.spec | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/gdal.spec b/gdal.spec index 91551b8..75bd02e 100644 --- a/gdal.spec +++ b/gdal.spec @@ -471,8 +471,6 @@ done %files %{_bindir}/gdal -%{_bindir}/gdaladdo -%{_bindir}/gdalbuildvrt %{_bindir}/gdal_contour %{_bindir}/gdal_create %{_bindir}/gdal_footprint @@ -505,7 +503,7 @@ done %{_bindir}/8211* %{_bindir}/s57dump %endif -%{_datadir}/bash-completion/completions/gdal-config +%{_datadir}/bash-completion/completions/gdal %{_datadir}/bash-completion/completions/gdal_contour %{_datadir}/bash-completion/completions/gdal_create %{_datadir}/bash-completion/completions/gdal_grid @@ -627,23 +625,23 @@ done %{_bindir}/pct2rgb %{_bindir}/pct2rgb.py %{_bindir}/rgb2pct -%{_datadir}/bash-completion/completions/gdal -%{_datadir}/bash-completion/completions/gdal2tiles -%{_datadir}/bash-completion/completions/gdal2xyz -%{_datadir}/bash-completion/completions/gdal_calc -%{_datadir}/bash-completion/completions/gdalchksum -%{_datadir}/bash-completion/completions/gdalcompare -%{_datadir}/bash-completion/completions/gdal_edit -%{_datadir}/bash-completion/completions/gdal_fillnodata -%{_datadir}/bash-completion/completions/gdalident -%{_datadir}/bash-completion/completions/gdalimport -%{_datadir}/bash-completion/completions/gdal_merge -%{_datadir}/bash-completion/completions/gdalmove -%{_datadir}/bash-completion/completions/gdal_polygonize -%{_datadir}/bash-completion/completions/gdal_proximity -%{_datadir}/bash-completion/completions/gdal_retile -%{_datadir}/bash-completion/completions/gdal_sieve -%{_datadir}/bash-completion/completions/ogrmerge +%{_datadir}/bash-completion/completions/gdal2tiles.py +%{_datadir}/bash-completion/completions/gdal2xyz.py +%{_datadir}/bash-completion/completions/gdalchksum.py +%{_datadir}/bash-completion/completions/gdalcompare.py +%{_datadir}/bash-completion/completions/gdalident.py +%{_datadir}/bash-completion/completions/gdalimport.py +%{_datadir}/bash-completion/completions/gdalmove.py +%{_datadir}/bash-completion/completions/gdal_calc.py +%{_datadir}/bash-completion/completions/gdal-config +%{_datadir}/bash-completion/completions/gdal_edit.py +%{_datadir}/bash-completion/completions/gdal_fillnodata.py +%{_datadir}/bash-completion/completions/gdal_merge.py +%{_datadir}/bash-completion/completions/gdal_polygonize.py +%{_datadir}/bash-completion/completions/gdal_proximity.py +%{_datadir}/bash-completion/completions/gdal_retile.py +%{_datadir}/bash-completion/completions/gdal_sieve.py +%{_datadir}/bash-completion/completions/ogrmerge.py %{_mandir}/man1/gdal2tiles.1* %{_mandir}/man1/gdal_calc.1* %{_mandir}/man1/gdalcompare.1* From 196ae48f0524106588ab71961cb6505d9109f118 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 28 Jul 2025 23:37:00 +0200 Subject: [PATCH 202/224] Fix unpackaged file --- gdal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal.spec b/gdal.spec index 75bd02e..d1695bf 100644 --- a/gdal.spec +++ b/gdal.spec @@ -625,6 +625,7 @@ done %{_bindir}/pct2rgb %{_bindir}/pct2rgb.py %{_bindir}/rgb2pct +%{_bindir}/rgb2pct.py %{_datadir}/bash-completion/completions/gdal2tiles.py %{_datadir}/bash-completion/completions/gdal2xyz.py %{_datadir}/bash-completion/completions/gdalchksum.py From a06f11854540af1777c6eeb41e0f2166c4a6a21f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 29 Jul 2025 07:35:48 +0200 Subject: [PATCH 203/224] Abort on gdal-cleaner errors --- gdal-cleaner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal-cleaner.sh b/gdal-cleaner.sh index b7f4a8c..2859e69 100755 --- a/gdal-cleaner.sh +++ b/gdal-cleaner.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e if [ $# -lt 1 ]; then echo "Usage: $0 version pre" From 0086087c3582c8755131cc196f1566260b5a09e2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 31 Jul 2025 15:49:53 +0200 Subject: [PATCH 204/224] Rebuild (mingw-poppler) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index d1695bf..5e8df05 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.11.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -845,6 +845,9 @@ done %changelog +* Thu Jul 31 2025 Sandro Mani - 3.11.3-2 +- Rebuild (mingw-poppler) + * Sun Jul 27 2025 Sandro Mani - 3.11.3-1 - Update to 3.11.3 From 66ce787be2e6aaf2ee73f0c7d3752a4ace62863b Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 13 Aug 2025 10:55:33 -0600 Subject: [PATCH 205/224] Rebuild for libarrow 21 --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 5e8df05..cd13138 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.11.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -845,6 +845,9 @@ done %changelog +* Wed Aug 13 2025 Orion Poplawski - 3.11.3-3 +- Rebuild for libarrow 21 + * Thu Jul 31 2025 Sandro Mani - 3.11.3-2 - Rebuild (mingw-poppler) From bc3cea34024cfe9552c75db256d5418075db5324 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 18 Aug 2025 13:57:32 +0200 Subject: [PATCH 206/224] Rebuilt for Python 3.14.0rc2 bytecode --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index cd13138..c645a33 100644 --- a/gdal.spec +++ b/gdal.spec @@ -47,7 +47,7 @@ Name: gdal Version: 3.11.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -845,6 +845,9 @@ done %changelog +* Mon Aug 18 2025 Python Maint - 3.11.3-4 +- Rebuilt for Python 3.14.0rc2 bytecode + * Wed Aug 13 2025 Orion Poplawski - 3.11.3-3 - Rebuild for libarrow 21 From bf3daf0173df88faaa97d159de26f2d144049efe Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 21 Aug 2025 17:59:50 -0600 Subject: [PATCH 207/224] Undefine _preserve_static_debuginfo to prevent huge build times --- gdal.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index c645a33..1ba5b9d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,3 +1,7 @@ +# Without this the build time baloons from 1 hour to more than 46 on i686 +# https://bugzilla.redhat.com/show_bug.cgi?id=2390105 +%undefine _preserve_static_debuginfo + %global run_tests 1 %global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) @@ -47,7 +51,7 @@ Name: gdal Version: 3.11.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -845,6 +849,9 @@ done %changelog +* Thu Aug 21 2025 Orion Poplawski - 3.11.3-5 +- Undefine _preserve_static_debuginfo to prevent huge build times + * Mon Aug 18 2025 Python Maint - 3.11.3-4 - Rebuilt for Python 3.14.0rc2 bytecode From 377f8594e7658e51ddc687c17d1a9a0668cabd6f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 21 Aug 2025 20:48:25 -0600 Subject: [PATCH 208/224] Add %define _find_debuginfo_opts --no-ar-files --- gdal.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal.spec b/gdal.spec index 1ba5b9d..84f2f96 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,6 +1,7 @@ # Without this the build time baloons from 1 hour to more than 46 on i686 # https://bugzilla.redhat.com/show_bug.cgi?id=2390105 %undefine _preserve_static_debuginfo +%define _find_debuginfo_opts --no-ar-files %global run_tests 1 From 136d07b83f83839d7bd2f7ec1804b92aa6134218 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 22 Aug 2025 07:50:13 -0600 Subject: [PATCH 209/224] Rebuild for netcdf 4.9.3 soname bump --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 84f2f96..34f76cb 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Fri Aug 22 2025 Orion Poplawski - 3.11.3-6 +- Rebuild for netcdf 4.9.3 soname bump + * Thu Aug 21 2025 Orion Poplawski - 3.11.3-5 - Undefine _preserve_static_debuginfo to prevent huge build times From e145220ec51e44dfe3f76bb7de1e3a1313ff2673 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 22 Aug 2025 08:38:38 -0600 Subject: [PATCH 210/224] Rebuild for netcdf 4.9.3 soname bump --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 34f76cb..c5dd6a8 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Fri Aug 22 2025 Orion Poplawski - 3.11.3-7 +- Rebuild for netcdf 4.9.3 soname bump + * Fri Aug 22 2025 Orion Poplawski - 3.11.3-6 - Rebuild for netcdf 4.9.3 soname bump From 53a4cd4851f744436b92a75a0fc7b1aded1a2c18 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 14 Sep 2025 16:49:57 +0200 Subject: [PATCH 211/224] Update to 3.11.4 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index cba36dd..447458d 100644 --- a/.gitignore +++ b/.gitignore @@ -132,3 +132,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.10.3.tar.gz /gdal-3.11.3-fedora.tar.xz /gdalautotest-3.11.3.tar.gz +/gdal-3.11.4-fedora.tar.xz +/gdalautotest-3.11.4.tar.gz diff --git a/gdal.spec b/gdal.spec index c5dd6a8..e848509 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,8 +51,8 @@ Name: gdal -Version: 3.11.3 -Release: 7%{?dist} +Version: 3.11.4 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Sun Sep 14 2025 Sandro Mani - 3.11.4-1 +- Update to 3.11.4 + * Fri Aug 22 2025 Orion Poplawski - 3.11.3-7 - Rebuild for netcdf 4.9.3 soname bump diff --git a/gdal_utils.patch b/gdal_utils.patch index 26d7480..cab7721 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt 2025-07-12 12:33:49.000000000 +0200 -+++ gdal-3.11.3-fedora-new/frmts/iso8211/CMakeLists.txt 2025-07-13 12:08:42.843328554 +0200 +diff -rupN --no-dereference gdal-3.11.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.4-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.11.4-fedora/frmts/iso8211/CMakeLists.txt 2025-09-04 12:00:20.000000000 +0200 ++++ gdal-3.11.4-fedora-new/frmts/iso8211/CMakeLists.txt 2025-09-14 16:47:14.260340446 +0200 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.11.3-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.11.3-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-12 12:33:50.000000000 +0200 -+++ gdal-3.11.3-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-07-13 12:08:42.843906384 +0200 +diff -rupN --no-dereference gdal-3.11.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.11.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-09-04 12:00:21.000000000 +0200 ++++ gdal-3.11.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-09-14 16:47:14.260642007 +0200 @@ -35,7 +35,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) endif() diff --git a/sources b/sources index dabdefb..bbee103 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.11.3-fedora.tar.xz) = 3ca3940387f414b98845cf3ac62988ba4a5fd0b18e2f95cbc9373012c70c8600327b119e176795dc6fd90f9066f4b201feadfa78f037c5599e0c14ad6cf4531b -SHA512 (gdalautotest-3.11.3.tar.gz) = b7a42317c02e0cd268c77bb77e2c8e2742d4611f228a1f8a7cd8c6f27c0d854249ec6410af2a9848cdc18b7080b29cd6ff15478ab78f2eb6b3ecd2183f3a0d69 +SHA512 (gdal-3.11.4-fedora.tar.xz) = 15d6883d60952fb8c4fab6df8c956faa1d66ad20875655f3dba1b938b45f7bf4cb090a0bfe3cf5d77d6698d83477f5bd593efb7f0e047dfc806472681c27ea47 +SHA512 (gdalautotest-3.11.4.tar.gz) = c8f4e4739040f27fa092d132e14ff1196ae9639d8f74b3244d19390a60ee02963574215bc0e48f5163d575e83fc0185480a22eed35a1192c99cbf80f7bb062af From d0879d33537b763ca9347581a72bc54d5af09c03 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 14 Sep 2025 17:19:19 +0200 Subject: [PATCH 212/224] Fix %files --- gdal.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdal.spec b/gdal.spec index e848509..f08fb77 100644 --- a/gdal.spec +++ b/gdal.spec @@ -633,10 +633,7 @@ done %{_bindir}/rgb2pct.py %{_datadir}/bash-completion/completions/gdal2tiles.py %{_datadir}/bash-completion/completions/gdal2xyz.py -%{_datadir}/bash-completion/completions/gdalchksum.py %{_datadir}/bash-completion/completions/gdalcompare.py -%{_datadir}/bash-completion/completions/gdalident.py -%{_datadir}/bash-completion/completions/gdalimport.py %{_datadir}/bash-completion/completions/gdalmove.py %{_datadir}/bash-completion/completions/gdal_calc.py %{_datadir}/bash-completion/completions/gdal-config From d354dcf08c1c959c8cbd0a20657bb55a9a9a6ff6 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 14 Sep 2025 17:40:05 +0200 Subject: [PATCH 213/224] Fix unpackaged files --- gdal.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdal.spec b/gdal.spec index f08fb77..11e7a46 100644 --- a/gdal.spec +++ b/gdal.spec @@ -639,12 +639,15 @@ done %{_datadir}/bash-completion/completions/gdal-config %{_datadir}/bash-completion/completions/gdal_edit.py %{_datadir}/bash-completion/completions/gdal_fillnodata.py +%{_datadir}/bash-completion/completions/gdal_footprint %{_datadir}/bash-completion/completions/gdal_merge.py %{_datadir}/bash-completion/completions/gdal_polygonize.py %{_datadir}/bash-completion/completions/gdal_proximity.py %{_datadir}/bash-completion/completions/gdal_retile.py %{_datadir}/bash-completion/completions/gdal_sieve.py %{_datadir}/bash-completion/completions/ogrmerge.py +%{_datadir}/bash-completion/completions/ogr_layer_algebra.py +%{_datadir}/bash-completion/completions/sozip %{_mandir}/man1/gdal2tiles.1* %{_mandir}/man1/gdal_calc.1* %{_mandir}/man1/gdalcompare.1* From b1f662fa46ba37d408eb460ba2992f32044f334b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 17 Sep 2025 15:45:07 +0200 Subject: [PATCH 214/224] BR: muparser-devel --- gdal.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 11e7a46..29b08f5 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -126,6 +126,7 @@ BuildRequires: libzstd-devel %if 0%{?with_mysql} BuildRequires: mariadb-connector-c-devel %endif +BuildRequires: muParser-devel BuildRequires: netcdf-devel BuildRequires: openexr-devel BuildRequires: openssl-devel-engine @@ -850,6 +851,9 @@ done %changelog +* Wed Sep 17 2025 Sandro Mani - 3.11.4-2 +- BR: muparser-devel + * Sun Sep 14 2025 Sandro Mani - 3.11.4-1 - Update to 3.11.4 From d85d81a7bf6b0528cdba161db42ab31abb20e037 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 17 Sep 2025 23:13:58 -0400 Subject: [PATCH 215/224] Package manpages and shell completions together with the respective commands gdal_footprint and sozip are in the main package. gdal-config is in the gdal-devel subpackage, but all other gdal-* manpages document subcommands of the gdal command in the main package. This also fixes the build without python3 (e.g. RHEL/ELN). --- gdal.spec | 270 +++++++++++++++++++++++++++--------------------------- 1 file changed, 136 insertions(+), 134 deletions(-) diff --git a/gdal.spec b/gdal.spec index 29b08f5..f6fd232 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -512,6 +512,7 @@ done %{_datadir}/bash-completion/completions/gdal %{_datadir}/bash-completion/completions/gdal_contour %{_datadir}/bash-completion/completions/gdal_create +%{_datadir}/bash-completion/completions/gdal_footprint %{_datadir}/bash-completion/completions/gdal_grid %{_datadir}/bash-completion/completions/gdal_rasterize %{_datadir}/bash-completion/completions/gdal_translate @@ -531,140 +532,7 @@ done %{_datadir}/bash-completion/completions/ogrinfo %{_datadir}/bash-completion/completions/ogrlineref %{_datadir}/bash-completion/completions/ogrtindex -%{_mandir}/man1/gdaladdo.1.* -%{_mandir}/man1/gdalbuildvrt.1.* -%{_mandir}/man1/gdal-config.1.* -%{_mandir}/man1/gdal_contour.1.* -%{_mandir}/man1/gdal_create.1.* -%{_mandir}/man1/gdaldem.1.* -%{_mandir}/man1/gdal_footprint.1.* -%{_mandir}/man1/gdal_grid.1.* -%{_mandir}/man1/gdalinfo.1.* -%{_mandir}/man1/gdallocationinfo.1.* -%{_mandir}/man1/gdalmanage.1.* -%{_mandir}/man1/gdalmdiminfo.1.* -%{_mandir}/man1/gdalmdimtranslate.1.* -%{_mandir}/man1/gdal_rasterize.1.* -%{_mandir}/man1/gdalsrsinfo.1.* -%{_mandir}/man1/gdaltindex.1.* -%{_mandir}/man1/gdaltransform.1.* -%{_mandir}/man1/gdal_translate.1.* -%{_mandir}/man1/gdal_viewshed.1.* -%{_mandir}/man1/gdalwarp.1.* -%{_mandir}/man1/gnmanalyse.1.* -%{_mandir}/man1/gnmmanage.1.* -%{_mandir}/man1/nearblack.1.* -%{_mandir}/man1/ogr2ogr.1.* -%{_mandir}/man1/ogrinfo.1.* -%{_mandir}/man1/ogrlineref.1.* -%{_mandir}/man1/ogrtindex.1.* -%{_mandir}/man1/sozip.1.* - -%files libs -%license LICENSE.TXT -%doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.37 -%{_libdir}/libgdal.so.37.* -%{_datadir}/%{name}/ -%{_libdir}/gdalplugins/ - -%files devel -%{_bindir}/%{name}-config -%{_bindir}/%{name}-config-%{cpuarch} -%{_includedir}/%{name}/ -%{_libdir}/lib%{name}.so -%{_libdir}/cmake/gdal/ -%{_libdir}/pkgconfig/%{name}.pc -%{_mandir}/man1/gdal-config.1* - -%if %{with java} -%files java -%{_jnidir}/%{name}/gdal-%{version}-sources.jar -%{_jnidir}/%{name}/gdal-%{version}.jar -%{_jnidir}/%{name}/gdal-%{version}.pom -%{_jnidir}/%{name}/libgdalalljni.so - -%files javadoc -%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar -%endif - -%if %{with python3} -%files -n python3-gdal -%doc swig/python/README.rst -%{python3_sitearch}/GDAL-%{version}-py*.egg-info/ -%{python3_sitearch}/osgeo/ -%{python3_sitearch}/osgeo_utils/ - -%files python-tools -%{_bindir}/gdal2tiles -%{_bindir}/gdal2tiles.py -%{_bindir}/gdal2xyz -%{_bindir}/gdal2xyz.py -%{_bindir}/gdalattachpct -%{_bindir}/gdalattachpct.py -%{_bindir}/gdal_calc -%{_bindir}/gdal_calc.py -%{_bindir}/gdalcompare -%{_bindir}/gdalcompare.py -%{_bindir}/gdal_edit -%{_bindir}/gdal_edit.py -%{_bindir}/gdal_fillnodata -%{_bindir}/gdal_fillnodata.py -%{_bindir}/gdal_merge -%{_bindir}/gdal_merge.py -%{_bindir}/gdalmove -%{_bindir}/gdalmove.py -%{_bindir}/gdal_pansharpen -%{_bindir}/gdal_pansharpen.py -%{_bindir}/gdal_polygonize -%{_bindir}/gdal_polygonize.py -%{_bindir}/gdal_proximity -%{_bindir}/gdal_proximity.py -%{_bindir}/gdal_retile -%{_bindir}/gdal_retile.py -%{_bindir}/gdal_sieve -%{_bindir}/gdal_sieve.py -%{_bindir}/ogr_layer_algebra -%{_bindir}/ogr_layer_algebra.py -%{_bindir}/ogrmerge -%{_bindir}/ogrmerge.py -%{_bindir}/pct2rgb -%{_bindir}/pct2rgb.py -%{_bindir}/rgb2pct -%{_bindir}/rgb2pct.py -%{_datadir}/bash-completion/completions/gdal2tiles.py -%{_datadir}/bash-completion/completions/gdal2xyz.py -%{_datadir}/bash-completion/completions/gdalcompare.py -%{_datadir}/bash-completion/completions/gdalmove.py -%{_datadir}/bash-completion/completions/gdal_calc.py -%{_datadir}/bash-completion/completions/gdal-config -%{_datadir}/bash-completion/completions/gdal_edit.py -%{_datadir}/bash-completion/completions/gdal_fillnodata.py -%{_datadir}/bash-completion/completions/gdal_footprint -%{_datadir}/bash-completion/completions/gdal_merge.py -%{_datadir}/bash-completion/completions/gdal_polygonize.py -%{_datadir}/bash-completion/completions/gdal_proximity.py -%{_datadir}/bash-completion/completions/gdal_retile.py -%{_datadir}/bash-completion/completions/gdal_sieve.py -%{_datadir}/bash-completion/completions/ogrmerge.py -%{_datadir}/bash-completion/completions/ogr_layer_algebra.py %{_datadir}/bash-completion/completions/sozip -%{_mandir}/man1/gdal2tiles.1* -%{_mandir}/man1/gdal_calc.1* -%{_mandir}/man1/gdalcompare.1* -%{_mandir}/man1/gdal_edit.1* -%{_mandir}/man1/gdal_fillnodata.1* -%{_mandir}/man1/gdal_merge.1* -%{_mandir}/man1/gdalmove.1* -%{_mandir}/man1/gdal_pansharpen.1* -%{_mandir}/man1/gdal_polygonize.1* -%{_mandir}/man1/gdal_proximity.1* -%{_mandir}/man1/gdal_retile.1* -%{_mandir}/man1/gdal_sieve.1* -%{_mandir}/man1/ogr_layer_algebra.1* -%{_mandir}/man1/ogrmerge.1* -%{_mandir}/man1/pct2rgb.1* -%{_mandir}/man1/rgb2pct.1* %{_mandir}/man1/gdal-convert.1* %{_mandir}/man1/gdal-info.1* %{_mandir}/man1/gdal-mdim-convert.1* @@ -733,6 +601,137 @@ done %{_mandir}/man1/gdal-vsi-sync.1* %{_mandir}/man1/gdal-vsi.1* %{_mandir}/man1/gdal.1* +%{_mandir}/man1/gdaladdo.1.* +%{_mandir}/man1/gdalbuildvrt.1.* +%{_mandir}/man1/gdal_contour.1.* +%{_mandir}/man1/gdal_create.1.* +%{_mandir}/man1/gdaldem.1.* +%{_mandir}/man1/gdal_footprint.1.* +%{_mandir}/man1/gdal_grid.1.* +%{_mandir}/man1/gdalinfo.1.* +%{_mandir}/man1/gdallocationinfo.1.* +%{_mandir}/man1/gdalmanage.1.* +%{_mandir}/man1/gdalmdiminfo.1.* +%{_mandir}/man1/gdalmdimtranslate.1.* +%{_mandir}/man1/gdal_rasterize.1.* +%{_mandir}/man1/gdalsrsinfo.1.* +%{_mandir}/man1/gdaltindex.1.* +%{_mandir}/man1/gdaltransform.1.* +%{_mandir}/man1/gdal_translate.1.* +%{_mandir}/man1/gdal_viewshed.1.* +%{_mandir}/man1/gdalwarp.1.* +%{_mandir}/man1/gnmanalyse.1.* +%{_mandir}/man1/gnmmanage.1.* +%{_mandir}/man1/nearblack.1.* +%{_mandir}/man1/ogr2ogr.1.* +%{_mandir}/man1/ogrinfo.1.* +%{_mandir}/man1/ogrlineref.1.* +%{_mandir}/man1/ogrtindex.1.* +%{_mandir}/man1/sozip.1.* + +%files libs +%license LICENSE.TXT +%doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora +%{_libdir}/libgdal.so.37 +%{_libdir}/libgdal.so.37.* +%{_datadir}/%{name}/ +%{_libdir}/gdalplugins/ + +%files devel +%{_bindir}/%{name}-config +%{_bindir}/%{name}-config-%{cpuarch} +%{_includedir}/%{name}/ +%{_libdir}/lib%{name}.so +%{_libdir}/cmake/gdal/ +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/bash-completion/completions/gdal-config +%{_mandir}/man1/gdal-config.1* + +%if %{with java} +%files java +%{_jnidir}/%{name}/gdal-%{version}-sources.jar +%{_jnidir}/%{name}/gdal-%{version}.jar +%{_jnidir}/%{name}/gdal-%{version}.pom +%{_jnidir}/%{name}/libgdalalljni.so + +%files javadoc +%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar +%endif + +%if %{with python3} +%files -n python3-gdal +%doc swig/python/README.rst +%{python3_sitearch}/GDAL-%{version}-py*.egg-info/ +%{python3_sitearch}/osgeo/ +%{python3_sitearch}/osgeo_utils/ + +%files python-tools +%{_bindir}/gdal2tiles +%{_bindir}/gdal2tiles.py +%{_bindir}/gdal2xyz +%{_bindir}/gdal2xyz.py +%{_bindir}/gdalattachpct +%{_bindir}/gdalattachpct.py +%{_bindir}/gdal_calc +%{_bindir}/gdal_calc.py +%{_bindir}/gdalcompare +%{_bindir}/gdalcompare.py +%{_bindir}/gdal_edit +%{_bindir}/gdal_edit.py +%{_bindir}/gdal_fillnodata +%{_bindir}/gdal_fillnodata.py +%{_bindir}/gdal_merge +%{_bindir}/gdal_merge.py +%{_bindir}/gdalmove +%{_bindir}/gdalmove.py +%{_bindir}/gdal_pansharpen +%{_bindir}/gdal_pansharpen.py +%{_bindir}/gdal_polygonize +%{_bindir}/gdal_polygonize.py +%{_bindir}/gdal_proximity +%{_bindir}/gdal_proximity.py +%{_bindir}/gdal_retile +%{_bindir}/gdal_retile.py +%{_bindir}/gdal_sieve +%{_bindir}/gdal_sieve.py +%{_bindir}/ogr_layer_algebra +%{_bindir}/ogr_layer_algebra.py +%{_bindir}/ogrmerge +%{_bindir}/ogrmerge.py +%{_bindir}/pct2rgb +%{_bindir}/pct2rgb.py +%{_bindir}/rgb2pct +%{_bindir}/rgb2pct.py +%{_datadir}/bash-completion/completions/gdal2tiles.py +%{_datadir}/bash-completion/completions/gdal2xyz.py +%{_datadir}/bash-completion/completions/gdalcompare.py +%{_datadir}/bash-completion/completions/gdalmove.py +%{_datadir}/bash-completion/completions/gdal_calc.py +%{_datadir}/bash-completion/completions/gdal_edit.py +%{_datadir}/bash-completion/completions/gdal_fillnodata.py +%{_datadir}/bash-completion/completions/gdal_merge.py +%{_datadir}/bash-completion/completions/gdal_polygonize.py +%{_datadir}/bash-completion/completions/gdal_proximity.py +%{_datadir}/bash-completion/completions/gdal_retile.py +%{_datadir}/bash-completion/completions/gdal_sieve.py +%{_datadir}/bash-completion/completions/ogrmerge.py +%{_datadir}/bash-completion/completions/ogr_layer_algebra.py +%{_mandir}/man1/gdal2tiles.1* +%{_mandir}/man1/gdal_calc.1* +%{_mandir}/man1/gdalcompare.1* +%{_mandir}/man1/gdal_edit.1* +%{_mandir}/man1/gdal_fillnodata.1* +%{_mandir}/man1/gdal_merge.1* +%{_mandir}/man1/gdalmove.1* +%{_mandir}/man1/gdal_pansharpen.1* +%{_mandir}/man1/gdal_polygonize.1* +%{_mandir}/man1/gdal_proximity.1* +%{_mandir}/man1/gdal_retile.1* +%{_mandir}/man1/gdal_sieve.1* +%{_mandir}/man1/ogr_layer_algebra.1* +%{_mandir}/man1/ogrmerge.1* +%{_mandir}/man1/pct2rgb.1* +%{_mandir}/man1/rgb2pct.1* %endif %if %{with mingw} @@ -851,6 +850,9 @@ done %changelog +* Thu Sep 18 2025 Yaakov Selkowitz - 3.11.4-3 +- Package manpages and shell completions together with the respective commands + * Wed Sep 17 2025 Sandro Mani - 3.11.4-2 - BR: muparser-devel From 38126bb718c31e8253fe365f0f17ce717d4e063f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:17:44 +0200 Subject: [PATCH 216/224] Rebuilt for Python 3.14.0rc3 bytecode --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index f6fd232..eba1dd4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Fri Sep 19 2025 Python Maint - 3.11.4-4 +- Rebuilt for Python 3.14.0rc3 bytecode + * Thu Sep 18 2025 Yaakov Selkowitz - 3.11.4-3 - Package manpages and shell completions together with the respective commands From f810f3bd7c75cfebf591c5c0377cf39ab81b568d Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 9 Oct 2025 02:21:08 -0400 Subject: [PATCH 217/224] Fix manpage file listings Neither the compression of manpages nor the format thereof should be assumed. This fixed the Fedora 43 flatpak build. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages --- gdal.spec | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/gdal.spec b/gdal.spec index eba1dd4..d5be908 100644 --- a/gdal.spec +++ b/gdal.spec @@ -601,33 +601,33 @@ done %{_mandir}/man1/gdal-vsi-sync.1* %{_mandir}/man1/gdal-vsi.1* %{_mandir}/man1/gdal.1* -%{_mandir}/man1/gdaladdo.1.* -%{_mandir}/man1/gdalbuildvrt.1.* -%{_mandir}/man1/gdal_contour.1.* -%{_mandir}/man1/gdal_create.1.* -%{_mandir}/man1/gdaldem.1.* -%{_mandir}/man1/gdal_footprint.1.* -%{_mandir}/man1/gdal_grid.1.* -%{_mandir}/man1/gdalinfo.1.* -%{_mandir}/man1/gdallocationinfo.1.* -%{_mandir}/man1/gdalmanage.1.* -%{_mandir}/man1/gdalmdiminfo.1.* -%{_mandir}/man1/gdalmdimtranslate.1.* -%{_mandir}/man1/gdal_rasterize.1.* -%{_mandir}/man1/gdalsrsinfo.1.* -%{_mandir}/man1/gdaltindex.1.* -%{_mandir}/man1/gdaltransform.1.* -%{_mandir}/man1/gdal_translate.1.* -%{_mandir}/man1/gdal_viewshed.1.* -%{_mandir}/man1/gdalwarp.1.* -%{_mandir}/man1/gnmanalyse.1.* -%{_mandir}/man1/gnmmanage.1.* -%{_mandir}/man1/nearblack.1.* -%{_mandir}/man1/ogr2ogr.1.* -%{_mandir}/man1/ogrinfo.1.* -%{_mandir}/man1/ogrlineref.1.* -%{_mandir}/man1/ogrtindex.1.* -%{_mandir}/man1/sozip.1.* +%{_mandir}/man1/gdaladdo.1* +%{_mandir}/man1/gdalbuildvrt.1* +%{_mandir}/man1/gdal_contour.1* +%{_mandir}/man1/gdal_create.1* +%{_mandir}/man1/gdaldem.1* +%{_mandir}/man1/gdal_footprint.1* +%{_mandir}/man1/gdal_grid.1* +%{_mandir}/man1/gdalinfo.1* +%{_mandir}/man1/gdallocationinfo.1* +%{_mandir}/man1/gdalmanage.1* +%{_mandir}/man1/gdalmdiminfo.1* +%{_mandir}/man1/gdalmdimtranslate.1* +%{_mandir}/man1/gdal_rasterize.1* +%{_mandir}/man1/gdalsrsinfo.1* +%{_mandir}/man1/gdaltindex.1* +%{_mandir}/man1/gdaltransform.1* +%{_mandir}/man1/gdal_translate.1* +%{_mandir}/man1/gdal_viewshed.1* +%{_mandir}/man1/gdalwarp.1* +%{_mandir}/man1/gnmanalyse.1* +%{_mandir}/man1/gnmmanage.1* +%{_mandir}/man1/nearblack.1* +%{_mandir}/man1/ogr2ogr.1* +%{_mandir}/man1/ogrinfo.1* +%{_mandir}/man1/ogrlineref.1* +%{_mandir}/man1/ogrtindex.1* +%{_mandir}/man1/sozip.1* %files libs %license LICENSE.TXT From 4fc48a16c43f38539bd1b3305e05b64eb87e0824 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 9 Oct 2025 03:23:08 -0400 Subject: [PATCH 218/224] Rebuilt for java-25-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk --- gdal.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdal.spec b/gdal.spec index d5be908..525c7c0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -157,9 +157,9 @@ BuildRequires: python3dist(lxml) >= 4.5.1 # Java %if %{with java} # For 'mvn_artifact' and 'mvn_install' -BuildRequires: ant +BuildRequires: ant-openjdk25 BuildRequires: java-devel >= 1:1.6.0 -BuildRequires: javapackages-local +BuildRequires: javapackages-local-openjdk25 BuildRequires: jpackage-utils %endif @@ -850,6 +850,9 @@ done %changelog +* Thu Oct 09 2025 Yaakov Selkowitz - 3.11.4-5 +- Rebuilt for java-25-openjdk as system jdk + * Fri Sep 19 2025 Python Maint - 3.11.4-4 - Rebuilt for Python 3.14.0rc3 bytecode From b7e01d99177df1b9c5808418c40e7c97953d6e5a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 29 Oct 2025 09:24:26 -0400 Subject: [PATCH 219/224] Rebuild for libarrow 22 Signed-off-by: Stephen Gallagher --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 525c7c0..00a04d0 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.11.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Wed Oct 29 2025 Stephen Gallagher - 3.11.4-6 +- Rebuild for libarrow 22 + * Thu Oct 09 2025 Yaakov Selkowitz - 3.11.4-5 - Rebuilt for java-25-openjdk as system jdk From 2665a7f24c0056d1838f8019ad58da8ad2119297 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 7 Nov 2025 14:02:28 +0100 Subject: [PATCH 220/224] Update to 3.11.5 --- .gitignore | 2 ++ gdal.spec | 7 +++++-- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 447458d..5f88cba 100644 --- a/.gitignore +++ b/.gitignore @@ -134,3 +134,5 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.11.3.tar.gz /gdal-3.11.4-fedora.tar.xz /gdalautotest-3.11.4.tar.gz +/gdal-3.11.5-fedora.tar.xz +/gdalautotest-3.11.5.tar.gz diff --git a/gdal.spec b/gdal.spec index 00a04d0..dd329ba 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,8 +51,8 @@ Name: gdal -Version: 3.11.4 -Release: 6%{?dist} +Version: 3.11.5 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -850,6 +850,9 @@ done %changelog +* Fri Nov 07 2025 Sandro Mani - 3.11.5-1 +- Update to 3.11.5 + * Wed Oct 29 2025 Stephen Gallagher - 3.11.4-6 - Rebuild for libarrow 22 diff --git a/gdal_utils.patch b/gdal_utils.patch index cab7721..151044c 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.11.4-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.4-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.11.4-fedora/frmts/iso8211/CMakeLists.txt 2025-09-04 12:00:20.000000000 +0200 -+++ gdal-3.11.4-fedora-new/frmts/iso8211/CMakeLists.txt 2025-09-14 16:47:14.260340446 +0200 +diff -rupN --no-dereference gdal-3.11.5-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.5-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.11.5-fedora/frmts/iso8211/CMakeLists.txt 2025-10-29 12:33:54.000000000 +0100 ++++ gdal-3.11.5-fedora-new/frmts/iso8211/CMakeLists.txt 2025-11-07 13:53:00.271838116 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.11.4-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.11.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.11.4-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-09-04 12:00:21.000000000 +0200 -+++ gdal-3.11.4-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-09-14 16:47:14.260642007 +0200 +diff -rupN --no-dereference gdal-3.11.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.11.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-10-29 12:33:55.000000000 +0100 ++++ gdal-3.11.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-07 13:53:00.272126363 +0100 @@ -35,7 +35,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) endif() diff --git a/sources b/sources index bbee103..032d71f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.11.4-fedora.tar.xz) = 15d6883d60952fb8c4fab6df8c956faa1d66ad20875655f3dba1b938b45f7bf4cb090a0bfe3cf5d77d6698d83477f5bd593efb7f0e047dfc806472681c27ea47 -SHA512 (gdalautotest-3.11.4.tar.gz) = c8f4e4739040f27fa092d132e14ff1196ae9639d8f74b3244d19390a60ee02963574215bc0e48f5163d575e83fc0185480a22eed35a1192c99cbf80f7bb062af +SHA512 (gdal-3.11.5-fedora.tar.xz) = a5492d5f45a35bbadc7c4af2b24ed40743c7f36e4c8b0824373495b3d2c032eb940e1239b64252920db9dd5bc0b2253052dbaac27ee9c69005b0957c5f6700a3 +SHA512 (gdalautotest-3.11.5.tar.gz) = cb97beed516fa74d3744da62e8cf0c1438d32063ec8bc5fea5b8a4bc3c7097553bb4045766e7d77f7c87456f44b37aae0961ff73b1a5f8cd4ad1ecb5351c3986 From c006213de01cc4735b1bc102481c8fa7c50b0288 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 23 Nov 2025 10:32:41 +0100 Subject: [PATCH 221/224] Update to 3.12.0 --- .gitignore | 3 ++ gdal.spec | 110 ++++++++++++++++++++++++++++++----------------- gdal_utils.patch | 14 +++--- sources | 4 +- 4 files changed, 83 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index 5f88cba..7f7eb03 100644 --- a/.gitignore +++ b/.gitignore @@ -136,3 +136,6 @@ gdalautotest-1.7.0.tar.gz /gdalautotest-3.11.4.tar.gz /gdal-3.11.5-fedora.tar.xz /gdalautotest-3.11.5.tar.gz +/gdal-3.12.0-fedora.tar.xz +/gdal-3.12.0.tar.xz +/gdalautotest-3.12.0.zip diff --git a/gdal.spec b/gdal.spec index dd329ba..269a56d 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,7 +51,7 @@ Name: gdal -Version: 3.11.5 +Version: 3.12.0 Release: 1%{?dist} Summary: GIS file format library License: MIT @@ -60,7 +60,7 @@ URL: http://www.gdal.org # See PROVENANCE.TXT-fedora and the cleaner script for details! Source0: %{name}-%{version}%{?pre:%pre}-fedora.tar.xz -Source1: http://download.osgeo.org/%{name}/%{version}/%{name}autotest-%{version}%{?pre:%pre}.tar.gz +Source1: http://download.osgeo.org/%{name}/%{version}/%{name}autotest-%{version}%{?pre:%pre}.zip # Multilib compatible cpl-config.h header Source2: cpl-config.h # Multilib compatible gdal-config script @@ -93,6 +93,7 @@ BuildRequires: proj-devel >= 5.2.0 BuildRequires: sqlite-devel BuildRequires: swig BuildRequires: unixODBC-devel +BuildRequires: unzip BuildRequires: xz-devel BuildRequires: zlib-devel @@ -396,7 +397,7 @@ rm -rf mrf/LERCV1 rm -rf third_party/LercLib # Setup autotest directory -tar xf %{SOURCE1} +unzip %{SOURCE1} mv %{name}autotest-%{version}%{?pre:%pre} autotest # Need to patch autotest @@ -471,8 +472,10 @@ done %if 0%{run_tests} %check +%ifnarch s390x %ctest || : %endif +%endif %files @@ -533,15 +536,40 @@ done %{_datadir}/bash-completion/completions/ogrlineref %{_datadir}/bash-completion/completions/ogrtindex %{_datadir}/bash-completion/completions/sozip +%{_mandir}/man1/gdal.1* +%{_mandir}/man1/gdaladdo.1* +%{_mandir}/man1/gdalbuildvrt.1* +%{_mandir}/man1/gdal_contour.1* %{_mandir}/man1/gdal-convert.1* +%{_mandir}/man1/gdal_create.1* +%{_mandir}/man1/gdal-dataset.1.gz +%{_mandir}/man1/gdal-dataset-copy.1.gz +%{_mandir}/man1/gdal-dataset-delete.1.gz +%{_mandir}/man1/gdal-dataset-identify.1.gz +%{_mandir}/man1/gdal-dataset-rename.1.gz +%{_mandir}/man1/gdaldem.1* +%{_mandir}/man1/gdal_footprint.1* +%{_mandir}/man1/gdal_grid.1* %{_mandir}/man1/gdal-info.1* +%{_mandir}/man1/gdalinfo.1* +%{_mandir}/man1/gdallocationinfo.1* +%{_mandir}/man1/gdalmanage.1* +%{_mandir}/man1/gdal-mdim.1* %{_mandir}/man1/gdal-mdim-convert.1* %{_mandir}/man1/gdal-mdim-info.1* -%{_mandir}/man1/gdal-mdim.1* +%{_mandir}/man1/gdalmdiminfo.1* +%{_mandir}/man1/gdal-mdim-mosaic.1.gz +%{_mandir}/man1/gdalmdimtranslate.1* +%{_mandir}/man1/gdal-pipeline.1.gz +%{_mandir}/man1/gdal-raster.1* +%{_mandir}/man1/gdal-raster-as-features.1.gz +%{_mandir}/man1/gdal-raster-aspect.1.gz %{_mandir}/man1/gdal-raster-calc.1* %{_mandir}/man1/gdal-raster-clean-collar.1* %{_mandir}/man1/gdal-raster-clip.1* +%{_mandir}/man1/gdal-raster-color-blend.1.gz %{_mandir}/man1/gdal-raster-color-map.1* +%{_mandir}/man1/gdal-raster-compare.1.gz %{_mandir}/man1/gdal-raster-contour.1* %{_mandir}/man1/gdal-raster-convert.1* %{_mandir}/man1/gdal-raster-create.1* @@ -551,15 +579,22 @@ done %{_mandir}/man1/gdal-raster-hillshade.1* %{_mandir}/man1/gdal-raster-index.1* %{_mandir}/man1/gdal-raster-info.1* +%{_mandir}/man1/gdal_rasterize.1* %{_mandir}/man1/gdal-raster-mosaic.1* +%{_mandir}/man1/gdal-raster-neighbors.1.gz +%{_mandir}/man1/gdal-raster-nodata-to-alpha.1.gz %{_mandir}/man1/gdal-raster-overview-add.1* %{_mandir}/man1/gdal-raster-overview-delete.1* +%{_mandir}/man1/gdal-raster-overview-refresh.1.gz +%{_mandir}/man1/gdal-raster-pansharpen.1.gz %{_mandir}/man1/gdal-raster-pipeline.1* %{_mandir}/man1/gdal-raster-pixel-info.1* %{_mandir}/man1/gdal-raster-polygonize.1* +%{_mandir}/man1/gdal-raster-proximity.1.gz %{_mandir}/man1/gdal-raster-reclassify.1* %{_mandir}/man1/gdal-raster-reproject.1* %{_mandir}/man1/gdal-raster-resize.1* +%{_mandir}/man1/gdal-raster-rgb-to-palette.1.gz %{_mandir}/man1/gdal-raster-roughness.1* %{_mandir}/man1/gdal-raster-scale.1* %{_mandir}/man1/gdal-raster-select.1* @@ -571,54 +606,48 @@ done %{_mandir}/man1/gdal-raster-tpi.1* %{_mandir}/man1/gdal-raster-tri.1* %{_mandir}/man1/gdal-raster-unscale.1* +%{_mandir}/man1/gdal-raster-update.1.gz %{_mandir}/man1/gdal-raster-viewshed.1* -%{_mandir}/man1/gdal-raster.1* +%{_mandir}/man1/gdal-raster-zonal-stats.1.gz +%{_mandir}/man1/gdalsrsinfo.1* +%{_mandir}/man1/gdaltindex.1* +%{_mandir}/man1/gdaltransform.1* +%{_mandir}/man1/gdal_translate.1* +%{_mandir}/man1/gdal-vector.1* +%{_mandir}/man1/gdal-vector-buffer.1.gz +%{_mandir}/man1/gdal-vector-check-coverage.1.gz +%{_mandir}/man1/gdal-vector-check-geometry.1.gz +%{_mandir}/man1/gdal-vector-clean-coverage.1.gz %{_mandir}/man1/gdal-vector-clip.1* +%{_mandir}/man1/gdal-vector_concat.1* %{_mandir}/man1/gdal-vector-convert.1* %{_mandir}/man1/gdal-vector-edit.1* +%{_mandir}/man1/gdal-vector-explode-collections.1.gz %{_mandir}/man1/gdal-vector-filter.1* -%{_mandir}/man1/gdal-vector-geom-buffer.1* -%{_mandir}/man1/gdal-vector-geom-explode-collections.1* -%{_mandir}/man1/gdal-vector-geom-make-valid.1* -%{_mandir}/man1/gdal-vector-geom-segmentize.1* -%{_mandir}/man1/gdal-vector-geom-set-type.1* -%{_mandir}/man1/gdal-vector-geom-simplify.1* -%{_mandir}/man1/gdal-vector-geom-swap-xy.1* -%{_mandir}/man1/gdal-vector-geom.1* %{_mandir}/man1/gdal-vector-grid.1* +%{_mandir}/man1/gdal-vector-index.1.gz %{_mandir}/man1/gdal-vector-info.1* +%{_mandir}/man1/gdal-vector-layer-algebra.1.gz +%{_mandir}/man1/gdal-vector-make-point.1.gz +%{_mandir}/man1/gdal-vector-make-valid.1.gz +%{_mandir}/man1/gdal-vector-partition.1.gz %{_mandir}/man1/gdal-vector-pipeline.1* %{_mandir}/man1/gdal-vector-rasterize.1* +%{_mandir}/man1/gdal-vector-segmentize.1.gz %{_mandir}/man1/gdal-vector-select.1* +%{_mandir}/man1/gdal-vector-set-field-type.1.gz +%{_mandir}/man1/gdal-vector-set-geom-type.1.gz +%{_mandir}/man1/gdal-vector-simplify.1.gz %{_mandir}/man1/gdal-vector-sql.1* -%{_mandir}/man1/gdal-vector.1* -%{_mandir}/man1/gdal-vector_concat.1* +%{_mandir}/man1/gdal-vector-swap-xy.1.gz +%{_mandir}/man1/gdal_viewshed.1* +%{_mandir}/man1/gdal-vsi.1* %{_mandir}/man1/gdal-vsi-copy.1* %{_mandir}/man1/gdal-vsi-delete.1* %{_mandir}/man1/gdal-vsi-list.1* %{_mandir}/man1/gdal-vsi-move.1* %{_mandir}/man1/gdal-vsi-sozip.1* %{_mandir}/man1/gdal-vsi-sync.1* -%{_mandir}/man1/gdal-vsi.1* -%{_mandir}/man1/gdal.1* -%{_mandir}/man1/gdaladdo.1* -%{_mandir}/man1/gdalbuildvrt.1* -%{_mandir}/man1/gdal_contour.1* -%{_mandir}/man1/gdal_create.1* -%{_mandir}/man1/gdaldem.1* -%{_mandir}/man1/gdal_footprint.1* -%{_mandir}/man1/gdal_grid.1* -%{_mandir}/man1/gdalinfo.1* -%{_mandir}/man1/gdallocationinfo.1* -%{_mandir}/man1/gdalmanage.1* -%{_mandir}/man1/gdalmdiminfo.1* -%{_mandir}/man1/gdalmdimtranslate.1* -%{_mandir}/man1/gdal_rasterize.1* -%{_mandir}/man1/gdalsrsinfo.1* -%{_mandir}/man1/gdaltindex.1* -%{_mandir}/man1/gdaltransform.1* -%{_mandir}/man1/gdal_translate.1* -%{_mandir}/man1/gdal_viewshed.1* %{_mandir}/man1/gdalwarp.1* %{_mandir}/man1/gnmanalyse.1* %{_mandir}/man1/gnmmanage.1* @@ -632,8 +661,8 @@ done %files libs %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora -%{_libdir}/libgdal.so.37 -%{_libdir}/libgdal.so.37.* +%{_libdir}/libgdal.so.38 +%{_libdir}/libgdal.so.38.* %{_datadir}/%{name}/ %{_libdir}/gdalplugins/ @@ -737,7 +766,7 @@ done %if %{with mingw} %files -n mingw32-%{name} %license LICENSE.TXT -%{mingw32_bindir}/libgdal-37.dll +%{mingw32_bindir}/libgdal-38.dll %{mingw32_bindir}/gdal-config %{mingw32_libdir}/libgdal.dll.a %{mingw32_libdir}/cmake/gdal/ @@ -793,7 +822,7 @@ done %files -n mingw64-%{name} %license LICENSE.TXT -%{mingw64_bindir}/libgdal-37.dll +%{mingw64_bindir}/libgdal-38.dll %{mingw64_bindir}/gdal-config %{mingw64_libdir}/libgdal.dll.a %{mingw64_libdir}/cmake/gdal/ @@ -850,6 +879,9 @@ done %changelog +* Sun Nov 16 2025 Sandro Mani - 3.12.0-1 +- Update to 3.12.0 + * Fri Nov 07 2025 Sandro Mani - 3.11.5-1 - Update to 3.11.5 diff --git a/gdal_utils.patch b/gdal_utils.patch index 151044c..3075bd3 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.11.5-fedora/frmts/iso8211/CMakeLists.txt gdal-3.11.5-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.11.5-fedora/frmts/iso8211/CMakeLists.txt 2025-10-29 12:33:54.000000000 +0100 -+++ gdal-3.11.5-fedora-new/frmts/iso8211/CMakeLists.txt 2025-11-07 13:53:00.271838116 +0100 +diff -rupN --no-dereference gdal-3.12.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.12.0-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.12.0-fedora/frmts/iso8211/CMakeLists.txt 2025-11-08 00:18:13.000000000 +0100 ++++ gdal-3.12.0-fedora-new/frmts/iso8211/CMakeLists.txt 2025-11-16 10:13:14.149979117 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,10 +22,10 @@ diff -rupN --no-dereference gdal-3.11.5-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.11.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.11.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.11.5-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-10-29 12:33:55.000000000 +0100 -+++ gdal-3.11.5-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-07 13:53:00.272126363 +0100 -@@ -35,7 +35,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) +diff -rupN --no-dereference gdal-3.12.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.12.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.12.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-08 00:18:14.000000000 +0100 ++++ gdal-3.12.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-16 10:13:14.150285308 +0100 +@@ -38,7 +38,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) endif() diff --git a/sources b/sources index 032d71f..bfd7f58 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.11.5-fedora.tar.xz) = a5492d5f45a35bbadc7c4af2b24ed40743c7f36e4c8b0824373495b3d2c032eb940e1239b64252920db9dd5bc0b2253052dbaac27ee9c69005b0957c5f6700a3 -SHA512 (gdalautotest-3.11.5.tar.gz) = cb97beed516fa74d3744da62e8cf0c1438d32063ec8bc5fea5b8a4bc3c7097553bb4045766e7d77f7c87456f44b37aae0961ff73b1a5f8cd4ad1ecb5351c3986 +SHA512 (gdal-3.12.0-fedora.tar.xz) = de6a9121c6573eaeae45db93c3ea444b7c7de4ed1ca56dc1f4f3e915b6e4b29836bd09524231d145c68b7b13ae54bbeee4968f18fd1a7bbefa1feb7909a01f74 +SHA512 (gdalautotest-3.12.0.zip) = 2309fe081a2a29c2ce23f412552d2b896015789ce45c16e125192d0ec285a25f9c97315a95ef956bcf0514112145c48f8b197b526ba59937ab12166be78edb19 From dcd61ee050b51c9f8653a33e4400dd7674ef81af Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 8 Dec 2025 13:06:20 +0100 Subject: [PATCH 222/224] Rebuild (libtiff) --- gdal.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 269a56d..4475f36 100644 --- a/gdal.spec +++ b/gdal.spec @@ -52,7 +52,7 @@ Name: gdal Version: 3.12.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -879,6 +879,9 @@ done %changelog +* Mon Dec 08 2025 Sandro Mani - 3.12.0-2 +- Rebuild (libtiff) + * Sun Nov 16 2025 Sandro Mani - 3.12.0-1 - Update to 3.12.0 From fc760216de14e3d60e38299db6b8d8b830ffa7b1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 18 Dec 2025 23:18:10 +0100 Subject: [PATCH 223/224] Update to 3.12.1 --- .gitignore | 2 ++ gdal.spec | 9 ++++++--- gdal_utils.patch | 12 ++++++------ sources | 4 ++-- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 7f7eb03..71e0fa3 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,5 @@ gdalautotest-1.7.0.tar.gz /gdal-3.12.0-fedora.tar.xz /gdal-3.12.0.tar.xz /gdalautotest-3.12.0.zip +/gdal-3.12.1-fedora.tar.xz +/gdalautotest-3.12.1.zip diff --git a/gdal.spec b/gdal.spec index 4475f36..79142e4 100644 --- a/gdal.spec +++ b/gdal.spec @@ -51,8 +51,8 @@ Name: gdal -Version: 3.12.0 -Release: 2%{?dist} +Version: 3.12.1 +Release: 1%{?dist} Summary: GIS file format library License: MIT URL: http://www.gdal.org @@ -619,7 +619,7 @@ done %{_mandir}/man1/gdal-vector-check-geometry.1.gz %{_mandir}/man1/gdal-vector-clean-coverage.1.gz %{_mandir}/man1/gdal-vector-clip.1* -%{_mandir}/man1/gdal-vector_concat.1* +%{_mandir}/man1/gdal-vector-concat.1* %{_mandir}/man1/gdal-vector-convert.1* %{_mandir}/man1/gdal-vector-edit.1* %{_mandir}/man1/gdal-vector-explode-collections.1.gz @@ -879,6 +879,9 @@ done %changelog +* Thu Dec 18 2025 Sandro Mani - 3.12.1-1 +- Update to 3.12.1 + * Mon Dec 08 2025 Sandro Mani - 3.12.0-2 - Rebuild (libtiff) diff --git a/gdal_utils.patch b/gdal_utils.patch index 3075bd3..e0eee7c 100644 --- a/gdal_utils.patch +++ b/gdal_utils.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference gdal-3.12.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.12.0-fedora-new/frmts/iso8211/CMakeLists.txt ---- gdal-3.12.0-fedora/frmts/iso8211/CMakeLists.txt 2025-11-08 00:18:13.000000000 +0100 -+++ gdal-3.12.0-fedora-new/frmts/iso8211/CMakeLists.txt 2025-11-16 10:13:14.149979117 +0100 +diff -rupN --no-dereference gdal-3.12.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.12.1-fedora-new/frmts/iso8211/CMakeLists.txt +--- gdal-3.12.1-fedora/frmts/iso8211/CMakeLists.txt 2025-12-18 15:15:18.000000000 +0100 ++++ gdal-3.12.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-12-18 16:35:42.369730740 +0100 @@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P gdal_standard_includes(gdal_iso8211) @@ -22,9 +22,9 @@ diff -rupN --no-dereference gdal-3.12.0-fedora/frmts/iso8211/CMakeLists.txt gdal target_include_directories(8211createfromxml PRIVATE $) target_link_libraries(8211createfromxml PRIVATE $ gdal_iso8211) +install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff -rupN --no-dereference gdal-3.12.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.12.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt ---- gdal-3.12.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-08 00:18:14.000000000 +0100 -+++ gdal-3.12.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-11-16 10:13:14.150285308 +0100 +diff -rupN --no-dereference gdal-3.12.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.12.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt +--- gdal-3.12.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-12-18 15:15:18.000000000 +0100 ++++ gdal-3.12.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-12-18 16:35:42.369966573 +0100 @@ -38,7 +38,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES) target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES) endif() diff --git a/sources b/sources index bfd7f58..18aa636 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (gdal-3.12.0-fedora.tar.xz) = de6a9121c6573eaeae45db93c3ea444b7c7de4ed1ca56dc1f4f3e915b6e4b29836bd09524231d145c68b7b13ae54bbeee4968f18fd1a7bbefa1feb7909a01f74 -SHA512 (gdalautotest-3.12.0.zip) = 2309fe081a2a29c2ce23f412552d2b896015789ce45c16e125192d0ec285a25f9c97315a95ef956bcf0514112145c48f8b197b526ba59937ab12166be78edb19 +SHA512 (gdal-3.12.1-fedora.tar.xz) = 311005e3f577b09360b2a0bb9f6e3b97668f320a5833fe27753690f9067620460b1317ba615c7e59c01047782507ed7ebadf696ed951b477e4f53d0a4a402fc5 +SHA512 (gdalautotest-3.12.1.zip) = fb54eddf8b34d4bd9d308ec0e7b3b9947e07b4a0615f688daf933668b0faf4fd44c2bc716cce8045433ca894ff5dde60e75acd42d5a4aa5e2999b9fd5cd4d6a5 From 4015c908dd8c4e671dbd9cd33d9175d40773e1be Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 19 Dec 2025 17:45:54 +0100 Subject: [PATCH 224/224] Skip tests also on ppc64le for now --- gdal.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdal.spec b/gdal.spec index 79142e4..3cb8526 100644 --- a/gdal.spec +++ b/gdal.spec @@ -472,7 +472,8 @@ done %if 0%{run_tests} %check -%ifnarch s390x +# FIXME Tests hang on s390x ppc64le +%ifnarch s390x ppc64le %ctest || : %endif %endif