Commit Graph

91 Commits

Author SHA1 Message Date
Lukas Bulwahn 8e87b47005 message-filters: build with gcc-8
This addresses two build issues in kobuki-auto-docking [1], and
image-transport [2] due to openembedded-core updating to gcc-8.

[1] http://errors.yoctoproject.org/Errors/Details/178608/
[2] http://errors.yoctoproject.org/Errors/Details/178606/

This commit was based on a earlier commit from Martin Jansa in
his meta-ros fork, but then heavily re-worked.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-06-16 15:08:12 +02:00
Lukas Bulwahn 5a50af9c9c roscpp: state Upstream-Status for patch 2018-05-17 19:36:42 +02:00
Dominique Hunziker 808dcb3a1e some preliminary fixes to make the SDK feature test work with latest changes to boost 2018-05-07 22:37:25 +02:00
Dominique Hunziker c017174e78 fix faulty PR #581
PYTHON_PN is not equal to 'python2' for Python 2 but 'python'.
2018-05-05 21:48:00 +02:00
Martin Jansa c028899a33 roslaunch: refresh patch
* fixes:
WARNING: roslaunch-1.11.21-r1 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-increase-rosmaster-timeout.patch
patching file src/roslaunch/launch.py
Hunk #1 succeeded at 59 with fuzz 2 (offset 4 lines).

Now at patch 0001-increase-rosmaster-timeout.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-10 13:02:56 +00:00
Lukas Bulwahn bbe1c74839 adjust to python3 package restructuring
In commit openembedded/openembedded-core@54ac820b8a, the packaging of
python3 base libraries changed. Amongst others, the packages,
python3-argparse, python3-subprocess and python3-textutils, are merged
into the python3 package.

Hence, this commit adjusts the runtime dependencies in the meta-ros
recipes accordingly.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-02-22 06:29:36 +01:00
Dmitry Rozhkov 000032396c roscpp: add missing header for writev()
resolves #532

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-07-20 09:48:16 +03:00
Dmitry Rozhkov 3e201940f6 enable python3 compatible builds of ROS (resolves #458)
By default meta-ros uses python2. In case you want to get
python3-compatible builds add the following line to your local.conf:

    ROS_USE_PYTHON3 = "yes"

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-04-10 14:37:11 +03:00
Lukas Bulwahn 011b83e4d9 ros-comm: updating to 1.11.21
Due to this update, this commit also drops the rosconsole patch,
which is now included in the released version.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-03-19 21:59:47 +01:00
Lukas Bulwahn 2cd378a1c1 rosconsole: add include in console.h (resolves #433)
Compiling rosconsole failed with:
```
[...]/ros_comm-1.11.20/tools/rosconsole/include/ros/console.h:121:14: error: 'vector' in namespace 'std' does not name a template type
 typedef std::vector<TokenPtr> V_Token;
```

The console.h assumed that vector is included already by one of its
dependencies. This bold assumption has been uncovered by the update
of the boost library to version 1.62.0 [1, 2] in openembedded-core
repository.

Coincidently, this issue was also noticed by ROS users on Gentoo and
Arch Linux, which probably also use the latest boost library and gcc6,
and they opened pull requests on the indigo and kinetic branches [3, 4, 5]
with commits to address the issue. The patch in the kinetic branch has
been merged, the others to the indigo branch have been rejected as the
ros-comm maintainers intend to simply backport the patch from the
kinetic branch for the next release.

This commit applies the patch merged in the kinetic branch in our
recipe for the current indigo release version.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=c31030d87cd1741a4186d711325b8eab9c70b327
[2] http://cgit.openembedded.org/openembedded-core/commit/?id=42b4fa2f923244bc047874752d2e0381ff6f0a25
[3] https://github.com/ros/ros_comm/pull/911
[4] https://github.com/ros/ros_comm/pull/930
[5] https://github.com/ros/ros_comm/pull/939

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-11-28 15:39:16 +01:00
Lukas Bulwahn e292283ca4 ros-comm: updating to 1.11.20 2016-09-02 08:31:58 +02:00
Lukas Bulwahn 1f6424c7d5 ros-comm: updating to 1.11.19 2016-06-14 11:28:47 +02:00
Lukas Bulwahn 453c9d6dd6 ros-comm: updating to 1.11.16 2015-11-11 07:50:46 +01:00
Lukas Bulwahn b17f716f9e ros-comm: updating to 1.11.15 2015-10-26 07:25:49 +01:00
Lukas Bulwahn 4b43b4f69c ros-comm: updating to 1.11.14 2015-10-12 05:24:03 +02:00
Lukas Bulwahn 5199b2c0b6 add ROS_PACKAGE_PATH in environment (resolves #348) 2015-09-23 12:21:22 +02:00
Lukas Bulwahn 07f165464d add ROS_DISTRO in environment (resolves #347) 2015-09-23 12:07:05 +02:00
Lukas Bulwahn 0a2747aedb properly updating to ROS indigo 2015-06-13 16:02:53 +02:00
Lukas Bulwahn 18c30e0720 ros-comm: updating to 1.11.13
This commit:
- removes std-srvs and rosgraph-msgs recipes, as their sources
now are located in the ros_comm_msgs repository.
- adds a recipe for the new roslz4 package, which rosbag-storage
depends on.
- removes the patch that has been merged upstream.
2015-06-13 16:02:52 +02:00
Lukas Bulwahn a1153b8ce8 rosclean: simplifying run-time dependencies
When roslaunch is started, it checks the file size of the local log
directory by calling:

    disk_usage = rosclean.get_disk_usage(d) [1]

The function `get_disk_usage` [2] in rosclean creates a subprocess and
calls `du -sb` on Linux systems (cf. [3]).

However, the `du` command, which busybox usually provides on an
embedded Linux image, does not support the `-b` option, and only the
`du` command from the coreutils [4] supports this option.
This issue was first reported in April 2013 on the meta-ros issue
tracker [5]. Hence, on the first iteration of this issue, the
commit db0c8d5c [6] simply adds the dependency on coreutils to
roslaunch.

However, this has certain disadvantages:
  - coreutils is licensed under GPLv3 and must not be deployed in a
    product, which is massively distributed to customers.
  - coreutils has larger file-system foot print than busybox and makes
    the minimal Linux images considerably larger.

As a fortuitous circumstance, Alexis Ballier [7] had already observed
this disadvantage and provides a patch [8, 9] that makes
`get_disk_usage` use `du -k`, which works with busybox and coreutils.

So, on the second iteration of this issue, this commit here patches
rosclean's `get_disk_usage` function with the aforementioned patch.
This slightly modifies the semantics of this function. However, I
believe this plays only a minor role for the overall intended
functionality to check if the log usage has reached a critical file-size
limit, and it allows us to remove the dependency on coreutils, which is
much more critical.

Andreas Baak reported the disadvantages of the previous solution, which
triggered the re-investigation. The current resolution has been
discussed and worked out in collaboration with Andreas Baak.

[1] 9da29441f3/tools/roslaunch/src/roslaunch/rlutil.py (L63)
[2] c6e91f9af1/tools/rosclean/src/rosclean/__init__.py (L120)
[3] c6e91f9af1/tools/rosclean/src/rosclean/__init__.py (L130)
[4] http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/coreutils/coreutils_8.23.bb?h=master
[5] https://github.com/bmwcarit/meta-ros/issues/60
[6] db0c8d5cd1
[7] https://github.com/aballier
[8] https://github.com/ros/ros/pull/76
[9] bbf1f945c7

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Andreas Baak <andreas.baak@bmw-carit.de>
2015-03-02 13:21:44 +01:00
Lukas Bulwahn d82de65305 ros-comm: updating to 1.10.12 2015-01-21 09:23:17 +01:00
Gauthier Monserand ba3ff94092 roslaunch: Use as documented environment
roscore-default: Removing not supported variable in variable
roscore-default: Adding PATH, LD_LIBRARY_PATH and PYTHONPATH
roscore.service: Using /opt/ros/hydro/bin instead of /usr/bin to launch
roscore

You can now install roslaunch-systemd :

opkg install roslaunch-systemd

and start roscore :

systemctl start roscore
2014-12-02 23:16:43 +01:00
Lukas Bulwahn 1e767b5f3a ros-comm: updating to 1.10.11 2014-09-05 14:30:25 +02:00
Lukas Bulwahn a15125d828 addressing obvious flaw in commit 53796fc4
In commit 53796fc4, bitbake fails at parsing. It slipped through,
as I did not invoke any testing before submitting 53796fc4. This
commit resolves the obvious shortcoming.
2014-08-19 18:29:35 +02:00
Lukas Bulwahn 53796fc4b1 making layout indentation use 4 spaces
The description is not indented after line breaks. All other
information, i.e., the dependencies and SRCURI, are indented with
four spaces after line breaks. Shell scripts are indented with
multiples of four spaces.

In recipes-ros, I located and checked for tabulators and spacing
with these bash commands:

egrep '^ [^ ]+' . --exclude *.patch -R
egrep '^  [^ ]+' . --exclude *.patch -R
egrep '^   [^ ]+' . --exclude *.patch -R
egrep '^    [ ]+[^ ]+' . --exclude *.patch -R

While going through the recipes and manually improving the layout,
I also adjusted the descriptions to use maximal 100 characters
per line.
2014-08-19 09:09:47 +02:00
Lukas Bulwahn 8249cc8dd5 improving formatting after automated style check
After running oe-stylize.py on all recipes in recipes-ros, this
commit improves the formatting of some recipes.

To achieve this, I executed these commands in recipes-ros:
find . -name *.bb | sed 's#\(.*\)#./oe-stylize.py \1 > \1_sanitized#' | sh
find . -name *.bb | sed 's#\(.*\)#diff -Naur \1 \1_sanitized#' | sh > diffs

Then, I manually inspected the diffs file, and improved the
recipes.

For the DESCRIPTION line in the addressed recipes, the line width
of 100 characters was chosen, as the LIC_FILES_CHKSUM line and
SRC_URI line usually are also around about 100 characters long.
Hence, choosing a shorter line width, e.g. 80 characters, would
have only created more line breaks, but not reduced the need to
use a file viewer with which 100 characters line width can be
displayed. For the github file and diff viewer and most editors
on reasonably-sized screens, 100 character line width is no
problem.
2014-08-18 06:51:31 +02:00
Lukas Bulwahn 7e829dfe24 ros-comm: updating to 1.10.10 2014-06-23 09:27:13 +02:00
Esteve Fernandez 74fbede1d7 roslaunch: removed ros-set-cmake-prefix dependency 2014-05-27 12:42:56 +02:00
Esteve Fernandez 69807fe6aa roslaunch: add systemd unit files (resolves #224) 2014-05-27 11:57:39 +02:00
Lukas Bulwahn 4eb688c1d5 ros-comm: correcting patch after manual change (resolves #254)
In the commit 21f7799ee9, I manually
modified the patch, but it slipped my eyes to adjust the line
information in the patch accordingly.
This commit corrects the line information, so that the patch can
now be applied correctly.
2014-04-25 06:58:50 +02:00
Lukas Bulwahn 21f7799ee9 adding Upstream-Status remarks to patches in recipes-ros
This commit further adds a simple fix to the patch for the ros-comm
repository.
2014-04-24 07:03:36 +02:00
Lukas Bulwahn 0738b901d6 ros-comm: replacing patch by patch provided upstream 2014-03-20 08:01:52 +01:00
Lukas Bulwahn abcefe8189 ros-comm: updating to 1.10.2
Besides updating ros-comm, this commit removes the second hash
values, that probably slipped-in during the last update.
2014-03-17 12:59:57 +01:00
Kristof Robot 3f00f2ef63 rosservice: adding rosmsg run dependency
Resolves:
  File "/usr/lib/python2.7/site-packages/rosservice/__init__.py", line 61, in <module>
    import rosmsg
ImportError: No module named rosmsg
2014-03-08 17:58:25 +01:00
Lukas Bulwahn 389cb16845 ros-comm: updating to 1.10.1 2014-03-04 17:28:38 +01:00
Lukas Bulwahn 679133b22a ros-comm: updating to 1.9.54 2014-03-04 17:28:37 +01:00
Lukas Bulwahn 18206334d2 ros-comm: updating to 1.9.53
The ros-comm 1.9.53 now also contains the new package rosbag-storage.
2014-03-04 17:28:36 +01:00
Esteve Fernandez 67a46daab9 roslaunch: increase the start and stop timeouts for the ROS master (resolves #215) 2014-01-20 09:44:05 +01:00
Lukas Bulwahn 552e154353 ros-comm: updating to 1.9.50
The ros-comm recipes are updated to 1.9.50 to be in line with
ef3a7449d7/hydro/release.yaml.
2013-10-11 10:42:21 +02:00
Lukas Bulwahn 6a53225497 roscpp: removing unneeded patch (resolves #125)
After the native packages are removed, the roscpp patch, which was
originally required for dynamic-reconfigure-native, is not needed
anymore.
2013-09-24 07:10:11 +02:00
Lukas Bulwahn 9879db3a97 removing optional rostest dependencies
When CATKIN_ENABLE_TESTING is deactivated, the ROS packages do not
require the rostest package.
This commit includes a number of patches to be submitted in the
upstream repositories and removes the rostest dependencies from
the recipes.
2013-09-23 09:56:18 +02:00
Lukas Bulwahn aa2ce283b6 removing native packages and dependencies
The native packages are not required anymore, because the needed
python scripts during compile time are also provided by the
cross-compiled packages and the python scripts are platform
independent. Only the catkin package is provided as native package.
2013-09-23 09:56:18 +02:00
Lukas Bulwahn 99c6360cad ros-comm: updating to 1.9.49 2013-09-22 18:40:28 +02:00
Lukas Bulwahn 4fd8b65886 ros-comm: updating to 1.9.48
The ros-comm recipes are updated to 1.9.48 to be in line with
4551e7c32d/hydro/release.yaml.
The previously applied patches have been included in 1.9.48 and are
removed from the recipe and this repository.
2013-08-26 10:57:16 +02:00
Stefan Herbrechtsmeier 68b1e013a5 ros-comm: Backport relocation changes
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:40:21 +02:00
Stefan Herbrechtsmeier 3e6b386d2f Unify ros recipes
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:40:20 +02:00
Lukas Bulwahn e0dd77bbd8 roslaunch: adding runtime dependency (resolves #132) 2013-08-02 16:41:09 +02:00
Lukas Bulwahn 5eec31134d rosgraph: adding runtime dependency (resolves #131) 2013-08-02 09:46:50 +02:00
Lukas Bulwahn e230277bcb roscpp: removing roscpp's own routine to find pthread (resolves #125)
When updating from 1.9.41 to 1.9.47, the commit
c5dfa6305e
adds a routine in the CMakeLists.txt to find the pthread library.
This routine is not suitable for the use with our tool chain, i.e.,
it reports an error (cf. #125) when using roscpp-native.

This commit adds a patch that reverts that change in roscpp's
CMakeLists.txt.
2013-07-24 10:21:28 +02:00
Lukas Bulwahn 5c4efa5bb2 ros-comm: updated to hydro release version
As the license text of the xmlrpcpp changed, the license checksum
is adjusted.
2013-07-22 15:53:38 +02:00