summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-04-14 04:21:19 +0000
committerCoprDistGit <infra@openeuler.org>2026-04-14 04:21:19 +0000
commitc4c24f973225c198720b002a9ea5b758d1d8d981 (patch)
tree03abd0e83a0e3bb84c09b70f20e58f3419129b84
parent03e5aa8f4d87bd6e8ad47c94ee7081f4950da103 (diff)
automatic import of moveit-ros-benchmarks
-rw-r--r--moveit-ros-benchmarks-fix-boost-progress.patch18
-rw-r--r--moveit-ros-benchmarks.spec7
2 files changed, 21 insertions, 4 deletions
diff --git a/moveit-ros-benchmarks-fix-boost-progress.patch b/moveit-ros-benchmarks-fix-boost-progress.patch
new file mode 100644
index 0000000..ffbc478
--- /dev/null
+++ b/moveit-ros-benchmarks-fix-boost-progress.patch
@@ -0,0 +1,18 @@
+--- a/moveit-ros-benchmarks-2.5.9/src/BenchmarkExecutor.cpp
++++ b/moveit-ros-benchmarks-2.5.9/src/BenchmarkExecutor.cpp
+@@ -39,12 +39,11 @@
+
+ #include <moveit/utils/moveit_error_code.h>
+
+-// TODO(henningkayser): Switch to boost/timer/progress_display.hpp with Boost 1.72
+-// boost/progress.hpp is deprecated and will be replaced by boost/timer/progress_display.hpp in Boost 1.72.
++// Use boost/timer/progress_display.hpp (available since Boost 1.72)
++// instead of the deprecated boost/progress.hpp
+
+ #include <boost/regex.hpp>
+-#include <boost/progress.hpp>
+-
++#include <boost/timer/progress_display.hpp>
+ #include <boost/date_time/posix_time/posix_time.hpp>
+ #include <boost/math/constants/constants.hpp>
+
diff --git a/moveit-ros-benchmarks.spec b/moveit-ros-benchmarks.spec
index f3cd051..1d60ac0 100644
--- a/moveit-ros-benchmarks.spec
+++ b/moveit-ros-benchmarks.spec
@@ -11,12 +11,13 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.5.9
-Release: 3%{?dist}%{?release_suffix}
+Release: 4%{?dist}%{?release_suffix}
Summary: Enhanced tools for benchmarks in MoveIt
Url: http://moveit.ai
License: BSD
Source0: %{RosPkgName}-%{version}.tar.gz
+Patch0: moveit-ros-benchmarks-fix-boost-progress.patch
Requires: ros-%{ros_distro}-moveit-common
Requires: ros-%{ros_distro}-moveit-ros-planning
@@ -38,8 +39,6 @@ BuildRequires: ros-%{ros_distro}-tf2-eigen
BuildRequires: ros-%{ros_distro}-pluginlib
BuildRequires: ros-%{ros_distro}-moveit-core
BuildRequires: boost-devel
-BuildRequires: boost-devel
-BuildRequires: boost-devel
BuildRequires: ros-%{ros_distro}-ament-cmake
BuildRequires: ros-%{ros_distro}-ros-workspace
@@ -56,7 +55,7 @@ Provides: %{name}-runtime = %{version}-%{release}
Enhanced tools for benchmarks in MoveIt
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -c -n %{name}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.