forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ros/rviz: install ressources in /usr/share/ros_packages since the…
…y are expected here. Package-Manager: portage-2.3.2
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Install ressources in ros_packages subdir. We force catkin to install packages | ||
there, so move them too. | ||
|
||
Index: rviz-1.12.3/CMakeLists.txt | ||
=================================================================== | ||
--- rviz-1.12.3.orig/CMakeLists.txt | ||
+++ rviz-1.12.3/CMakeLists.txt | ||
@@ -220,17 +220,17 @@ include_directories(src ${catkin_INCLUDE | ||
add_subdirectory(src) | ||
|
||
install(DIRECTORY ogre_media | ||
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
+ DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros_packages/${PROJECT_NAME} | ||
) | ||
install(DIRECTORY icons | ||
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
+ DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros_packages/${PROJECT_NAME} | ||
) | ||
install(DIRECTORY images | ||
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
+ DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros_packages/${PROJECT_NAME} | ||
) | ||
install(FILES default.rviz | ||
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
+ DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros_packages/${PROJECT_NAME} | ||
) | ||
install(FILES plugin_description.xml | ||
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
+ DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros_packages/${PROJECT_NAME} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters