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
This commit is contained in:
parent
33c32dcd39
commit
4696641e58
@ -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>
|
Sat Jul 17 08:53:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
14
geotiff.spec
14
geotiff.spec
@ -19,13 +19,13 @@
|
|||||||
%define sover 5
|
%define sover 5
|
||||||
%define libname lib%{name}%{sover}
|
%define libname lib%{name}%{sover}
|
||||||
Name: geotiff
|
Name: geotiff
|
||||||
Version: 1.7.0
|
Version: 1.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to handle georeferenced TIFF
|
Summary: Library to handle georeferenced TIFF
|
||||||
License: MIT AND SUSE-Public-Domain
|
License: MIT AND SUSE-Public-Domain
|
||||||
Group: Productivity/Scientific/Other
|
Group: Productivity/Scientific/Other
|
||||||
URL: https://github.com/OSGeo/libgeotiff
|
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
|
# UPSTREAM Patch (geotif) to be used with gdal 2.4.1
|
||||||
# Patch0: https://github.com/OSGeo/libgeotiff/commit/f4956251.patch
|
# Patch0: https://github.com/OSGeo/libgeotiff/commit/f4956251.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -71,16 +71,6 @@ GeoTIFF keys in new files.
|
|||||||
%setup -q -n lib%{name}-%{version}
|
%setup -q -n lib%{name}-%{version}
|
||||||
#%%autopatch -p2
|
#%%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
|
%build
|
||||||
export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE"
|
export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE"
|
||||||
export CXXFLAGS="%{optflags} $CXXFLAGS -g -fstack-protector -fno-strict-aliasing"
|
export CXXFLAGS="%{optflags} $CXXFLAGS -g -fstack-protector -fno-strict-aliasing"
|
||||||
|
@ -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
3
libgeotiff-1.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6
|
||||||
|
size 542779
|
Loading…
x
Reference in New Issue
Block a user