forked from pool/laszip
Accepting request 677933 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/677933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/laszip?expand=0&rev=4
This commit is contained in:
commit
4aa4321d0e
@ -1,27 +0,0 @@
|
|||||||
From d781bf50da33d1789cce3a17777d91e279d0a289 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Pete Gadomski <pete.gadomski@gmail.com>
|
|
||||||
Date: Thu, 19 Oct 2017 17:06:55 +0000
|
|
||||||
Subject: [PATCH] Load .so dll on non-apple
|
|
||||||
|
|
||||||
This platform checking is...dubious...but this was the Minimum Required
|
|
||||||
To Work on a debian system.
|
|
||||||
---
|
|
||||||
dll/laszip_api.c | 4 +++-
|
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/dll/laszip_api.c b/dll/laszip_api.c
|
|
||||||
index 007e080..83c09bf 100644
|
|
||||||
--- a/dll/laszip_api.c
|
|
||||||
+++ b/dll/laszip_api.c
|
|
||||||
@@ -958,8 +958,10 @@ laszip_I32 laszip_load_dll()
|
|
||||||
// Load DLL file
|
|
||||||
#ifdef _WIN32
|
|
||||||
laszip_HINSTANCE = LoadLibrary(TEXT("LASzip.dll"));
|
|
||||||
-#else
|
|
||||||
+#elif __APPLE__
|
|
||||||
laszip_HINSTANCE = LoadLibrary("liblaszip.dylib", RTLD_NOW);
|
|
||||||
+#else
|
|
||||||
+ laszip_HINSTANCE = LoadLibrary("liblaszip.so", RTLD_NOW);
|
|
||||||
#endif
|
|
||||||
if (laszip_HINSTANCE == NULL) {
|
|
||||||
return 1;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:53307e39072318b0175787cf0ed445de12efe0d6b4ccae66829a9a475f3aca19
|
|
||||||
size 190735
|
|
@ -1 +0,0 @@
|
|||||||
MD5 (laszip-src-3.1.1.tar.gz) = d31fc8b1fc070336a1825beb32595153
|
|
3
laszip-src-3.2.9.tar.gz
Normal file
3
laszip-src-3.2.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a1cc9ea5adfcad43b9c8afbaff20bcd573a85c90dd83d5c8e17e4ff8d8d4548e
|
||||||
|
size 218578
|
1
laszip-src-3.2.9.tar.gz.md5
Normal file
1
laszip-src-3.2.9.tar.gz.md5
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (laszip-src-3.2.9.tar.gz) = 178a79737788e099b70a70c10c61b01e
|
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 19 06:51:01 UTC 2019 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
|
- Update to 3.2.9 version
|
||||||
|
+ Decompression bug for PRDF 8 or 10 when the scanner channel
|
||||||
|
and the NIR field are populated.
|
||||||
|
+ 3.2.8 **NOTE: The version number is 3.2.8 to be brought in line
|
||||||
|
with the patch version number present in LAStools, which had
|
||||||
|
been incremented without being kept in sync with the laszip.org
|
||||||
|
version. We regret the error.
|
||||||
|
bug fixes since 3.2.2:
|
||||||
|
+ 7 November 2018 upped to 3.2 r8 for identical legacy and
|
||||||
|
extended flags check
|
||||||
|
+ 20 October 2018 upped to 3.2 r7 for rare bug in
|
||||||
|
LASinterval::merge_intervals()
|
||||||
|
+ 5 October 2018 upped to 3.2 r6 for corrected 'is_empty'
|
||||||
|
return value
|
||||||
|
+ 28 September 2018 upped to 3.2 r5 for fix in extended
|
||||||
|
classification writing
|
||||||
|
+ 3.2.2
|
||||||
|
+ A version number was not properly incremented to 3.2.1,
|
||||||
|
necessitating a new release to eliminate confusion.
|
||||||
|
+ 3.2.1
|
||||||
|
+ Library SOVERSIONing for libtool to 8.0.0 #36
|
||||||
|
+ Update NEWS and ChangeLog
|
||||||
|
+ Library version inadvertently had major version in name
|
||||||
|
(only relevant on windows)
|
||||||
|
+ Now building on AppVeyor and Travis
|
||||||
|
+ 3.2.0
|
||||||
|
+ Fix install of laszip_api_version.h #30
|
||||||
|
+ Add V4 read methods
|
||||||
|
- Packaging
|
||||||
|
+ minimal spec-cleaner (date/url) + trailing space in changes
|
||||||
|
+ remove merged upstream 0bf1c60.patch
|
||||||
|
+ adjust path of laszip_api_version.h to /usr/include/laszip
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 24 07:15:06 UTC 2018 - bruno@ioda-net.ch
|
Wed Jan 24 07:15:06 UTC 2018 - bruno@ioda-net.ch
|
||||||
|
|
||||||
|
17
laszip.spec
17
laszip.spec
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file for package laszip
|
# spec file for package laszip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2014 Ioda-Net Sàrl, Charmoille, Switzerland. Bruno Friedmann (tigerfoot)
|
# Copyright (c) 2019 Bruno Friedmann, Ioda-Net Sàrl, Charmoille, Switzerland.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,24 +13,22 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
%define sover 3
|
%define sover 8
|
||||||
|
|
||||||
Name: laszip
|
Name: laszip
|
||||||
Version: 3.1.1
|
Version: 3.2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Compression library supporting ASPRS LAS format data
|
Summary: Compression library supporting ASPRS LAS format data
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.laszip.org/
|
Url: http://www.laszip.org/
|
||||||
Source0: https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz
|
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.md5
|
||||||
# Upstream [PATCH] Load .so dll on non-apple
|
|
||||||
Patch0: https://github.com/LASzip/LASzip/commit/0bf1c60.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -82,7 +80,6 @@ data.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n laszip-src-%{version}
|
%setup -q -n laszip-src-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# laszip need dlopen,dlsym,dlclose
|
# laszip need dlopen,dlsym,dlclose
|
||||||
@ -114,8 +111,8 @@ rm -rf %{buildroot}/usr/lib/debug/
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog AUTHORS COPYING
|
%doc ChangeLog AUTHORS COPYING
|
||||||
%{_includedir}/%{name}_api_version.h
|
|
||||||
%dir %{_includedir}/%{name}
|
%dir %{_includedir}/%{name}
|
||||||
|
%{_includedir}/%{name}/%{name}_api_version.h
|
||||||
%{_includedir}/%{name}/%{name}_api.h
|
%{_includedir}/%{name}/%{name}_api.h
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_libdir}/lib%{name}_api.so
|
%{_libdir}/lib%{name}_api.so
|
||||||
|
Loading…
Reference in New Issue
Block a user