adjusting dependencies of native recipes

To compile nodelet-topic-tools, we must provide a working
dynamic-reconfigure in the native sysroot. This requires
some adjustments to the native versions of the required
python modules.

In particular, the following tasks ran successfully for this
commit:

This command tests compiling rospack-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake rospack-native

This command tests compiling roslib-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake roslib-native

As nodelet-topic-tools uses rospack-native and roslib-native to
some extent (dependency: rospack-native -> roslib-native ->
dynamic-reconfigure-native -> nodelet-topic-tools), this command
tests running rospack-native and roslib-native:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake nodelet-topic-tools

This command tests compiling rospack and roslib:
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake rospack
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf && bitbake roslib

All these command run with this commit without errors, and
future commits to these files should keep them run without
errors or justify modifications with better tests.

A minor open issue related to rospack is issue #116
(cf. https://github.com/bmwcarit/meta-ros/issues/116).

This commit incorporates feedback from Stefan Herbrechtsmeier.
This commit is contained in:
Lukas Bulwahn 2013-07-04 11:30:46 +02:00
parent ff94057aff
commit 0e0fc08eaf
3 changed files with 2 additions and 3 deletions

View File

@ -15,6 +15,5 @@ RDEPENDS_${PN} += "python-xml"
inherit setuptools
DEPENDS += "python"
DEPENDS_class-native += "python-native"
BBCLASSEXTEND = "native"

View File

@ -10,7 +10,7 @@ SRC_URI = "https://github.com/ros/${ROS_BPN}/archive/${PV}.tar.gz;downloadfilena
SRC_URI[md5sum] = "9061fd30e5a04e8376eaddffaae86b07"
SRC_URI[sha256sum] = "4203b0a8389d9ac3203110b507d23fa353262cf26253f40abece6418d6c2bdd4"
DEPENDS = "roscpp std-msgs"
DEPENDS = "roscpp std-msgs roslib"
RDEPENDS_${PN} = "roslib"
S = "${WORKDIR}/${ROS_BP}"

View File

@ -3,7 +3,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=6;endline=6;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "boost python-native libtinyxml"
DEPENDS = "boost python-rospkg-native libtinyxml"
SRC_URI = "https://github.com/ros/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "1383bdce36fe6319884e7b158c22d8b4"