From e2a456dac0bcad259393315d54e84970d12d96dc942166109f8864a3c9dd3cb2 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 10 Jul 2019 18:50:05 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/laszip?expand=0&rev=10 --- laszip.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laszip.spec b/laszip.spec index 56f76af..757d5e1 100644 --- a/laszip.spec +++ b/laszip.spec @@ -26,7 +26,7 @@ Release: 0 Summary: Compression library supporting ASPRS LAS format data License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://www.laszip.org/ +Url: https://laszip.org/ Source0: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz Source1: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz.md5 BuildRequires: cmake From 5d5eda35b8487f28bacfe0b82736e6fd7ad2cd287c7de2d77ca29bc224c3045a Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 10 Jul 2019 19:01:08 +0000 Subject: [PATCH 2/3] update OBS-URL: https://build.opensuse.org/package/show/Application:Geo/laszip?expand=0&rev=11 --- laszip-src-3.2.9.tar.gz | 3 --- laszip-src-3.2.9.tar.gz.md5 | 1 - laszip-src-3.4.1.tar.gz | 3 +++ laszip-src-3.4.1.tar.gz.sha256sum | 1 + laszip.changes | 15 +++++++++++++++ laszip.spec | 4 ++-- 6 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 laszip-src-3.2.9.tar.gz delete mode 100644 laszip-src-3.2.9.tar.gz.md5 create mode 100644 laszip-src-3.4.1.tar.gz create mode 100644 laszip-src-3.4.1.tar.gz.sha256sum diff --git a/laszip-src-3.2.9.tar.gz b/laszip-src-3.2.9.tar.gz deleted file mode 100644 index 8413188..0000000 --- a/laszip-src-3.2.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1cc9ea5adfcad43b9c8afbaff20bcd573a85c90dd83d5c8e17e4ff8d8d4548e -size 218578 diff --git a/laszip-src-3.2.9.tar.gz.md5 b/laszip-src-3.2.9.tar.gz.md5 deleted file mode 100644 index fce3bbe..0000000 --- a/laszip-src-3.2.9.tar.gz.md5 +++ /dev/null @@ -1 +0,0 @@ -MD5 (laszip-src-3.2.9.tar.gz) = 178a79737788e099b70a70c10c61b01e diff --git a/laszip-src-3.4.1.tar.gz b/laszip-src-3.4.1.tar.gz new file mode 100644 index 0000000..ae77ec1 --- /dev/null +++ b/laszip-src-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d9b0ffaf8b7319c2fa216da3f3f878bb8f4e5b4b14d2c154d441a351da2be37 +size 219421 diff --git a/laszip-src-3.4.1.tar.gz.sha256sum b/laszip-src-3.4.1.tar.gz.sha256sum new file mode 100644 index 0000000..f6230e0 --- /dev/null +++ b/laszip-src-3.4.1.tar.gz.sha256sum @@ -0,0 +1 @@ +5d9b0ffaf8b7319c2fa216da3f3f878bb8f4e5b4b14d2c154d441a351da2be37 laszip-src-3.4.1.tar.gz diff --git a/laszip.changes b/laszip.changes index 1b7d44b..6d51b0b 100644 --- a/laszip.changes +++ b/laszip.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jul 10 18:51:45 UTC 2019 - Dirk Stoecker + +- update to version 3.4.1 + * 1024 AC_BUFFER_SIZE to 4096 for propagate_carry() overflow + * Fix two small memory leaks + * FastAC now properly BSD-licensed. + * writer: sanity check for consistent legacy and extended classification + * reader: zero the legacy classification whenever extended classification + is larger than 31 + * bug fix when writing 4,294,967,296 or more points uncompressed to LAS + * fix for LASzip v4 decompression of WavePacket part of PRDF 9 and 10 + * upped to 3.2 r9 for bug fix in multi-channel NIR decompression + * fix for v4 decompression of WavePacket part of PRDF 9 and 10 + ------------------------------------------------------------------- Tue Feb 19 06:51:01 UTC 2019 - Bruno Friedmann diff --git a/laszip.spec b/laszip.spec index 757d5e1..7fe48d1 100644 --- a/laszip.spec +++ b/laszip.spec @@ -21,14 +21,14 @@ %define sover 8 Name: laszip -Version: 3.2.9 +Version: 3.4.1 Release: 0 Summary: Compression library supporting ASPRS LAS format data License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url: https://laszip.org/ Source0: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz -Source1: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz.md5 +Source1: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz.sha256sum BuildRequires: cmake BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build From fb17ca71fa0a1098c8e3b1f134c5fe22decfa11a9e8daad6154d55babfd0046d Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 10 Jul 2019 19:19:44 +0000 Subject: [PATCH 3/3] use -fPIC instead of -fPIE for link library OBS-URL: https://build.opensuse.org/package/show/Application:Geo/laszip?expand=0&rev=12 --- laszip.changes | 1 + laszip.spec | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/laszip.changes b/laszip.changes index 6d51b0b..f7e0f42 100644 --- a/laszip.changes +++ b/laszip.changes @@ -12,6 +12,7 @@ Wed Jul 10 18:51:45 UTC 2019 - Dirk Stoecker * fix for LASzip v4 decompression of WavePacket part of PRDF 9 and 10 * upped to 3.2 r9 for bug fix in multi-channel NIR decompression * fix for v4 decompression of WavePacket part of PRDF 9 and 10 +- build fix: use -fPIC instead of -fPIE for library ------------------------------------------------------------------- Tue Feb 19 06:51:01 UTC 2019 - Bruno Friedmann diff --git a/laszip.spec b/laszip.spec index 7fe48d1..549f077 100644 --- a/laszip.spec +++ b/laszip.spec @@ -84,10 +84,10 @@ data. %build # laszip need dlopen,dlsym,dlclose %cmake \ - -DCMAKE_C_FLAGS="%{optflags} -fno-strict-aliasing -fPIE -pie" \ - -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIE -pie" \ - -DCMAKE_CXX_FLAGS="%{optflags} -fno-strict-aliasing -fPIE -pie" \ - -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIE -pie" \ + -DCMAKE_C_FLAGS="%{optflags} -fno-strict-aliasing -fPIC" \ + -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIC" \ + -DCMAKE_CXX_FLAGS="%{optflags} -fno-strict-aliasing -fPIC" \ + -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIC" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -Wl,--no-as-needed -ldl" make V=1 %{?_smp_mflags}