From cfee31f5a23cd1f43428b1781592898d12b79589 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 27 Mar 2026 09:33:27 +0000 Subject: automatic import of nav2-smoother --- .gitignore | 1 + nav2-smoother.spec | 17 +++++++---------- ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch | 12 ------------ sources | 2 +- 4 files changed, 9 insertions(+), 23 deletions(-) delete mode 100644 ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch diff --git a/.gitignore b/.gitignore index e315925..2864976 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /ros-humble-nav2-smoother_1.1.9.orig.tar.gz +/nav2-smoother-1.1.20.tar.gz diff --git a/nav2-smoother.spec b/nav2-smoother.spec index e0524d6..5b2610c 100644 --- a/nav2-smoother.spec +++ b/nav2-smoother.spec @@ -1,21 +1,21 @@ %bcond_without tests %bcond_without weak_deps +%define ros_distro humble + %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$ %global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ %define RosPkgName nav2-smoother -%define ros_distro humble Name: ros-%{ros_distro}-%{RosPkgName} -Version: 1.1.9 +Version: 1.1.20 Release: 1%{?dist}%{?release_suffix} Summary: Smoother action interface License: Apache-2.0 -Source0: %{name}_%{version}.orig.tar.gz -Patch0: ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch +Source0: %{RosPkgName}-%{version}.tar.gz Requires: ros-%{ros_distro}-angles Requires: ros-%{ros_distro}-rclcpp @@ -60,7 +60,7 @@ Provides: %{name}-runtime = %{version}-%{release} Smoother action interface %prep -%autosetup -p1 +%autosetup -c -n %{name}-%{version} %build # Needed to bootstrap since the ros_workspace package does not yet exist. @@ -84,7 +84,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif - .. + ../%{RosPkgName}-%{version} %make_build @@ -119,8 +119,5 @@ else echo "RPM TESTS SKIPPED"; fi /opt/ros/%{ros_distro} %changelog -* Mon Sep 11 2023 will_niutao - 1.1.9-1 -- update version and fix compile error with gcc12 - -* Thu May 04 2023 Matej Vargovcik vargovcik@robotechvision.com - 1.1.6-1 +* Wed Mar 25 2026 Matej Vargovcik vargovcik@robotechvision.com - 1.1.20-1 - Autogenerated by ros-porting-tools diff --git a/ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch b/ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch deleted file mode 100644 index 9d39eec..0000000 --- a/ros-humble-nav2-smoother-1.1.9-fix-gcc12-error.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur ros-humble-nav2-smoother-1.1.9_org/src/nav2_smoother.cpp ros-humble-nav2-smoother-1.1.9/src/nav2_smoother.cpp ---- ros-humble-nav2-smoother-1.1.9_org/src/nav2_smoother.cpp 2023-09-11 15:08:56.479491453 +0800 -+++ ros-humble-nav2-smoother-1.1.9/src/nav2_smoother.cpp 2023-09-11 16:37:14.361099966 +0800 -@@ -85,7 +85,7 @@ - transform_listener_ = std::make_shared(*tf_); - - std::string costmap_topic, footprint_topic, robot_base_frame; -- double transform_tolerance; -+ double transform_tolerance = 0.0; - this->get_parameter("costmap_topic", costmap_topic); - this->get_parameter("footprint_topic", footprint_topic); - this->get_parameter("transform_tolerance", transform_tolerance); diff --git a/sources b/sources index ca058c1..1092873 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -232016fb083b9e0289f4287a0c3135ea ros-humble-nav2-smoother_1.1.9.orig.tar.gz +499702b9aba95a06b3432f01fbb8c7d5 nav2-smoother-1.1.20.tar.gz -- cgit v1.2.3