summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-04-14 03:28:16 +0000
committerCoprDistGit <infra@openeuler.org>2026-04-14 03:28:16 +0000
commit90262b53a5af0d66784a1dbc856d504c304de5c9 (patch)
tree3aff53ee70a207869732d674616aa097214539c3
parent0c70bac29c5e8b4f8125bf4aba19fca93b4ab502 (diff)
automatic import of moveit-core
-rw-r--r--moveit-core-fix-butterworth-include.patch11
-rw-r--r--moveit-core.spec8
2 files changed, 17 insertions, 2 deletions
diff --git a/moveit-core-fix-butterworth-include.patch b/moveit-core-fix-butterworth-include.patch
new file mode 100644
index 0000000..26285ca
--- /dev/null
+++ b/moveit-core-fix-butterworth-include.patch
@@ -0,0 +1,11 @@
+--- a/moveit-core-2.5.9/online_signal_smoothing/include/moveit/online_signal_smoothing/butterworth_filter.h
++++ b/moveit-core-2.5.9/online_signal_smoothing/include/moveit/online_signal_smoothing/butterworth_filter.h
+@@ -41,7 +41,7 @@
+ #include <cstddef>
+
+ // Auto-generated
+-#include <moveit_core/moveit_butterworth_parameters.hpp>
++#include <moveit_butterworth_parameters.hpp>
+ #include <moveit/robot_model/robot_model.h>
+ #include <moveit/online_signal_smoothing/smoothing_base_class.h>
+
diff --git a/moveit-core.spec b/moveit-core.spec
index 82a9d52..f3b4cca 100644
--- a/moveit-core.spec
+++ b/moveit-core.spec
@@ -12,12 +12,16 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.5.9
-Release: 3%{?dist}%{?release_suffix}
+Release: 4%{?dist}%{?release_suffix}
Summary: Core libraries used by MoveIt
Url: http://moveit.ai
License: BSD
Source0: %{RosPkgName}-%{version}.tar.gz
+# Fix include path for generate_parameter_library 0.3.x compatibility
+# generate_parameter_library 0.4.0+ changed header output to include/${PROJECT_NAME}/
+# but openEuler provides 0.3.3 which uses ${LIB_NAME}/include/
+Patch0: moveit-core-fix-butterworth-include.patch
Requires: ros-%{ros_distro}-angles
Requires: assimp-devel
@@ -113,7 +117,7 @@ Provides: %{name}-runtime = %{version}-%{release}
Core libraries used by 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.