Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2018-05-29 10:28:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Tue May 29 10:28:01 2018 rev:26 rq:607421 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2018-04-06 17:50:41.085019778 +0200 +++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes 2018-05-29 10:28:10.325596425 +0200 @@ -1,0 +2,26 @@ +Mon May 14 14:03:36 UTC 2018 - br...@ioda-net.ch + +- Upgrade to new 2.3.0 version + See details https://trac.osgeo.org/gdal/wiki/Release/2.3.0-News + + Source code is now hosted on github + + RFC 70: Guessing output format from output file name extension + for utilities + https://trac.osgeo.org/gdal/wiki/rfc70_output_format_guess + + RFC 68: C++11 Compilation requirement + https://trac.osgeo.org/gdal/wiki/rfc68_cplusplus11 + GDAL now requires a C++11 compatible compiler. External code + using GDAL C++ API will also need to enable at least C++11 + compilation mode, if the compiler defaults to C++98/C++03. + + Stricter const-ness in OGRGeomFieldDefn, OGRFeatureDefn and + OGRFeature classes, impacting out-of-tree drivers that subclass + them. +- Packaging : redone patches against new version + + GDALmake.opt.in.patch + + gdal-libproj.patch + +------------------------------------------------------------------- +Mon May 7 12:40:25 UTC 2018 - guillaume.gar...@opensuse.org + +- Add optional support to ECW5 JPEG lib support disabled by default + +------------------------------------------------------------------- Old: ---- gdal-2.2.4.tar.xz New: ---- gdal-2.3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.5U7l4K/_old 2018-05-29 10:28:11.265561696 +0200 +++ /var/tmp/diff_new_pack.5U7l4K/_new 2018-05-29 10:28:11.269561549 +0200 @@ -21,8 +21,9 @@ %define soversion 20 %define sourcename gdal %bcond_with ecw_support +%bcond_with ecw5_support Name: gdal -Version: 2.2.4 +Version: 2.3.0 Release: 0 Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats License: MIT AND BSD-3-Clause AND SUSE-Public-Domain @@ -75,9 +76,13 @@ BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(xerces-c) BuildRequires: pkgconfig(zlib) >= 1.1.4 +%if %{with ecw5_support} +BuildRequires: ERDAS-ECW_JPEG_2000_SDK-devel +%else %if %{with ecw_support} BuildRequires: libecwj2-devel %endif +%endif %if 0%{?suse_version} >= 1310 BuildRequires: autoconf BuildRequires: automake @@ -173,6 +178,18 @@ #Fix wrong /usr/bin/env phyton #Create the move to python3 find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,' {} \; +%if %{with ecw5_support} +# gdal configure script looks for a given layout, so reproduce what is expected. +%if 0%{suse_version} >= 1500 +%define ecw_abi_conf newabi +%else +%define ecw_abi_conf "" +%endif +mkdir -p ../ECW/Desktop_Read-Only/lib/%{ecw_abi_conf}/x64/release/ +mkdir -p ../ECW/Desktop_Read-Only/include +cp %{_libdir}/libNCSEcw* ../ECW/Desktop_Read-Only/lib/%{ecw_abi_conf}/x64/release/ +cp -r %{_includedir}/{ECW*,NCS*} ../ECW/Desktop_Read-Only/include/ +%endif %build # need to regenerate (old one does not accept CFLAGS) @@ -216,10 +233,14 @@ --with-xerces=yes \ --with-xerces-lib="-lxerces-c" \ --with-xerces-inc=%{_includedir}/xercesc \ +%if %{with ecw5_support} + --with-ecw=../ECW/ \ +%else %if %{with ecw_support} --with-ecw \ CFLAGS="$CFLAGS -pthread" \ %endif +%endif %if 0%{?suse_version} > 1320 --with-opencl \ %endif ++++++ GDALmake.opt.in.patch ++++++ --- /var/tmp/diff_new_pack.5U7l4K/_old 2018-05-29 10:28:11.289560810 +0200 +++ /var/tmp/diff_new_pack.5U7l4K/_new 2018-05-29 10:28:11.289560810 +0200 @@ -1,12 +1,12 @@ diff -rup a/GDALmake.opt.in b/GDALmake.opt.in ---- a/GDALmake.opt.in 2017-04-28 18:07:38.000000000 +0200 -+++ b/GDALmake.opt.in 2017-05-19 21:11:58.318459759 +0200 +--- a/GDALmake.opt.in 2018-05-04 18:05:45.000000000 +0200 ++++ b/GDALmake.opt.in 2018-05-14 09:47:11.178524546 +0200 @@ -67,7 +67,7 @@ INST_DOCS = @exec_prefix@/doc INST_MAN = @mandir@ INST_HTML = $(HOME)/www/gdal --CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port @EXTRA_INCLUDES@ -DGDAL_COMPILATION -+CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore @EXTRA_INCLUDES@ -DGDAL_COMPILATION +-CPPFLAGS := @CPPFLAGS@ -I$(GDAL_ROOT)/port @EXTRA_INCLUDES@ -DGDAL_COMPILATION ++CPPFLAGS := @CPPFLAGS@ -I$(GDAL_ROOT)/gcore -I$(GDAL_ROOT)/port @EXTRA_INCLUDES@ -DGDAL_COMPILATION CFLAGS = @CFLAGS@ @C_WFLAGS@ $(USER_DEFS) CXXFLAGS = @CXXFLAGS@ @CXX_WFLAGS@ $(USER_DEFS) CFLAGS_NOFTRAPV = @CFLAGS_NOFTRAPV@ @C_WFLAGS@ $(USER_DEFS) ++++++ gdal-2.2.4.tar.xz -> gdal-2.3.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/gdal/gdal-2.2.4.tar.xz /work/SRC/openSUSE:Factory/.gdal.new/gdal-2.3.0.tar.xz differ: char 26, line 1 ++++++ gdal-libproj.patch ++++++ --- /var/tmp/diff_new_pack.5U7l4K/_old 2018-05-29 10:28:11.325559480 +0200 +++ /var/tmp/diff_new_pack.5U7l4K/_new 2018-05-29 10:28:11.329559332 +0200 @@ -1,12 +1,11 @@ diff -rup a/ogr/ogrct.cpp b/ogr/ogrct.cpp ---- a/ogr/ogrct.cpp 2017-04-28 18:07:33.000000000 +0200 -+++ b/ogr/ogrct.cpp 2017-05-19 21:06:54.145528449 +0200 -@@ -102,7 +102,7 @@ static bool bProjLocaleSafe = false - #elif defined(__APPLE__) +--- a/ogr/ogrct.cpp 2018-05-04 18:08:49.000000000 +0200 ++++ b/ogr/ogrct.cpp 2018-05-14 09:49:42.824062814 +0200 +@@ -125,6 +125,7 @@ static bool bProjLocaleSafe = false # define LIBNAME "libproj.dylib" #else --# define LIBNAME "libproj.so" + # define LIBNAME "libproj.so" +# define LIBNAME "libproj.so.12" #endif - /************************************************************************/ + #endif // PROJ_VERSION == 4