forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package_xml.patch
37 lines (36 loc) · 1.55 KB
/
package_xml.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: catkin-0.7.6/cmake/catkin_package.cmake
===================================================================
--- catkin-0.7.6.orig/cmake/catkin_package.cmake
+++ catkin-0.7.6/cmake/catkin_package.cmake
@@ -527,4 +527,7 @@ function(_catkin_package)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/package.xml
DESTINATION share/${PROJECT_NAME}
)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/package.xml
+ DESTINATION share/ros_packages/${PROJECT_NAME}
+ )
endfunction()
Index: catkin-0.7.6/cmake/all.cmake
===================================================================
--- catkin-0.7.6.orig/cmake/all.cmake
+++ catkin-0.7.6/cmake/all.cmake
@@ -156,7 +156,7 @@ foreach(filename
endforeach()
# output catkin version for debugging
-_catkin_package_xml(${CMAKE_BINARY_DIR}/catkin/catkin_generated/version DIRECTORY ${catkin_EXTRAS_DIR}/..)
+#_catkin_package_xml(${CMAKE_BINARY_DIR}/catkin/catkin_generated/version DIRECTORY ${catkin_EXTRAS_DIR}/../../ros_packages/catkin)
message(STATUS "catkin ${catkin_VERSION}")
# ensure that no current package name is set
unset(_CATKIN_CURRENT_PACKAGE)
Index: catkin-0.7.6/cmake/catkin_metapackage.cmake
===================================================================
--- catkin-0.7.6.orig/cmake/catkin_metapackage.cmake
+++ catkin-0.7.6/cmake/catkin_metapackage.cmake
@@ -42,4 +42,7 @@ function(catkin_metapackage)
install(FILES ${ARG_DIRECTORY}/package.xml
DESTINATION share/${PROJECT_NAME}
)
+ install(FILES ${ARG_DIRECTORY}/package.xml
+ DESTINATION share/ros_packages/${PROJECT_NAME}
+ )
endfunction()