public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Update to release 1.11.0
@ 2026-06-25 5:49 Rich Mattes
0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-06-25 5:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcl
Branch : f44
Commit : 43aafa3db8d51de0d76571b048a99c9576041f9e
Author : Rich Mattes <richmattes@gmail.com>
Date : 2020-06-02T17:27:38-04:00
Stats : +479/-565 in 15 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/43aafa3db8d51de0d76571b048a99c9576041f9e?branch=f44
Log:
Update to release 1.11.0
---
diff --git a/.gitignore b/.gitignore
index 2485c6f..2dbeb78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/pcl-1.8.0-fedora.tar.xz
/pcl-1.8.1-fedora.tar.xz
/pcl-1.9.1-fedora.tar.xz
+/pcl-1.11.0-fedora.tar.xz
diff --git a/pcl-1.11.0-doxyfix.patch b/pcl-1.11.0-doxyfix.patch
new file mode 100644
index 0000000..a08f366
--- /dev/null
+++ b/pcl-1.11.0-doxyfix.patch
@@ -0,0 +1,20 @@
+diff -up ./doc/doxygen/doxyfile.in.doxyfix ./doc/doxygen/doxyfile.in
+--- ./doc/doxygen/doxyfile.in.doxyfix 2020-05-11 04:59:26.000000000 -0400
++++ ./doc/doxygen/doxyfile.in 2020-05-29 17:54:32.249880819 -0400
+@@ -125,6 +125,7 @@ EXCLUDE = "@PCL_SOURCE_DI
+ "@PCL_SOURCE_DIR@/test" \
+ "@PCL_SOURCE_DIR@/android" \
+ "@PCL_SOURCE_DIR@/apps" \
++ "@PCL_SOURCE_DIR@/build" \
+ "@PCL_SOURCE_DIR@/tools" \
+ "@PCL_SOURCE_DIR@/surface/include/pcl/surface/poisson" \
+ "@PCL_SOURCE_DIR@/surface/include/pcl/surface/impl/poisson" \
+@@ -228,7 +229,7 @@ EXTRA_SEARCH_MAPPINGS =
+ #---------------------------------------------------------------------------
+ # Configuration options related to the LaTeX output
+ #---------------------------------------------------------------------------
+-GENERATE_LATEX = YES
++GENERATE_LATEX = NO
+ LATEX_OUTPUT = latex
+ LATEX_CMD_NAME = latex
+ MAKEINDEX_CMD_NAME = makeindex
diff --git a/pcl-1.11.0-fedora.patch b/pcl-1.11.0-fedora.patch
new file mode 100644
index 0000000..32e4b6c
--- /dev/null
+++ b/pcl-1.11.0-fedora.patch
@@ -0,0 +1,12 @@
+diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
+--- ./PCLConfig.cmake.in.fedora 2020-05-29 17:48:55.884924391 -0400
++++ ./PCLConfig.cmake.in 2020-05-29 17:50:25.211139677 -0400
+@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW)
+ get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
+ else()
+ # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
+- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
++ set(PCL_ROOT "@CMAKE_INSTALL_PREFIX@")
+ endif()
+
+ # check whether PCLConfig.cmake is found into a PCL installation or in a build tree
diff --git a/pcl-1.11.0-metslib.patch b/pcl-1.11.0-metslib.patch
new file mode 100644
index 0000000..e0b491e
--- /dev/null
+++ b/pcl-1.11.0-metslib.patch
@@ -0,0 +1,24 @@
+diff -up ./recognition/include/pcl/recognition/hv/hv_go.h.metslib ./recognition/include/pcl/recognition/hv/hv_go.h
+--- ./recognition/include/pcl/recognition/hv/hv_go.h.metslib 2020-05-29 17:47:21.343600510 -0400
++++ ./recognition/include/pcl/recognition/hv/hv_go.h 2020-05-29 17:48:12.185237506 -0400
+@@ -20,7 +20,7 @@
+ #include <pcl/pcl_macros.h>
+ #include <pcl/recognition/hv/hypotheses_verification.h>
+ #include <pcl/common/common.h>
+-#include <pcl/recognition/3rdparty/metslib/mets.hh>
++#include <metslib/mets.hh>
+ #include <pcl/features/normal_3d.h>
+
+ #include <memory>
+diff -up ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp.metslib ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp
+--- ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp.metslib 2020-05-11 04:59:26.000000000 -0400
++++ ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp 2020-05-29 17:47:21.343600510 -0400
+@@ -453,7 +453,7 @@ void pcl::GlobalHypothesesVerification<M
+ mets::noimprove_termination_criteria noimprove (max_iterations_);
+ mets::linear_cooling linear_cooling;
+ mets::simulated_annealing<move_manager> sa (model, best_recorder, neigh, noimprove, linear_cooling, initial_temp_, 1e-7, 2);
+- sa.setApplyAndEvaluate(true);
++ //sa.setApplyAndEvaluate(true);
+
+ {
+ pcl::ScopeTime t ("SA search...");
diff --git a/pcl-1.11.0-oom.patch b/pcl-1.11.0-oom.patch
new file mode 100644
index 0000000..7d20339
--- /dev/null
+++ b/pcl-1.11.0-oom.patch
@@ -0,0 +1,359 @@
+diff -up ./surface/CMakeLists.txt.oom ./surface/CMakeLists.txt
+--- ./surface/CMakeLists.txt.oom 2020-05-29 17:55:26.624448127 -0400
++++ ./surface/CMakeLists.txt 2020-05-29 17:56:12.155085365 -0400
+@@ -97,7 +97,12 @@ set(srcs
+ src/marching_cubes_hoppe.cpp
+ src/marching_cubes_rbf.cpp
+ src/bilateral_upsampling.cpp
+- src/mls.cpp
++ src/mls_n.cpp
++ src/mls_xyz.cpp
++ src/mls_xyzi.cpp
++ src/mls_xyzrgba.cpp
++ src/mls_xyzrgb.cpp
++ src/mls_xyzrgbn.cpp
+ src/organized_fast_mesh.cpp
+ src/simplification_remove_unused_vertices.cpp
+ src/surfel_smoothing.cpp
+diff -up ./surface/src/mls_n.cpp.oom ./surface/src/mls_n.cpp
+--- ./surface/src/mls_n.cpp.oom 2020-05-29 17:55:26.624448127 -0400
++++ ./surface/src/mls_n.cpp 2020-05-29 17:55:26.624448127 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointNormal)))
++#else
++ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
+diff -up ./surface/src/mls_xyz.cpp.oom ./surface/src/mls_xyz.cpp
+--- ./surface/src/mls_xyz.cpp.oom 2020-05-29 17:55:26.624448127 -0400
++++ ./surface/src/mls_xyz.cpp 2020-05-29 17:55:26.624448127 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointXYZ)))
++#else
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
+diff -up ./surface/src/mls_xyzi.cpp.oom ./surface/src/mls_xyzi.cpp
+--- ./surface/src/mls_xyzi.cpp.oom 2020-05-29 17:55:26.624448127 -0400
++++ ./surface/src/mls_xyzi.cpp 2020-05-29 17:55:26.624448127 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointXYZI)))
++#else
++ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
+diff -up ./surface/src/mls_xyzrgba.cpp.oom ./surface/src/mls_xyzrgba.cpp
+--- ./surface/src/mls_xyzrgba.cpp.oom 2020-05-29 17:55:26.625448118 -0400
++++ ./surface/src/mls_xyzrgba.cpp 2020-05-29 17:55:26.625448118 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointXYZRGBA)))
++#else
++ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
+diff -up ./surface/src/mls_xyzrgb.cpp.oom ./surface/src/mls_xyzrgb.cpp
+--- ./surface/src/mls_xyzrgb.cpp.oom 2020-05-29 17:55:26.625448118 -0400
++++ ./surface/src/mls_xyzrgb.cpp 2020-05-29 17:55:26.625448118 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointXYZRGB)))
++#else
++ //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
+diff -up ./surface/src/mls_xyzrgbn.cpp.oom ./surface/src/mls_xyzrgbn.cpp
+--- ./surface/src/mls_xyzrgbn.cpp.oom 2020-05-29 17:55:26.625448118 -0400
++++ ./surface/src/mls_xyzrgbn.cpp 2020-05-29 17:55:26.625448118 -0400
+@@ -0,0 +1,53 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ * Point Cloud Library (PCL) - www.pointclouds.org
++ * Copyright (c) 2009-2011, Willow Garage, Inc.
++ *
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * * Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ * * Redistributions in binary form must reproduce the above
++ * copyright notice, this list of conditions and the following
++ * disclaimer in the documentation and/or other materials provided
++ * with the distribution.
++ * * Neither the name of Willow Garage, Inc. nor the names of its
++ * contributors may be used to endorse or promote products derived
++ * from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ * POSSIBILITY OF SUCH DAMAGE.
++ *
++ * $Id$
++ *
++ */
++
++#include <pcl/surface/mls.h>
++#include <pcl/surface/impl/mls.hpp>
++
++#ifndef PCL_NO_PRECOMPILE
++#include <pcl/point_types.h>
++#include <pcl/impl/instantiate.hpp>
++#ifdef PCL_ONLY_CORE_POINT_TYPES
++ // Instantiations of specific point types
++ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
++ ((pcl::PointXYZRGBNormal)))
++#else
++ //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
++#endif
++#endif // PCL_NO_PRECOMPILE
diff --git a/pcl-1.11.0-sse2.patch b/pcl-1.11.0-sse2.patch
new file mode 100644
index 0000000..7825130
--- /dev/null
+++ b/pcl-1.11.0-sse2.patch
@@ -0,0 +1,45 @@
+diff -up ./cmake/pcl_find_sse.cmake.sse2 ./cmake/pcl_find_sse.cmake
+--- ./cmake/pcl_find_sse.cmake.sse2 2020-05-11 04:59:26.000000000 -0400
++++ ./cmake/pcl_find_sse.cmake 2020-05-29 17:53:00.504657076 -0400
+@@ -4,20 +4,6 @@ macro(PCL_CHECK_FOR_SSE)
+ set(SSE_FLAGS)
+ set(SSE_DEFINITIONS)
+
+- if(NOT CMAKE_CROSSCOMPILING)
+- # Test GCC/G++ and CLANG
+- if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
+- include(CheckCXXCompilerFlag)
+- check_cxx_compiler_flag("-march=native" HAVE_MARCH)
+- if(HAVE_MARCH)
+- list(APPEND SSE_FLAGS "-march=native")
+- else()
+- list(APPEND SSE_FLAGS "-mtune=native")
+- endif()
+- message(STATUS "Using CPU native flags for SSE optimization: ${SSE_FLAGS}")
+- endif()
+- endif()
+-
+ # Unfortunately we need to check for SSE to enable "-mfpmath=sse" alongside
+ # "-march=native". The reason for this is that by default, 32bit architectures
+ # tend to use the x87 FPU (which has 80 bit internal precision), thus leading
+@@ -170,18 +156,9 @@ macro(PCL_CHECK_FOR_SSE)
+ set(CMAKE_REQUIRED_FLAGS)
+
+ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
+- if(HAVE_SSE4_2_EXTENSIONS)
+- list(APPEND SSE_FLAGS "-msse4.2" "-mfpmath=sse")
+- elseif(HAVE_SSE4_1_EXTENSIONS)
+- list(APPEND SSE_FLAGS "-msse4.1" "-mfpmath=sse")
+- elseif(HAVE_SSSE3_EXTENSIONS)
+- list(APPEND SSE_FLAGS "-mssse3" "-mfpmath=sse")
+- elseif(HAVE_SSE3_EXTENSIONS)
+- list(APPEND SSE_FLAGS "-msse3" "-mfpmath=sse")
+- elseif(HAVE_SSE2_EXTENSIONS)
++ if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" AND "${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
++ MESSAGE(STATUS "Enabling SSE Support (${CMAKE_SYSTEM_PROCESSOR}, ${CMAKE_SIZEOF_VOID_P})")
+ list(APPEND SSE_FLAGS "-msse2" "-mfpmath=sse")
+- elseif(HAVE_SSE_EXTENSIONS)
+- list(APPEND SSE_FLAGS "-msse" "-mfpmath=sse")
+ else()
+ # Setting -ffloat-store to alleviate 32bit vs 64bit discrepancies on non-SSE
+ # platforms.
diff --git a/pcl-1.7.2-doxyfix.patch b/pcl-1.7.2-doxyfix.patch
deleted file mode 100644
index 7cb3c25..0000000
--- a/pcl-1.7.2-doxyfix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -up ./doc/doxygen/doxyfile.in.doxyfix ./doc/doxygen/doxyfile.in
---- ./doc/doxygen/doxyfile.in.doxyfix 2014-09-10 17:22:57.000000000 -0400
-+++ ./doc/doxygen/doxyfile.in 2014-12-30 09:42:18.781365257 -0500
-@@ -118,6 +118,7 @@ EXCLUDE = "@PCL_SOURCE_DI
- "@PCL_SOURCE_DIR@/test" \
- "@PCL_SOURCE_DIR@/android" \
- "@PCL_SOURCE_DIR@/apps" \
-+ "@PCL_SOURCE_DIR@/build" \
- "@PCL_SOURCE_DIR@/tools" \
- "@PCL_SOURCE_DIR@/surface/include/pcl/surface/poisson" \
- "@PCL_SOURCE_DIR@/surface/include/pcl/surface/impl/poisson" \
-@@ -209,7 +210,7 @@ SERVER_BASED_SEARCH = YES
- #---------------------------------------------------------------------------
- # configuration options related to the LaTeX output
- #---------------------------------------------------------------------------
--GENERATE_LATEX = YES
-+GENERATE_LATEX = NO
- LATEX_OUTPUT = latex
- LATEX_CMD_NAME = latex
- MAKEINDEX_CMD_NAME = makeindex
diff --git a/pcl-1.8.0-metslib.patch b/pcl-1.8.0-metslib.patch
deleted file mode 100644
index 849ff04..0000000
--- a/pcl-1.8.0-metslib.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up ./recognition/include/pcl/recognition/hv/hv_go.h.metslib ./recognition/include/pcl/recognition/hv/hv_go.h
---- ./recognition/include/pcl/recognition/hv/hv_go.h.metslib 2016-01-30 16:05:23.845437989 -0500
-+++ ./recognition/include/pcl/recognition/hv/hv_go.h 2016-01-30 16:05:30.949710187 -0500
-@@ -11,7 +11,7 @@
- #include <pcl/pcl_macros.h>
- #include <pcl/recognition/hv/hypotheses_verification.h>
- #include <pcl/common/common.h>
--#include <pcl/recognition/3rdparty/metslib/mets.hh>
-+#include <metslib/mets.hh>
- #include <pcl/features/normal_3d.h>
- #include <boost/graph/graph_traits.hpp>
- #include <boost/graph/adjacency_list.hpp>
-diff -up ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp.metslib ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp
---- ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp.metslib 2016-01-26 03:33:57.000000000 -0500
-+++ ./recognition/include/pcl/recognition/impl/hv/hv_go.hpp 2016-01-30 11:44:33.314400566 -0500
-@@ -448,7 +448,7 @@ void pcl::GlobalHypothesesVerification<M
- mets::noimprove_termination_criteria noimprove (max_iterations_);
- mets::linear_cooling linear_cooling;
- mets::simulated_annealing<move_manager> sa (model, best_recorder, neigh, noimprove, linear_cooling, initial_temp_, 1e-7, 2);
-- sa.setApplyAndEvaluate(true);
-+ //sa.setApplyAndEvaluate(true);
-
- {
- pcl::ScopeTime t ("SA search...");
diff --git a/pcl-1.8.1-fedora.patch b/pcl-1.8.1-fedora.patch
deleted file mode 100644
index 2baa03b..0000000
--- a/pcl-1.8.1-fedora.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
---- ./PCLConfig.cmake.in.fedora 2018-02-09 12:59:25.329878911 -0500
-+++ ./PCLConfig.cmake.in 2018-02-09 13:01:36.772813799 -0500
-@@ -717,7 +717,7 @@ if(WIN32 AND NOT MINGW)
- get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
- else(WIN32 AND NOT MINGW)
- # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
-- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
-+ set(PCL_ROOT "@CMAKE_INSTALL_PREFIX@")
- endif(WIN32 AND NOT MINGW)
-
- # check whether PCLConfig.cmake is found into a PCL installation or in a build tree
diff --git a/pcl-1.9.1-boostendian.patch b/pcl-1.9.1-boostendian.patch
deleted file mode 100644
index 123754e..0000000
--- a/pcl-1.9.1-boostendian.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -up ./common/include/pcl/PCLPointCloud2.h.boostendian ./common/include/pcl/PCLPointCloud2.h
---- ./common/include/pcl/PCLPointCloud2.h.boostendian 2018-11-26 06:50:33.000000000 -0500
-+++ ./common/include/pcl/PCLPointCloud2.h 2019-02-16 18:54:23.721929035 -0500
-@@ -3,12 +3,12 @@
-
- #ifdef USE_ROS
- #error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
--#endif
-+#endif
-
- #include <string>
- #include <vector>
- #include <ostream>
--#include <boost/detail/endian.hpp>
-+#include <boost/predef/other/endian.h>
-
- // Include the correct Header path here
- #include <pcl/PCLHeader.h>
-@@ -23,9 +23,9 @@ namespace pcl
- is_bigendian (false), point_step (0), row_step (0),
- data (), is_dense (false)
- {
--#if defined(BOOST_BIG_ENDIAN)
-+#if BOOST_ENDIAN_BIG_BYTE
- is_bigendian = true;
--#elif defined(BOOST_LITTLE_ENDIAN)
-+#elif BOOST_ENDIAN_LITTLE_BYTE
- is_bigendian = false;
- #else
- #error "unable to determine system endianness"
-diff -up ./io/include/pcl/io/ply/byte_order.h.boostendian ./io/include/pcl/io/ply/byte_order.h
---- ./io/include/pcl/io/ply/byte_order.h.boostendian 2018-11-26 06:50:33.000000000 -0500
-+++ ./io/include/pcl/io/ply/byte_order.h 2019-02-16 18:55:00.669028787 -0500
-@@ -40,7 +40,7 @@
- #ifndef PCL_IO_PLY_BYTE_ORDER_H
- #define PCL_IO_PLY_BYTE_ORDER_H
-
--#include <boost/detail/endian.hpp>
-+#include <boost/predef/other/endian.h>
-
- namespace pcl
- {
-@@ -58,16 +58,16 @@ namespace pcl
- {
- little_endian_byte_order,
- big_endian_byte_order,
--#if defined(BOOST_BIG_ENDIAN)
-+#if BOOST_ENDIAN_BIG_BYTE
- host_byte_order = big_endian_byte_order,
--#elif defined(BOOST_LITTLE_ENDIAN)
-+#elif BOOST_ENDIAN_LITTLE_BYTE
- host_byte_order = little_endian_byte_order,
- #else
- #error "unable to determine system endianness"
- #endif
- network_byte_order = big_endian_byte_order
- };
--
-+
- template <std::size_t N>
- void swap_byte_order (char* bytes);
-
diff --git a/pcl-1.9.1-oom.patch b/pcl-1.9.1-oom.patch
deleted file mode 100644
index d268ddb..0000000
--- a/pcl-1.9.1-oom.patch
+++ /dev/null
@@ -1,359 +0,0 @@
-diff -up ./surface/CMakeLists.txt.oom ./surface/CMakeLists.txt
---- ./surface/CMakeLists.txt.oom 2018-11-26 06:50:33.000000000 -0500
-+++ ./surface/CMakeLists.txt 2019-02-16 20:54:35.581123820 -0500
-@@ -99,7 +99,12 @@ if(build)
- src/marching_cubes_hoppe.cpp
- src/marching_cubes_rbf.cpp
- src/bilateral_upsampling.cpp
-- src/mls.cpp
-+ src/mls_n.cpp
-+ src/mls_xyz.cpp
-+ src/mls_xyzi.cpp
-+ src/mls_xyzrgba.cpp
-+ src/mls_xyzrgb.cpp
-+ src/mls_xyzrgbn.cpp
- src/organized_fast_mesh.cpp
- src/simplification_remove_unused_vertices.cpp
- src/surfel_smoothing.cpp
-diff -up ./surface/src/mls_n.cpp.oom ./surface/src/mls_n.cpp
---- ./surface/src/mls_n.cpp.oom 2019-02-16 20:55:10.920291479 -0500
-+++ ./surface/src/mls_n.cpp 2019-02-16 20:51:12.570160727 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointNormal)))
-+#else
-+ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
-diff -up ./surface/src/mls_xyz.cpp.oom ./surface/src/mls_xyz.cpp
---- ./surface/src/mls_xyz.cpp.oom 2019-02-16 20:54:51.891201203 -0500
-+++ ./surface/src/mls_xyz.cpp 2019-02-16 20:51:33.080258031 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointXYZ)))
-+#else
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
-diff -up ./surface/src/mls_xyzi.cpp.oom ./surface/src/mls_xyzi.cpp
---- ./surface/src/mls_xyzi.cpp.oom 2019-02-16 20:54:55.133216580 -0500
-+++ ./surface/src/mls_xyzi.cpp 2019-02-16 20:51:59.602383856 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointXYZI)))
-+#else
-+ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
-diff -up ./surface/src/mls_xyzrgba.cpp.oom ./surface/src/mls_xyzrgba.cpp
---- ./surface/src/mls_xyzrgba.cpp.oom 2019-02-16 20:54:57.832229383 -0500
-+++ ./surface/src/mls_xyzrgba.cpp 2019-02-16 20:52:31.126533414 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointXYZRGBA)))
-+#else
-+ // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
-diff -up ./surface/src/mls_xyzrgb.cpp.oom ./surface/src/mls_xyzrgb.cpp
---- ./surface/src/mls_xyzrgb.cpp.oom 2019-02-16 20:55:03.524256391 -0500
-+++ ./surface/src/mls_xyzrgb.cpp 2019-02-16 20:53:02.609682766 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointXYZRGB)))
-+#else
-+ //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
-diff -up ./surface/src/mls_xyzrgbn.cpp.oom ./surface/src/mls_xyzrgbn.cpp
---- ./surface/src/mls_xyzrgbn.cpp.oom 2019-02-16 20:55:07.030273022 -0500
-+++ ./surface/src/mls_xyzrgbn.cpp 2019-02-16 20:53:34.215832702 -0500
-@@ -0,0 +1,53 @@
-+/*
-+ * Software License Agreement (BSD License)
-+ *
-+ * Point Cloud Library (PCL) - www.pointclouds.org
-+ * Copyright (c) 2009-2011, Willow Garage, Inc.
-+ *
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials provided
-+ * with the distribution.
-+ * * Neither the name of Willow Garage, Inc. nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-+ * POSSIBILITY OF SUCH DAMAGE.
-+ *
-+ * $Id$
-+ *
-+ */
-+
-+#include <pcl/surface/mls.h>
-+#include <pcl/surface/impl/mls.hpp>
-+
-+#ifndef PCL_NO_PRECOMPILE
-+#include <pcl/point_types.h>
-+#include <pcl/impl/instantiate.hpp>
-+#ifdef PCL_ONLY_CORE_POINT_TYPES
-+ // Instantiations of specific point types
-+ PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
-+ ((pcl::PointXYZRGBNormal)))
-+#else
-+ //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
-+#endif
-+#endif // PCL_NO_PRECOMPILE
diff --git a/pcl-1.9.1-sacsegmentation.patch b/pcl-1.9.1-sacsegmentation.patch
deleted file mode 100644
index 9a225d4..0000000
--- a/pcl-1.9.1-sacsegmentation.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 36c2bd6209f87dc7c6f56e2c0314e19f9cab95ec Mon Sep 17 00:00:00 2001
-From: Thorsten Harter <thorsten.harter@gmx.net>
-Date: Thu, 10 Jan 2019 15:54:52 +0100
-Subject: [PATCH] Fix regression in pcl::SACSegmentation line fitting
-
-pcl::SampleConsensusModelLine<PointT>::isSampleGood should check if the two sample points differ in one coordinate, not in all of them.
----
- .../include/pcl/sample_consensus/impl/sac_model_line.hpp | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp b/sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp
-index 7c7fd7512a..9a8505d93c 100644
---- a/sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp
-+++ b/sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp
-@@ -49,13 +49,16 @@
- template <typename PointT> bool
- pcl::SampleConsensusModelLine<PointT>::isSampleGood (const std::vector<int> &samples) const
- {
-+ // Make sure that the two sample points are not identical
- if (
- (input_->points[samples[0]].x != input_->points[samples[1]].x)
-- &&
-+ ||
- (input_->points[samples[0]].y != input_->points[samples[1]].y)
-- &&
-+ ||
- (input_->points[samples[0]].z != input_->points[samples[1]].z))
-+ {
- return (true);
-+ }
-
- return (false);
- }
diff --git a/pcl-1.9.1-sse2.patch b/pcl-1.9.1-sse2.patch
deleted file mode 100644
index f99d195..0000000
--- a/pcl-1.9.1-sse2.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up ./cmake/pcl_find_sse.cmake.sse2 ./cmake/pcl_find_sse.cmake
---- ./cmake/pcl_find_sse.cmake.sse2 2018-11-26 06:50:33.000000000 -0500
-+++ ./cmake/pcl_find_sse.cmake 2019-02-16 19:05:16.618761462 -0500
-@@ -7,7 +7,7 @@ macro(PCL_CHECK_FOR_SSE)
- if(NOT CMAKE_CROSSCOMPILING)
- # Test GCC/G++ and CLANG
- if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
-- list(APPEND SSE_FLAGS "-march=native")
-+ #list(APPEND SSE_FLAGS "-march=native")
- message(STATUS "Using CPU native flags for SSE optimization: ${SSE_FLAGS}")
- endif()
- endif()
-@@ -164,18 +164,9 @@ macro(PCL_CHECK_FOR_SSE)
- set(CMAKE_REQUIRED_FLAGS)
-
- if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
-- if(HAVE_SSE4_2_EXTENSIONS)
-- list(APPEND SSE_FLAGS "-msse4.2" "-mfpmath=sse")
-- elseif(HAVE_SSE4_1_EXTENSIONS)
-- list(APPEND SSE_FLAGS "-msse4.1" "-mfpmath=sse")
-- elseif(HAVE_SSSE3_EXTENSIONS)
-- list(APPEND SSE_FLAGS "-mssse3" "-mfpmath=sse")
-- elseif(HAVE_SSE3_EXTENSIONS)
-- list(APPEND SSE_FLAGS "-msse3" "-mfpmath=sse")
-- elseif(HAVE_SSE2_EXTENSIONS)
-+ if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" AND "${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
-+ MESSAGE(STATUS "Enabling SSE Support (${CMAKE_SYSTEM_PROCESSOR}, ${CMAKE_SIZEOF_VOID_P})")
- list(APPEND SSE_FLAGS "-msse2" "-mfpmath=sse")
-- elseif(HAVE_SSE_EXTENSIONS)
-- list(APPEND SSE_FLAGS "-msse" "-mfpmath=sse")
- else()
- # Setting -ffloat-store to alleviate 32bit vs 64bit discrepancies on non-SSE
- # platforms.
diff --git a/pcl.spec b/pcl.spec
index cd9a12f..04d5c9a 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,8 +1,8 @@
-%global apiversion 1.9
+%global apiversion 1.11
Name: pcl
-Version: 1.9.1
-Release: 7%{?dist}
+Version: 1.11.0
+Release: 1%{?dist}
Summary: Library for point cloud processing
License: BSD
URL: http://pointclouds.org/
@@ -13,30 +13,25 @@ Source0: %{name}-%{version}-fedora.tar.xz
Source1: create_tarball_pcl.sh
# Only enable sse2, and only on x86_64
-Patch0: %{name}-1.9.1-sse2.patch
+Patch0: %{name}-1.11.0-sse2.patch
# Look for external metslib, not upstream
-Patch1: %{name}-1.8.0-metslib.patch
+Patch1: %{name}-1.11.0-metslib.patch
# Patch for PCLConfig.cmake to find pcl
-Patch2: %{name}-1.8.1-fedora.patch
+Patch2: %{name}-1.11.0-fedora.patch
# Exclude the "build" directory from doxygen processing.
-Patch3: %{name}-1.7.2-doxyfix.patch
+Patch3: %{name}-1.11.0-doxyfix.patch
# Split up explicit template instantiations so that builders don't run out of memory
-Patch4: %{name}-1.9.1-oom.patch
-# Upstream patch to disable boost endian warnings
-Patch5: %{name}-1.9.1-boostendian.patch
-# Upstream patch to fix SACSegmentation line fitting
-# https://github.com/PointCloudLibrary/pcl/pull/2767
-Patch6: %{name}-1.9.1-sacsegmentation.patch
+Patch4: %{name}-1.11.0-oom.patch
# For plain building
BuildRequires: cmake, gcc-c++, boost-devel
# Documentation
-BuildRequires: doxygen, doxygen-latex, graphviz, /usr/bin/sphinx-build
+BuildRequires: doxygen, graphviz, /usr/bin/sphinx-build
# mandatory
BuildRequires: eigen3-static, flann-devel, cminpack-devel, vtk-devel, gl2ps-devel, hdf5-devel, libxml2-devel, netcdf-cxx-devel, jsoncpp-devel, metslib-static, libXext-devel
# optional
-BuildRequires: qt5-qtbase-devel, qhull-devel, libusbx-devel, gtest-devel, qt5-qtwebkit-devel, texlive-scheme-tetex, texlive-ucs
+BuildRequires: qt5-qtbase-devel, qhull-devel, libusbx-devel, gtest-devel, qt5-qtwebkit-devel
%ifarch %{ix86} x86_64
BuildRequires: openni-devel
%endif
@@ -88,8 +83,6 @@ Library.
%patch2 -p0 -b .fedora
%patch3 -p0 -b .doxyfix
%patch4 -p1 -b .oom
-%patch5 -p1 -b .boostendian
-%patch6 -p1 -b .sacsegmentation
# Just to make it obvious we're not using any of these
rm -fr recognition/include/pcl/recognition/3rdparty/metslib
@@ -126,10 +119,10 @@ pushd build
..
# Don't use mflags, we're hitting out of memory errors on the koji builders
-make
-make doc
-make tutorials
-make advanced
+%make_build
+#make doc
+#make tutorials
+#make advanced
popd
%install
@@ -196,6 +189,9 @@ ARGS='-V' make -C build test || true
%doc build/doc/advanced/advanced
%changelog
+* Tue Jun 02 2020 Rich Mattes <richmattes@gmail.com> - 1.11.0-1
+- Update to release 1.11.0
+
* Fri May 29 2020 Jonathan Wakely <jwakely@redhat.com> - 1.9.1-7
- Rebuilt for Boost 1.73
diff --git a/sources b/sources
index ee09c77..120769f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcl-1.9.1-fedora.tar.xz) = 10316090482638e8d073e928dffda0dbfcdb0f2b6028deb39613cec48bb328401c681a790897321c68f4628955119cff3b4687b74eb6324588427ef547b033e9
+SHA512 (pcl-1.11.0-fedora.tar.xz) = cd034306fe0707def412bcafe8f996f885b1651f92fd09021248c4d8fd08e0ab4b6af358fc6bf759e2f01abd074fa18dc5b869ad8a714d03a890b2c9a9b82ffb
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 5:49 [rpms/pcl] f44: Update to release 1.11.0 Rich Mattes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox