Accepting request 1218607 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1218607 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/PDAL?expand=0&rev=8
This commit is contained in:
commit
ec788186d7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a6d7646912a4e7a382f06451b14a1f5f2e8aa4e0b391dc91c30701222198b77
|
||||
size 87483358
|
@ -1 +0,0 @@
|
||||
8a6d7646912a4e7a382f06451b14a1f5f2e8aa4e0b391dc91c30701222198b77 PDAL-2.8.0-src.tar.bz2
|
3
PDAL-2.8.1-src.tar.bz2
Normal file
3
PDAL-2.8.1-src.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0e8d7deabe721f806b275dda6cf5630a8e43dc7210299b57c91f46fadcc34b31
|
||||
size 87507277
|
1
PDAL-2.8.1-src.tar.bz2.sha256sum
Normal file
1
PDAL-2.8.1-src.tar.bz2.sha256sum
Normal file
@ -0,0 +1 @@
|
||||
0e8d7deabe721f806b275dda6cf5630a8e43dc7210299b57c91f46fadcc34b31 PDAL-2.8.1-src.tar.bz2
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 21:51:44 UTC 2024 - Enno Tensing <tenno+suse@suij.in>
|
||||
|
||||
- Update to 2.8.1
|
||||
* See PDAL changelog at https://github.com/PDAL/PDAL/releases/tag/2.8.1
|
||||
* For detailed changes between 2.8.0 and 2.8.1 see
|
||||
https://github.com/PDAL/PDAL/compare/2.8.0...2.8.1
|
||||
* Refresh PDAL_unbundle.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 18:36:23 UTC 2024 - Enno Tensing <tenno+suse@suij.in>
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
%define sovers 18.0.0
|
||||
%define lname pdal
|
||||
Name: PDAL
|
||||
Version: 2.8.0
|
||||
Release: 1
|
||||
Version: 2.8.1
|
||||
Release: 0
|
||||
Summary: Point Data Abstraction Library (GDAL for point cloud data)
|
||||
# The code is licensed BSD except for:
|
||||
# - filters/private/csf/* and plugins/i3s/lepcc/* are Apache-2.0
|
||||
@ -36,6 +36,7 @@ Source0: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name
|
||||
Source1: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.bz2.sha256sum
|
||||
# Unbundle some bundled libraries inspired by Fedora work at
|
||||
# https://src.fedoraproject.org/rpms/PDAL/blob/rawhide/f/PDAL_unbundle.patch
|
||||
# Upstream is not interested in this patch/change, so we'll have to keep it around
|
||||
Patch0: PDAL_unbundle.patch
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: cairo-devel
|
||||
|
@ -1,18 +1,19 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e18fab718..98ecbd76e 100644
|
||||
index 3152a35b3..29871d4c1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -118,6 +118,9 @@ include(${PDAL_CMAKE_DIR}/lazperf.cmake)
|
||||
@@ -118,6 +118,10 @@ include(${PDAL_CMAKE_DIR}/lazperf.cmake)
|
||||
include(${PDAL_CMAKE_DIR}/gcs.cmake) # Optional
|
||||
include(${PDAL_CMAKE_DIR}/utfcpp.cmake)
|
||||
|
||||
+find_package(PkgConfig REQUIRED)
|
||||
+PKG_CHECK_MODULES(EIGEN REQUIRED eigen3)
|
||||
+set(PDAL_VENDOR_EIGEN_DIR "${EIGEN_INCLUDE_DIRS}")
|
||||
+
|
||||
#------------------------------------------------------------------------------
|
||||
# generate the pdal_features.hpp header
|
||||
#------------------------------------------------------------------------------
|
||||
@@ -153,7 +156,6 @@ endif()
|
||||
@@ -153,7 +157,6 @@ endif()
|
||||
add_subdirectory(plugins)
|
||||
|
||||
if (WITH_TESTS)
|
||||
@ -20,181 +21,13 @@ index e18fab718..98ecbd76e 100644
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
add_subdirectory(dimbuilder)
|
||||
@@ -219,7 +221,7 @@ add_library(PDAL::PDAL ALIAS ${PDAL_LIB_NAME})
|
||||
#
|
||||
target_include_directories(${PDAL_LIB_NAME}
|
||||
SYSTEM BEFORE PRIVATE
|
||||
- ${PDAL_VENDOR_DIR}/eigen
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
${PDAL_VENDOR_DIR}/kazhdan
|
||||
${PDAL_VENDOR_DIR}/h3/include
|
||||
)
|
||||
diff --git a/plugins/cpd/CMakeLists.txt b/plugins/cpd/CMakeLists.txt
|
||||
index ba85e27a7..dcf936502 100644
|
||||
--- a/plugins/cpd/CMakeLists.txt
|
||||
+++ b/plugins/cpd/CMakeLists.txt
|
||||
@@ -13,7 +13,7 @@ find_package(Fgt REQUIRED CONFIG)
|
||||
option(BUILD_PLUGIN_CPD "Build Coherent Point Drift support" ${Cpd_FOUND})
|
||||
diff --git a/cmake/directories.cmake b/cmake/directories.cmake
|
||||
index 97e799bdb..f079ec725 100644
|
||||
--- a/cmake/directories.cmake
|
||||
+++ b/cmake/directories.cmake
|
||||
@@ -11,5 +11,4 @@ set(PDAL_KERNELS_DIR ${ROOT_DIR}/kernels)
|
||||
set(PDAL_FILTERS_DIR ${ROOT_DIR}/filters)
|
||||
set(PDAL_IO_DIR ${ROOT_DIR}/io)
|
||||
set(PDAL_VENDOR_DIR ${ROOT_DIR}/vendor)
|
||||
-set(PDAL_VENDOR_EIGEN_DIR "${PDAL_VENDOR_DIR}/eigen")
|
||||
|
||||
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
|
||||
@@ -22,7 +22,7 @@ PDAL_ADD_PLUGIN(filter_libname filter cpd
|
||||
Cpd::Library-C++
|
||||
${PDAL_LIBRARIES}
|
||||
INCLUDES
|
||||
- ${PDAL_VENDOR_DIR}/eigen
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
||||
diff --git a/plugins/rdb/CMakeLists.txt b/plugins/rdb/CMakeLists.txt
|
||||
index 0ddb9a24e..49a74a3e8 100644
|
||||
--- a/plugins/rdb/CMakeLists.txt
|
||||
+++ b/plugins/rdb/CMakeLists.txt
|
||||
@@ -25,7 +25,6 @@ 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} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../../vendor/nlohmann/")
|
||||
target_include_directories(${libname} PUBLIC "${CMAKE_CURRENT_LIST_DIR}/../../vendor/eigen/")
|
||||
|
||||
@@ -54,7 +53,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 --git a/plugins/teaser/CMakeLists.txt b/plugins/teaser/CMakeLists.txt
|
||||
index cb1cb0e4e..c4017cab8 100644
|
||||
--- a/plugins/teaser/CMakeLists.txt
|
||||
+++ b/plugins/teaser/CMakeLists.txt
|
||||
@@ -67,6 +67,6 @@ if (WITH_TESTS)
|
||||
LINK_WITH
|
||||
${filter_libname}
|
||||
INCLUDES
|
||||
- "${PDAL_VENDOR_DIR}/eigen"
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
)
|
||||
endif()
|
||||
diff --git a/plugins/trajectory/CMakeLists.txt b/plugins/trajectory/CMakeLists.txt
|
||||
index 31fc9942f..6ec207d95 100644
|
||||
--- a/plugins/trajectory/CMakeLists.txt
|
||||
+++ b/plugins/trajectory/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@ PDAL_ADD_PLUGIN(libname filter trajectory
|
||||
${CERES_LIBRARIES}
|
||||
${PDAL_LIBRARIES}
|
||||
INCLUDES
|
||||
- ${PDAL_VENDOR_DIR}/eigen
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if (WITH_TRAJECTORY_TEST)
|
||||
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
|
||||
index 7ac5a1ede..a7e3bedd2 100644
|
||||
--- a/test/unit/CMakeLists.txt
|
||||
+++ b/test/unit/CMakeLists.txt
|
||||
@@ -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)
|
||||
@@ -52,7 +52,7 @@ PDAL_ADD_TEST(pdal_math_utils_test
|
||||
MathUtilsTest.cpp
|
||||
${PDAL_SRC_DIR}/private/MathUtils.cpp
|
||||
INCLUDES
|
||||
- ${PDAL_VENDOR_DIR}/eigen
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
)
|
||||
PDAL_ADD_TEST(pdal_metadata_test FILES MetadataTest.cpp)
|
||||
PDAL_ADD_TEST(pdal_oldpclblock_test FILES OldPCLBlockTest.cpp)
|
||||
@@ -84,7 +84,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)
|
||||
|
||||
@@ -227,13 +227,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
|
||||
@@ -279,7 +279,7 @@ PDAL_ADD_TEST(pdal_i3s_obb_test
|
||||
INCLUDES
|
||||
${NLOHMANN_INCLUDE_DIR}
|
||||
${PDAL_INCLUDE_DIR}
|
||||
- ${PDAL_VENDOR_DIR}/eigen
|
||||
+ ${EIGEN_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if (BUILD_I3S_TESTS)
|
||||
@@ -300,7 +300,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
|
||||
@@ -359,7 +359,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)
|
||||
@@ -380,7 +380,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)
|
||||
@@ -408,7 +408,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)
|
||||
|
Loading…
Reference in New Issue
Block a user