From e7a336b151e84c9990c239d2e67e456bda92523d Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn <lukas.bulwahn@bmw-carit.de> Date: Fri, 11 Jan 2013 09:43:56 +0100 Subject: [PATCH] we patch catkin as catkin assumes that every linux is an ubuntu system but the openembedded linux system is not --- ...kin-change_default_for_debsetuptools.patch | 20 +++++++++++++++++++ recipes-ros/catkin/catkin_0.5.58.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 recipes-ros/catkin/catkin/catkin-change_default_for_debsetuptools.patch diff --git a/recipes-ros/catkin/catkin/catkin-change_default_for_debsetuptools.patch b/recipes-ros/catkin/catkin/catkin-change_default_for_debsetuptools.patch new file mode 100644 index 0000000..5b2f4f5 --- /dev/null +++ b/recipes-ros/catkin/catkin/catkin-change_default_for_debsetuptools.patch @@ -0,0 +1,20 @@ +diff -cr a/cmake/python.cmake b/cmake/python.cmake +*** a/cmake/python.cmake 2012-12-22 03:30:48.000000000 +0100 +--- b/cmake/python.cmake 2013-01-11 09:25:35.790346760 +0100 +*************** +*** 6,12 **** + set(PYTHON_VERSION_XDOTY ${PYTHON_VERSION_XDOTY} CACHE STRING "Python version") + + #This should be resolved automatically one day... +! option(SETUPTOOLS_DEB_LAYOUT "ON for debian style python packages layout" ON) + + if(APPLE OR MSVC) + set(SETUPTOOLS_DEB_LAYOUT OFF) +--- 6,12 ---- + set(PYTHON_VERSION_XDOTY ${PYTHON_VERSION_XDOTY} CACHE STRING "Python version") + + #This should be resolved automatically one day... +! option(SETUPTOOLS_DEB_LAYOUT "ON for debian style python packages layout" OFF) + + if(APPLE OR MSVC) + set(SETUPTOOLS_DEB_LAYOUT OFF) diff --git a/recipes-ros/catkin/catkin_0.5.58.bb b/recipes-ros/catkin/catkin_0.5.58.bb index 36d74fa..cc41c5f 100644 --- a/recipes-ros/catkin/catkin_0.5.58.bb +++ b/recipes-ros/catkin/catkin_0.5.58.bb @@ -3,7 +3,8 @@ SECTION = "devel" # TODO: License of catkin unmentioned in the repository LICENSE = "CLOSED" -SRC_URI = "https://github.com/ros/catkin/archive/0.5.58.tar.gz" +SRC_URI = "https://github.com/ros/catkin/archive/0.5.58.tar.gz \ + file://catkin-change_default_for_debsetuptools.patch" SRC_URI[md5sum] = "e4df85e60dc792af9324334547cc76aa" SRC_URI[sha256sum] = "dd99cc04eeaf16a13185dd0a2f576939fa997dfb16a40ba45068c4d2ebbcb44b" -- GitLab