Compare commits

...

47 Commits

Author SHA1 Message Date
Sandro Mani d72828cd8e Update to 2.5.2 2023-03-07 08:28:11 +01:00
Markus Neteler 229b221e63 Update to PDAL 2.5.2 2023-03-01 10:53:23 +01:00
Markus Neteler 9b4cff059d New upstream version PDAL 2.5.1 2023-02-11 16:33:38 +01:00
Markus Neteler 948f6b0739 patch to guard against bad return numbers 2023-02-06 17:56:29 +01:00
Markus Neteler 308940c460 patch to guard against bad return numbers
from upstream #3966, to be removed with PDAL 2.5.1
2023-02-06 17:55:44 +01:00
Fedora Release Engineering 97e180cbd9 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 20:00:06 +00:00
Sandro Mani 40b0dc7dff Update to 2.5.0 2023-01-14 19:17:43 +01:00
Sandro Mani 75394c18f2 Rebuild (gdal) 2022-11-12 11:26:55 +01:00
Markus Neteler 735438428d Updated SPDX license tag 2022-11-09 15:42:03 +01:00
Sandro Mani 8dbf76bc16 Update sources 2022-08-06 14:49:26 +02:00
Sandro Mani 475f501408 Update to 2.4.3 2022-08-06 14:46:01 +02:00
Fedora Release Engineering 1eaa0cd3cb Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 18:54:46 +00:00
Sandro Mani 739ac3e5bc Update to 2.4.2 2022-06-07 09:24:24 +02:00
Sandro Mani d5b81000fb Update to 2.4.1 2022-05-22 00:03:14 +02:00
Sandro Mani 62959db595 Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 2022-05-21 00:20:05 +02:00
Markus Neteler 54bca66a4f ppc64le: workaround for BZ #1996330 2022-03-28 21:47:51 +02:00
Markus Neteler b12a94f179 reinstate vedor libs; fix missing memory declaration 2022-03-28 20:23:25 +02:00
Markus Neteler eeb683d5a0 New upstream version PDAL-2.4.0 (BZ #2068605) 2022-03-27 21:45:50 +02:00
Fedora Release Engineering 0674210773 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 19:34:20 +00:00
Orion Poplawski fcf60cbb08 Rebuild for hdf5 1.12.1 2021-11-21 19:35:02 -07:00
Sandro Mani d229a09a7c Rebuild (gdal) 2021-11-11 12:09:28 +01:00
Jonathan Wakely 5606013f18 Rebuilt for Boost 1.76 2021-08-06 22:00:45 +01:00
Sandro Mani 74ecddccb2 Ignore test failures 2021-07-25 11:44:00 +02:00
Fedora Release Engineering cf672dde8e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 15:59:04 +00:00
Fedora Release Engineering 9eb0e8de8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 11:04:34 +00:00
Sandro Mani 7f7d0f7f71 Exclude pdal_utils_test test on i686 2021-06-17 22:33:59 +02:00
Markus 5e7a886bb5 New upstream version PDAL-2.2.0
(BZ #1965634)
2021-05-30 19:52:16 +02:00
Markus 541213cad6 New upstream version PDAL-2.3.0 2021-05-30 19:50:36 +02:00
Sandro Mani a202074d43 Rebuild (gdal) 2021-05-07 12:14:51 +02:00
Jonathan Wakely 7cc169cd44 Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-30 15:25:15 +01:00
Pavel Raiskup a405bd97ba rebuild for libpq ABI fix
Related: rhbz#1908268
2021-02-08 09:34:31 +01:00
Markus cccef5f1bf fix build with sphinxcontrib-bibtex (RHBZ #1921498) 2021-01-28 18:23:48 +01:00
Markus cf56daa0c3 fix build with sphinxcontrib-bibtex (RHBZ #1921498) 2021-01-28 18:22:38 +01:00
Fedora Release Engineering db98c1e4f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-25 22:35:33 +00:00
Jonathan Wakely 241340deaf Rebuilt for Boost 1.75 2021-01-22 16:34:26 +00:00
Sandro Mani ac7c7a19e7 BR: make 2020-12-01 15:18:13 +01:00
Sandro Mani 8f0748930f Rebuild (proj, gdal) 2020-11-12 12:58:41 +01:00
Sandro Mani a0233634b0 Reenable tests, don't run them in parallel 2020-11-04 21:01:21 +01:00
Sandro Mani be5574fc76 Fix FTBFS and test failure 2020-11-04 17:33:36 +01:00
Markus 12ee7d914c - add laszip-devel requirement to PDAL-devel (fixes BZ #1891154)
- activated bash completion
2020-10-24 11:56:37 +02:00
Markus 93c33a6d74 New upstream version PDAL-2.2.0
- related update of patches
2020-10-18 21:21:13 +02:00
Sandro Mani 4b1a9a965a Use %cmake_build/%cmake_install/%ctest 2020-07-28 15:46:18 +02:00
Fedora Release Engineering a49bf24318 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 10:33:34 +00:00
Markus 5c0007e06d enable EPEL8 compilation by dropping sphinx docs for now (depends on BZ#1808766) 2020-06-06 08:47:05 +02:00
Jonathan Wakely 0850914050 Rebuilt for Boost 1.73 2020-06-03 11:00:25 +01:00
Markus 235e4e5cfd drop unversioned symbolic links of libpdal_plugin_* in PDAL-devel (BZ#1841616) 2020-05-31 10:50:04 +02:00
Markus 8c64cff0e1 Initial packaging of PDAL - Point Data Abstraction Library 2020-05-28 19:31:19 +02:00
7 changed files with 685 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
/PDAL-2.1.0-src.tar.gz
/PDAL-2.2.0-src.tar.gz
/PDAL-2.3.0-src.tar.gz
/PDAL-2.4.0-src.tar.gz
/PDAL-2.4.1-src.tar.gz
/PDAL-2.4.2-src.tar.gz
/PDAL-2.4.3-src.tar.gz
/PDAL-2.5.0-src.tar.gz
/PDAL-2.5.1-src.tar.gz
/PDAL-2.5.2-src.tar.gz

449
PDAL.spec Normal file
View File

@ -0,0 +1,449 @@
%global __cmake_in_source_build 1
# BZ 1996330
%ifarch ppc64le
%global _lto_cflags %nil
%endif
Summary: Point Data Abstraction Library
Name: PDAL
# NOTE: Re-verifiy test exclusions in %%check when updating
Version: 2.5.2
Release: 1%{?dist}
# The code is licensed BSD except for:
# - filters/private/csf/* and plugins/i3s/lepcc/* are ASL 2.0
# - vendor/arbiter/*, plugins/nitf/io/nitflib.h and plugins/oci/io/OciWrapper.* are Expat/MIT
# - plugins/e57/libE57Format/{src,include}/* is Boost
License: BSD-3-Clause AND Apache-2.0 AND MIT AND BSL-1.0
URL: https://www.pdal.io
Source: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}-src.tar.gz
# commented out due to size (320 MB larger)
#Source1: http://download.osgeo.org/proj/vdatum/%%{name}-vdatums.zip
# originals
#Source1: http://download.osgeo.org/proj/vdatum/egm08_25/egm08_25.gtx
#Source2: http://download.osgeo.org/proj/vdatum/egm08_25/egm08_25.txt
#Source3: http://download.osgeo.org/proj/vdatum/egm96_15/egm96_15.gtx
#Source4: http://download.osgeo.org/proj/vdatum/egm96_15/WW15MGH.TXT
#Source5: http://download.osgeo.org/proj/vdatum/vertcon/README.TXT
#Source6: http://download.osgeo.org/proj/vdatum/vertcon/vertconc.gtx
#Source7: http://download.osgeo.org/proj/vdatum/vertcon/vertcone.gtx
#Source8: http://download.osgeo.org/proj/vdatum/vertcon/vertconw.gtx
#Source9: http://download.osgeo.org/proj/vdatum/usa_geoid1999.zip
#Source10: http://download.osgeo.org/proj/vdatum/usa_geoid2003.zip
#Source11: http://download.osgeo.org/proj/vdatum/usa_geoid2009.zip
#Source12: http://download.osgeo.org/proj/vdatum/usa_geoid2012.zip
#Source13: http://download.osgeo.org/proj/vdatum/usa_geoid2012b.zip
# Unbundle some bundled libraries
Patch0: PDAL_unbundle.patch
# Use correct libdir for PDAL_DRIVER_PATH when running tests
Patch1: PDAL_tests.patch
# fix build with sphinxcontrib-bibtex 2.0 (RHBZ #1921498)
Patch2: PDAL_sphinxconf.patch
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: eigen3-devel
BuildRequires: gcc-c++
BuildRequires: gdal
BuildRequires: gdal-devel
BuildRequires: geos-devel
BuildRequires: gtest-devel
BuildRequires: hdf5-devel
BuildRequires: jsoncpp-devel
BuildRequires: libgeotiff-devel
BuildRequires: libpq-devel
BuildRequires: libxml2-devel
BuildRequires: libzstd-devel
BuildRequires: make
BuildRequires: netcdf-cxx-devel
BuildRequires: postgresql-devel
BuildRequires: postgresql-server
BuildRequires: proj-devel
%if 0%{?fedora}
# yet missing for EPEL8 BZ#1808766
BuildRequires: python3-breathe
%endif
BuildRequires: python3-devel
BuildRequires: python3-numpy
BuildRequires: python3-sphinx
%if 0%{?fedora}
# yet missing for EPEL8
BuildRequires: python3-sphinxcontrib-bibtex
BuildRequires: python3-sphinxcontrib-spelling
%endif
BuildRequires: python3-sphinx_rtd_theme
BuildRequires: qhull-devel
BuildRequires: sqlite-devel
BuildRequires: zlib-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: bash-completion
# https://github.com/connormanning/arbiter bundled in vendor/arbiter
Provides: bundled(arbiter)
# https://github.com/mkazhdan/PoissonRecon bundled in vendor/kazhdan
Provides: bundled(PoissonRecon)
# https://github.com/jlblancoc/nanoflann bundled in vendor/nanoflann
Provides: bundled(nanoflann)
# https://github.com/nlohmann/json bundled in vendor/nlohmann
Provides: bundled(nlohmann)
%description
PDAL is a BSD licensed library for translating and manipulating point cloud
data of various formats. It is a library that is analogous to the GDAL raster
library. PDAL is focused on reading, writing, and translating point cloud
data from the ever-growing constellation of data formats. While PDAL is not
explicitly limited to working with LiDAR data formats, its wide format
coverage is in that domain.
PDAL is related to Point Cloud Library (PCL) in the sense that both work with
point data, but PDALs niche is data translation and processing pipelines, and
PCLs is more in the algorithmic exploitation domain. There is cross over of
both niches, however, and PDAL provides a user the ability to exploit data
using PCLs techniques.
%package devel
Summary: PDAL development header files and libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The pdal-devel package contains the header files and libraries needed to
compile C or C++ applications which will directly interact with PDAL.
%package libs
Summary: The shared libraries required for PDAL
%description libs
The pdal-libs package provides the essential shared libraries for any
PDAL client program or interface. You will need to install this package
to use PDAL
# commented out due to size
#%%package vdatums
#Summary: Vertical datum and geoid files for PDAL
#Requires: %%{name} = %%{version}-%%{release}
#
#%%description vdatums
#This package contains vertical datum and geoid files for PDAL.
%package doc
Summary: Documentation for PDAL
BuildArch: noarch
%description doc
This package contains documentation for PDAL.
# We don't want to provide private PDAL extension libs (to be verified)
%global __provides_exclude_from ^%{_libdir}/libpdal_plugin.*\.so.*$
%prep
%autosetup -p1 -n %{name}-%{version}-src
# Remove some bundled libraries
rm -rf vendor/{eigen,gtest,pdalboost}
%build
%cmake -D PDAL_LIB_INSTALL_DIR:PATH=%{_lib} \
-D CMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-D CMAKE_VERBOSE_MAKEFILE=ON \
-D GEOTIFF_INCLUDE_DIR=%{_includedir}/libgeotiff \
-D BUILD_PGPOINTCLOUD_TESTS:BOOL=OFF \
-D WITH_COMPLETION=ON \
-D WITH_LAZPERF=ON \
-D WITH_TESTS=ON \
-D PDAL_HAVE_LIBGEOTIFF=ON \
-D PDAL_HAVE_LIBXML2=ON \
-D POSTGRESQL_INCLUDE_DIR=%{_includedir}/pgsql \
-D POSTGRESQL_LIBRARIES=%{_libdir}/libpq.so .
%cmake_build
# Build documentation
%if 0%{?fedora}
# dependencies yet missing for EPEL8 BZ#1808766
(
cd doc
sphinx-build -b html . build/html
)
%endif
%install
%cmake_install
# commented out due to size
## unpack vertical datums
#mkdir -p %%{buildroot}%%{_datadir}/proj
#mkdir vdatum
#pushd vdatum
#unzip -o %%{SOURCE1}
#mv *.gtx %%{buildroot}%%{_datadir}/proj/
#popd
#rm -rf vdatum
%check
## test the compiled code (see doc/project/testing.rst)
# we skip tests for selected architectures which need upstream fixes
%ifarch armv7hl aarch64 ppc64le s390x
(cd %{_vpath_builddir} && ctest --output-on-failure || true)
%else
## we skip the PG test (BUILD_PGPOINTCLOUD_TESTS:BOOL=OFF):
# PGUSER=pdal PGPASSWORD=password PGHOST=localhost PGPORT=5432 ctest -V
# Use plain ctest as opposed to %%ctest, which runs tests in parallel, and appears to trigger
# a race condition when running pdal_filters_overlay_test, leading to
# "Unable to open stream for '/builddir/build/BUILD/PDAL-2.2.0-src/test/data/../temp/temp.laz' with error 'No such file or directory'".
%ifarch i686
# https://github.com/PDAL/PDAL/issues/3469
# https://github.com/PDAL/PDAL/issues/3501
%ctest || :
%else
# https://github.com/PDAL/PDAL/issues/3501
%ctest || :
%endif
%endif
%files
%{_bindir}/pdal
%{_datadir}/bash-completion/completions/pdal
%files libs
%license LICENSE.txt
%license vendor/arbiter/LICENSE
%license plugins/e57/libE57Format/LICENSE.md
%{_libdir}/libpdal_base.so.15*
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so.15*
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so.15*
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so.15*
%{_libdir}/libpdal_util.so.15*
%files devel
%{_bindir}/pdal-config
%{_includedir}/pdal/
# drop unversioned symbolic links (BZ#1841616)
%exclude %{_libdir}/libpdal_plugin_kernel_fauxplugin.so
%exclude %{_libdir}/libpdal_plugin_reader_pgpointcloud.so
%exclude %{_libdir}/libpdal_plugin_writer_pgpointcloud.so
%{_libdir}/libpdal_base.so
%{_libdir}/libpdal_util.so
%{_libdir}/libpdalcpp.so
%{_libdir}/cmake/PDAL/
%{_libdir}/pkgconfig/*.pc
# commented out due to size
#%%files vdatums
#%%attr(0644,root,root) %%{_datadir}/proj/*.gtx
%files doc
%if 0%{?fedora}
%doc doc/build/html
%endif
%license LICENSE.txt
%changelog
* Wed Mar 01 2023 Markus Neteler <neteler@mundialis.de> 2.5.2-1
- Update to 2.5.2
* Sat Feb 11 2023 Markus Neteler <neteler@mundialis.de> 2.5.1-1
- Update to 2.5.1
* Mon Feb 06 2023 Markus Neteler <neteler@mundialis.de> 2.5.0-3
- patch to guard against bad return numbers (from upstream #3966), to be removed with PDAL 2.5.1
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jan 14 2023 Sandro Mani <manisandro@gmail.com> - 2.5.0-1
- Update to 2.5.0
* Sat Nov 12 2022 Sandro Mani <manisandro@gmail.com> - 2.4.3-3
- Rebuild (gdal)
* Wed Nov 09 2022 Markus Neteler <neteler@mundialis.de> 2.4.3-2
- SPDX license tag update
* Sat Aug 06 2022 Sandro Mani <manisandro@gmail.com> - 2.4.3-1
- Update to 2.4.3
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 07 2022 Sandro Mani <manisandro@gmail.com> - 2.4.2-1
- Update to 2.4.2
* Sat May 21 2022 Sandro Mani <manisandro@gmail.com> - 2.4.1-1
- Update to 2.4.1
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 2.4.0-2
- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0
* Mon Mar 28 2022 Markus Neteler <neteler@mundialis.de> 2.4.0-1
- new upstream version
- removed laszip requirement as lasperf is now used
- deactivated unbundling of some bundled libraries, see https://github.com/PDAL/PDAL/issues/3719
- fix https://github.com/PDAL/PDAL/pull/3720
- ppc64le: workaround for BZ #1996330
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Nov 22 2021 Orion Poplawski <orion@nwra.com> - 2.3.0-5
- Rebuild for hdf5 1.12.1
* Thu Nov 11 2021 Sandro Mani <manisandro@gmail.com> - 2.3.0-4
- Rebuild (gdal)
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 2.3.0-3
- Rebuilt for Boost 1.76
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 30 2021 Markus Neteler <neteler@mundialis.de> 2.3.0-1
- new upstream version
- removed broken tests patch
* Fri May 07 2021 Sandro Mani <manisandro@gmail.com> - 2.2.0-8
- Rebuild (gdal)
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2.2.0-7
- Rebuilt for removed libstdc++ symbol (#1937698)
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 2.2.0-6
- rebuild for libpq ABI fix rhbz#1908268
* Thu Jan 28 2021 Markus Neteler <neteler@mundialis.de> 2.2.0-6
- fix build with sphinxcontrib-bibtex 2.0 (RHBZ #1921498)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 2.2.0-4
- Rebuilt for Boost 1.75
* Fri Nov 6 22:41:05 CET 2020 Sandro Mani <manisandro@gmail.com> - 2.2.0-3
- Rebuild (proj, gdal)
* Sat Oct 24 2020 Markus Neteler <neteler@mundialis.de> 2.2.0-2
- add laszip-devel requirement to PDAL-devel (fixes BZ #1891154)
- activated bash completion
* Sat Oct 17 2020 Markus Neteler <neteler@mundialis.de> 2.2.0-1
- new upstream version
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jun 03 2020 Markus Neteler <neteler@mundialis.de> 2.1.0-8
- enable EPEL8 compilation by dropping sphinx docs for now
* Wed Jun 03 2020 Jonathan Wakely <jwakely@redhat.com> - 2.1.0-7
- Rebuilt for Boost 1.73
* Sat May 30 2020 Markus Neteler <neteler@mundialis.de> 2.1.0-6
- drop unversioned symbolic links of libpdal_plugin_* in PDAL-devel (BZ#1841616)
* Wed May 27 2020 Sandro Mani <manisandro@gmail.com> 2.1.0-5
- license statements updates
* Sat May 23 2020 Sandro Mani <manisandro@gmail.com> 2.1.0-4
- major cleanup, see BZ#1838686
* Fri May 22 2020 Markus Neteler <neteler@mundialis.de> 2.1.0-3
- commented out vertical datums due to size for initial Fedora upload
- cleanup upon review by Sandro Mani, BZ#1838686
* Thu May 14 2020 Markus Neteler <neteler@mundialis.de> 2.1.0-2
- fix qhull package name for EPEL 8
* Wed Apr 01 2020 Markus Neteler <neteler@mundialis.de> 2.1.0-1
- New 2.1.0 upstream release
* Wed Sep 18 2019 Markus Neteler <neteler@mundialis.de> 2.0.1-2
- removed unused points2grid dependency
* Mon Sep 16 2019 Markus Neteler <neteler@mundialis.de> 2.0.1-1
- New 2.0.1 upstream release
- PCL support dropped as per release notes
- added BuildRequires gcc-c++ as per RHBZ #1551327 (removing gcc and gcc-c++ from default buildroot)
- further dependency cleanup
* Mon Apr 01 2019 Markus Neteler <neteler@mundialis.de> 1.8.0-2
- fix for "nothing provides pkgconfig(geos) needed by PDAL-devel..."
* Wed Nov 07 2018 Markus Neteler <neteler@mundialis.de> 1.8.0-1
- New 1.8.0 upstream release
* Mon May 14 2018 Markus Neteler <neteler@mundialis.de> 1.7.2-2
- New 1.7.2 upstream release
- hexer no longer required
* Thu May 10 2018 Markus Neteler <neteler@mundialis.de> 1.7.2-1
- New 1.7.2RC2 upstream release
- enforce python3
- set -DBUILD_PLUGIN_PYTHON:BOOL=FALSE to avoid numpy detection error
* Fri Apr 20 2018 Markus Neteler <neteler@mundialis.de> 1.7.0-1
- New 1.7.0 upstream release
- patch for https://github.com/PDAL/PDAL/issues/1899
- patch using https://github.com/PDAL/PDAL/pull/1900
* Thu Dec 14 2017 Markus Neteler <neteler@mundialis.de> 1.6.0-3
- fix pkgconfig (must be in -devel)
* Sat Oct 28 2017 Markus Neteler <neteler@mundialis.de> 1.6.0
- New 1.6.0 upstream release
* Tue Oct 24 2017 Markus Neteler <neteler@mundialis.de> 1.5.0
- New 1.5.0 upstream release
- vertical datums added
* Sun Jan 8 2017 Markus Neteler <neteler@osgeo.org> 1.4.0
- New upstream release
- configure tweaks
* Sat Jun 20 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.9-4
- Change build type from Debug to Release
* Mon Apr 20 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.9-3
- Various updates:
- Build with hexer support
- Own directories in devel subpackage
- omit deprecated Group: tags and %%clean section
- Use better macros for make and cmake
- use %%{?_isa} macro in subpkg dependencies
- have %%build section envoke 'make'
- Update %%install section
- Improve cmake build parameters
- Use %%license macro
- Add %%doc
- Get rid of BuildRoot definition
- No need to cleanup buildroot during %%install
- Remove %%defattr
- Run ldconfig
- Add PostgreSQL and PointCloud support
- Add Python and PCL plugins
- Build with GEOS and OPENNI2 support
- Update BR and Requires
- Add -libs subpackage, and move related files there
* Fri Apr 10 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.9-2
- Add -devel subpackage, and move related files there.
* Fri Apr 10 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.9-1
- Update to 0.9.9
* Tue Mar 10 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.8-3
- Add support for more stuff.
* Sun Mar 8 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.8-2
- Rebuild with new GDAL and the new build points2grid.
* Tue Jan 13 2015 Devrim GUNDUZ <devrim@gunduz.org> 0.9.8-1
- Initial packaging

View File

@ -0,0 +1,14 @@
diff --git a/io/private/las/Summary.cpp b/io/private/las/Summary.cpp
index e9232d4806..91059bfaf9 100644
--- a/io/private/las/Summary.cpp
+++ b/io/private/las/Summary.cpp
@@ -57,7 +57,8 @@ void Summary::addPoint(double x, double y, double z, int returnNumber)
m_bounds.grow(x, y, z);
// Returns numbers are indexed from one, but the array indexes from 0.
- m_returnCounts[returnNumber - 1]++;
+ if (returnNumber >= 1 && returnNumber <= m_returnCounts.size())
+ m_returnCounts[returnNumber - 1]++;
}

14
PDAL_sphinxconf.patch Normal file
View File

@ -0,0 +1,14 @@
diff -rupN --no-dereference PDAL-2.5.2-src/doc/conf.py PDAL-2.5.2-src-new/doc/conf.py
--- PDAL-2.5.2-src/doc/conf.py 2023-02-28 15:37:57.000000000 +0100
+++ PDAL-2.5.2-src-new/doc/conf.py 2023-03-07 08:22:48.766607840 +0100
@@ -56,8 +56,9 @@ sys.path.insert(0, os.path.abspath('.'))
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['breathe', 'sphinx.ext.autodoc',
'sphinx.ext.mathjax', 'sphinx.ext.intersphinx',
- 'sphinxcontrib.bibtex', 'embed','notfound.extension']
+ 'sphinxcontrib.bibtex', 'embed']
+bibtex_bibfiles = ['bibliography.bib']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

11
PDAL_tests.patch Normal file
View File

@ -0,0 +1,11 @@
diff -rupN --no-dereference PDAL-2.5.2-src/cmake/macros.cmake PDAL-2.5.2-src-new/cmake/macros.cmake
--- PDAL-2.5.2-src/cmake/macros.cmake 2023-02-28 15:37:57.000000000 +0100
+++ PDAL-2.5.2-src-new/cmake/macros.cmake 2023-03-07 08:22:48.405612502 +0100
@@ -228,6 +228,6 @@ macro(PDAL_ADD_TEST _name)
"PDAL_DRIVER_PATH=${PROJECT_BINARY_DIR}/bin")
else()
set_property(TEST ${_name} PROPERTY ENVIRONMENT
- "PDAL_DRIVER_PATH=${PROJECT_BINARY_DIR}/lib")
+ "PDAL_DRIVER_PATH=${PROJECT_BINARY_DIR}/lib${LIB_SUFFIX}")
endif()
endmacro(PDAL_ADD_TEST)

186
PDAL_unbundle.patch Normal file
View File

@ -0,0 +1,186 @@
diff -rupN --no-dereference PDAL-2.5.2-src/CMakeLists.txt PDAL-2.5.2-src-new/CMakeLists.txt
--- PDAL-2.5.2-src/CMakeLists.txt 2023-02-28 15:37:59.000000000 +0100
+++ PDAL-2.5.2-src-new/CMakeLists.txt 2023-03-07 08:22:48.014617551 +0100
@@ -140,6 +140,9 @@ include(${PDAL_CMAKE_DIR}/lazperf.cmake)
include(${PDAL_CMAKE_DIR}/openssl.cmake) # Optional
include(${PDAL_CMAKE_DIR}/utfcpp.cmake)
+find_package(PkgConfig REQUIRED)
+PKG_CHECK_MODULES(EIGEN REQUIRED eigen3)
+
#------------------------------------------------------------------------------
# generate the pdal_features.hpp header
#------------------------------------------------------------------------------
@@ -175,7 +178,6 @@ endif()
add_subdirectory(plugins)
if (WITH_TESTS)
- include (${PDAL_CMAKE_DIR}/gtest.cmake)
add_subdirectory(test)
endif()
add_subdirectory(dimbuilder)
@@ -258,7 +260,7 @@ target_include_directories(${PDAL_BASE_L
${ROOT_DIR}
${PROJECT_BINARY_DIR}/include
${PDAL_VENDOR_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
${LIBXML2_INCLUDE_DIR}
${ZSTD_INCLUDE_DIRS}
${NLOHMANN_INCLUDE_DIR}
diff -rupN --no-dereference PDAL-2.5.2-src/plugins/cpd/CMakeLists.txt PDAL-2.5.2-src-new/plugins/cpd/CMakeLists.txt
--- PDAL-2.5.2-src/plugins/cpd/CMakeLists.txt 2023-02-28 15:37:58.000000000 +0100
+++ PDAL-2.5.2-src-new/plugins/cpd/CMakeLists.txt 2023-03-07 08:22:48.015617538 +0100
@@ -4,7 +4,7 @@ find_package(Cpd ${Cpd_VERSION} REQUIRED
option(BUILD_PLUGIN_CPD "Build Coherent Point Drift support" ${Cpd_FOUND})
set(files filters/CpdFilter.cpp)
-set(include_dirs "${CMAKE_CURRENT_LIST_DIR}" "${PDAL_VENDOR_DIR}/eigen")
+set(include_dirs "${CMAKE_CURRENT_LIST_DIR}" "${EIGEN_INCLUDE_DIRS}")
PDAL_ADD_PLUGIN(filter_libname filter cpd
FILES
diff -rupN --no-dereference PDAL-2.5.2-src/plugins/i3s/CMakeLists.txt PDAL-2.5.2-src-new/plugins/i3s/CMakeLists.txt
--- PDAL-2.5.2-src/plugins/i3s/CMakeLists.txt 2023-02-28 15:37:58.000000000 +0100
+++ PDAL-2.5.2-src-new/plugins/i3s/CMakeLists.txt 2023-03-07 08:22:48.015617538 +0100
@@ -20,7 +20,7 @@ PDAL_ADD_PLUGIN(i3s_reader_libname reade
INCLUDES
${NLOHMANN_INCLUDE_DIR}
${PDAL_VENDOR_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
target_compile_definitions(${i3s_reader_libname}
PRIVATE
@@ -41,7 +41,7 @@ PDAL_ADD_PLUGIN(slpk_reader_libname read
INCLUDES
${NLOHMANN_INCLUDE_DIR}
${PDAL_VENDOR_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
target_compile_definitions(${slpk_reader_libname}
PRIVATE
@@ -61,7 +61,7 @@ if (WITH_TESTS)
${PDAL_SRC_DIR}/private/MathUtils.cpp
INCLUDES
${NLOHMANN_INCLUDE_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
if (BUILD_I3S_TESTS)
diff -rupN --no-dereference PDAL-2.5.2-src/plugins/rdb/CMakeLists.txt PDAL-2.5.2-src-new/plugins/rdb/CMakeLists.txt
--- PDAL-2.5.2-src/plugins/rdb/CMakeLists.txt 2023-02-28 15:37:58.000000000 +0100
+++ PDAL-2.5.2-src-new/plugins/rdb/CMakeLists.txt 2023-03-07 08:22:48.015617538 +0100
@@ -28,7 +28,7 @@ PDAL_ADD_PLUGIN(libname reader rdb
${RDB_INCLUDE_C_DIR}
${PDAL_INCLUDE_DIRS}
)
-target_include_directories(${libname} PRIVATE "${PDAL_VENDOR_DIR}/eigen")
+target_include_directories(${libname} PRIVATE "${EIGEN_INCLUDE_DIRS}")
target_include_directories(${libname} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../../vendor/nlohmann/")
target_include_directories(${libname} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../../vendor/eigen/")
@@ -57,7 +57,7 @@ if (BUILD_RDBLIB_TESTS)
${PROJECT_SOURCE_DIR}/plugins/rdb/io
${RDB_INCLUDE_CPP_DIR}
${RDB_INCLUDE_C_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
endif()
diff -rupN --no-dereference PDAL-2.5.2-src/plugins/teaser/CMakeLists.txt PDAL-2.5.2-src-new/plugins/teaser/CMakeLists.txt
--- PDAL-2.5.2-src/plugins/teaser/CMakeLists.txt 2023-02-28 15:37:58.000000000 +0100
+++ PDAL-2.5.2-src-new/plugins/teaser/CMakeLists.txt 2023-03-07 08:22:48.015617538 +0100
@@ -63,6 +63,6 @@ if (WITH_TESTS)
LINK_WITH
${filter_libname}
INCLUDES
- "${PDAL_VENDOR_DIR}/eigen"
+ "${EIGEN_INCLUDE_DIRS}"
)
endif()
diff -rupN --no-dereference PDAL-2.5.2-src/test/unit/CMakeLists.txt PDAL-2.5.2-src-new/test/unit/CMakeLists.txt
--- PDAL-2.5.2-src/test/unit/CMakeLists.txt 2023-02-28 15:37:59.000000000 +0100
+++ PDAL-2.5.2-src-new/test/unit/CMakeLists.txt 2023-03-07 08:22:48.015617538 +0100
@@ -34,7 +34,7 @@ PDAL_ADD_TEST(pdal_eigen_test
${PDAL_SRC_DIR}/private/MathUtils.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_file_utils_test FILES FileUtilsTest.cpp)
PDAL_ADD_TEST(pdal_georeference_test FILES GeoreferenceTest.cpp)
@@ -43,7 +43,7 @@ PDAL_ADD_TEST(pdal_kdindex_test
KDIndexTest.cpp
INCLUDES
${PDAL_VENDOR_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_kernel_test FILES KernelTest.cpp)
PDAL_ADD_TEST(pdal_log_test FILES LogTest.cpp)
@@ -77,7 +77,7 @@ PDAL_ADD_TEST(pdal_point_view_test
FILES
PointViewTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_point_table_test FILES PointTableTest.cpp)
@@ -212,13 +212,13 @@ PDAL_ADD_TEST(pdal_io_pcd_reader_test
FILES
io/PcdReaderTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_io_pcd_writer_test
FILES
io/PcdWriterTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_io_ply_reader_test
FILES
@@ -257,7 +257,7 @@ PDAL_ADD_TEST(pdal_filters_chipper_test
filters/ChipperTest.cpp
INCLUDES
${NLOHMANN_INCLUDE_DIR}
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_filters_nndistance_test
FILES
@@ -316,7 +316,7 @@ PDAL_ADD_TEST(pdal_filters_icp_test
FILES
filters/IcpFilterTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen
+ ${EIGEN_INCLUDE_DIRS}
)
PDAL_ADD_TEST(pdal_filters_info_test FILES filters/InfoFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_lloydkmeans_test FILES filters/LloydKMeansFilterTest.cpp)
@@ -337,7 +337,7 @@ PDAL_ADD_TEST(pdal_filters_planefit_test
FILES
filters/PlaneFitFilterTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen)
+ ${EIGEN_INCLUDE_DIRS})
PDAL_ADD_TEST(pdal_filters_pmf_test FILES filters/PMFFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_reprojection_test FILES
filters/ReprojectionFilterTest.cpp)
@@ -363,7 +363,7 @@ PDAL_ADD_TEST(pdal_filters_splitter_test
FILES
filters/SplitterTest.cpp
INCLUDES
- ${PDAL_VENDOR_DIR}/eigen)
+ ${EIGEN_INCLUDE_DIRS})
PDAL_ADD_TEST(pdal_filters_stats_test FILES filters/StatsFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_transformation_test FILES
filters/TransformationFilterTest.cpp)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (PDAL-2.5.2-src.tar.gz) = 64762486ae4b0e1435c9e18846354daeee1de471b3e4754a33c06e5f7b38819a11ccf3ee37155e0af3de501cbb9763cf72f0647a4bf92e93ea2a7f72c01ca4ce