commit gdal for openSUSE:Factory

2020-11-09 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-11-09 13:57:34

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.11331 (New)


Package is "gdal"

Mon Nov  9 13:57:34 2020 rev:57 rq:846988 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-10-26 
16:23:28.219280523 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.11331/gdal.changes 2020-11-09 
13:58:56.691763443 +0100
@@ -1,0 +2,10 @@
+Wed Nov  4 12:59:42 UTC 2020 - Bruno Friedmann 
+
+- Update to 3.2.0:
+  * Full changelog 
+https://github.com/OSGeo/gdal/blob/v3.2.0/gdal/NEWS
+- Packaging:
+  + Add python3-GDAL as require in gdal package
+  + Remove shebang where it's not allowed in python's scripts
+
+---

Old:

  gdal-3.1.4.tar.xz
  gdal-3.1.4.tar.xz.md5

New:

  gdal-3.2.0.tar.xz
  gdal-3.2.0.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.0gmuam/_old  2020-11-09 13:58:57.275762170 +0100
+++ /var/tmp/diff_new_pack.0gmuam/_new  2020-11-09 13:58:57.279762161 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define soversion 27
+%define soversion 28
 %define sourcename gdal
 # Uppercase GDAL is the canonical name for this package in Python
 %define pypi_package_name GDAL
@@ -25,7 +25,7 @@
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.1.4
+Version:3.2.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
@@ -99,6 +99,7 @@
 BuildRequires:  libecwj2-devel
 %endif
 %endif
+Requires:   python3-GDAL = %{version}
 
 %description
 GDAL is a translator library for raster geospatial data formats that
@@ -179,9 +180,8 @@
 find . -type f -name "style_ogr_brush.png" -exec chmod 0644 {} \;
 find . -type f -name "style_ogr_sym.png" -exec chmod 0644 {} \;
 
-# Fix wrong /usr/bin/env phyton
-#Create the move to python3
-find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env 
python$,#!%{_bindir}/python3,' {} \;
+# Remove shebang in scripts located in non executable dir
+find swig/python/osgeo/utils -iname '*.py' -ls -exec sed -i 
'/^#!\/usr\/bin\/env python3/d' {} \;
 # Fix wrong /usr/bin/env python3
 find . -iname "*.py" -exec sed -i "s,^#!%{_bindir}/env 
python3,#!%{_bindir}/python3," {} \;
 
@@ -322,84 +322,47 @@
 %files
 %license LICENSE.TXT
 %doc NEWS PROVENANCE.TXT
-%{_bindir}/epsg_tr.py
-%{_bindir}/esri2wkt.py
-%{_bindir}/gcps2vec.py
-%{_bindir}/gcps2wld.py
-%{_bindir}/gdal2tiles.py
-%{_bindir}/gdal2xyz.py
-%{_bindir}/gdal_auth.py
-%{_bindir}/gdal_calc.py
 %{_bindir}/gdal_contour
-%{_bindir}/gdal_edit.py
-%{_bindir}/gdal_fillnodata.py
+%{_bindir}/gdal_create
 %{_bindir}/gdal_grid
-%{_bindir}/gdal_merge.py
-%{_bindir}/gdal_polygonize.py
-%{_bindir}/gdal_proximity.py
-%{_bindir}/gdal_pansharpen.py
 %{_bindir}/gdal_rasterize
-%{_bindir}/gdal_retile.py
-%{_bindir}/gdal_sieve.py
 %{_bindir}/gdal_translate
 %{_bindir}/gdal_viewshed
 %{_bindir}/gdaladdo
 %{_bindir}/gdalbuildvrt
-%{_bindir}/gdalchksum.py
-%{_bindir}/gdalcompare.py
 %{_bindir}/gdaldem
 %{_bindir}/gdalenhance
-%{_bindir}/gdalident.py
-%{_bindir}/gdalimport.py
 %{_bindir}/gdalinfo
 %{_bindir}/gdallocationinfo
 %{_bindir}/gdalmanage
 %{_bindir}/gdalmdiminfo
 %{_bindir}/gdalmdimtranslate
-%{_bindir}/gdalmove.py
-%{_bindir}/gdalserver
 %{_bindir}/gdalsrsinfo
 %{_bindir}/gdaltindex
 %{_bindir}/gdaltransform
 %{_bindir}/gdalwarp
 %{_bindir}/gnmanalyse
 %{_bindir}/gnmmanage
-%{_bindir}/mkgraticule.py
 %{_bindir}/nearblack
 %{_bindir}/ogr2ogr
 %{_bindir}/ogrinfo
 %{_bindir}/ogrlineref
-%{_bindir}/ogrmerge.py
 %{_bindir}/ogrtindex
-%{_bindir}/pct2rgb.py
-%{_bindir}/rgb2pct.py
 %{_bindir}/testepsg
 %{_datadir}/gdal
-%{_mandir}/man1/gdal2tiles.1%{?ext_man}
-%{_mandir}/man1/gdal_calc.1%{?ext_man}
 %{_mandir}/man1/gdal_contour.1%{?ext_man}
-%{_mandir}/man1/gdal_edit.1%{?ext_man}
-%{_mandir}/man1/gdal_fillnodata.1%{?ext_man}
-%{_mandir}/man1/gdal_grid.1%{?ext_man}
-%{_mandir}/man1/gdal_merge.1%{?ext_man}
-%{_mandir}/man1/gdal_pansharpen.1%{?ext_man}
-%{_mandir}/man1/gdal_polygonize.1%{?ext_man}
-%{_mandir}/man1/gdal_proximity.1%{?ext_man}
+%{_mandir}/man1/gdal_create.1%{?ext_man}
 %{_mandir}/man1/gdal_rasterize.1%{?ext_man}
-%{_mandir}/man1/gdal_retile.1%{?ext_man}
-%{_mandir}/man1/gdal_sieve.1%{?ext_man}
 %{_mandir}/man1/gdal_translate.1%{?ext_man}
 %{_mandir}/man1/gdal_viewshed.1%{?ext_man}
 %{_mandir}/man1/gdaladdo.1%{?ext_man}
 %{_mandir}/man1/gdalbuildvrt.1%{?ext_man}
-%{_mandir}/man1/gdalcompare.1%{?ext_man}
 %{_mandir}/man1/gdaldem.1%{?ext_man}
 

commit gdal for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-10-26 16:23:03

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3463 (New)


Package is "gdal"

Mon Oct 26 16:23:03 2020 rev:56 rq:844077 version:3.1.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-09-09 
18:11:48.499737214 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3463/gdal.changes  2020-10-26 
16:23:28.219280523 +0100
@@ -1,0 +2,6 @@
+Sat Oct 24 06:57:48 UTC 2020 - Bruno Friedmann 
+
+- Update to 3.1.4 version bug fix release see changelog
+  https://github.com/OSGeo/gdal/blob/v3.1.4/gdal/NEWS 
+
+---

Old:

  gdal-3.1.3.tar.xz
  gdal-3.1.3.tar.xz.md5

New:

  gdal-3.1.4.tar.xz
  gdal-3.1.4.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.OiHnlZ/_old  2020-10-26 16:23:29.103281234 +0100
+++ /var/tmp/diff_new_pack.OiHnlZ/_new  2020-10-26 16:23:29.111281240 +0100
@@ -25,7 +25,7 @@
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.1.3
+Version:3.1.4
 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

++ gdal-3.1.3.tar.xz -> gdal-3.1.4.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.1.3.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.3463/gdal-3.1.4.tar.xz differ: char 26, 
line 1

++ gdal-3.1.3.tar.xz.md5 -> gdal-3.1.4.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-3.1.3.tar.xz.md5   2020-09-09 
18:11:47.711736496 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3463/gdal-3.1.4.tar.xz.md5 
2020-10-26 16:23:28.187280497 +0100
@@ -1 +1 @@
-4438a1b7828c54b1d5bdff8647132c47  gdal-3.1.3.tar.xz
+bc190da86222ab2784da1a00265dfb2c  gdal-3.1.4.tar.xz




commit gdal for openSUSE:Factory

2020-09-09 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-09-09 18:06:27

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3399 (New)


Package is "gdal"

Wed Sep  9 18:06:27 2020 rev:55 rq:833196 version:3.1.3

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-07-20 
21:00:28.309038243 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3399/gdal.changes  2020-09-09 
18:11:48.499737214 +0200
@@ -1,0 +2,6 @@
+Tue Sep  8 08:23:15 UTC 2020 - Bruno Friedmann 
+
+- Update to 3.1.3 version bug fix release see changelog
+  https://github.com/OSGeo/gdal/blob/v3.1.3/gdal/NEWS 
+
+---

Old:

  gdal-3.1.2.tar.xz
  gdal-3.1.2.tar.xz.md5

New:

  gdal-3.1.3.tar.xz
  gdal-3.1.3.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.V64a5R/_old  2020-09-09 18:11:49.511738137 +0200
+++ /var/tmp/diff_new_pack.V64a5R/_new  2020-09-09 18:11:49.515738141 +0200
@@ -25,7 +25,7 @@
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.1.2
+Version:3.1.3
 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

++ gdal-3.1.2.tar.xz -> gdal-3.1.3.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.1.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.3399/gdal-3.1.3.tar.xz differ: char 26, 
line 1

++ gdal-3.1.2.tar.xz.md5 -> gdal-3.1.3.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-3.1.2.tar.xz.md5   2020-07-09 
13:22:01.965775021 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3399/gdal-3.1.3.tar.xz.md5 
2020-09-09 18:11:47.711736496 +0200
@@ -1 +1 @@
-4273eda69b2976a87464b95d1b41273c  gdal-3.1.2.tar.xz
+4438a1b7828c54b1d5bdff8647132c47  gdal-3.1.3.tar.xz




commit gdal for openSUSE:Factory

2020-07-20 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-07-20 20:59:24

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3592 (New)


Package is "gdal"

Mon Jul 20 20:59:24 2020 rev:54 rq:821750 version:3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-07-09 
13:22:02.025775211 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3592/gdal.changes  2020-07-20 
21:00:28.309038243 +0200
@@ -1,0 +2,7 @@
+Sun Jul 19 01:20:55 UTC 2020 - Stefan Brüns 
+
+- Work-around occasional build failures due to incomplete ordering
+  in Makefile. (https://github.com/OSGeo/gdal/issues/2777)
+- Avoid double gdal prefix for /usr/share/gdal/gdal/*
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.AThETg/_old  2020-07-20 21:00:31.981041964 +0200
+++ /var/tmp/diff_new_pack.AThETg/_new  2020-07-20 21:00:31.989041972 +0200
@@ -202,7 +202,7 @@
 %configure \
 --prefix=%{_prefix} \
 --includedir=%{_includedir}/gdal \
---datadir=%{_datadir}/gdal \
+--datadir=%{_datadir}   \
 --with-threads  \
 --disable-static\
 --with-geotiff  \
@@ -266,7 +266,9 @@
   make %{?_smp_mflags} -C swig/${M} generate
 done
 
-make %{?_smp_mflags} VERBOSE=1 all \
+# Workaround incomplete ordering in Makefile
+%make_build lib-dependencies
+%make_build all
 
 # Make Python 3 module
 pushd swig/python




commit gdal for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-07-09 13:20:40

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3060 (New)


Package is "gdal"

Thu Jul  9 13:20:40 2020 rev:53 rq:819690 version:3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-07-07 
12:58:58.645864574 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3060/gdal.changes  2020-07-09 
13:22:02.025775211 +0200
@@ -1,0 +2,6 @@
+Tue Jul  7 18:29:25 UTC 2020 - Bruno Friedmann 
+
+- Update to 3.1.2 version bug fix release see changelog
+  https://github.com/OSGeo/gdal/blob/v3.1.1/gdal/NEWS
+
+---

Old:

  gdal-3.1.1.tar.xz
  gdal-3.1.1.tar.xz.md5

New:

  gdal-3.1.2.tar.xz
  gdal-3.1.2.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.FGQyJC/_old  2020-07-09 13:22:02.633777132 +0200
+++ /var/tmp/diff_new_pack.FGQyJC/_new  2020-07-09 13:22:02.633777132 +0200
@@ -25,7 +25,7 @@
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.1.1
+Version:3.1.2
 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

++ gdal-3.1.1.tar.xz -> gdal-3.1.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.3060/gdal-3.1.2.tar.xz differ: char 26, 
line 1

++ gdal-3.1.1.tar.xz.md5 -> gdal-3.1.2.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-3.1.1.tar.xz.md5   2020-07-07 
12:58:57.393860489 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3060/gdal-3.1.2.tar.xz.md5 
2020-07-09 13:22:01.965775021 +0200
@@ -1 +1 @@
-7a88fae4beb62ccd9b794db1c22b8bc4  gdal-3.1.1.tar.xz
+4273eda69b2976a87464b95d1b41273c  gdal-3.1.2.tar.xz




commit gdal for openSUSE:Factory

2020-07-07 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-07-07 12:58:40

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3060 (New)


Package is "gdal"

Tue Jul  7 12:58:40 2020 rev:52 rq:819042 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-06-16 
13:47:12.198418806 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3060/gdal.changes  2020-07-07 
12:58:58.645864574 +0200
@@ -1,0 +2,13 @@
+Tue Jun 30 09:46:10 UTC 2020 - Bruno Friedmann 
+
+- Update to 3.1.1 version with full changelog
+  https://github.com/OSGeo/gdal/blob/v3.1.1/gdal/NEWS
+- Packaging:
+  + drop merged upstream gdal-fix-docs.patch
+  + Rework our way to deliver the package:
+- Remove building doc as we don't deliver it
+- Use upstream man page already present in tar
+- Simplify all %if doc related stuff
+  + Lower again a bit _constraints: 2.5G RAM 4.0G HDD
+
+---

Old:

  gdal-3.1.0.tar.xz
  gdal-3.1.0.tar.xz.md5
  gdal-fix-docs.patch

New:

  gdal-3.1.1.tar.xz
  gdal-3.1.1.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.INhIsA/_old  2020-07-07 12:59:00.405870317 +0200
+++ /var/tmp/diff_new_pack.INhIsA/_new  2020-07-07 12:59:00.405870317 +0200
@@ -20,18 +20,12 @@
 %define sourcename gdal
 # Uppercase GDAL is the canonical name for this package in Python
 %define pypi_package_name GDAL
-# Enable docs on Tumbleweed only - https://github.com/OSGeo/gdal/issues/2690
-%if 0%{?suse_version} > 1500
-%bcond_without docs
-%else
-%bcond_with docs
-%endif
 %bcond_with ecw_support
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.1.0
+Version:3.1.1
 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
@@ -41,8 +35,6 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# PATCH-FIX-UPSTREAM - https://github.com/OSGeo/gdal/pull/2678
-Patch2: gdal-fix-docs.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -93,20 +85,9 @@
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(xerces-c)
 BuildRequires:  pkgconfig(zlib) >= 1.1.4
-%if %{with docs}
-BuildRequires:  python3-Sphinx
-BuildRequires:  python3-breathe
-BuildRequires:  texlive-dvips-bin
-BuildRequires:  texlive-latex-bin-bin
-BuildRequires:  texlive-newunicodechar
-%endif
 %if %{with python2}
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
-%if %{with docs}
-BuildRequires:  python-Sphinx
-BuildRequires:  python-breathe
-%endif
 %endif
 %if %{with fgdb_support}
 BuildRequires:  filegdb_api-devel
@@ -176,9 +157,7 @@
 
 %prep
 %setup -q -n %{sourcename}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p2
+%autopatch -p1
 
 # Set the right (build) libproj.so version, use the upper found version.
 PROJSOVER=$(ls -1 %{_libdir}/libproj.so.?? | tail -n1 | awk -F '.' '{print 
$3}')
@@ -203,6 +182,9 @@
 # Fix wrong /usr/bin/env phyton
 #Create the move to python3
 find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env 
python$,#!%{_bindir}/python3,' {} \;
+# Fix wrong /usr/bin/env python3
+find . -iname "*.py" -exec sed -i "s,^#!%{_bindir}/env 
python3,#!%{_bindir}/python3," {} \;
+
 %if %{with ecw5_support}
 # gdal configure script looks for a given layout, so reproduce what is 
expected.
 export ECW_PATH="../ECW/Desktop_Read-Only"
@@ -284,16 +266,7 @@
   make %{?_smp_mflags} -C swig/${M} generate
 done
 
-# Force Doxygen generation
-rm doc/.doxygen_up_to_date
-pushd doc/
-make .doxygen_up_to_date
-popd
-
 make %{?_smp_mflags} VERBOSE=1 all \
-%if %{with docs}
-  docs man \
-%endif
 
 # Make Python 3 module
 pushd swig/python
@@ -308,19 +281,8 @@
   python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 popd
 
-make %{?_smp_mflags} install \
-%if %{with docs}
-  install-man \
-%endif
-  DESTDIR=%{buildroot} INST_MAN=%{_mandir}
-
-# Not on buildroot : broke everything with python3
-# If done got python3 needing python2 package heretic ..
-# Futhermore duplicates are only existing in src html dir
-%fdupes -s doc/build/html
-# Empty file
-rm -f doc/build/html/do-not-remove
-
+# Don't even think to make it smp_mflags if you want successful build!
+make V=1 install install-man DESTDIR=%{buildroot} INST_MAN=%{_mandir}
 # chrpath must be removed here
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/GDAL.so

commit gdal for openSUSE:Factory

2020-06-16 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-06-16 13:46:32

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3606 (New)


Package is "gdal"

Tue Jun 16 13:46:32 2020 rev:51 rq:814858 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-04-21 
13:12:00.760973284 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.3606/gdal.changes  2020-06-16 
13:47:12.198418806 +0200
@@ -1,0 +2,25 @@
+Tue Jun 16 08:22:44 UTC 2020 - Guillaume GARDET 
+
+- Add _constraints to avoid build failure
+
+---
+Mon Jun 15 08:32:54 UTC 2020 - Guillaume GARDET 
+
+- Fix docs and man builds for Tumbleweed with upstream patch:
+  * gdal-fix-docs.patch
+- Disable docs/man on Leap - https://github.com/OSGeo/gdal/issues/2690
+
+---
+Thu Jun 11 16:44:15 UTC 2020 - Guillaume GARDET 
+
+- Update to 3.1.0:
+  * New binaries: gdal_viewshed gdalmdiminfo gdalmdimtranslate
+  * full changelog:
+https://github.com/OSGeo/gdal/blob/v3.1.0/gdal/NEWS
+- Refresh patch:
+  * GDALmake.opt.in.patch
+- Drop upstream patches:
+ * gdal-ecwjp2-sdk-5.5_dep1.patch
+ * gdal-ecwjp2-sdk-5.5.patch
+
+---

Old:

  gdal-3.0.4.tar.xz
  gdal-3.0.4.tar.xz.md5
  gdal-ecwjp2-sdk-5.5.patch
  gdal-ecwjp2-sdk-5.5_dep1.patch

New:

  _constraints
  gdal-3.1.0.tar.xz
  gdal-3.1.0.tar.xz.md5
  gdal-fix-docs.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.CNvNMb/_old  2020-06-16 13:47:13.986424838 +0200
+++ /var/tmp/diff_new_pack.CNvNMb/_new  2020-06-16 13:47:13.986424838 +0200
@@ -16,18 +16,22 @@
 #
 
 
-# Soname should be bumped on API/ABI break
-# http://trac.osgeo.org/gdal/ticket/4543
-%define soversion 26
+%define soversion 27
 %define sourcename gdal
 # Uppercase GDAL is the canonical name for this package in Python
 %define pypi_package_name GDAL
+# Enable docs on Tumbleweed only - https://github.com/OSGeo/gdal/issues/2690
+%if 0%{?suse_version} > 1500
+%bcond_without docs
+%else
+%bcond_with docs
+%endif
 %bcond_with ecw_support
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 %bcond_without python2
 Name:   gdal
-Version:3.0.4
+Version:3.1.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
@@ -37,9 +41,8 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# PATCH-FIX-UPSTREAM - 
https://github.com/OSGeo/gdal/commit/e5cb5406ea9090b2f17cffeeb7ba5fb49e7158f2 + 
dep commit
-Patch2: gdal-ecwjp2-sdk-5.5_dep1.patch
-Patch3: gdal-ecwjp2-sdk-5.5.patch
+# PATCH-FIX-UPSTREAM - https://github.com/OSGeo/gdal/pull/2678
+Patch2: gdal-fix-docs.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -61,10 +64,6 @@
 BuildRequires:  perl-ExtUtils-MakeMaker
 BuildRequires:  perl-macros
 BuildRequires:  pkgconfig
-%if %{with python2}
-BuildRequires:  python-numpy-devel
-BuildRequires:  python-setuptools
-%endif
 BuildRequires:  python3-numpy-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  swig
@@ -94,6 +93,21 @@
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(xerces-c)
 BuildRequires:  pkgconfig(zlib) >= 1.1.4
+%if %{with docs}
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-breathe
+BuildRequires:  texlive-dvips-bin
+BuildRequires:  texlive-latex-bin-bin
+BuildRequires:  texlive-newunicodechar
+%endif
+%if %{with python2}
+BuildRequires:  python-numpy-devel
+BuildRequires:  python-setuptools
+%if %{with docs}
+BuildRequires:  python-Sphinx
+BuildRequires:  python-breathe
+%endif
+%endif
 %if %{with fgdb_support}
 BuildRequires:  filegdb_api-devel
 %endif
@@ -165,12 +179,16 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p2
-%patch3 -p2
 
 # Set the right (build) libproj.so version, use the upper found version.
 PROJSOVER=$(ls -1 %{_libdir}/libproj.so.?? | tail -n1 | awk -F '.' '{print 
$3}')
 sed -i "s,#  define LIBNAME \"libproj.so\",#  define LIBNAME 
\"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
 
+# --keep-going option not support on Leap/SLE
+%if 0%{?sle_version}  && 0%{?sle_version} <= 150200
+sed -i 's/--keep-going//' doc/Makefile
+%endif
+
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
 
@@ -266,7 +284,16 @@
   make %{?_smp_mflags} -C swig/${M} generate
 done
 
-make %{?_smp_mflags} VERBOSE=1 all docs man
+# Force Doxygen generation
+rm 

commit gdal for openSUSE:Factory

2020-04-21 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-04-21 13:11:58

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.2738 (New)


Package is "gdal"

Tue Apr 21 13:11:58 2020 rev:50 rq:795705 version:3.0.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-04-18 
00:33:28.130429812 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.2738/gdal.changes  2020-04-21 
13:12:00.760973284 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 08:31:33 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without py2 available
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.jRANxE/_old  2020-04-21 13:12:02.116975988 +0200
+++ /var/tmp/diff_new_pack.jRANxE/_new  2020-04-21 13:12:02.120975996 +0200
@@ -25,6 +25,7 @@
 %bcond_with ecw_support
 %bcond_with ecw5_support
 %bcond_with fgdb_support
+%bcond_without python2
 Name:   gdal
 Version:3.0.4
 Release:0
@@ -60,8 +61,10 @@
 BuildRequires:  perl-ExtUtils-MakeMaker
 BuildRequires:  perl-macros
 BuildRequires:  pkgconfig
+%if %{with python2}
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
+%endif
 BuildRequires:  python3-numpy-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  swig
@@ -449,10 +452,12 @@
 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so
 %{_mandir}/man3/Geo::GDAL.3pm%{?ext_man}
 
+%if %{with python2}
 %files -n python2-%{pypi_package_name}
 %license LICENSE.TXT
 %doc NEWS PROVENANCE.TXT
 %{python_sitearch}/*
+%endif
 
 %files -n python3-%{pypi_package_name}
 %license LICENSE.TXT




commit gdal for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-04-18 00:32:09

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.2738 (New)


Package is "gdal"

Sat Apr 18 00:32:09 2020 rev:49 rq:794864 version:3.0.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-04-11 
23:46:54.603105806 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.2738/gdal.changes  2020-04-18 
00:33:28.130429812 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 09:58:35 UTC 2020 - Guillaume GARDET 
+
+- Fixes for previous commit "Rework ECW5 SDK handling"
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.7A1jQg/_old  2020-04-18 00:33:29.190432007 +0200
+++ /var/tmp/diff_new_pack.7A1jQg/_new  2020-04-18 00:33:29.190432007 +0200
@@ -184,9 +184,12 @@
 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.
-mkdir -p ../ECW/Desktop_Read-Only/lib/x64/
-ln -s %{_libdir} ../ECW/Desktop_Read-Only/lib/x64/release
-ln -s %{_includedir} ../ECW/Desktop_Read-Only/include
+export ECW_PATH="../ECW/Desktop_Read-Only"
+export ECW_LIB_PATH="$ECW_PATH/lib/cpp11abi/x64/release"
+export ECW_INC_PATH="$ECW_PATH/include"
+mkdir -p $ECW_PATH/lib/cpp11abi/x64/
+ln -s %{_libdir} $ECW_LIB_PATH
+ln -s %{_includedir} $ECW_INC_PATH
 %endif
 
 %build




commit gdal for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-04-11 23:46:39

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3248 (New)


Package is "gdal"

Sat Apr 11 23:46:39 2020 rev:48 rq:793055 version:3.0.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-02-04 
19:52:38.165296502 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.3248/gdal.changes  2020-04-11 
23:46:54.603105806 +0200
@@ -1,0 +2,8 @@
+Thu Apr  9 10:22:54 UTC 2020 - Guillaume GARDET 
+
+- Rework ECW5 SDK handling
+- Fix build with ECW SDK 5.5 with upstream backports:
+  * gdal-ecwjp2-sdk-5.5.patch
+  * gdal-ecwjp2-sdk-5.5_dep1.patch
+
+---

New:

  gdal-ecwjp2-sdk-5.5.patch
  gdal-ecwjp2-sdk-5.5_dep1.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.ODkn0f/_old  2020-04-11 23:46:55.219106275 +0200
+++ /var/tmp/diff_new_pack.ODkn0f/_new  2020-04-11 23:46:55.219106275 +0200
@@ -36,6 +36,9 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
+# PATCH-FIX-UPSTREAM - 
https://github.com/OSGeo/gdal/commit/e5cb5406ea9090b2f17cffeeb7ba5fb49e7158f2 + 
dep commit
+Patch2: gdal-ecwjp2-sdk-5.5_dep1.patch
+Patch3: gdal-ecwjp2-sdk-5.5.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -156,7 +159,10 @@
 
 %prep
 %setup -q -n %{sourcename}-%{version}
-%autopatch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p2
+%patch3 -p2
 
 # Set the right (build) libproj.so version, use the upper found version.
 PROJSOVER=$(ls -1 %{_libdir}/libproj.so.?? | tail -n1 | awk -F '.' '{print 
$3}')
@@ -173,20 +179,14 @@
 find . -type f -name "style_ogr_brush.png" -exec chmod 0644 {} \;
 find . -type f -name "style_ogr_sym.png" -exec chmod 0644 {} \;
 
-#Fix wrong /usr/bin/env phyton
+# 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/
+mkdir -p ../ECW/Desktop_Read-Only/lib/x64/
+ln -s %{_libdir} ../ECW/Desktop_Read-Only/lib/x64/release
+ln -s %{_includedir} ../ECW/Desktop_Read-Only/include
 %endif
 
 %build

++ gdal-ecwjp2-sdk-5.5.patch ++
 775 lines (skipped)

++ gdal-ecwjp2-sdk-5.5_dep1.patch ++
diff --git a/gdal/frmts/ecw/gdal_ecw.h b/gdal/frmts/ecw/gdal_ecw.h
index e1b6772934a..1b479485a33 100644
--- a/gdal/frmts/ecw/gdal_ecw.h
+++ b/gdal/frmts/ecw/gdal_ecw.h
@@ -76,9 +76,9 @@ void ECWReportError(CNCSError& oErr, const char* pszMsg = "");
 //
 #ifdef HAVE_COMPRESS
 #if ECWSDK_VERSION>=50
-class JP2UserBox : public CNCSSDKBox {
+class JP2UserBox final: public CNCSSDKBox {
 #else
-class JP2UserBox : public CNCSJP2Box {
+class JP2UserBox final: public CNCSJP2Box {
 #endif
 private:
 int   nDataLength;
@@ -115,7 +115,7 @@ class JP2UserBox : public CNCSJP2Box {
 /*  */
 //
 
-class VSIIOStream : public CNCSJPCIOStream
+class VSIIOStream final: public CNCSJPCIOStream
 
 {
   private:
@@ -395,7 +395,7 @@ class ECWDataset;
 
 #if ECWSDK_VERSION >= 40
 
-class ECWAsyncReader : public GDALAsyncReader
+class ECWAsyncReader final: public GDALAsyncReader
 {
 private:
 CNCSJP2FileView *poFileView = nullptr;
@@ -444,7 +444,7 @@ typedef struct
 GByte* pabyData;
 } ECWCachedMultiBandIO;
 
-class CPL_DLL ECWDataset : public GDALJP2AbstractDataset
+class CPL_DLL ECWDataset final: public GDALJP2AbstractDataset
 {
 friend class ECWRasterBand;
 friend class ECWAsyncReader;
@@ -611,7 +611,7 @@ class CPL_DLL ECWDataset : public GDALJP2AbstractDataset
 /*  */
 //
 
-class ECWRasterBand : public GDALPamRasterBand
+class ECWRasterBand final: public GDALPamRasterBand
 {
 friend class ECWDataset;
 



commit gdal for openSUSE:Factory

2020-02-04 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-02-04 19:52:17

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.26092 (New)


Package is "gdal"

Tue Feb  4 19:52:17 2020 rev:47 rq:769497 version:3.0.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2020-01-22 
22:46:14.620574806 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.26092/gdal.changes 2020-02-04 
19:52:38.165296502 +0100
@@ -1,0 +2,8 @@
+Sat Feb  1 08:52:49 UTC 2020 - Bruno Friedmann 
+
+- update to version 3.0.4 bugfix release
+  + strongly recommended release for people creating GeoTIFF files
+  in EPSG:3857 / WebMercator projection with previous 3x version
+  + Changelog https://github.com/OSGeo/gdal/blob/v3.0.4/gdal/NEWS
+
+---

Old:

  gdal-3.0.3.tar.xz
  gdal-3.0.3.tar.xz.md5

New:

  gdal-3.0.4.tar.xz
  gdal-3.0.4.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.RkKtsh/_old  2020-02-04 19:52:39.397297220 +0100
+++ /var/tmp/diff_new_pack.RkKtsh/_new  2020-02-04 19:52:39.421297234 +0100
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:3.0.3
+Version:3.0.4
 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

++ gdal-3.0.3.tar.xz -> gdal-3.0.4.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.0.3.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.26092/gdal-3.0.4.tar.xz differ: char 25, 
line 1

++ gdal-3.0.3.tar.xz.md5 -> gdal-3.0.4.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-3.0.3.tar.xz.md5   2020-01-22 
22:46:14.592574792 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.26092/gdal-3.0.4.tar.xz.md5
2020-02-04 19:52:38.077296451 +0100
@@ -1 +1 @@
-b03722401c43e38ae7661d6465bde7b5  gdal-3.0.3.tar.xz
+8996bbee51e73b5a968d8d0f48895ac8  gdal-3.0.4.tar.xz




commit gdal for openSUSE:Factory

2020-01-22 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2020-01-22 22:46:01

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.26092 (New)


Package is "gdal"

Wed Jan 22 22:46:01 2020 rev:46 rq:766312 version:3.0.3

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-11-07 
23:19:38.996737402 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.26092/gdal.changes 2020-01-22 
22:46:14.620574806 +0100
@@ -1,0 +2,10 @@
+Wed Jan 22 08:05:11 UTC 2020 - Bruno Friedmann 
+
+- update to version 3.0.3 bugfix release
+  + Fix build with poppler 0.83 boo#1161399
+  + Changelog https://github.com/OSGeo/gdal/blob/v3.0.3/gdal/NEWS
+- Remove merged upstream patch
+  0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
+- refresh spec file with spec-cleaner
+
+---

Old:

  0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
  gdal-3.0.2.tar.xz
  gdal-3.0.2.tar.xz.md5

New:

  gdal-3.0.3.tar.xz
  gdal-3.0.3.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.VKguek/_old  2020-01-22 22:46:16.204575604 +0100
+++ /var/tmp/diff_new_pack.VKguek/_new  2020-01-22 22:46:16.208575605 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:3.0.2
+Version:3.0.3
 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
@@ -36,8 +36,6 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# PATCH-FIX-UPSTREAM -- https://github.com/OSGeo/gdal/pull/1819
-Patch3: 0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -171,6 +169,9 @@
 for F in frmt_twms_srtm.xml frmt_wms_bluemarble_s3_tms.xml 
frmt_wms_virtualearth.xml frmt_twms_Clementine.xml;do
   find . -name "${F}" -exec dos2unix {} \;
 done
+# Fix spurious exec perm
+find . -type f -name "style_ogr_brush.png" -exec chmod 0644 {} \;
+find . -type f -name "style_ogr_sym.png" -exec chmod 0644 {} \;
 
 #Fix wrong /usr/bin/env phyton
 #Create the move to python3

++ gdal-3.0.2.tar.xz -> gdal-3.0.3.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.0.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.26092/gdal-3.0.3.tar.xz differ: char 25, 
line 1

++ gdal-3.0.2.tar.xz.md5 -> gdal-3.0.3.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-3.0.2.tar.xz.md5   2019-11-07 
23:19:38.968737372 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.26092/gdal-3.0.3.tar.xz.md5
2020-01-22 22:46:14.592574792 +0100
@@ -1 +1 @@
-0353d7e56efc79fcaaeb21d808cb9cac  gdal-3.0.2.tar.xz
+b03722401c43e38ae7661d6465bde7b5  gdal-3.0.3.tar.xz




commit gdal for openSUSE:Factory

2019-11-07 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-11-07 23:19:22

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.2990 (New)


Package is "gdal"

Thu Nov  7 23:19:22 2019 rev:45 rq:746088 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-10-11 
15:16:56.384165846 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.2990/gdal.changes  2019-11-07 
23:19:38.996737402 +0100
@@ -1,0 +2,9 @@
+Wed Nov  6 12:58:46 UTC 2019 - Libor Pechacek 
+
+- update to 3.0.2
+  Full changelogs:
+  https://trac.osgeo.org/gdal/wiki/Release/3.0.2-News
+- Refreshed patches:
+  0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
+
+---

Old:

  gdal-3.0.1.tar.xz
  gdal-3.0.1.tar.xz.md5

New:

  gdal-3.0.2.tar.xz
  gdal-3.0.2.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Od88lD/_old  2019-11-07 23:19:40.284738784 +0100
+++ /var/tmp/diff_new_pack.Od88lD/_new  2019-11-07 23:19:40.288738788 +0100
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:3.0.1
+Version:3.0.2
 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

++ 0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch ++
--- /var/tmp/diff_new_pack.Od88lD/_old  2019-11-07 23:19:40.316738818 +0100
+++ /var/tmp/diff_new_pack.Od88lD/_new  2019-11-07 23:19:40.316738818 +0100
@@ -1,6 +1,7 @@
-From 10289fbed9db3f803571607e09ce93ee5e183e3d Mon Sep 17 00:00:00 2001
+From 8f52960e1c6f2fde21fbc3cfe8064af84f90a09d Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
-Date: Thu, 5 Sep 2019 20:54:32 +0200
+Date: Thu, 5 Sep 2019 20:05:53 +0200
+Git-id: 8328ae3077aea7e54537d76a9a8193775ddc8b09
 Subject: [PATCH] Replace SWIG Python obj0/swig_obj[0] with version agnostic
  $self
 
@@ -8,39 +9,54 @@
 with swig 3.0, see swig/swig@cd8fc0a.
 Use the correct "$self" notation, which is expanded to the correct
 code regardless of swig version and options.
+
+Acked-by: Libor Pechacek 
 ---
- gdal/swig/include/gdal_array.i | 6 +++---
- gdal/swig/include/python/typemaps_python.i | 2 +-
- 2 files changed, 4 insertions(+), 4 deletions(-)
+ swig/include/gdal_array.i | 12 +++-
+ swig/include/python/typemaps_python.i |  8 +---
+ 2 files changed, 4 insertions(+), 16 deletions(-)
 
 diff --git a/swig/include/gdal_array.i b/swig/include/gdal_array.i
-index ff7bcde6c7..5dd3679cb2 100644
+index d86491d1d45e..6ee34b9abd99 100644
 --- a/swig/include/gdal_array.i
 +++ b/swig/include/gdal_array.i
-@@ -878,11 +878,11 @@ retStringAndCPLFree* GetArrayFilename(PyArrayObject 
*psArray)
+@@ -913,18 +913,12 @@ retStringAndCPLFree* GetArrayFilename(PyArrayObject 
*psArray)
+ }
  
  /* Keep a reference to the VirtualMem object */
+-%#if SWIGVERSION >= 0x04
+-%#define obj0 swig_obj[0]
+-%#endif
  %#if NPY_API_VERSION >= 0x0007
 -PyArray_SetBaseObject(ar, obj0);
 +PyArray_SetBaseObject(ar, $self);
  %#else
 -PyArray_BASE(ar) = obj0;
+-%#endif
+-Py_INCREF(obj0);
+-%#if SWIGVERSION >= 0x04
+-%#undef obj0
 +PyArray_BASE(ar) = $self;
  %#endif
--Py_INCREF(obj0);
 +Py_INCREF($self);
  Py_DECREF($result);
  $result = (PyObject*) ar;
  }
 diff --git a/swig/include/python/typemaps_python.i 
b/swig/include/python/typemaps_python.i
-index 104b214ac1..9517c72ebd 100644
+index 85a25b5a3099..2af8b51c6368 100644
 --- a/swig/include/python/typemaps_python.i
 +++ b/swig/include/python/typemaps_python.i
-@@ -1911,7 +1911,7 @@ DecomposeSequenceOfCoordinates( PyObject *seq, int 
nCount, double *x, double *y,
- %#if PY_VERSION_HEX >= 0x0207
+@@ -2067,13 +2067,7 @@ DecomposeSequenceOf4DCoordinates( PyObject *seq, int 
nCount, double *x, double *
/* %typemap(argout) (void** pptr, size_t* pnsize, GDALDataType* pdatatype, 
int* preadonly)*/
Py_buffer *buf=(Py_buffer*)malloc(sizeof(Py_buffer));
--  if (PyBuffer_FillInfo(buf,  obj0,  *($1), *($2), *($4), PyBUF_ND)) {
+ 
+-  if (PyBuffer_FillInfo(buf,
+-%#if SWIGVERSION >= 0x04
+-swig_obj[0],
+-%#else
+-obj0,
+-%#endif
+-*($1), *($2), *($4), PyBUF_ND)) {
 +  if (PyBuffer_FillInfo(buf, $self, *($1), *($2), *($4), PyBUF_ND)) {
  // error, handle
}

++ gdal-3.0.1.tar.xz -> gdal-3.0.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-3.0.1.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.2990/gdal-3.0.2.tar.xz 

commit gdal for openSUSE:Factory

2019-10-11 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-10-11 15:16:38

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.2352 (New)


Package is "gdal"

Fri Oct 11 15:16:38 2019 rev:44 rq:736829 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-09-07 
11:53:31.310273354 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.2352/gdal.changes  2019-10-11 
15:16:56.384165846 +0200
@@ -1,0 +2,13 @@
+Thu Oct 10 08:26:00 UTC 2019 - Martin Pluskal 
+
+- Spec file cleanups
+- Remove poppler boost dependnecy
+- Enable LTO and zstd
+
+---
+Sun Oct  6 12:00:05 UTC 2019 - Bruno Friedmann 
+
+- Fix build error on TW due to boo#1153146 poppler missing boost
+  devel 
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.LUzDZF/_old  2019-10-11 15:16:59.896156192 +0200
+++ /var/tmp/diff_new_pack.LUzDZF/_new  2019-10-11 15:16:59.932156093 +0200
@@ -30,8 +30,7 @@
 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
-Group:  Development/Libraries/C and C++
-URL:http://www.gdal.org/
+URL:https://www.gdal.org/
 Source0:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
 Source1:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz.md5
 Patch0: gdal-perl.patch
@@ -54,6 +53,7 @@
 BuildRequires:  hdf5-devel
 BuildRequires:  lapack-devel
 BuildRequires:  libtool
+BuildRequires:  libzstd-devel
 BuildRequires:  mysql-devel
 BuildRequires:  opencl-headers
 BuildRequires:  perl-ExtUtils-MakeMaker
@@ -66,10 +66,10 @@
 BuildRequires:  swig
 BuildRequires:  unixODBC-devel
 BuildRequires:  pkgconfig(OpenCL)
+BuildRequires:  pkgconfig(expat) >= 1.95.0
 BuildRequires:  pkgconfig(freexl)
 BuildRequires:  pkgconfig(json)
 BuildRequires:  pkgconfig(json-c)
-BuildRequires:  pkgconfig(expat) >= 1.95.0
 BuildRequires:  pkgconfig(libgeotiff) >= 1.2.1
 BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(liblzma)
@@ -111,7 +111,6 @@
 
 %package devel
 Summary:GDAL library header files
-Group:  Development/Languages/C and C++
 Requires:   lib%{name}%{soversion} = %{version}
 Requires:   pkgconfig(libopenjp2)
 Provides:   lib%{name}%{soversion}-devel = %{version}
@@ -122,7 +121,6 @@
 
 %package -n lib%{name}%{soversion}
 Summary:GDAL static libraries
-Group:  System/Libraries
 
 %description -n lib%{name}%{soversion}
 GDAL and OGR are translator libraries for raster and vector geospatial data
@@ -131,7 +129,6 @@
 
 %package -n perl-%{name}
 Summary:Perl bindings for GDAL
-Group:  Development/Languages/Perl
 Requires:   %{name} = %{version}-%{release}
 %{perl_requires}
 
@@ -140,7 +137,6 @@
 
 %package -n python2-%{pypi_package_name}
 Summary:GDAL Python module
-Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
 # Renaming to uppercase 'GDAL' during 2.4.0; previously used lowercase
 Provides:   python2-%{name} = %{version}
@@ -153,7 +149,6 @@
 
 %package -n python3-%{pypi_package_name}
 Summary:GDAL Python3 module
-Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
 Provides:   python3-%{name} = %{version}
 Obsoletes:  python3-%{name} < %{version}
@@ -166,7 +161,7 @@
 %autopatch -p1
 
 # Set the right (build) libproj.so version, use the upper found version.
-PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | tail -n1 | awk -F '.' '{print $3}')
+PROJSOVER=$(ls -1 %{_libdir}/libproj.so.?? | tail -n1 | awk -F '.' '{print 
$3}')
 sed -i "s,#  define LIBNAME \"libproj.so\",#  define LIBNAME 
\"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
 
 # Fix mandir
@@ -254,7 +249,8 @@
 --without-hdf4  \
 --with-hdf5 \
 --with-webp \
---disable-rpath
+--disable-rpath \
+--enable-lto
 
 # regenerate where needed
 for M in perl python;




commit gdal for openSUSE:Factory

2019-09-07 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-09-07 11:53:22

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.7948 (New)


Package is "gdal"

Sat Sep  7 11:53:22 2019 rev:43 rq:728682 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-07-23 
22:34:40.775004791 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.7948/gdal.changes  2019-09-07 
11:53:31.310273354 +0200
@@ -1,0 +2,7 @@
+Thu Sep  5 18:50:20 UTC 2019 - Stefan Brüns 
+
+- Fix build with Swig 4.0, add
+  0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
+- Spec file cleanup, remove conditionals for Leap 42.x and older
+
+---

New:

  0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.E4KTYj/_old  2019-09-07 11:53:32.026273253 +0200
+++ /var/tmp/diff_new_pack.E4KTYj/_new  2019-09-07 11:53:32.030273252 +0200
@@ -37,7 +37,11 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
+# PATCH-FIX-UPSTREAM -- https://github.com/OSGeo/gdal/pull/1819
+Patch3: 0001-Replace-SWIG-Python-obj0-swig_obj-0-with-version-agn.patch
 BuildRequires:  KEALib-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -47,13 +51,12 @@
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
 BuildRequires:  giflib-devel
+BuildRequires:  hdf5-devel
 BuildRequires:  lapack-devel
-# No more please we have openjpeg2
-# BuildRequires:  libjasper-devel
-# Using jasper create build error on arm, powerpc, s390
 BuildRequires:  libtool
 BuildRequires:  mysql-devel
 BuildRequires:  opencl-headers
+BuildRequires:  perl-ExtUtils-MakeMaker
 BuildRequires:  perl-macros
 BuildRequires:  pkgconfig
 BuildRequires:  python-numpy-devel
@@ -62,6 +65,10 @@
 BuildRequires:  python3-setuptools
 BuildRequires:  swig
 BuildRequires:  unixODBC-devel
+BuildRequires:  pkgconfig(OpenCL)
+BuildRequires:  pkgconfig(freexl)
+BuildRequires:  pkgconfig(json)
+BuildRequires:  pkgconfig(json-c)
 BuildRequires:  pkgconfig(expat) >= 1.95.0
 BuildRequires:  pkgconfig(libgeotiff) >= 1.2.1
 BuildRequires:  pkgconfig(libjpeg)
@@ -70,8 +77,13 @@
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libpq)
 BuildRequires:  pkgconfig(libtiff-4) >= 3.6.0
+BuildRequires:  pkgconfig(libwebp)
+BuildRequires:  pkgconfig(libwebpdecoder)
+BuildRequires:  pkgconfig(libwebpdemux)
+BuildRequires:  pkgconfig(libwebpmux)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(netcdf)
+BuildRequires:  pkgconfig(ocl-icd)
 BuildRequires:  pkgconfig(poppler)
 BuildRequires:  pkgconfig(proj)
 BuildRequires:  pkgconfig(spatialite)
@@ -88,26 +100,6 @@
 BuildRequires:  libecwj2-devel
 %endif
 %endif
-%if 0%{?suse_version} >= 1310
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  hdf5-devel
-BuildRequires:  pkgconfig(freexl)
-BuildRequires:  pkgconfig(libwebp)
-BuildRequires:  pkgconfig(libwebpdecoder)
-BuildRequires:  pkgconfig(libwebpdemux)
-BuildRequires:  pkgconfig(libwebpmux)
-%endif
-%if 0%{?suse_version} > 1320
-BuildRequires:  opencl-headers
-BuildRequires:  perl-ExtUtils-MakeMaker
-BuildRequires:  pkgconfig(OpenCL)
-BuildRequires:  pkgconfig(json)
-BuildRequires:  pkgconfig(json-c)
-BuildRequires:  pkgconfig(ocl-icd)
-%else
-BuildRequires:  hdf-devel >= 4.0
-%endif
 
 %description
 GDAL is a translator library for raster geospatial data formats that
@@ -141,11 +133,7 @@
 Summary:Perl bindings for GDAL
 Group:  Development/Languages/Perl
 Requires:   %{name} = %{version}-%{release}
-%if 0%{?suse_version} < 1140
-Requires:   perl = %{perl_version}
-%else
 %{perl_requires}
-%endif
 
 %description -n perl-%{name}
 Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules.
@@ -262,16 +250,10 @@
--with-proj5-api=no \
CPPFLAGS="$CPPFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" \
 %endif
-%if 0%{?suse_version} > 1320
 --with-opencl   \
-%endif
-%if 0%{?suse_version} > 1310
 --without-hdf4  \
 --with-hdf5 \
 --with-webp \
-%else
---with-hdf4 \
-%endif
 --disable-rpath
 
 # regenerate where needed
@@ -319,16 +301,6 @@
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/OGR/OGR.so
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/OSR/OSR.so
 
-%if 0%{?suse_version} <= 1315
-# perl bs 0 length files cleanup
-find %{buildroot}%{perl_vendorarch} -iname 

commit gdal for openSUSE:Factory

2019-07-23 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-07-23 22:34:39

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.4126 (New)


Package is "gdal"

Tue Jul 23 22:34:39 2019 rev:42 rq:715535 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-07-11 
13:16:34.002801920 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.4126/gdal.changes  2019-07-23 
22:34:40.775004791 +0200
@@ -1,0 +2,9 @@
+Mon Jul  8 13:34:52 UTC 2019 - Dirk Stoecker 
+
+- update to 3.0.1
+  Full changelogs:
+  https://trac.osgeo.org/gdal/wiki/Release/3.0.1-News
+  https://trac.osgeo.org/gdal/wiki/Release/3.0.0-News
+  Patch pkg-config-libpq.patch included upstream
+
+---

Old:

  gdal-2.4.2.tar.xz
  gdal-2.4.2.tar.xz.md5
  pkg-config-libpq.patch

New:

  gdal-3.0.1.tar.xz
  gdal-3.0.1.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.UUV7ny/_old  2019-07-23 22:34:42.615004411 +0200
+++ /var/tmp/diff_new_pack.UUV7ny/_new  2019-07-23 22:34:42.643004405 +0200
@@ -18,7 +18,7 @@
 
 # Soname should be bumped on API/ABI break
 # http://trac.osgeo.org/gdal/ticket/4543
-%define soversion 20
+%define soversion 26
 %define sourcename gdal
 # Uppercase GDAL is the canonical name for this package in Python
 %define pypi_package_name GDAL
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.4.2
+Version:3.0.1
 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
@@ -37,8 +37,6 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# Fix UPSTREAM Patch (pr#1418 in progress) upstream issue #1412
-Patch2: pkg-config-libpq.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
@@ -124,8 +122,8 @@
 Group:  Development/Languages/C and C++
 Requires:   lib%{name}%{soversion} = %{version}
 Requires:   pkgconfig(libopenjp2)
-Provides:   lib%{name}%{soversion}-devel
-Provides:   lib%{name}-devel
+Provides:   lib%{name}%{soversion}-devel = %{version}
+Provides:   lib%{name}-devel = %{version}
 
 %description devel
 Development Libraries for the GDAL file format library

++ gdal-2.4.2.tar.xz -> gdal-3.0.1.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.4.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.4126/gdal-3.0.1.tar.xz differ: char 25, 
line 1

++ gdal-2.4.2.tar.xz.md5 -> gdal-3.0.1.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-2.4.2.tar.xz.md5   2019-07-11 
13:16:33.974801929 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.4126/gdal-3.0.1.tar.xz.md5 
2019-07-23 22:34:40.763004794 +0200
@@ -1 +1 @@
-7b9e293b9426ffaa2d7287a4880d7139  gdal-2.4.2.tar.xz
+f3bcf494f8285861dedaa5b9aa6e9479  gdal-3.0.1.tar.xz




commit gdal for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-07-11 13:16:31

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.4615 (New)


Package is "gdal"

Thu Jul 11 13:16:31 2019 rev:41 rq:714055 version:2.4.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-04-12 
09:15:44.881726569 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.4615/gdal.changes  2019-07-11 
13:16:34.002801920 +0200
@@ -1,0 +2,6 @@
+Mon Jul  8 09:47:06 UTC 2019 - Dirk Stoecker 
+
+- update to version 2.4.2
+  Full changelog https://trac.osgeo.org/gdal/wiki/Release/2.4.2-News
+
+---

Old:

  gdal-2.4.1.tar.xz
  gdal-2.4.1.tar.xz.md5

New:

  gdal-2.4.2.tar.xz
  gdal-2.4.2.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.1ZPQYX/_old  2019-07-11 13:16:35.138801563 +0200
+++ /var/tmp/diff_new_pack.1ZPQYX/_new  2019-07-11 13:16:35.142801561 +0200
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.4.1
+Version:2.4.2
 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

++ gdal-2.4.1.tar.xz -> gdal-2.4.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.4.1.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.4615/gdal-2.4.2.tar.xz differ: char 25, 
line 1

++ gdal-2.4.1.tar.xz.md5 -> gdal-2.4.2.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-2.4.1.tar.xz.md5   2019-04-08 
20:54:16.934601217 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.4615/gdal-2.4.2.tar.xz.md5 
2019-07-11 13:16:33.974801929 +0200
@@ -1 +1 @@
-ff98500aab063da563acade884518dfa  gdal-2.4.1.tar.xz
+7b9e293b9426ffaa2d7287a4880d7139  gdal-2.4.2.tar.xz




commit gdal for openSUSE:Factory

2019-04-12 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-04-12 09:15:43

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.27019 (New)


Package is "gdal"

Fri Apr 12 09:15:43 2019 rev:40 rq:693256 version:2.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-04-08 
20:54:16.950601228 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.27019/gdal.changes 2019-04-12 
09:15:44.881726569 +0200
@@ -1,0 +2,5 @@
+Thu Apr 11 10:38:15 UTC 2019 - Guillaume GARDET 
+
+- Fix build with fgdb_support option enabled
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Tipiy5/_old  2019-04-12 09:15:45.713727072 +0200
+++ /var/tmp/diff_new_pack.Tipiy5/_new  2019-04-12 09:15:45.717727075 +0200
@@ -262,6 +262,7 @@
--with-fgdb \
--with-static-proj4 \
--with-proj5-api=no \
+   CPPFLAGS="$CPPFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" \
 %endif
 %if 0%{?suse_version} > 1320
 --with-opencl   \




commit gdal for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-04-08 20:54:09

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.3908 (New)


Package is "gdal"

Mon Apr  8 20:54:09 2019 rev:39 rq:692315 version:2.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-03-28 
22:47:43.575065180 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.3908/gdal.changes  2019-04-08 
20:54:16.950601228 +0200
@@ -1,0 +2,13 @@
+Thu Apr  4 16:11:05 UTC 2019 - Bruno Friedmann 
+
+- Update to version 2.4.1 (52 bugfix release)
+  Full changelog https://trac.osgeo.org/gdal/wiki/Release/2.4.1-News
+- Packaging:
+  + Remove merged upstream patch
+add-support-for-poppler-0.72.0-and-0.73.0.patch
+Poppler-revision-version-management.patch
+  + Add pkg-config-libpq.patch upstream issue#1412 pr#1418 wip
+use pkg-config for libpq
+  + Secure libproj detection with tail -n1
+
+---

Old:

  Poppler-revision-version-management.patch
  add-support-for-poppler-0.72.0-and-0.73.0.patch
  gdal-2.4.0.tar.xz
  gdal-2.4.0.tar.xz.md5

New:

  gdal-2.4.1.tar.xz
  gdal-2.4.1.tar.xz.md5
  pkg-config-libpq.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.DFSIW4/_old  2019-04-08 20:54:18.366602268 +0200
+++ /var/tmp/diff_new_pack.DFSIW4/_new  2019-04-08 20:54:18.370602271 +0200
@@ -26,7 +26,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.4.0
+Version:2.4.1
 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
@@ -37,10 +37,8 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# PATCH-FIX-UPSTREAM -- 
https://github.com/OSGeo/gdal/commit/d9ff536713c1bcaff00657f5fb9a94f36b92c0d8
-Patch2: Poppler-revision-version-management.patch
-# PATCH-FIX-UPSTREAM -- 
https://github.com/OSGeo/gdal/commit/d295d0ebc3b41092ad072790c704c772098da210
-Patch3: add-support-for-poppler-0.72.0-and-0.73.0.patch
+# Fix UPSTREAM Patch (pr#1418 in progress) upstream issue #1412
+Patch2: pkg-config-libpq.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
@@ -60,7 +58,6 @@
 BuildRequires:  opencl-headers
 BuildRequires:  perl-macros
 BuildRequires:  pkgconfig
-BuildRequires:  postgresql-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python3-numpy-devel
@@ -73,6 +70,7 @@
 BuildRequires:  pkgconfig(liblzma)
 BuildRequires:  pkgconfig(libopenjp2)
 BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libpq)
 BuildRequires:  pkgconfig(libtiff-4) >= 3.6.0
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(netcdf)
@@ -179,13 +177,10 @@
 
 %prep
 %setup -q -n %{sourcename}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p2
-%patch3 -p2
+%autopatch -p1
 
-# Set the right (build) libproj.so version
-PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
+# Set the right (build) libproj.so version, use the upper found version.
+PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | tail -n1 | awk -F '.' '{print $3}')
 sed -i "s,#  define LIBNAME \"libproj.so\",#  define LIBNAME 
\"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
 
 # Fix mandir

++ gdal-2.4.0.tar.xz -> gdal-2.4.1.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.4.0.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.3908/gdal-2.4.1.tar.xz differ: char 25, 
line 1

++ gdal-2.4.0.tar.xz.md5 -> gdal-2.4.1.tar.xz.md5 ++
--- /work/SRC/openSUSE:Factory/gdal/gdal-2.4.0.tar.xz.md5   2018-12-27 
00:30:08.755625987 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.3908/gdal-2.4.1.tar.xz.md5 
2019-04-08 20:54:16.934601217 +0200
@@ -1 +1 @@
-794096364a50df4bc7c5b710d997b6b4  gdal-2.4.0.tar.xz
+ff98500aab063da563acade884518dfa  gdal-2.4.1.tar.xz

++ pkg-config-libpq.patch ++
diff -rup a/configure.ac b/configure.ac
--- a/configure.ac  2019-03-15 13:30:02.0 +0100
+++ b/configure.ac  2019-04-06 21:29:50.153490589 +0200
@@ -1249,12 +1249,10 @@ PG_CONFIG=no
 
 AC_ARG_WITH(pg,
AS_HELP_STRING([--with-pg[=ARG]],
-  [Include PostgreSQL GDAL/OGR Support (ARG=path to pg_config)]),,)
+  [Include PostgreSQL GDAL/OGR Support (ARG=yes,no)]),,)
 
 if test "x$with_pg" = "xyes" -o "x$with_pg" = "x" ; then
-  AC_PATH_PROG(PG_CONFIG, pg_config, no)
-else
-  PG_CONFIG=$with_pg
+  PG_CONFIG=yes
 fi
 
 AC_MSG_CHECKING([for PostgreSQL])
@@ -1268,23 +1266,24 @@ if 

commit gdal for openSUSE:Factory

2019-03-28 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-03-28 22:47:40

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.25356 (New)


Package is "gdal"

Thu Mar 28 22:47:40 2019 rev:38 rq:682439 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-02-25 
17:56:52.714313743 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.25356/gdal.changes 2019-03-28 
22:47:43.575065180 +0100
@@ -1,0 +2,5 @@
+Thu Mar  7 11:02:01 UTC 2019 - Bruno Friedmann 
+
+- Fix boo#1128276 by providing correct Obsolete 
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.h1H74B/_old  2019-03-28 22:47:44.959064929 +0100
+++ /var/tmp/diff_new_pack.h1H74B/_new  2019-03-28 22:47:44.967064927 +0100
@@ -160,9 +160,9 @@
 Requires:   %{name} = %{version}-%{release}
 # Renaming to uppercase 'GDAL' during 2.4.0; previously used lowercase
 Provides:   python2-%{name} = %{version}
-Obsoletes:  python2-%{name}
+Obsoletes:  python2-%{name} < %{version}
 Provides:   python-%{name} = %{version}
-Obsoletes:  python-%{name}
+Obsoletes:  python-%{name} < %{version}
 
 %description -n python2-%{pypi_package_name}
 The GDAL python modules provide support to handle multiple GIS file formats.
@@ -172,7 +172,7 @@
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
 Provides:   python3-%{name} = %{version}
-Obsoletes:  python3-%{name}
+Obsoletes:  python3-%{name} < %{version}
 
 %description -n python3-%{pypi_package_name}
 The GDAL python modules provide support to handle multiple GIS file formats.




commit gdal for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-02-25 17:56:50

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.28833 (New)


Package is "gdal"

Mon Feb 25 17:56:50 2019 rev:37 rq:678650 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2019-02-01 
11:48:31.940362284 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.28833/gdal.changes 2019-02-25 
17:56:52.714313743 +0100
@@ -1,0 +2,5 @@
+Sat Feb 23 01:35:04 UTC 2019 - John Vandenberg 
+
+- Use the Python package name 'GDAL' as used by upstream
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.d21iam/_old  2019-02-25 17:56:53.990312781 +0100
+++ /var/tmp/diff_new_pack.d21iam/_new  2019-02-25 17:56:53.994312778 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,8 @@
 # http://trac.osgeo.org/gdal/ticket/4543
 %define soversion 20
 %define sourcename gdal
+# Uppercase GDAL is the canonical name for this package in Python
+%define pypi_package_name GDAL
 %bcond_with ecw_support
 %bcond_with ecw5_support
 %bcond_with fgdb_support
@@ -152,21 +154,27 @@
 %description -n perl-%{name}
 Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules.
 
-%package -n python-%{name}
+%package -n python2-%{pypi_package_name}
 Summary:GDAL Python module
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
+# Renaming to uppercase 'GDAL' during 2.4.0; previously used lowercase
 Provides:   python2-%{name} = %{version}
+Obsoletes:  python2-%{name}
+Provides:   python-%{name} = %{version}
+Obsoletes:  python-%{name}
 
-%description -n python-%{name}
+%description -n python2-%{pypi_package_name}
 The GDAL python modules provide support to handle multiple GIS file formats.
 
-%package -n python3-%{name}
+%package -n python3-%{pypi_package_name}
 Summary:GDAL Python3 module
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
+Provides:   python3-%{name} = %{version}
+Obsoletes:  python3-%{name}
 
-%description -n python3-%{name}
+%description -n python3-%{pypi_package_name}
 The GDAL python modules provide support to handle multiple GIS file formats.
 
 %prep
@@ -480,13 +488,13 @@
 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so
 %{_mandir}/man3/Geo::GDAL.3pm%{?ext_man}
 
-%files -n python-%{name}
+%files -n python2-%{pypi_package_name}
 %defattr(644,root,root,755)
 %license LICENSE.TXT
 %doc NEWS PROVENANCE.TXT
 %{python_sitearch}/*
 
-%files -n python3-%{name}
+%files -n python3-%{pypi_package_name}
 %defattr(644,root,root,755)
 %license LICENSE.TXT
 %doc NEWS PROVENANCE.TXT




commit gdal for openSUSE:Factory

2019-02-01 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2019-02-01 11:48:10

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.28833 (New)


Package is "gdal"

Fri Feb  1 11:48:10 2019 rev:36 rq:670316 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-12-27 
00:30:08.875625890 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new.28833/gdal.changes 2019-02-01 
11:48:31.940362284 +0100
@@ -1,0 +2,8 @@
+Wed Jan 30 19:51:14 UTC 2019 - Wolfgang Bauer 
+
+- Add upstream patches to fix build with the latest poppler in
+  Tumbleweed:
+  * Poppler-revision-version-management.patch
+  * add-support-for-poppler-0.72.0-and-0.73.0.patch
+
+---

New:

  Poppler-revision-version-management.patch
  add-support-for-poppler-0.72.0-and-0.73.0.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.AELRWh/_old  2019-02-01 11:48:33.764360412 +0100
+++ /var/tmp/diff_new_pack.AELRWh/_new  2019-02-01 11:48:33.764360412 +0100
@@ -35,6 +35,10 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
+# PATCH-FIX-UPSTREAM -- 
https://github.com/OSGeo/gdal/commit/d9ff536713c1bcaff00657f5fb9a94f36b92c0d8
+Patch2: Poppler-revision-version-management.patch
+# PATCH-FIX-UPSTREAM -- 
https://github.com/OSGeo/gdal/commit/d295d0ebc3b41092ad072790c704c772098da210
+Patch3: add-support-for-poppler-0.72.0-and-0.73.0.patch
 BuildRequires:  KEALib-devel
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
@@ -169,6 +173,8 @@
 %setup -q -n %{sourcename}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p2
+%patch3 -p2
 
 # Set the right (build) libproj.so version
 PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')

++ Poppler-revision-version-management.patch ++
 1144 lines (skipped)

++ add-support-for-poppler-0.72.0-and-0.73.0.patch ++
>From d295d0ebc3b41092ad072790c704c772098da210 Mon Sep 17 00:00:00 2001
From: Even Rouault 
Date: Thu, 17 Jan 2019 22:52:36 +0100
Subject: [PATCH] PDF: add support for 0.72.0 and 0.73.0 (fixes #1207, fixes
 #1208)

---
 gdal/frmts/pdf/pdfdataset.cpp   | 8 
 gdal/frmts/pdf/pdfobject.cpp| 5 +
 gdal/frmts/pdf/pdfsdk_headers.h | 4 
 3 files changed, 17 insertions(+)

diff --git a/gdal/frmts/pdf/pdfdataset.cpp b/gdal/frmts/pdf/pdfdataset.cpp
index 27c9b552431..2eff2189fad 100644
--- a/gdal/frmts/pdf/pdfdataset.cpp
+++ b/gdal/frmts/pdf/pdfdataset.cpp
@@ -3416,7 +3416,11 @@ void PDFDataset::FindLayersPoppler()
 #endif
 if( ocg != nullptr && ocg->getName() != nullptr )
 {
+#if (POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 72)
+const char* pszLayerName = (const 
char*)ocg->getName()->c_str();
+#else
 const char* pszLayerName = (const 
char*)ocg->getName()->getCString();
+#endif
 AddLayer(pszLayerName);
 oLayerOCGMapPoppler[pszLayerName] = ocg;
 }
@@ -4740,7 +4744,11 @@ GDALDataset *PDFDataset::Open( GDALOpenInfo * poOpenInfo 
)
 GooString* poMetadata = poCatalogPoppler->readMetadata();
 if (poMetadata)
 {
+#if (POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 72)
+const char* pszContent = poMetadata->c_str();
+#else
 const char* pszContent = poMetadata->getCString();
+#endif
 if (pszContent != nullptr &&
 STARTS_WITH(pszContent, "getString();
 #endif
+#if (POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 72)
+return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast(gooString->c_str()),
+  
static_cast(gooString->getLength(;
+#else
 return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast(gooString->getCString()),
   
static_cast(gooString->getLength(;
+#endif
 }
 else
 return (osStr = "");
diff --git a/gdal/frmts/pdf/pdfsdk_headers.h b/gdal/frmts/pdf/pdfsdk_headers.h
index 9150b0f4102..41e48ae91d6 100644
--- a/gdal/frmts/pdf/pdfsdk_headers.h
+++ b/gdal/frmts/pdf/pdfsdk_headers.h
@@ -50,7 +50,11 @@
 #pragma warning( disable : 4244 ) /* conversion from 'const int' to 'Guchar', 
possible loss of data */
 #endif
 
+#if !(POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 73)
 #include 
+#else
+typedef unsigned char Guchar;
+#endif
 #include 
 
 /* begin of poppler xpdf includes */



commit gdal for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-12-27 00:30:07

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new.28833 (New)


Package is "gdal"

Thu Dec 27 00:30:07 2018 rev:35 rq:661242 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-10-01 
09:08:44.363721930 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new.28833/gdal.changes 2018-12-27 
00:30:08.875625890 +0100
@@ -1,0 +2,41 @@
+Mon Dec 24 09:59:19 UTC 2018 - Guillaume GARDET 
+
+- Update to 2.4.0:
+  * In a nutshell:
+- New GDAL drivers:
+  ​BYN: read/write support for Natural Resources Canada's Geoid binary 
format
+  ​EEDAI: read-only driver for Google Earth Engine Data API
+  IGNFHeightASCIIGrid: read-only driver to read IGN-France height 
correction ASCII grids
+  ​NGW: NextGIS Web read-only driver
+  NTv1: read-only driver for NTv1 datum shift grids 
+- New OGR drivers:
+  ​EEDA: read-only driver for Google Earth Engine Data API
+  ​GeoJSONSeq: read/creation support of new-line or record-separator 
separated GeoJSON features (#378)
+  ​NGW: NextGIS Web read-write driver 
+- Improved drivers:
+  BAG: add read support for variable-resolution grids, and write support 
for single-resolution grids
+  GTiff driver: add Lerc and WebP codecs
+  PostgisRaster?: add support for out-db rasters
+  RMF
+  MSSQLSpatial 
+- RFC 72: Make GDAL Python autotest suite use pytest framework
+- Add /vsihdfs/ virtual file system handler for Hadoop File System (via 
libhdfs)
+- Add /vsiwebhdfs/ read-write virtual file system for Web Hadoop File 
System REST API
+- gdal_contour rewriting: speed optimizations and capability to compute 
polygon isosurfaces.
+- Remove PHP and Ruby bindings.
+- Continued code linting in C++, Python scripts, Shell scripts and 
autotest 
+  * Backward compatibility issues
+- The value of COMPRESSION_ZSTD used for ZStd-in-TIFF compression has been 
changed. 
+  ZStd-compressed TIFF files produced by GDAL 2.3.0 will not be readable 
+  * Full changelog: https://trac.osgeo.org/gdal/wiki/Release/2.4.0-News
+- Add md5 checksum
+- Refresh patch:
+  * gdal-perl.patch
+
+---
+Mon Dec 24 09:17:43 UTC 2018 - Guillaume GARDET 
+
+- Update to 2.3.3: Bugfix
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.3.3-News
+
+---

Old:

  gdal-2.3.2.tar.xz

New:

  gdal-2.4.0.tar.xz
  gdal-2.4.0.tar.xz.md5



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.B8Kf1k/_old  2018-12-27 00:30:09.919625034 +0100
+++ /var/tmp/diff_new_pack.B8Kf1k/_new  2018-12-27 00:30:09.919625034 +0100
@@ -24,13 +24,14 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.3.2
+Version:2.4.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
 Group:  Development/Libraries/C and C++
 URL:http://www.gdal.org/
 Source0:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
+Source1:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz.md5
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch

++ gdal-2.3.2.tar.xz -> gdal-2.4.0.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.3.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new.28833/gdal-2.4.0.tar.xz differ: char 25, 
line 1

++ gdal-2.4.0.tar.xz.md5 ++
794096364a50df4bc7c5b710d997b6b4  gdal-2.4.0.tar.xz
++ gdal-perl.patch ++
--- /var/tmp/diff_new_pack.B8Kf1k/_old  2018-12-27 00:30:09.959625001 +0100
+++ /var/tmp/diff_new_pack.B8Kf1k/_new  2018-12-27 00:30:09.959625001 +0100
@@ -1,21 +1,23 @@
-diff -rup a/swig/perl/GNUmakefile b/swig/perl/GNUmakefile
 a/swig/perl/GNUmakefile2018-06-23 17:05:47.0 +0200
-+++ b/swig/perl/GNUmakefile2018-07-05 14:42:01.858099024 +0200
-@@ -31,6 +31,7 @@ gdal_wrap.cc: generate
+diff -purN gdal-2.4.0.orig/swig/perl/GNUmakefile 
gdal-2.4.0/swig/perl/GNUmakefile
+--- gdal-2.4.0.orig/swig/perl/GNUmakefile  2018-12-14 22:34:20.0 
+0100
 gdal-2.4.0/swig/perl/GNUmakefile   2018-12-21 17:37:59.897136465 +0100
+@@ -28,7 +28,7 @@ build: Makefile_Geo__GDAL
+   if [ -f Makefile_Geo__GNM ]; then $(MAKE) -f Makefile_Geo__GNM; fi
  
- Makefile_Geo__GDAL: gdal_wrap.cc
-   perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
+ 

commit gdal for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-10-01 09:08:09

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Mon Oct  1 09:08:09 2018 rev:34 rq:639255 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-08-03 
12:35:31.315411201 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-10-01 
09:08:44.363721930 +0200
@@ -1,0 +2,12 @@
+Sat Sep 29 13:11:22 UTC 2018 - Bruno Friedmann 
+
+- Update to new bugfix 2.3.2 version
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.3.2-News 
+  This adds 65 bug fixes on top of 2.3.1. 
+  The C and C++ API and ABI are unchanged.
+- Packaging: 
+  + spec-cleaner -m -i URL and Requires order changes
+  + Remove patch gdal-fix_ecw5_detection.patch (merged upstream)
+  + Redone patch GDALmake.opt.in.patch with version 2.3.2
+
+---

Old:

  gdal-2.3.1.tar.xz
  gdal-fix_ecw5_detection.patch

New:

  gdal-2.3.2.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Xe3fVD/_old  2018-10-01 09:08:45.007721382 +0200
+++ /var/tmp/diff_new_pack.Xe3fVD/_new  2018-10-01 09:08:45.007721382 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,28 +24,23 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.3.1
+Version:2.3.2
 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
 Group:  Development/Libraries/C and C++
-Url:http://www.gdal.org/
+URL:http://www.gdal.org/
 Source0:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in 
configure
-Patch3: gdal-fix_ecw5_detection.patch
+BuildRequires:  KEALib-devel
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
 BuildRequires:  dos2unix
 BuildRequires:  doxygen >= 1.4.2
 BuildRequires:  fdupes
-%if %{with fgdb_support}
-BuildRequires:  filegdb_api-devel
-%endif
-BuildRequires:  KEALib-devel
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
 BuildRequires:  giflib-devel
@@ -80,6 +75,9 @@
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(xerces-c)
 BuildRequires:  pkgconfig(zlib) >= 1.1.4
+%if %{with fgdb_support}
+BuildRequires:  filegdb_api-devel
+%endif
 %if %{with ecw5_support}
 BuildRequires:  ERDAS-ECW_JPEG_2000_SDK-devel
 %else
@@ -120,9 +118,9 @@
 Summary:GDAL library header files
 Group:  Development/Languages/C and C++
 Requires:   lib%{name}%{soversion} = %{version}
+Requires:   pkgconfig(libopenjp2)
 Provides:   lib%{name}%{soversion}-devel
 Provides:   lib%{name}-devel
-Requires:   pkgconfig(libopenjp2)
 
 %description devel
 Development Libraries for the GDAL file format library
@@ -170,7 +168,6 @@
 %setup -q -n %{sourcename}-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch3 -p1
 
 # Set the right (build) libproj.so version
 PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
@@ -189,7 +186,7 @@
 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
+%if 0%{?suse_version} >= 1500
 %define ecw_abi_conf newabi
 %else
 %define ecw_abi_conf ""

++ GDALmake.opt.in.patch ++
--- /var/tmp/diff_new_pack.Xe3fVD/_old  2018-10-01 09:08:45.019721371 +0200
+++ /var/tmp/diff_new_pack.Xe3fVD/_new  2018-10-01 09:08:45.019721371 +0200
@@ -1,6 +1,6 @@
 diff -rup a/GDALmake.opt.in b/GDALmake.opt.in
 a/GDALmake.opt.in  2018-05-04 18:05:45.0 +0200
-+++ b/GDALmake.opt.in  2018-05-14 09:47:11.178524546 +0200
+--- a/GDALmake.opt.in  2018-09-21 11:01:50.0 +0200
 b/GDALmake.opt.in  2018-09-29 15:21:42.993179662 +0200
 @@ -67,7 +67,7 @@ INST_DOCS=   @exec_prefix@/doc
  INST_MAN  =   @mandir@
  INST_HTML =   $(HOME)/www/gdal

++ gdal-2.3.1.tar.xz -> gdal-2.3.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.3.1.tar.xz 

commit gdal for openSUSE:Factory

2018-08-03 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-08-03 12:35:29

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Fri Aug  3 12:35:29 2018 rev:33 rq:626805 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-07-28 
12:43:34.680791090 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-08-03 
12:35:31.315411201 +0200
@@ -1,0 +2,7 @@
+Tue Jul 31 06:29:53 UTC 2018 - br...@ioda-net.ch
+
+- Remove patch gdal-libproj.patch, we can't have hardcoded libproj
+  soversion. Replaced by dynamic sed formula.
+  Fix boo#1102889
+
+---

Old:

  gdal-libproj.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.G89gD9/_old  2018-08-03 12:35:31.795411912 +0200
+++ /var/tmp/diff_new_pack.G89gD9/_new  2018-08-03 12:35:31.795411912 +0200
@@ -34,9 +34,6 @@
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
 Patch1: GDALmake.opt.in.patch
-# Fix hard coded name of libproj library
-# But libproj.so is valid if libproj-devel is installed ?
-Patch2: gdal-libproj.patch
 # PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in 
configure
 Patch3: gdal-fix_ecw5_detection.patch
 BuildRequires:  blas-devel
@@ -173,9 +170,12 @@
 %setup -q -n %{sourcename}-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 
+# Set the right (build) libproj.so version
+PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
+sed -i "s,#  define LIBNAME \"libproj.so\",#  define LIBNAME 
\"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
+
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
 




commit gdal for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-07-28 12:43:32

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Sat Jul 28 12:43:32 2018 rev:32 rq:625688 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-07-18 
22:56:18.598489312 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-07-28 
12:43:34.680791090 +0200
@@ -1,0 +2,5 @@
+Fri Jul 27 07:08:28 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Fix FileGDB support
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Gw8Dnz/_old  2018-07-28 12:43:35.656792862 +0200
+++ /var/tmp/diff_new_pack.Gw8Dnz/_new  2018-07-28 12:43:35.660792869 +0200
@@ -254,6 +254,7 @@
 %if %{with fgdb_support}
--with-fgdb \
--with-static-proj4 \
+   --with-proj5-api=no \
 %endif
 %if 0%{?suse_version} > 1320
 --with-opencl   \




commit gdal for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-07-18 22:55:50

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Wed Jul 18 22:55:50 2018 rev:31 rq:623447 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-07-17 
09:43:54.180958981 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-07-18 
22:56:18.598489312 +0200
@@ -1,0 +2,6 @@
+Tue Jul 17 12:12:35 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Add patch to fix ECW5 detection in configure:
+  * gdal-fix_ecw5_detection.patch
+
+---

New:

  gdal-fix_ecw5_detection.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.XN6NIf/_old  2018-07-18 22:56:19.498486327 +0200
+++ /var/tmp/diff_new_pack.XN6NIf/_new  2018-07-18 22:56:19.502486314 +0200
@@ -37,6 +37,8 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
+# PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in 
configure
+Patch3: gdal-fix_ecw5_detection.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -172,6 +174,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure

++ gdal-fix_ecw5_detection.patch ++
diff -purN gdal-2.3.1.orig/configure.ac gdal-2.3.1/configure.ac
--- gdal-2.3.1.orig/configure.ac2018-07-17 14:10:15.236559853 +0200
+++ gdal-2.3.1/configure.ac 2018-07-17 14:21:49.213424507 +0200
@@ -2879,7 +2879,7 @@ else
 echo "#include " > testnewabi.cpp
 echo "namespace NCS { class CString { public: static std::wstring 
Utf8Decode (const std::string ); }; }" >> testnewabi.cpp
 echo "int main() { return 
static_cast(NCS::CString::Utf8Decode(std::string()).size()); }" >> 
testnewabi.cpp
-if test -z "`$${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp 
-L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o 
testnewabi 2>&1`" ; then
+if test -z "`${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp 
-L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o 
testnewabi 2>&1`" ; then
 
ECW_LIBDIR=$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF
 ECW_LIBS="-L$ECW_LIBDIR -lNCSEcw $ECW_FRAMEWORK_COCOA"
 with_ecw=$with_ecw/$ecw_license_type



commit gdal for openSUSE:Factory

2018-07-17 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-07-17 09:42:54

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Tue Jul 17 09:42:54 2018 rev:30 rq:623116 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-07-09 
13:31:44.550442097 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-07-17 
09:43:54.180958981 +0200
@@ -1,0 +2,5 @@
+Tue Jul 10 07:52:21 UTC 2018 - guilla...@opensuse.org
+
+- Enable KEA support
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.gu2hBU/_old  2018-07-17 09:43:54.876956430 +0200
+++ /var/tmp/diff_new_pack.gu2hBU/_new  2018-07-17 09:43:54.876956430 +0200
@@ -46,6 +46,7 @@
 %if %{with fgdb_support}
 BuildRequires:  filegdb_api-devel
 %endif
+BuildRequires:  KEALib-devel
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
 BuildRequires:  giflib-devel
@@ -213,6 +214,7 @@
 --with-libz \
 --with-liblzma  \
 --with-cfitsio=no   \
+--with-kea=yes  \
 --with-netcdf   \
 --with-openjpeg \
 --with-curl \




commit gdal for openSUSE:Factory

2018-07-09 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-07-09 13:31:11

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Mon Jul  9 13:31:11 2018 rev:29 rq:621683 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-06-19 
12:02:47.103988878 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-07-09 
13:31:44.550442097 +0200
@@ -1,0 +2,16 @@
+Fri Jul  6 11:20:45 UTC 2018 - br...@ioda-net.ch
+
+- Upgrade to new bugfix 2.3.1 version 
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.3.0-News   
+  + Fix build with recent Poppler (0.64) (#573)
+  + PDF driver: fix build against PDFium (#612)
+  + Do not use json-c private API RDA and AmigoCloud? drivers(#618)
+  + fix build against MySQL 8.0
+  + Include gdalsse_priv.h from user defined paths 
+  + Unix:
+- update GRASS drivers to support GRASS 7.4.0 (#633)
+- configure: use CXXFLAGS when CXX is used (#693) 
+- Packaging : redone patches against new version
+  + gdal-perl.patch
+
+---

Old:

  gdal-2.3.0.tar.xz

New:

  gdal-2.3.1.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.nTOUCl/_old  2018-07-09 13:31:45.294440601 +0200
+++ /var/tmp/diff_new_pack.nTOUCl/_new  2018-07-09 13:31:45.306440576 +0200
@@ -24,7 +24,7 @@
 %bcond_with ecw5_support
 %bcond_with fgdb_support
 Name:   gdal
-Version:2.3.0
+Version:2.3.1
 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

++ gdal-2.3.0.tar.xz -> gdal-2.3.1.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.3.0.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.3.1.tar.xz differ: char 26, line 1

++ gdal-perl.patch ++
--- /var/tmp/diff_new_pack.nTOUCl/_old  2018-07-09 13:31:45.330440528 +0200
+++ /var/tmp/diff_new_pack.nTOUCl/_new  2018-07-09 13:31:45.330440528 +0200
@@ -1,23 +1,21 @@
 diff -rup a/swig/perl/GNUmakefile b/swig/perl/GNUmakefile
 a/swig/perl/GNUmakefile2017-04-28 18:07:38.0 +0200
-+++ b/swig/perl/GNUmakefile2017-05-19 21:09:04.906101672 +0200
-@@ -30,7 +30,7 @@ build: gdal_wrap.cc Makefile_Geo__GDAL
- gdal_wrap.cc: generate
+--- a/swig/perl/GNUmakefile2018-06-23 17:05:47.0 +0200
 b/swig/perl/GNUmakefile2018-07-05 14:42:01.858099024 +0200
+@@ -31,6 +31,7 @@ gdal_wrap.cc: generate
  
- Makefile_Geo__GDAL:
--  perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
+ Makefile_Geo__GDAL: gdal_wrap.cc
+   perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
 +  perl Makefile.PL INSTALLDIRS=vendor
  
  test: build
$(MAKE) -f Makefile_Geo__GDAL test
 diff -rup a/swig/perl/Makefile b/swig/perl/Makefile
 a/swig/perl/Makefile   2017-04-28 18:07:38.0 +0200
-+++ b/swig/perl/Makefile   2017-05-19 21:09:20.618146109 +0200
-@@ -7,7 +7,7 @@ build: Makefile_Geo__GDAL
-   $(MAKE) -f Makefile_Geo__OSR
+--- a/swig/perl/Makefile   2018-06-23 17:05:47.0 +0200
 b/swig/perl/Makefile   2018-07-05 14:42:41.822293920 +0200
+@@ -8,6 +8,7 @@ build: Makefile_Geo__GDAL
  
  Makefile_Geo__GDAL:
--  perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
+   perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
 +  perl Makefile.PL INSTALLDIRS=vendor
  
  test: build




commit gdal for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-06-19 12:02:39

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Tue Jun 19 12:02:39 2018 rev:28 rq:617026 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-06-02 
12:14:34.622644847 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-06-19 
12:02:47.103988878 +0200
@@ -1,0 +2,5 @@
+Thu Jun 14 08:36:31 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Add optional filegdb_api support, disabled by default
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.8NrYyI/_old  2018-06-19 12:02:49.127913732 +0200
+++ /var/tmp/diff_new_pack.8NrYyI/_new  2018-06-19 12:02:49.135913435 +0200
@@ -22,6 +22,7 @@
 %define sourcename gdal
 %bcond_with ecw_support
 %bcond_with ecw5_support
+%bcond_with fgdb_support
 Name:   gdal
 Version:2.3.0
 Release:0
@@ -42,6 +43,9 @@
 BuildRequires:  dos2unix
 BuildRequires:  doxygen >= 1.4.2
 BuildRequires:  fdupes
+%if %{with fgdb_support}
+BuildRequires:  filegdb_api-devel
+%endif
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
 BuildRequires:  giflib-devel
@@ -242,6 +246,10 @@
 CFLAGS="$CFLAGS -pthread" \
 %endif
 %endif
+%if %{with fgdb_support}
+   --with-fgdb \
+   --with-static-proj4 \
+%endif
 %if 0%{?suse_version} > 1320
 --with-opencl   \
 %endif




commit gdal for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-06-02 12:14:10

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Sat Jun  2 12:14:10 2018 rev:27 rq:613443 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-05-29 
10:28:10.325596425 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-06-02 
12:14:34.622644847 +0200
@@ -1,0 +2,5 @@
+Fri Jun  1 10:04:15 UTC 2018 - opens...@dstoecker.de
+
+- require libopenjp2 for devel package
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.b4mMUn/_old  2018-06-02 12:14:36.030593205 +0200
+++ /var/tmp/diff_new_pack.b4mMUn/_new  2018-06-02 12:14:36.042592765 +0200
@@ -28,7 +28,7 @@
 Summary:GDAL/OGR - a translator library for raster and vector 
geospatial data formats
 License:MIT AND BSD-3-Clause AND SUSE-Public-Domain
 Group:  Development/Libraries/C and C++
-URL:http://www.gdal.org/
+Url:http://www.gdal.org/
 Source0:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
@@ -118,6 +118,7 @@
 Requires:   lib%{name}%{soversion} = %{version}
 Provides:   lib%{name}%{soversion}-devel
 Provides:   lib%{name}-devel
+Requires:   pkgconfig(libopenjp2)
 
 %description devel
 Development Libraries for the GDAL file format library




commit gdal for openSUSE:Factory

2018-05-29 Thread root
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.changes2018-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.0 +0200
-+++ b/GDALmake.opt.in  2017-05-19 21:11:58.318459759 +0200
+--- a/GDALmake.opt.in  2018-05-04 18:05:45.0 +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 

commit gdal for openSUSE:Factory

2018-04-06 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-04-06 17:48:37

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Fri Apr  6 17:48:37 2018 rev:25 rq:593895 version:2.2.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-03-22 
12:12:23.710021518 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-04-06 
17:50:41.085019778 +0200
@@ -1,0 +2,6 @@
+Thu Apr  5 14:51:21 UTC 2018 - br...@ioda-net.ch
+
+- Fix boo#1088014 by adding missing LICENSE in lib and main package 
+  Remove misplaced LICENSE.txt in /usr/share/gdal
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.55TuPB/_old  2018-04-06 17:50:45.204870839 +0200
+++ /var/tmp/diff_new_pack.55TuPB/_new  2018-04-06 17:50:45.208870695 +0200
@@ -294,6 +294,8 @@
 rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/*/.packlist
 rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist
 rm -rf %{buildroot}%{_bindir}/*.dox
+# License doesn't go there
+rm -f %{buildroot}%{_datadir}/gdal/LICENSE.TXT
 
 # avoid PACKAGE redefines
 sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' 
%{buildroot}%{_includedir}/gdal/cpl_config.h
@@ -303,11 +305,13 @@
 
 %files -n lib%{name}%{soversion}
 %defattr(644,root,root,755)
+%license LICENSE.TXT
 %{_libdir}/*.so.%{soversion}.*
 %{_libdir}/*.so.%{soversion}
 
 %files
 %defattr(644,root,root,755)
+%license LICENSE.TXT
 %doc NEWS PROVENANCE.TXT
 %defattr(755,root,root,755)
 %{_bindir}/epsg_tr.py




commit gdal for openSUSE:Factory

2018-03-22 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-03-22 12:08:27

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Thu Mar 22 12:08:27 2018 rev:24 rq:589953 version:2.2.4

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2018-01-13 
21:48:46.742909548 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-03-22 
12:12:23.710021518 +0100
@@ -1,0 +2,8 @@
+Thu Mar 22 06:15:25 UTC 2018 - br...@ioda-net.ch
+
+- Update to new upstream bugfix release 2.2.4
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.2.4-News
+- Remove merged patch gdal-json-c-0.13.patch
+- Maximize usage of pkgconfig
+
+---

Old:

  gdal-2.2.3.tar.xz
  gdal-json-c-0.13.patch

New:

  gdal-2.2.4.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Jnw5IV/_old  2018-03-22 12:12:25.001975214 +0100
+++ /var/tmp/diff_new_pack.Jnw5IV/_new  2018-03-22 12:12:25.005975071 +0100
@@ -16,19 +16,18 @@
 #
 
 
-%bcond_with ecw_support
 # Soname should be bumped on API/ABI break
 # http://trac.osgeo.org/gdal/ticket/4543
 %define soversion 20
 %define sourcename gdal
-
+%bcond_with ecw_support
 Name:   gdal
-Version:2.2.3
+Version:2.2.4
 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
+License:MIT AND BSD-3-Clause AND SUSE-Public-Domain
 Group:  Development/Libraries/C and C++
-Url:http://www.gdal.org/
+URL:http://www.gdal.org/
 Source0:
http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
 Patch0: gdal-perl.patch
 # Fix occasional parallel build failure
@@ -36,8 +35,6 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
-# PATCH-FIX-UPSTREAM gdal-json-c-0.13.patch dims...@opensuse.org -- Fix build 
with json-c 0.13; copied from gentoo
-Patch3: gdal-json-c-0.13.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -46,56 +43,61 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
-BuildRequires:  geotiff-devel >= 1.2.1
 BuildRequires:  giflib-devel
 BuildRequires:  lapack-devel
-BuildRequires:  libexpat-devel >= 1.95.0
 # No more please we have openjpeg2
 # BuildRequires:  libjasper-devel
 # Using jasper create build error on arm, powerpc, s390
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libproj-devel
-BuildRequires:  libspatialite-devel
-BuildRequires:  libtiff-devel >= 3.6.0
 BuildRequires:  libtool
-BuildRequires:  libxerces-c-devel
-BuildRequires:  libxml2-devel
 BuildRequires:  mysql-devel
-BuildRequires:  netcdf-devel
 BuildRequires:  opencl-headers
-BuildRequires:  openjpeg2-devel
 BuildRequires:  perl-macros
+BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python3-numpy-devel
 BuildRequires:  python3-setuptools
-BuildRequires:  sqlite-devel >= 3
 BuildRequires:  swig
 BuildRequires:  unixODBC-devel
-BuildRequires:  xz-devel
-BuildRequires:  zlib-devel >= 1.1.4
+BuildRequires:  pkgconfig(expat) >= 1.95.0
+BuildRequires:  pkgconfig(libgeotiff) >= 1.2.1
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(liblzma)
+BuildRequires:  pkgconfig(libopenjp2)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libtiff-4) >= 3.6.0
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(netcdf)
 BuildRequires:  pkgconfig(poppler)
+BuildRequires:  pkgconfig(proj)
+BuildRequires:  pkgconfig(spatialite)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(xerces-c)
+BuildRequires:  pkgconfig(zlib) >= 1.1.4
 %if %{with ecw_support}
 BuildRequires:  libecwj2-devel
 %endif
 %if 0%{?suse_version} >= 1310
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  freexl-devel
 BuildRequires:  hdf5-devel
-BuildRequires:  libwebp-devel
+BuildRequires:  pkgconfig(freexl)
+BuildRequires:  pkgconfig(libwebp)
+BuildRequires:  pkgconfig(libwebpdecoder)
+BuildRequires:  pkgconfig(libwebpdemux)
+BuildRequires:  pkgconfig(libwebpmux)
 %endif
 %if 0%{?suse_version} > 1320
-BuildRequires:  libjson-c-devel
-BuildRequires:  ocl-icd-devel
 BuildRequires:  opencl-headers
 BuildRequires:  perl-ExtUtils-MakeMaker
+BuildRequires:  pkgconfig(OpenCL)
+BuildRequires:  pkgconfig(json)
+BuildRequires:  pkgconfig(json-c)

commit gdal for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2018-01-13 21:48:42

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Sat Jan 13 21:48:42 2018 rev:23 rq:563816 version:2.2.3

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-11-25 
08:42:49.341900584 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2018-01-13 
21:48:46.742909548 +0100
@@ -1,0 +2,9 @@
+Fri Jan 12 10:24:13 UTC 2018 - dims...@opensuse.org
+
+- Replace poppler-devel BuildRequires with pkgconfig(poppler): the
+  name 'poppler-devel' was last used in openSUSE 11.4. By using the
+  pkgconfig() symbol, we don't have to care for actual package
+  names.
+- Add gdal-json-c-0.13.patch: Fix build with json-c 0.13.
+
+---

New:

  gdal-json-c-0.13.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.LFheJx/_old  2018-01-13 21:48:47.414878220 +0100
+++ /var/tmp/diff_new_pack.LFheJx/_new  2018-01-13 21:48:47.418878033 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,8 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
+# PATCH-FIX-UPSTREAM gdal-json-c-0.13.patch dims...@opensuse.org -- Fix build 
with json-c 0.13; copied from gentoo
+Patch3: gdal-json-c-0.13.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -64,7 +66,6 @@
 BuildRequires:  opencl-headers
 BuildRequires:  openjpeg2-devel
 BuildRequires:  perl-macros
-BuildRequires:  poppler-devel
 BuildRequires:  postgresql-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
@@ -75,6 +76,7 @@
 BuildRequires:  unixODBC-devel
 BuildRequires:  xz-devel
 BuildRequires:  zlib-devel >= 1.1.4
+BuildRequires:  pkgconfig(poppler)
 %if %{with ecw_support}
 BuildRequires:  libecwj2-devel
 %endif
@@ -158,6 +160,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure

++ gdal-json-c-0.13.patch ++
Index: gdal/ogr/ogrsf_frmts/geojson/ogrgeojsonwriter.cpp
===
--- a/ogr/ogrsf_frmts/geojson/ogrgeojsonwriter.cpp  (revision 41042)
+++ b/ogr/ogrsf_frmts/geojson/ogrgeojsonwriter.cpp  (revision 41043)
@@ -28,4 +28,6 @@
  /
 
+#define JSON_C_VER_013 (13 << 8)
+
 #include "ogrgeojsonwriter.h"
 #include "ogrgeojsonutils.h"
@@ -33,5 +35,9 @@
 #include "ogrgeojsonreader.h"
 #include   // JSON-C
+
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < JSON_C_VER_013)
 #include 
+#endif
+
 #include 
 #include 
@@ -1382,11 +1388,15 @@
 // TODO(schwehr): Explain this casting.
 const int nPrecision =
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < JSON_C_VER_013)
 static_cast(reinterpret_cast(jso->_userdata));
+#else
+
static_cast(reinterpret_cast(json_object_get_userdata(jso)));
+#endif
 char szBuffer[75] = {};
-OGRFormatDouble( szBuffer, sizeof(szBuffer), jso->o.c_double, '.',
+OGRFormatDouble( szBuffer, sizeof(szBuffer), json_object_get_double(jso), 
'.',
  (nPrecision < 0) ? 15 : nPrecision );
 if( szBuffer[0] == 't' /*oobig */ )
 {
-CPLsnprintf(szBuffer, sizeof(szBuffer), "%.18g", jso->o.c_double);
+CPLsnprintf(szBuffer, sizeof(szBuffer), "%.18g", 
json_object_get_double(jso));
 }
 return printbuf_memappend(pb, szBuffer, 
static_cast(strlen(szBuffer)));
@@ -1418,9 +1428,9 @@
 char szBuffer[75] = {};
 int nSize = 0;
-if( CPLIsNan(jso->o.c_double))
+if( CPLIsNan(json_object_get_double(jso)))
 nSize = CPLsnprintf(szBuffer, sizeof(szBuffer), "NaN");
-else if( CPLIsInf(jso->o.c_double) )
-{
-if( jso->o.c_double > 0 )
+else if( CPLIsInf(json_object_get_double(jso)) )
+{
+if( json_object_get_double(jso) > 0 )
 nSize = CPLsnprintf(szBuffer, sizeof(szBuffer), "Infinity");
 else
@@ -1430,5 +1440,9 @@
 {
 char szFormatting[32] = {};
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < JSON_C_VER_013)
 const int nSignificantFigures = (int) (GUIntptr_t) jso->_userdata;

commit gdal for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-11-25 08:42:48

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Sat Nov 25 08:42:48 2017 rev:22 rq:545073 version:2.2.3

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-11-09 
14:06:31.320042526 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-11-25 
08:42:49.341900584 +0100
@@ -1,0 +2,10 @@
+Thu Nov 23 20:34:20 UTC 2017 - br...@ioda-net.ch
+
+- Update to new upstream bugfix release 2.2.3
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.2.3-News 
+- Packaging : 
+  + remove wrong /usr/bin/env python shebang
+  + use /usr/bin/python3 for all /usr/bin/gdal*.py scripts
+- Remove gdal-2.2.2-mariadb_102_build_fix.patch merged upstream
+
+---

Old:

  gdal-2.2.2-mariadb_102_build_fix.patch
  gdal-2.2.2.tar.xz

New:

  gdal-2.2.3.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.1mLA1n/_old  2017-11-25 08:42:50.373862985 +0100
+++ /var/tmp/diff_new_pack.1mLA1n/_new  2017-11-25 08:42:50.377862839 +0100
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.2.2
+Version:2.2.3
 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
@@ -36,8 +36,6 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
-# PATCH-FIX-UPSTREAM kstreit...@suse.com -- fix build with MariaDB 10.2
-Patch3: gdal-2.2.2-mariadb_102_build_fix.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -160,7 +158,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
@@ -170,6 +167,10 @@
   find . -name "${F}" -exec dos2unix {} \;
 done
 
+#Fix wrong /usr/bin/env phyton
+#Create the move to python3
+find . -iname "*.py" -exec sed -i 's,^#!/usr/bin/env 
python$,#!/usr/bin/python3,' {} \;
+
 %build
 # need to regenerate (old one does not accept CFLAGS)
 autoreconf -fi

++ gdal-2.2.2.tar.xz -> gdal-2.2.3.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.2.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.2.3.tar.xz differ: char 27, line 1




commit gdal for openSUSE:Factory

2017-11-09 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-11-09 14:06:25

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Thu Nov  9 14:06:25 2017 rev:21 rq:539990 version:2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-09-25 
13:59:49.803342946 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-11-09 
14:06:31.320042526 +0100
@@ -1,0 +2,8 @@
+Wed Nov  8 13:02:10 UTC 2017 - kstreit...@suse.com
+
+- add gdal-2.2.2-mariadb_102_build_fix.patch to fix build with
+  MariaDB 10.2 (in our case the build with libmariadb library
+  from the mariadb-connector-c package)
+  * upstream commit d63c1a90f81fc3c1f58a8742fb68baf81340ea03)
+
+---

New:

  gdal-2.2.2-mariadb_102_build_fix.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.TFWLL3/_old  2017-11-09 14:06:32.683992823 +0100
+++ /var/tmp/diff_new_pack.TFWLL3/_new  2017-11-09 14:06:32.687992678 +0100
@@ -36,6 +36,8 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
+# PATCH-FIX-UPSTREAM kstreit...@suse.com -- fix build with MariaDB 10.2
+Patch3: gdal-2.2.2-mariadb_102_build_fix.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -158,6 +160,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure

++ gdal-2.2.2-mariadb_102_build_fix.patch ++
>From d63c1a90f81fc3c1f58a8742fb68baf81340ea03 Mon Sep 17 00:00:00 2001
From: Even Rouault 
Date: Sun, 8 Oct 2017 16:40:23 +
Subject: [PATCH] MySQL: fix build with MariaDB 10.2 (fixes #7079)

git-svn-id: https://svn.osgeo.org/gdal/trunk@40361 
f0d54148-0727-0410-94bb-9a71ac55c965
---
 gdal/ogr/ogrsf_frmts/mysql/ogr_mysql.h|  1 -
 gdal/ogr/ogrsf_frmts/mysql/ogrmysqldatasource.cpp | 25 ---
 2 files changed, 26 deletions(-)

Index: b/ogr/ogrsf_frmts/mysql/ogr_mysql.h
===
--- a/ogr/ogrsf_frmts/mysql/ogr_mysql.h
+++ b/ogr/ogrsf_frmts/mysql/ogr_mysql.h
@@ -43,7 +43,6 @@
 #pragma warning( disable : 4211 ) /* nonstandard extension used : redefined 
extern to static */
 #endif
 
-#include 
 #include 
 
 #ifdef _MSC_VER
Index: b/ogr/ogrsf_frmts/mysql/ogrmysqldatasource.cpp
===
--- a/ogr/ogrsf_frmts/mysql/ogrmysqldatasource.cpp
+++ b/ogr/ogrsf_frmts/mysql/ogrmysqldatasource.cpp
@@ -31,30 +31,6 @@
 #include 
 #include "ogr_mysql.h"
 
-#ifdef _MSC_VER
-#pragma warning( push )
-#pragma warning( disable : 4201 ) /* nonstandard extension used : nameless 
struct/union */
-#endif
-#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 
8))
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
-#endif
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunknown-pragmas"
-#pragma clang diagnostic ignored "-Wdocumentation"
-#endif
-#include 
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif
-#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 
8))
-#pragma GCC diagnostic pop
-#endif
-#ifdef _MSC_VER
-#pragma warning( pop )
-#endif
-
 #include "cpl_conv.h"
 #include "cpl_string.h"
 



commit gdal for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-09-25 13:59:47

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Mon Sep 25 13:59:47 2017 rev:20 rq:528486 version:2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-08-14 
12:40:41.954278203 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-09-25 
13:59:49.803342946 +0200
@@ -1,0 +2,6 @@
+Sat Sep 23 13:30:27 UTC 2017 - br...@ioda-net.ch
+
+- New upstream bugfix release 2.2.2
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.2.2-News 
+
+---

Old:

  gdal-2.2.1.tar.xz

New:

  gdal-2.2.2.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.5XTg7D/_old  2017-09-25 13:59:50.955180887 +0200
+++ /var/tmp/diff_new_pack.5XTg7D/_new  2017-09-25 13:59:50.955180887 +0200
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.2.1
+Version:2.2.2
 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

++ gdal-2.2.1.tar.xz -> gdal-2.2.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.2.1.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.2.2.tar.xz differ: char 27, line 1




commit gdal for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-08-14 12:40:36

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Mon Aug 14 12:40:36 2017 rev:19 rq:513699 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-07-17 
09:12:22.269686346 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-08-14 
12:40:41.954278203 +0200
@@ -1,0 +2,6 @@
+Tue Aug  1 11:37:54 UTC 2017 - tchva...@suse.com
+
+- Drop the php5 dependency. The php7 bindings are not ready and we
+  are removing php5
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.jQanSq/_old  2017-08-14 12:40:43.726029397 +0200
+++ /var/tmp/diff_new_pack.jQanSq/_new  2017-08-14 12:40:43.758024903 +0200
@@ -64,7 +64,6 @@
 BuildRequires:  opencl-headers
 BuildRequires:  openjpeg2-devel
 BuildRequires:  perl-macros
-BuildRequires:  php5-devel
 BuildRequires:  poppler-devel
 BuildRequires:  postgresql-devel
 BuildRequires:  python-numpy-devel




commit gdal for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-07-17 09:12:21

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Mon Jul 17 09:12:21 2017 rev:18 rq:510338 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-07-05 
23:57:28.476378554 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-07-17 
09:12:22.269686346 +0200
@@ -1,0 +2,14 @@
+Fri Jul 14 15:15:38 UTC 2017 - toddrme2...@gmail.com
+
+- Add python2-gdal provides for the python-gdal subpackage for
+  compatibility with single-spec python macros.
+
+---
+Wed Jul 12 10:22:32 UTC 2017 - br...@ioda-net.ch
+
+- New upstream bugfix release 2.2.1
+  See details https://trac.osgeo.org/gdal/wiki/Release/2.2.1-News 
+- Packaging
+  + Remove gdal-upstream-issue#6898-changeset#38636.patch merged
+
+---

Old:

  gdal-2.2.0.tar.xz
  gdal-upstream-issue#6898-changeset#38636.patch

New:

  gdal-2.2.1.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.9jh3iM/_old  2017-07-17 09:12:23.021580438 +0200
+++ /var/tmp/diff_new_pack.9jh3iM/_new  2017-07-17 09:12:23.025579874 +0200
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.2.0
+Version:2.2.1
 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
@@ -36,8 +36,6 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
-# Upstream issue #6898 changeset #38636
-Patch3: gdal-upstream-issue#6898-changeset#38636.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -142,6 +140,7 @@
 Summary:GDAL Python module
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}-%{release}
+Provides:   python2-%{name} = %{version}
 %py_requires
 
 %description -n python-%{name}
@@ -160,7 +159,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure

++ gdal-2.2.0.tar.xz -> gdal-2.2.1.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.2.0.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.2.1.tar.xz differ: char 27, line 1




commit gdal for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-07-05 23:57:26

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Wed Jul  5 23:57:26 2017 rev:17 rq:498835 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2017-02-04 
16:55:50.840912459 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-07-05 
23:57:28.476378554 +0200
@@ -1,0 +2,13 @@
+Wed May 24 09:00:11 UTC 2017 - br...@ioda-net.ch
+
+- New upstream release 2.2.0 
+  - https://trac.osgeo.org/gdal/wiki/Release/2.2.0-News
+- Packaging 
+  + add patch gdal-upstream-issue#6898-changeset#38636.patch 
+fixing non void return garbage in swig/perl.
+  + redone patches against 2.2.0
+gdal-libproj.patch
+GDALmake.opt.in.patch
+gdal-perl.patch
+
+---

Old:

  gdal-2.1.3.tar.xz

New:

  gdal-2.2.0.tar.xz
  gdal-upstream-issue#6898-changeset#38636.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.U2Tcy2/_old  2017-07-05 23:57:29.448241649 +0200
+++ /var/tmp/diff_new_pack.U2Tcy2/_new  2017-07-05 23:57:29.452241086 +0200
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.1.3
+Version:2.2.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
@@ -36,6 +36,8 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
+# Upstream issue #6898 changeset #38636
+Patch3: gdal-upstream-issue#6898-changeset#38636.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -44,10 +46,10 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  geos-devel >= 3
+BuildRequires:  geotiff-devel >= 1.2.1
 BuildRequires:  giflib-devel
 BuildRequires:  lapack-devel
 BuildRequires:  libexpat-devel >= 1.95.0
-BuildRequires:  libgeotiff-devel >= 1.2.1
 # No more please we have openjpeg2
 # BuildRequires:  libjasper-devel
 # Using jasper create build error on arm, powerpc, s390
@@ -158,6 +160,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
@@ -168,11 +171,8 @@
 done
 
 %build
-# need to regenerate (old one does not accpet CFLAGS)
-%if 0%{?suse_version} >= 1310
-mv configure.in configure.ac
+# need to regenerate (old one does not accept CFLAGS)
 autoreconf -fi
-%endif
 
 %configure \
 --prefix=%{_prefix} \
@@ -263,11 +263,13 @@
 # chrpath must be removed here
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/GDAL.so
+chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GNM/GNM.so
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/OGR/OGR.so
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/OSR/OSR.so
 
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/GDAL.so
+chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/GNM/GNM.so
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/OGR/OGR.so
 chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/OSR/OSR.so
 
@@ -342,11 +344,14 @@
 %{_bindir}/gdaltindex
 %{_bindir}/gdaltransform
 %{_bindir}/gdalwarp
+%{_bindir}/gnmanalyse
+%{_bindir}/gnmmanage
 %{_bindir}/mkgraticule.py
 %{_bindir}/nearblack
 %{_bindir}/ogr2ogr
 %{_bindir}/ogrinfo
 %{_bindir}/ogrlineref
+%{_bindir}/ogrmerge.py
 %{_bindir}/ogrtindex
 %{_bindir}/pct2rgb.py
 %{_bindir}/rgb2pct.py
@@ -388,6 +393,7 @@
 %{_mandir}/man1/ogr_utilities.1*
 %{_mandir}/man1/ogrinfo.1*
 %{_mandir}/man1/ogrlineref.1*
+%{_mandir}/man1/ogrmerge.1*
 %{_mandir}/man1/ogrtindex.1*
 %{_mandir}/man1/pct2rgb.1*
 %{_mandir}/man1/rgb2pct.1*
@@ -410,6 +416,7 @@
 %{perl_vendorarch}/Geo/GDAL.pm
 %dir %{perl_vendorarch}/Geo/GDAL
 %{perl_vendorarch}/Geo/GDAL/Const.pm
+%{perl_vendorarch}/Geo/GNM.pm
 %{perl_vendorarch}/Geo/OGR.pm
 %{perl_vendorarch}/Geo/OSR.pm
 %dir %{perl_vendorarch}/Geo
@@ -418,6 +425,8 @@
 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/GDAL.so
 %dir %{perl_vendorarch}/auto/Geo/GDAL/Const
 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
+%dir %{perl_vendorarch}/auto/Geo/GNM
+%attr(755,root,root) %{perl_vendorarch}/auto/Geo/GNM/GNM.so
 %dir %{perl_vendorarch}/auto/Geo/OGR
 %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OGR/OGR.so
 %dir %{perl_vendorarch}/auto/Geo/OSR

++ 

commit gdal for openSUSE:Factory

2017-02-04 Thread root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2017-02-04 15:23:20

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2016-11-01 
09:58:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2017-02-04 
16:55:50.840912459 +0100
@@ -1,0 +2,6 @@
+Fri Feb  3 12:00:00 UTC 2017 - Angelos Tzotsos 
+
+- New upstream bugfix release 2.1.3
+  - https://trac.osgeo.org/gdal/wiki/Release/2.1.3-News
+
+---

Old:

  gdal-2.1.2.tar.xz

New:

  gdal-2.1.3.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Rbxugj/_old  2017-02-04 16:55:51.208860080 +0100
+++ /var/tmp/diff_new_pack.Rbxugj/_new  2017-02-04 16:55:51.208860080 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.1.2
+Version:2.1.3
 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

++ gdal-2.1.2.tar.xz -> gdal-2.1.3.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.1.2.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.1.3.tar.xz differ: char 27, line 1




commit gdal for openSUSE:Factory

2016-11-01 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2016-11-01 09:58:35

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2016-10-20 
23:09:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2016-11-01 
09:58:39.0 +0100
@@ -1,0 +2,15 @@
+Sat Oct 29 20:31:47 UTC 2016 - br...@ioda-net.ch
+
+- Due to build failure on non x86 arch, and advise from upstream
+  comment out the usage of obsolete jasper.
+  We have openjpeg2 anyway. 
+
+---
+Fri Oct 28 07:14:22 UTC 2016 - br...@ioda-net.ch
+
+- New upstream bugfix release 2.1.2
+  - https://trac.osgeo.org/gdal/wiki/Release/2.1.2-News
+- Packaging changes
+  - remove netcdf-gcp-fix.patch (uptream)
+
+---

Old:

  gdal-2.1.1.tar.xz
  netcdf-gcp-fix.patch

New:

  gdal-2.1.2.tar.xz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.FfxapG/_old  2016-11-01 09:58:41.0 +0100
+++ /var/tmp/diff_new_pack.FfxapG/_new  2016-11-01 09:58:41.0 +0100
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.1.1
+Version:2.1.2
 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
@@ -36,7 +36,6 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
-Patch3: netcdf-gcp-fix.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -49,7 +48,9 @@
 BuildRequires:  lapack-devel
 BuildRequires:  libexpat-devel >= 1.95.0
 BuildRequires:  libgeotiff-devel >= 1.2.1
-BuildRequires:  libjasper-devel
+# No more please we have openjpeg2
+# BuildRequires:  libjasper-devel
+# Using jasper create build error on arm, powerpc, s390
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libproj-devel
@@ -157,7 +158,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p2
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
@@ -199,7 +199,7 @@
 --enable-shared \
 --with-geos \
 --with-expat\
---with-jasper   \
+--without-jasper\
 --with-png  \
 --with-gif  \
 --with-jpeg \

++ gdal-2.1.1.tar.xz -> gdal-2.1.2.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.1.2.tar.xz differ: char 27, line 1




commit gdal for openSUSE:Factory

2016-10-20 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2016-10-20 23:09:17

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2016-10-02 
00:09:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2016-10-20 
23:09:53.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 17 19:00:00 UTC 2016 - Angelos Tzotsos 
+
+- Packaging changes
+  - Fixed gdal-libproj.patch to point to libproj.so.12
+
+---



Other differences:
--
++ gdal-libproj.patch ++
--- /var/tmp/diff_new_pack.TPGw6x/_old  2016-10-20 23:09:54.0 +0200
+++ /var/tmp/diff_new_pack.TPGw6x/_new  2016-10-20 23:09:54.0 +0200
@@ -6,7 +6,7 @@
  #  define LIBNAME  "libproj.dylib"
  #else
 -#  define LIBNAME  "libproj.so"
-+#  define LIBNAME  "libproj.so.9"
++#  define LIBNAME  "libproj.so.12"
  #endif
  
  //




commit gdal for openSUSE:Factory

2016-10-01 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2016-10-02 00:09:10

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2016-05-17 
17:14:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2016-10-02 
00:09:11.0 +0200
@@ -1,0 +2,15 @@
+Fri Sep 30 16:00:00 UTC 2016 - Angelos Tzotsos 
+
+- Packaging changes
+  - Added netcdf-gcp-fix.patch from upstream (#)
+
+---
+Sun Sep 25 13:20:22 UTC 2016 - br...@ioda-net.ch
+
+- New upstream bugfix release 2.1.1
+  - https://trac.osgeo.org/gdal/wiki/Release/2.1.1-News
+- Packaging changes
+  - Remove ogr_wrap.patch included upstream
+  - Added support to liblzma 
+
+---

Old:

  gdal-2.1.0.tar.xz
  ogr_wrap.patch

New:

  gdal-2.1.1.tar.xz
  netcdf-gcp-fix.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.QXYsla/_old  2016-10-02 00:09:12.0 +0200
+++ /var/tmp/diff_new_pack.QXYsla/_new  2016-10-02 00:09:12.0 +0200
@@ -23,7 +23,7 @@
 %define sourcename gdal
 
 Name:   gdal
-Version:2.1.0
+Version:2.1.1
 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
@@ -36,7 +36,7 @@
 # Fix hard coded name of libproj library
 # But libproj.so is valid if libproj-devel is installed ?
 Patch2: gdal-libproj.patch
-Patch3: ogr_wrap.patch
+Patch3: netcdf-gcp-fix.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -157,7 +157,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+%patch3 -p2
 
 # Fix mandir
 sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
@@ -185,6 +185,7 @@
 --with-rename-internal-libtiff-symbols=yes \
 --with-rename-internal-libgeotiff-symbols=yes \
 --with-libz \
+--with-liblzma  \
 --with-cfitsio=no   \
 --with-netcdf   \
 --with-openjpeg \

++ gdal-2.1.0.tar.xz -> gdal-2.1.1.tar.xz ++
/work/SRC/openSUSE:Factory/gdal/gdal-2.1.0.tar.xz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-2.1.1.tar.xz differ: char 27, line 1

++ netcdf-gcp-fix.patch ++
>From fa7af0b95804fac670a88f602f9cbec922b4d054 Mon Sep 17 00:00:00 2001
From: Even Rouault 
Date: Fri, 30 Sep 2016 11:12:06 +
Subject: [PATCH] HDF5: correct number of GCPs to avoid dummy trailing
 (0,0)->(0,0,0) and remove +180 offset applied to GCP longitude. Add instead a
 heuristics to determine if the product is crossing the antimeridian, and a
 HDF5_SHIFT_GCPX_BY_180 config option to be able to override the heuristics
 (fixes #)

git-svn-id: https://svn.osgeo.org/gdal/branches/2.1@35557 
f0d54148-0727-0410-94bb-9a71ac55c965
---
 gdal/frmts/hdf5/hdf5imagedataset.cpp | 33 +++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/gdal/frmts/hdf5/hdf5imagedataset.cpp 
b/gdal/frmts/hdf5/hdf5imagedataset.cpp
index 120a04a..e6211c1 100644
--- a/gdal/frmts/hdf5/hdf5imagedataset.cpp
+++ b/gdal/frmts/hdf5/hdf5imagedataset.cpp
@@ -825,7 +825,7 @@ CPLErr HDF5ImageDataset::CreateProjections()
 /*  */
 /*  Fill the GCPs list. */
 /*  */
-nGCPCount = nRasterYSize/nDeltaLat * nRasterXSize/nDeltaLon;
+nGCPCount = (nRasterYSize/nDeltaLat) * (nRasterXSize/nDeltaLon);
 
 pasGCPList = static_cast(
 CPLCalloc( nGCPCount, sizeof( GDAL_GCP ) ) );
@@ -835,12 +835,41 @@ CPLErr HDF5ImageDataset::CreateProjections()
 
 const int nYLimit = (static_cast(nRasterYSize)/nDeltaLat) * 
nDeltaLat;
 const int nXLimit = (static_cast(nRasterXSize)/nDeltaLon) * 
nDeltaLon;
+
+// The original code in https://trac.osgeo.org/gdal/changeset/8066
+// always add +180 to the longitudes, but without justification
+// I suspect this might be due to handling products crossing the
+// antimeridian. Trying to do it just when needed through a heuristics.
+bool bHasLonNearMinus180 = false;
+bool bHasLonNearPlus180 = false;
+bool bHasLonNearZero = false;
+for( int j = 0; j < nYLimit; j+=nDeltaLat )
+

commit gdal for openSUSE:Factory

2016-02-08 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2016-02-08 09:47:47

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2016-02-01 
19:57:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2016-02-08 
09:47:48.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb  4 18:55:25 UTC 2016 - behri...@users.sourceforge.net
+
+- Fixing PACKAGE_* redefines in cpl_config.h
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.4PpR3a/_old  2016-02-08 09:47:48.0 +0100
+++ /var/tmp/diff_new_pack.4PpR3a/_new  2016-02-08 09:47:48.0 +0100
@@ -284,6 +284,9 @@
 rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist
 rm -rf %{buildroot}%{_bindir}/*.dox
 
+# avoid PACKAGE redefines
+sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' 
%{buildroot}%{_includedir}/gdal/cpl_config.h
+
 %post -n lib%{name}1 -p /sbin/ldconfig
 
 %postun-n lib%{name}1 -p /sbin/ldconfig




commit gdal for openSUSE:Factory

2016-02-01 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2016-02-01 19:57:03

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-12-13 
09:40:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2016-02-01 
19:57:27.0 +0100
@@ -1,0 +2,5 @@
+Sun Jan 31 16:55:00 UTC 2016 - Angelos Tzotsos 
+
+- New upstream patch release 1.11.4
+
+---

Old:

  gdal-1.11.3.tar.gz

New:

  gdal-1.11.4.tar.gz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.rWh8Z5/_old  2016-02-01 19:57:28.0 +0100
+++ /var/tmp/diff_new_pack.rWh8Z5/_new  2016-02-01 19:57:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %bcond_with ecw_support
 Name:   gdal
-Version:1.11.3
+Version:1.11.4
 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

++ gdal-1.11.3.tar.gz -> gdal-1.11.4.tar.gz ++
/work/SRC/openSUSE:Factory/gdal/gdal-1.11.3.tar.gz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-1.11.4.tar.gz differ: char 5, line 1




commit gdal for openSUSE:Factory

2015-12-13 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-12-13 09:39:54

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-09-30 
05:52:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-12-13 
09:40:00.0 +0100
@@ -1,0 +2,6 @@
+Wed Dec  9 16:05:00 UTC 2015 - mplus...@suse.com
+
+- Enable opencl and freexl support
+- Update dependencies
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.DrqDWK/_old  2015-12-13 09:40:01.0 +0100
+++ /var/tmp/diff_new_pack.DrqDWK/_new  2015-12-13 09:40:01.0 +0100
@@ -53,6 +53,7 @@
 BuildRequires:  libtiff-devel >= 3.6.0
 BuildRequires:  libtool
 BuildRequires:  libxerces-c-devel
+BuildRequires:  libxml2-devel
 BuildRequires:  netcdf-devel
 BuildRequires:  openjpeg2-devel
 BuildRequires:  poppler-devel
@@ -71,10 +72,14 @@
 %if 0%{?suse_version} >= 1310
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  freexl-devel
 BuildRequires:  hdf5-devel
-%endif
-%if 0%{?suse_version} > 1310 && 0%{?suse_version} != 1315
 BuildRequires:  libwebp-devel
+%endif
+%if 0%{?suse_version} > 1320
+BuildRequires:  libjson-c-devel
+BuildRequires:  ocl-icd-devel
+BuildRequires:  opencl-headers
 BuildRequires:  perl-ExtUtils-MakeMaker
 %else
 BuildRequires:  hdf-devel >= 4.0
@@ -160,7 +165,7 @@
 %build
 # need to regenerate (old one does not accpet CFLAGS)
 %if 0%{?suse_version} >= 1310
-autoreconf -fi
+autoreconf -fiv
 %endif
 
 %configure \
@@ -196,6 +201,7 @@
 --with-python   \
 --with-perl \
 --with-mysql\
+--with-freexl   \
 --with-xerces=yes   \
 --with-xerces-lib="-lxerces-c" \
 --with-xerces-inc=%{_includedir}/xercesc \
@@ -203,6 +209,9 @@
 --with-ecw\
 CFLAGS="$CFLAGS -pthread" \
 %endif
+%if 0%{?suse_version} > 1320
+--with-opencl   \
+%endif
 %if 0%{?suse_version} > 1310
 --without-hdf4  \
 --with-hdf5 \




commit gdal for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-09-30 05:52:00

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is "gdal"

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-08-29 
20:05:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-09-30 
05:52:10.0 +0200
@@ -1,0 +2,10 @@
+Fri Sep 25 11:29:38 UTC 2015 - ec...@opensuse.org
+
+- Upgrade to version 1.11.3
+  see http://trac.osgeo.org/gdal/wiki/Release/1.11.3-News
+- remove following patches, because their are now in source:
+  - gdal-poppler-0.31.patch
+  - gdal-python-swig3-issue6045.patch
+  - gdal-gcc5-getaddrinfo-issue6073.patch
+
+---

Old:

  gdal-1.11.2.tar.gz
  gdal-gcc5-getaddrinfo-issue6073.patch
  gdal-poppler-0.31.patch
  gdal-python-swig3-issue6045.patch

New:

  gdal-1.11.3.tar.gz



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.Cs8CM2/_old  2015-09-30 05:52:11.0 +0200
+++ /var/tmp/diff_new_pack.Cs8CM2/_new  2015-09-30 05:52:11.0 +0200
@@ -18,7 +18,7 @@
 
 %bcond_with ecw_support
 Name:   gdal
-Version:1.11.2
+Version:1.11.3
 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
@@ -32,12 +32,6 @@
 Patch3: GDALmake.opt.in.patch
 # Fix hard coded name of libproj library
 Patch4: gdal-libproj.patch
-# PATCH-FIX-UPSTREAM gdal-poppler-0.31.patch dims...@opensuse.org -- Fix build 
with poppler 0.31+, taken from upstream svn.
-Patch5: gdal-poppler-0.31.patch
-# Fix python coding in swig3+ (backport of gdal20)
-Patch6: gdal-python-swig3-issue6045.patch
-# Fix gcc5 build upstream issue 6073
-Patch7: gdal-gcc5-getaddrinfo-issue6073.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -52,6 +46,7 @@
 BuildRequires:  libgeotiff-devel >= 1.2.1
 BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  libmysqld-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libproj-devel
 BuildRequires:  libspatialite-devel
@@ -149,9 +144,6 @@
 %patch2 -p1
 %patch3 -p0
 %patch4 -p0
-%patch5 -p0
-%patch6 -p1
-%patch7 -p1
 
 # Fix wrong encoding EOL
 for F in frmt_twms_srtm.xml frmt_wms_bluemarble_s3_tms.xml 
frmt_wms_virtualearth.xml frmt_twms_Clementine.xml;
@@ -203,6 +195,7 @@
 --with-poppler  \
 --with-python   \
 --with-perl \
+--with-mysql\
 --with-xerces=yes   \
 --with-xerces-lib="-lxerces-c" \
 --with-xerces-inc=%{_includedir}/xercesc \

++ gdal-1.11.2.tar.gz -> gdal-1.11.3.tar.gz ++
/work/SRC/openSUSE:Factory/gdal/gdal-1.11.2.tar.gz 
/work/SRC/openSUSE:Factory/.gdal.new/gdal-1.11.3.tar.gz differ: char 5, line 1




commit gdal for openSUSE:Factory

2015-08-29 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-08-29 20:05:08

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-07-14 
17:45:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-08-29 
20:05:11.0 +0200
@@ -1,0 +2,20 @@
+Fri Aug 28 10:26:28 UTC 2015 - br...@ioda-net.ch
+
+- packaging
+  Redone exclusion for = 1310 and 1315
+  Cleanup empty perl bs files
+- Build fixes
+  * Fix python coding in swig3+ (backport of gdal20)
+  with patch gdal-python-swig3-issue6045.patch
+  * Fix gcc5 build upstream issue 6073
+  gdal-gcc5-getaddrinfo-issue6073.patch  
+
+---
+Wed Aug 26 09:58:30 UTC 2015 - br...@ioda-net.ch
+
+- Adding python3 support
+- move fdupes from buildroot (mix python scripts otherwise)
+  fdupes is run against source html directory
+- dos2unix Fix EOL warnings
+
+---

New:

  gdal-gcc5-getaddrinfo-issue6073.patch
  gdal-python-swig3-issue6045.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.hDCB06/_old  2015-08-29 20:05:12.0 +0200
+++ /var/tmp/diff_new_pack.hDCB06/_new  2015-08-29 20:05:12.0 +0200
@@ -34,9 +34,14 @@
 Patch4: gdal-libproj.patch
 # PATCH-FIX-UPSTREAM gdal-poppler-0.31.patch dims...@opensuse.org -- Fix build 
with poppler 0.31+, taken from upstream svn.
 Patch5: gdal-poppler-0.31.patch
+# Fix python coding in swig3+ (backport of gdal20)
+Patch6: gdal-python-swig3-issue6045.patch
+# Fix gcc5 build upstream issue 6073
+Patch7: gdal-gcc5-getaddrinfo-issue6073.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
+BuildRequires:  dos2unix
 BuildRequires:  doxygen = 1.4.2
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -59,11 +64,12 @@
 BuildRequires:  postgresql-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python3-devel
+BuildRequires:  python3-numpy-devel
 BuildRequires:  sqlite-devel = 3
 BuildRequires:  swig
 BuildRequires:  unixODBC-devel
 BuildRequires:  zlib-devel = 1.1.4
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with ecw_support}
 BuildRequires:  libecwj2-devel
 %endif
@@ -78,6 +84,7 @@
 %else
 BuildRequires:  hdf-devel = 4.0
 %endif
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 GDAL is a translator library for raster geospatial data formats that
@@ -127,6 +134,14 @@
 %description -n python-gdal
 The GDAL python modules provide support to handle multiple GIS file formats.
 
+%package -n python3-gdal
+Summary:GDAL Python3 module
+Group:  Development/Languages/Python
+Requires:   %{name} = %{version}-%{release}
+
+%description -n python3-gdal
+The GDAL python3 modules provide support to handle multiple GIS file formats.
+
 %prep
 %setup -q -n gdal-%{version}
 %patch0 -p1
@@ -135,10 +150,18 @@
 %patch3 -p0
 %patch4 -p0
 %patch5 -p0
+%patch6 -p1
+%patch7 -p1
+
+# Fix wrong encoding EOL
+for F in frmt_twms_srtm.xml frmt_wms_bluemarble_s3_tms.xml 
frmt_wms_virtualearth.xml frmt_twms_Clementine.xml;
+do
+# dos2unix -v is not supported on archaic SLE version
+  find . -name ${F} -exec dos2unix {} \;
+done
 
 # need to regenerate (old ones don't support perl 5.10)
-rm swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}
-rm swig/php/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}
+#See below the veryclean  generate usage.
 
 rm -r man
 
@@ -197,18 +220,38 @@
--disable-rpath
 
 # regenerate where needed
-make %{?_smp_mflags} -C swig/perl generate
+for M in perl python;
+do
+  make %{?_smp_mflags} -C swig/${M} veryclean
+  make %{?_smp_mflags} -C swig/${M} generate
+done
 
 make %{?_smp_mflags} all docs man
 
+# Make Python 3 module
+pushd swig/python
+  python3 setup.py build
+popd
+
 %install
 
+# Install Python 3 module
+# Must be done first so executables are env python
+pushd swig/python
+  python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+popd
+
 make %{?_smp_mflags} install install-man \
DESTDIR=%{buildroot} INST_MAN=%{_mandir}
 
 cp -a ogr/html html/ogr
 
-%fdupes -s %{buildroot}
+# Not on buildroot : broke everything with python3
+# If done got python3 needing python2 package heretic ..
+# Futhermore duplicates are only existing in src html dir
+%fdupes -s html
+# Empty file
+rm -f html/do-not-remove
 
 # chrpath must be removed here
 chmod 644 %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so

commit gdal for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-07-14 17:44:08

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-06-09 
08:48:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-07-14 
17:45:21.0 +0200
@@ -1,0 +2,5 @@
+Sat Jul  4 11:32:00 UTC 2015 - Angelos Tzotsos tzot...@opensuse.org
+
+- Fix build to use libproj9
+
+---



Other differences:
--
++ gdal-libproj.patch ++
--- /var/tmp/diff_new_pack.rREsP0/_old  2015-07-14 17:45:22.0 +0200
+++ /var/tmp/diff_new_pack.rREsP0/_new  2015-07-14 17:45:22.0 +0200
@@ -5,7 +5,7 @@
  #  define LIBNAME  libproj.dylib
  #else
 -#  define LIBNAME  libproj.so
-+#  define LIBNAME  libproj.so.0
++#  define LIBNAME  libproj.so.9
  #endif
  
  //




commit gdal for openSUSE:Factory

2015-06-09 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-06-09 08:48:55

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-05-05 
00:55:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-06-09 
08:48:56.0 +0200
@@ -1,0 +2,5 @@
+Fri May 29 08:37:19 UTC 2015 - guilla...@opensuse.org
+
+- Fix ECW detection in configure script (need to add -pthread to CFLAGS)
+
+---



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.YPujqO/_old  2015-06-09 08:48:57.0 +0200
+++ /var/tmp/diff_new_pack.YPujqO/_new  2015-06-09 08:48:57.0 +0200
@@ -185,6 +185,7 @@
 --with-xerces-inc=%{_includedir}/xercesc \
 %if %{with ecw_support}
--with-ecw  \
+   CFLAGS=$CFLAGS -pthread \
 %endif
 %if 0%{?suse_version}  1310
--without-hdf4  \




commit gdal for openSUSE:Factory

2015-05-04 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-05-05 00:55:41

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-03-29 
20:18:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-05-05 
00:55:42.0 +0200
@@ -1,0 +2,159 @@
+Sat May  2 18:47:37 UTC 2015 - ec...@opensuse.org
+
+- Upgrade to version 1.11.2
+   * Build
+- configure: fix detection of OCI by changing linking order 
+  to please modern GCC (#5550)
+- configure: fix test to accept MariaDB 10.X as valid MySQL 
+  (#5722)
+- More compiler warnings addressed (#5414)
+- Windows build of PDF: fix compilation issue with 
+  Visual Studio 2012 (#5744)
+- Windows build: Add support for MrSID 9.1 SDK (#5814)
+- Windows build: when building netCDF, HDF4, HDF5 as plugins, 
+  call registration of 'sub-drivers' GMT, HDF4Image and 
+  HDF5Image (#5802) 
+  * Port
+- CSV finder: Stop probing for csv/horiz_cs.csv. (#5698)
+- /vsicurl/: avoid reading after end-of-file and fix failure 
+  when reading more than 16MB in a single time (#5786)
+- CPLHexToBinary(): faster implementation (#5812) 
+  * GDAL Core and algorithms
+- Make GetMaskBand?() work with GDT_UInt16 alpha bands (#5692)
+- Fix 32bit overflow in GDALRasterBand::IRasterIO() (#5713)
+- RPC transformer: take into account nodata in RPC DEM (#5680)
+- RPC transformer: add RPC_DEM_MISSING_VALUE transformer option 
+  to avoid failure when there's no DEM at the transformed point
+  (#5730)
+- Fix GDALSuggestedWarpOutput() wrong extent in some 
+  circumstances (e.g. dataset of big dimension with world 
+  coordinates) (#5693)
+- Fix crash when calling GetTiledVirtualMem?() on non-Linux 
+  platform (#5728)
+- warp: fix integer overflow when reprojecting into an area 
+  with (part of) bounds completely outside of the source 
+  projection (#5789)
+- OpenCL warper: fix OpenCL code compilation with NVIDIA OpenCL 
+  (#5772) 
+  * Utilities
+- gdalwarp: initialize destination dataset to no_data value 
+  when automatically propagating source nodata (#5675)
+- gdalwarp: only apply INIT_DEST when processing the first 
+  input dataset (#5387)
+- gdaldem: avoid too large files to be produced when using 
+  -co COMPRESS= -co TILED=YES (#5678) 
+  * GDAL drivers
+- GRASS driver:
+  - fix compilation issues against GRASS 7 (#2953) 
+- GIF driver:
+  - fix crash on images without color table (#5792)
+  - validate the size of the graphic control extension block 
+   (#5793) 
+- GTiff driver:
+  - Internal overviews: for near, average, gauss, and pixel 
+   interleaving, make sure to use the same code path for 
+   compressed vs uncompressed overviews (#5701)
+  - allow lossless copying of CMYK JPEG into JPEG-in-TIFF 
+   (#5712)
+  - when overriding metadata in update mode, make sure to clear
+   it from PAM file (#5807)
+  - fix GTiffRasterBand::DirectIO() to work with TIFF files 
+   with multiple directories (overviews, masks) (#5831)
+  - Internal libtiff: partial (mostly security related fixes) 
+   upgrade to 4.0.4beta (#5830) 
+- ISIS3 driver:
+  - fix to recognize IsisCube?.Mapping.LatitudeType? = 
+   Planetocentric (#5717) 
+- JP2OpenJPEG driver:
+  - add compatibility with OpenJPEG 2.1 (#5579) 
+- JPEG driver:
+  - Report non-fatal libjpeg errors as CE_Warning 
+   (or CE_Failure if GDAL_ERROR_ON_LIBJPEG_WARNING = TRUE) 
+   (#5667) 
+- KMLSuperOverlay driver:
+  - remove useless and unreliable computations on floating 
+   point numbers that caused issues (truncated raster) 
+   on 32bit (#5683) 
+- USGSDEM driver:
+  - take into account horizontal unit = ft in the UTM case 
+   (#5819) 
+- VRT driver:
+  - fix RasterIO() to be able to fill buffers larger than 2GB 
+   (#5700, #5734) 
+  * OGR core
+- ogr_core.h: only ignore -Wfloat-equal for IsInit?() and not 
+  for the rest of the file and files that inc it (#5299)
+- OGR layer algebra: properly initialize field maps to avoid 
+  Valgrind warnings in OGRLayer::Update() (#5778) 
+  * OGR drivers
+- CSV driver:
+  - fix segfault when reading allCountries.txt of geonames.org 
+   (#5668) 
+- FileGDB:
+  - avoid emitting error when opening a FileGDB v9, so that 
+   OpenFileGDB can be tried to open it, in the case FileGDB 
+   is a plugin (#5674) 
+- GeoJSON driver:
+  - ESRIJson: parse correctly rings of esriGeometryPolygon 
+   

commit gdal for openSUSE:Factory

2015-03-29 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-03-29 20:18:08

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-03-11 
09:58:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-03-29 
20:18:10.0 +0200
@@ -1,0 +2,5 @@
+Fri Mar 27 13:53:57 UTC 2015 - dims...@opensuse.org
+
+- Add gdal-poppler-0.31.patch: Fix build with poppler 0.31+.
+
+---

New:

  gdal-poppler-0.31.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.PjQ6MZ/_old  2015-03-29 20:18:11.0 +0200
+++ /var/tmp/diff_new_pack.PjQ6MZ/_new  2015-03-29 20:18:11.0 +0200
@@ -32,6 +32,8 @@
 Patch3: GDALmake.opt.in.patch
 # Fix hard coded name of libproj library
 Patch4: gdal-libproj.patch
+# PATCH-FIX-UPSTREAM gdal-poppler-0.31.patch dims...@opensuse.org -- Fix build 
with poppler 0.31+, taken from upstream svn.
+Patch5: gdal-poppler-0.31.patch
 BuildRequires:  blas-devel
 BuildRequires:  chrpath
 BuildRequires:  curl-devel
@@ -132,6 +134,7 @@
 %patch2 -p1
 %patch3 -p0
 %patch4 -p0
+%patch5 -p0
 
 # need to regenerate (old ones don't support perl 5.10)
 rm swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}

++ gdal-poppler-0.31.patch ++
Index: frmts/pdf/pdfdataset.cpp
===
--- frmts/pdf/pdfdataset.cpp.orig
+++ frmts/pdf/pdfdataset.cpp
@@ -108,12 +108,9 @@ class GDALPDFOutputDev : public SplashOu
 
 public:
 GDALPDFOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
- GBool reverseVideoA, SplashColorPtr paperColorA,
- GBool bitmapTopDownA = gTrue,
- GBool allowAntialiasA = gTrue) :
+ GBool reverseVideoA, SplashColorPtr paperColorA) :
 SplashOutputDev(colorModeA, bitmapRowPadA,
-reverseVideoA, paperColorA,
-bitmapTopDownA, allowAntialiasA),
+reverseVideoA, paperColorA),
 bEnableVector(TRUE),
 bEnableText(TRUE),
 bEnableBitmap(TRUE) {}
Index: frmts/pdf/pdfio.cpp
===
--- frmts/pdf/pdfio.cpp.orig
+++ frmts/pdf/pdfio.cpp
@@ -39,13 +39,25 @@
 
 CPL_CVSID($Id: pdfio.cpp 27044 2014-03-16 23:41:27Z rouault $);
 
+
+#ifdef POPPLER_BASE_STREAM_HAS_TWO_ARGS
+/* Poppler 0.31.0 is the first one that needs to know the file size */
+static vsi_l_offset VSIPDFFileStreamGetSize(VSILFILE* f)
+{
+VSIFSeekL(f, 0, SEEK_END);
+vsi_l_offset nSize = VSIFTellL(f);
+VSIFSeekL(f, 0, SEEK_SET);
+return nSize;
+}
+#endif
+
 //
 /* VSIPDFFileStream()   */
 //
 
 VSIPDFFileStream::VSIPDFFileStream(VSILFILE* f, const char* pszFilename, 
Object *dictA):
 #ifdef POPPLER_BASE_STREAM_HAS_TWO_ARGS
-BaseStream(dictA, 0)
+BaseStream(dictA, 
(setPos_offset_type)VSIPDFFileStreamGetSize(f))
 #else
 BaseStream(dictA)
 #endif
@@ -195,7 +207,7 @@ int VSIPDFFileStream::FillBuffer()
 /*getChar() */
 //
 
-/* The unoptimized version performs a bit well since we must go through */
+/* The unoptimized version performs a bit less since we must go through */
 /* the whole virtual I/O chain for each character reading. We save a few */
 /* percent with this extra internal caching */
 
@@ -326,4 +338,47 @@ void VSIPDFFileStream::moveStart(moveSta
 nPosInBuffer = nBufferLength = -1;
 }
 
+//
+/*  hasGetChars()   */
+//
+
+GBool VSIPDFFileStream::hasGetChars()
+{
+return true;
+}
+
+//
+/*getChars()*/

commit gdal for openSUSE:Factory

2015-03-11 Thread h_root
Hello community,

here is the log from the commit of package gdal for openSUSE:Factory checked in 
at 2015-03-11 09:58:54

Comparing /work/SRC/openSUSE:Factory/gdal (Old)
 and  /work/SRC/openSUSE:Factory/.gdal.new (New)


Package is gdal

Changes:

--- /work/SRC/openSUSE:Factory/gdal/gdal.changes2015-02-10 
20:24:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.gdal.new/gdal.changes   2015-03-11 
09:58:56.0 +0100
@@ -1,0 +2,11 @@
+Tue Mar 10 10:35:47 UTC 2015 - schubert@gmail.com
+
+- Fix hard coded proj4 library name
+  * gdal-libproj.patch
+
+---
+Sun Mar  8 20:39:00 UTC 2015 - mplus...@suse.com
+
+- Update perl package dependencies
+
+---

New:

  gdal-libproj.patch



Other differences:
--
++ gdal.spec ++
--- /var/tmp/diff_new_pack.qRBu6p/_old  2015-03-11 09:58:57.0 +0100
+++ /var/tmp/diff_new_pack.qRBu6p/_new  2015-03-11 09:58:57.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdal
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,10 @@
 Patch2: gdal-perl.patch
 # Fix occasional paralle build failure
 Patch3:GDALmake.opt.in.patch
+# Fix hard coded name of libproj library
+Patch4: gdal-libproj.patch
 BuildRequires:  blas-devel
+BuildRequires:  chrpath
 BuildRequires:  curl-devel
 BuildRequires:  doxygen = 1.4.2
 BuildRequires:  fdupes
@@ -47,6 +50,7 @@
 BuildRequires:  libspatialite-devel
 BuildRequires:  libtiff-devel = 3.6.0
 BuildRequires:  libtool
+BuildRequires:  libxerces-c-devel
 BuildRequires:  netcdf-devel
 BuildRequires:  openjpeg2-devel
 BuildRequires:  poppler-devel
@@ -57,20 +61,18 @@
 BuildRequires:  swig
 BuildRequires:  unixODBC-devel
 BuildRequires:  zlib-devel = 1.1.4
-BuildRequires:  chrpath
-BuildRequires:  libxerces-c-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with ecw_support}
 BuildRequires:  libecwj2-devel
 %endif
 %if 0%{?suse_version} = 1310
-BuildRequires:  hdf5-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  hdf5-devel
 %endif
 %if 0%{?suse_version}  1310  0%{?suse_version} != 1315
-BuildRequires:  perl-ExtUtils-MakeMaker
 BuildRequires:  libwebp-devel
+BuildRequires:  perl-ExtUtils-MakeMaker
 %else
 BuildRequires:  hdf-devel = 4.0
 %endif
@@ -105,8 +107,11 @@
 Summary:Perl bindings for GDAL
 Group:  Development/Languages/Perl
 Requires:   %{name} = %{version}-%{release}
+%if 0%{?suse_version}  1140
 Requires:   perl = %{perl_version}
-Requires:   perl-base
+%else
+%{perl_requires}
+%endif
 
 %description -n perl-gdal
 Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules.
@@ -126,6 +131,7 @@
 %patch1
 %patch2 -p1
 %patch3 -p0
+%patch4 -p0
 
 # need to regenerate (old ones don't support perl 5.10)
 rm swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}

++ gdal-libproj.patch ++
--- ogr/ogrct.cpp   2014-09-24 15:47:42.0 +0200
+++ ogr/ogrct.cpp_new   2015-03-10 11:09:34.135358433 +0100
@@ -92,7 +92,7 @@
 #elif defined(__APPLE__)
 #  define LIBNAME  libproj.dylib
 #else
-#  define LIBNAME  libproj.so
+#  define LIBNAME  libproj.so.0
 #endif
 
 //
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org