From 4696641e589327840f3bf682ce81f88c111f605d62018cfef8deb7df4d4be850 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 6 May 2022 08:20:26 +0000 Subject: [PATCH] Accepting request 975174 from home:cgiboudeaux:branches:Application:Geo Update to 1.7.1 OBS-URL: https://build.opensuse.org/request/show/975174 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geotiff?expand=0&rev=30 --- geotiff.changes | 27 +++++++++++++++++++++++++++ geotiff.spec | 14 ++------------ libgeotiff-1.7.0.tar.gz | 3 --- libgeotiff-1.7.1.tar.gz | 3 +++ 4 files changed, 32 insertions(+), 15 deletions(-) delete mode 100644 libgeotiff-1.7.0.tar.gz create mode 100644 libgeotiff-1.7.1.tar.gz diff --git a/geotiff.changes b/geotiff.changes index 2da3f8d..1fb3241 100644 --- a/geotiff.changes +++ b/geotiff.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu May 5 10:40:54 UTC 2022 - Christophe Giboudeaux + +- Update to 1.7.1 + * geotiff.h: more precise signature for GTIFDirectoryInfo() + * applygeo.c/geotifcp.c: use uint16/32_t instead of old libtiff + non _t custom types + * Bump CMake min to 3.0.0 and remove apparently unneeded + cmake_policy() declarations + * CMake: remove libjpeg and libz from linking of libgeotiff + itself. + * geo_config.h: prefix HAVE_xxx and restrict it to + GEOTIFF_HAVE_STRINGS_H + * GTIFPrintDefn(): avoid potential nullptr deref. (CID 1469240) + * CMake: use variable for installation subdirectories, and make + sure INTERFACE_INCLUDE_DIRECTORIES is exported + * ReadKey(): only allow reading a key with TIFFTagLocation=0 + that has a count of 1 to avoid reading an illegal address (and + crashing) when using GTIFKeyGet() or PrintKey() + * ReadKey(): add extra warning messages + * CMake: avoid INTERFACE_LINK_LIBRARIES vs + LINK_INTERFACE_LIBRARIES_DEBUG warning about TIFF + * CMake: Fix dllexport + * CMake: Revise exported cmake config wrt BUILD_SHARED_LIBS + * CMake: Revise exported cmake config wrt dependencies + * CMake: Respect _FIND_QUIETLY + ------------------------------------------------------------------- Sat Jul 17 08:53:16 UTC 2021 - Dirk Müller diff --git a/geotiff.spec b/geotiff.spec index c1294ae..ae4f952 100644 --- a/geotiff.spec +++ b/geotiff.spec @@ -19,13 +19,13 @@ %define sover 5 %define libname lib%{name}%{sover} Name: geotiff -Version: 1.7.0 +Version: 1.7.1 Release: 0 Summary: Library to handle georeferenced TIFF License: MIT AND SUSE-Public-Domain Group: Productivity/Scientific/Other URL: https://github.com/OSGeo/libgeotiff -Source0: https://download.osgeo.org/%{name}/lib%{name}/lib%{name}-%{version}.tar.gz +Source0: https://github.com/OSGeo/libgeotiff/releases/download/%{version}/libgeotiff-%{version}.tar.gz # UPSTREAM Patch (geotif) to be used with gdal 2.4.1 # Patch0: https://github.com/OSGeo/libgeotiff/commit/f4956251.patch BuildRequires: gcc-c++ @@ -71,16 +71,6 @@ GeoTIFF keys in new files. %setup -q -n lib%{name}-%{version} #%%autopatch -p2 -for f in `find . -type f` -do - if file $f | grep -q CRLF ; then - echo "Fix line ends for $f" - set -x - sed -i -e 's|\r||g' $f - set +x - fi -done - %build export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE" export CXXFLAGS="%{optflags} $CXXFLAGS -g -fstack-protector -fno-strict-aliasing" diff --git a/libgeotiff-1.7.0.tar.gz b/libgeotiff-1.7.0.tar.gz deleted file mode 100644 index 7ed0e07..0000000 --- a/libgeotiff-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e -size 541931 diff --git a/libgeotiff-1.7.1.tar.gz b/libgeotiff-1.7.1.tar.gz new file mode 100644 index 0000000..2971997 --- /dev/null +++ b/libgeotiff-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6 +size 542779