Accepting request 975356 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/975356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geotiff?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-05-06 16:59:50 +00:00 committed by Git OBS Bridge
commit dc2c1d2abc
4 changed files with 32 additions and 15 deletions

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu May 5 10:40:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- 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 <dmueller@suse.com>

View File

@ -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"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e
size 541931

3
libgeotiff-1.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6
size 542779