Commit Graph

1328 Commits

Author SHA1 Message Date
Dmitry Rozhkov 54f47c085b python-rosdep: remove pre-build dependency on nose
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-22 16:40:33 +02:00
Dmitry Rozhkov b0be1fc475 catkin: relocate dependency's headers to current sysroot
If a package (A) depends on another package (B) and the package
B depends on Boost then it might happen that B produces BConfig.cmake
file where absolute paths to Boost's headers are put (because CMake's
standard FindBoost.cmake module reports absolute paths). In case of
Yocto it means that BConfig.cmake will contain something like
/path/to/build/tmp-glibc/work/i586/package_B/0.0.1/recipe-sysroot/usr/include.
The path may not exist at the moment when the package A is being built.
And that leads to the failure of the check this patch switches off.

The problem has been reported to catkin's issue tracker:
https://github.com/ros/catkin/issues/851

This patch "relocates" required headers from dependencies' sysroots
to the current sysroot by removing sysroot prefix from include dirs
in *Config.cmake files at the moment the files get created and
by prepending the include dirs again with the current sysroot prefix.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-22 16:40:33 +02:00
Dmitry Rozhkov 2c1d47d075 catkin: avoid leaking host environment to sysroot when searching for libs
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-22 16:28:15 +02:00
Dmitry Rozhkov ed0854c580 depthimage-to-laserscan: fix missing std namespace prefixes
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov b1f9e2afa4 laser-filters: backport fix for missing std namespace
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 995fe06881 robot-state-publisher: add missing build dep on rostest
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 14b0929481 urdf: add missing build dep on class-loader
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 5158633d64 collada-urdf: add missing build dep on libtinyxml
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 900dc43716 razor-imu-9dof: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 4669979716 nodelet-topic-tools: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 0b5f9f6d69 base-local-planner: add missing build dep on rostest
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 01caa2bb41 amcl: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov c2978e676f laser-geometry: add missing build dep on cmake-modules
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 4ccb4dc655 theora-image-transport: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov b0f2caad37 compressed-image-transport: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 6a8bd91ca3 compressed-depth-image-transport: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 808e624573 image-rotate: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 7373a134b9 image-publisher: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 39107d658a image-proc: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 8401c46428 image-transport: add missing build dep on class-loader
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov c8fd69bee7 tf2-kdl: add missing build dep on cmake-modules
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 640b0e51ce tf-conversions: add missing build dep on cmake-modules
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov f16bb54672 depthimage-to-laserscan: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov ad6a2e02d1 control-toolbox: add missing build dep on python-rospkg
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov efc9a9cf8f collada-urdf: drop unneeded octomap-related tweaks
Octomap has been updated to provide relocatable libraries. Now
it's not needed to tweak the absolute paths to Octomap's
binaries.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov dbc17a263d collada-dom: fix compilation with recent gcc
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-08 12:12:29 +02:00
Dmitry Rozhkov 361aeb2a5f Merge pull request #451 from bulwahn/improve-dependencies
improve dependencies in some recipes
2017-02-08 11:23:00 +02:00
Lukas Bulwahn 7027820008 Merge pull request #453 from rojkov/octomap-upgrade
Upgrade octomap recipe to 1.8.0
2017-02-02 20:35:52 +01:00
Dmitry Rozhkov 12e6df4b54 octomap-ros: drop build dependency on cmake-modules
Since the Octomap package provides CMake configs suitable for
cross-compilation there's no need for an external module
in cmake-modules.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-02 09:53:17 +02:00
Dmitry Rozhkov 7830cd18fb cmake-modules: drop obsolete patch for Findoctomap module
With the latest update of octomap the CMake module
Findoctomap is not needed anymore.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-01 16:19:47 +02:00
Dmitry Rozhkov 6239ae221a octomap: upgrade to 1.8.0
Also backport a patch improving generation of config.cmake
files. This makes octomap libraries relocatable which is
required for successful cross-compilation builds.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-01 16:14:26 +02:00
Lukas Bulwahn e98c5a5053 pcl-conversions: also depend on cmake-modules
Without the dependency on cmake-modules, `bitbake pcl-conversions` can
possibly fail with:

```
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "cmake_modules"
|   with any of the following names:
|
|     cmake_modulesConfig.cmake
|     cmake_modules-config.cmake
|
|   Add the installation prefix of "cmake_modules" to CMAKE_PREFIX_PATH or set
|   "cmake_modules_DIR" to a directory containing one of the above files.  If
|   "cmake_modules" provides a separate development package or SDK, be sure it
|   has been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:4 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if cmake-modules has not been installed
before pcl-conversions is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`,
which builds many packages in parallel, did not
uncover this because cmake-modules was usually installed before
pcl-conversions was configured.

However, the issue is clearly reproducable with
`bitbake pcl-conversions cmake-modules -c cleanall && bitbake pcl-conversions`

The missing dependency was probably introduced by the automatic
recipe updates without checking for new dependencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 13:04:43 +01:00
Lukas Bulwahn a14c2138f6 eigen-conversions: also depend on cmake-modules
Without the dependency on cmake-modules, `bitbake eigen-conversions`
can possibly fail with:

```
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/eigen-conversions/1.11.8-r0/recipe-sysroot-native/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "cmake_modules"
|   with any of the following names:
|
|     cmake_modulesConfig.cmake
|     cmake_modules-config.cmake
|
|   Add the installation prefix of "cmake_modules" to CMAKE_PREFIX_PATH or set
|   "cmake_modules_DIR" to a directory containing one of the above files.  If
|   "cmake_modules" provides a separate development package or SDK, be sure it
|   has been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:5 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if cmake-modules has not been installed
before eigen-conversions is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`, which
builds many packages in parallel, did not uncover this because
make-modules was usually installed before eigen-conversions was
configured.

However, the issue is clearly reproducible with
`bitbake eigen-conversions cmake-modules -c cleanall && bitbake eigen-conversions`

The missing dependency was probably introduced by the automatic
recipe updates without checking for new dependencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 10:57:36 +01:00
Lukas Bulwahn 30d5e698b8 eigen-stl-containers: depend on libeigen
Without the dependency on libeigen, `bitbake eigen-stl-containers`
can possibly fail with:

```
| CMake Error at CMakeLists.txt:8 (find_package):
|   By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
|   asked CMake to find a package configuration file provided by "Eigen3", but
|   CMake did not find one.
|
|   Could not find a package configuration file provided by "Eigen3" with any
|   of the following names:
|
|     Eigen3Config.cmake
|     eigen3-config.cmake
|
|   Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
|   "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
|   provides a separate development package or SDK, be sure it has been
|   installed.
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if libeigen has not been installed
before eigen-stl-containers is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`,
which builds many packages in parallel, did not uncover this
because libeigen was usually installed before
eigen-stl-containers was configured.

However, the issue is clearly reproducible with
`bitbake eigen-stl-containers libeigen -c cleanall && bitbake eigen-stl-containers`

The missing dependency was probably overlooked in the creation of
the eigen-stl-containers recipe, i.e., in
commit a255e67c9e.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 10:42:02 +01:00
Lukas Bulwahn 7dd67496c5 Merge pull request #449 from rojkov/geometric-shapes
Drop cmake tweaks in recipes depending on Octomap
2017-01-28 10:24:04 +01:00
Dmitry Rozhkov 03ab6d41c9 octomap-ros: drop cmake tweaks in the recipe
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 16:14:04 +02:00
Dmitry Rozhkov d924c54f69 Add Findoctomap.cmake module
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 16:11:04 +02:00
Dmitry Rozhkov 9cb838527f Upgrade geometric-shapes to 0.4.5
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 15:32:19 +02:00
Lukas Bulwahn 45ff6a3bed Merge pull request #447 from rojkov/sphinxbase
sphinxbase: add build dependencies to sphinxbase
2017-01-18 15:31:16 +01:00
Dmitry Rozhkov 984697cdda sphinxbase: add build dependencies to sphinxbase (resolves #343)
sphinxbase is linked to libsndfile1, libasound from alsa-lib and
libsamplerate0, but these build dependencies are missing in the
recipe.

This update adds the missing dependencies.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-18 11:48:35 +02:00
Lukas Bulwahn 09ed8379fa Merge pull request #446 from rojkov/catkin-patch
revert commit beb4677 added to fix the issue #291
2017-01-12 14:01:59 +01:00
Dmitry Rozhkov e3e990de10 catkin: revert commit beb4677
The patch added in the reverted commit was meant to fix the issue
https://github.com/bmwcarit/meta-ros/issues/291

In fact it enables CMake to look for libraries in a host system which
leads to errors when a path is tested for a library presence with the
help of CMake's find_library() command: e.g. a non-existing host
directory is tested for library presence and find_library() returns
successfully because the library exists in bitbake's sysroot; then the
directory is used by the linker, but the library doesn't exist in the
directory -> failure. In worse cases the host directory may actually exist
and contain the library, but of wrong architecture, format or
incompatible ABI making finding the root cause a difficult task.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-10 14:56:14 +02:00
Lukas Bulwahn 47708d134e Merge pull request #444 from rojkov/realsense
librealsense: Set build type to ROS explicitly
2017-01-10 09:49:26 +01:00
Dmitry Rozhkov 43690b8b0d librealsense: Set build type to ROS explicitly
The fix for build type detection in librealsense's CMakeLists.txt
turned out to be non-functional in the official ROS build farm as
explained in https://github.com/IntelRealSense/librealsense/pull/404

Since this recipe is specific to meta-ros set the build type
explicitly to ROS to guaranty the catkin-related configs for
librealsense get created and installed properly.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-09 12:25:05 +02:00
Lukas Bulwahn 75a14ef32d Merge pull request #434 from guludo/mavros
Add recipes for mavros
2016-12-15 14:32:48 +01:00
JochiPochi f7148cf4cc mavros: add package recipe mavros_extras
Use the latest indigo release (0.17.4).
2016-12-15 11:55:47 +00:00
Gustavo Jose de Sousa 359cb2e1de mavros: add packages recipes
Use the latest indigo release (0.17.4).

Authors: JochiPochi <john.aleman@cyphyworks.com>
         Gustavo Jose de Sousa <gustavo.sousa@intel.com>
2016-12-13 11:32:20 +00:00
Gustavo Jose de Sousa 2846a8f39f ros-mavlink: add recipe
A patch for the config file is also necessary because the include directory
path was being hardcoded in the generated file, which caused problems for cross
compilation. That patch has already been applied on upstream but for a newer
version, so we're backporting it here.

Apparently, the Kinetic release for this package is supposed to work fine with
indigo distribution. That could be tried later, so that we can get rid of the
local patch.

Authors: JochiPochi <john.aleman@cyphyworks.com>
         Gustavo Jose de Sousa <gustavo.sousa@intel.com>
2016-12-13 11:31:39 +00:00
Lukas Bulwahn 6581c77b04 Merge pull request #431 from rojkov/realsense
realsense-camera: support RealSense camera
2016-12-12 22:15:47 +01:00
Dmitry Rozhkov 9b1a38613a realsense-camera: Add support for RealSense camera
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-12-12 11:45:09 +02:00