dev-util/catkin: Install package.xml twice, once in ros_packages for fast searching...
authorAlexis Ballier <aballier@gentoo.org>
Tue, 28 Feb 2017 08:24:16 +0000 (09:24 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 28 Feb 2017 11:26:49 +0000 (12:26 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-util/catkin/catkin-0.7.6-r1.ebuild [moved from dev-util/catkin/catkin-0.7.6.ebuild with 100% similarity]
dev-util/catkin/files/package_xml.patch

index 6099f079601077b8e4324a149d0b5e8d8feb4614..52506ee680e7329f18c79772c43cef50c1c94036 100644 (file)
@@ -1,19 +1,19 @@
-Index: catkin-0.7.1/cmake/catkin_package.cmake
+Index: catkin-0.7.6/cmake/catkin_package.cmake
 ===================================================================
---- catkin-0.7.1.orig/cmake/catkin_package.cmake
-+++ catkin-0.7.1/cmake/catkin_package.cmake
-@@ -518,6 +518,6 @@ function(_catkin_package)
-   # install package.xml
+--- 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}
-+    DESTINATION share/ros_packages/${PROJECT_NAME}
+     DESTINATION share/${PROJECT_NAME}
    )
++  install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/package.xml
++    DESTINATION share/ros_packages/${PROJECT_NAME}
++  )
  endfunction()
-Index: catkin-0.7.1/cmake/all.cmake
+Index: catkin-0.7.6/cmake/all.cmake
 ===================================================================
---- catkin-0.7.1.orig/cmake/all.cmake
-+++ catkin-0.7.1/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()
  
@@ -23,15 +23,15 @@ Index: catkin-0.7.1/cmake/all.cmake
  message(STATUS "catkin ${catkin_VERSION}")
  # ensure that no current package name is set
  unset(_CATKIN_CURRENT_PACKAGE)
-Index: catkin-0.7.1/cmake/catkin_metapackage.cmake
+Index: catkin-0.7.6/cmake/catkin_metapackage.cmake
 ===================================================================
---- catkin-0.7.1.orig/cmake/catkin_metapackage.cmake
-+++ catkin-0.7.1/cmake/catkin_metapackage.cmake
-@@ -40,6 +40,6 @@ function(catkin_metapackage)
-   # install package.xml
+--- 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}
-+    DESTINATION share/ros_packages/${PROJECT_NAME}
+     DESTINATION share/${PROJECT_NAME}
    )
++  install(FILES ${ARG_DIRECTORY}/package.xml
++    DESTINATION share/ros_packages/${PROJECT_NAME}
++  )
  endfunction()