From 18ebacf0c539b2d844358f96804bb5cda9d652b4 Mon Sep 17 00:00:00 2001 From: zhangguowei <14744141+zhang-guowei0207@user.noreply.gitee.com> Date: Thu, 17 Apr 2025 09:12:23 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=A5patch=E6=96=87=E4=BB=B6=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E8=A7=A3=E5=86=B3=E5=9C=A8=E6=89=93=E5=8C=85=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84=E6=8A=A5=E9=94=99?= =?UTF-8?q?=20=E7=94=A8=E4=BA=8E=E8=A7=A3=E5=86=B3=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=97=B6geographiclib=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangguowei <14744141+zhang-guowei0207@user.noreply.gitee.com> --- scenario-execution-rviz-geographiclib.patch | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 scenario-execution-rviz-geographiclib.patch diff --git a/scenario-execution-rviz-geographiclib.patch b/scenario-execution-rviz-geographiclib.patch new file mode 100644 index 0000000..c513e9e --- /dev/null +++ b/scenario-execution-rviz-geographiclib.patch @@ -0,0 +1,34 @@ +diff -Nur agiros-loong-scenario-execution-rviz-1.2.0/CMakeLists.txt agiros-loong-scenario-execution-rviz-1.2.0-2.0/CMakeLists.txt +--- agiros-loong-scenario-execution-rviz-1.2.0/CMakeLists.txt 2024-10-02 21:14:06.000000000 +0800 ++++ agiros-loong-scenario-execution-rviz-1.2.0-2.0/CMakeLists.txt 2025-03-27 17:23:44.000000000 +0800 +@@ -1,6 +1,8 @@ + cmake_minimum_required(VERSION 3.5) + project(scenario_execution_rviz) + ++list(APPEND CMAKE_PREFIX_PATH "/usr") ++ + set(CXX_STANDARD_REQUIRED ON) + set(CMAKE_CXX_STANDARD 14) + +@@ -14,6 +16,7 @@ + find_package(py_trees_ros_interfaces COMPONENTS) + find_package(pluginlib REQUIRED) + find_package(rviz_ogre_vendor REQUIRED) ++find_package(yaml-cpp REQUIRED) + + set(CMAKE_AUTOMOC ON) + +@@ -28,8 +31,11 @@ + + add_library(${PROJECT_NAME} SHARED ${SRC_FILES}) + +-target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES} +- rviz_ogre_vendor::OgreMain) ++target_link_libraries(${PROJECT_NAME} ++ ${QT_LIBRARIES} ++ rviz_ogre_vendor::OgreMain ++ yaml-cpp ++) + + target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) + -- Gitee From 9213f58f38ae23df592b6e1f3576fba8572bd0ec Mon Sep 17 00:00:00 2001 From: zhangguowei <14744141+zhang-guowei0207@user.noreply.gitee.com> Date: Thu, 17 Apr 2025 09:13:20 +0000 Subject: [PATCH 2/2] update scenario-execution-rviz.spec. Signed-off-by: zhangguowei <14744141+zhang-guowei0207@user.noreply.gitee.com> --- scenario-execution-rviz.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/scenario-execution-rviz.spec b/scenario-execution-rviz.spec index 569eb90..4dbe6d6 100644 --- a/scenario-execution-rviz.spec +++ b/scenario-execution-rviz.spec @@ -15,6 +15,7 @@ Summary: The scenario_execution_rviz package License: Apache-2.0 and MIT Source0: %{name}_%{version}.orig.tar.gz +Patch0: scenario-execution-rviz-geographiclib.patch Requires: agiros-%{agiros_distro}-rclcpp Requires: agiros-%{agiros_distro}-rviz-common -- Gitee