diff --git a/scenario-execution-rviz-geographiclib.patch b/scenario-execution-rviz-geographiclib.patch new file mode 100644 index 0000000000000000000000000000000000000000..c513e9e60db0855d585ec7ba1a0196218ab65dda --- /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) + diff --git a/scenario-execution-rviz.spec b/scenario-execution-rviz.spec index 569eb900af9d466e1ce488a70336e4aa64cead1c..4dbe6d63aae85916d6a510825749f17f827e4949 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