Commit Graph

52 Commits

Author SHA1 Message Date
Lukas Bulwahn 4a941b3ba4 catkin: improve formatting
During some code inspections, I discovered that two consecutive
empty lines slipped in with the commit 185882428c.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-05-05 07:11:56 +02:00
Lukas Bulwahn beb467747d catkin: including root path in library search (addresses #291)
On the meta-ros issue tracker, the issue #291 reports a
linking problem with rosconsole if ROS Hydro is also installed
on the host system. Kristof investigated in that, and published
a patch [1] on September 27th, 2014, which resolved the rosconsole
issue, but showed issues with urdfdom.

After reading through the discussion of issue #291, I started
initial testing with Kristof's patch. After testing Kristof's
patch, I also investigated the urdfdom problem, and came up with
the solution to revert the part of his patch, which moved
`-DCMAKE_INSTALL_PREFIX:PATH='${ros_prefix}'` to ros.bbclass.

Initially, I believed that the issue that was addressed with
the second part of Kristof's patch, has been resolved with
commit 7e2eb25e51. However,
the issue remains, but is only reproducible with the Ubuntu
saucy distribution.

On my first local setup, I could reproduce the issue #291 with
rosconsole on commit 47eab4263c.
After applying this commit, the issue with rosconsole did not
occur anymore on a clean fresh build.
`bitbake packagegroup-ros-world` did not show any other further
issues.

On my second local setup, on a newly-installed Ubuntu 12.04
(precise) system, I checked that the proposed commit resolves
some linking problems to boost, with some latest
OpenEmbedded-Core repository and the poky-dizzy distribution.
A detailed report of the investigation of this second local
setup is at my Github Gist [2].

In the first review of the pull request #318, Kristof noticed
that on an Ubuntu 13.10 (saucy), an issue with message-filters
still occurs. I could not reproduce this and other reported
errors on the Ubuntu 12.04 system, so I believe certain errors
only appear on certain Ubuntu distributions, which makes them
difficult to pinpoint. Therefore, we decided to defer the
resolution of this problem with Ubuntu 13.10.

To adjust to the concurrent work in pull request #319, during
the rebasing, the patch has been moved from the catkin directory
to the files directory.

Kristof remains the author of the applied patch, as I have not
modified the patch. I have put myself as this author's commit,
as I take the responsibility of the modifications compared to
Kristof's original work and I have tested this commit in my
test setting.

[1] 9ff76ffb7a
[2] https://gist.github.com/bulwahn/a8d5b7c27550b399f866

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>

catkin: move to files directory (fixup)
2015-03-30 09:19:42 +02:00
Andreas Baak 185882428c catkin: split up catkin in order to reduce runtime dependencies
The catkin package has got a runtime dependency to cmake, make,
gcc and other build utilities. These dependencies, however, are
only needed if it is desired to build with catkin on the target
board. If we do not want to build on the target board, i.e., if
we just want to use ros tools like roslaunch, only a small part
of catkin (i.e., the corresponding python packages) is required
to be deployed on the target board.
Therefore, we introduce a new package called catkin-runtime.
It installs only the python packages that are required for
the ros tools to run. The roslib package now depends on
catkin-runtime (previously: catkin).

I also tried an alternative approach which just modifies catkin.bb:
- add a catkin-runtime package
- move PYTHON_SITEPACKAGES_DIR from FILES_catkin to FILES_CATKIN_RUNTIME
- make catkin_runtime RDEPEND on the python stuff
- make catkin RDEPEND on the cmake, binutils, ..., + catkin-runtime
With this setup, for some reason, bitbake thinks that
catkin-runtime still RDEPENDS on binutils. Therefore, I split up
the catkin recipe into two different recipes. Here, the
RDEPENDS are managed correctly.

If we want to deploy catkin as a build tool on the board, we can
simply add a runtime dependency to catkin. However, this should
not be the default setup.
Special thanks go to Tobias Henkel (tobias.henkel@bmw-carit.de)
who deserves most of the credits for this patch.

Signed-off-by: Andreas Baak <andreas.baak@bmw-carit.de>
2015-03-02 13:22:06 +01:00
Lukas Bulwahn b84a2817b2 catkin: updating to 0.5.90 2015-01-21 09:23:17 +01:00
Timo Mueller 7836f37b17 catkin: Use ros_prefixed paths consistently
ROS and catkin packages install their assets to paths prefixed by
ros_prefix. As the recipe was trying to collect the assets for the dev
package in the wrong locations, the dev package was empty.

To address this we use the ros_prefix consistently across the recipe.
2015-01-09 13:11:28 +01:00
Lukas Bulwahn d6c9c19d14 catkin: updating to 0.5.89 2014-09-05 14:29:46 +02:00
Lukas Bulwahn 0c569027c4 catkin: updating to 0.5.88 2014-06-23 09:26:49 +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 b36feeaadf catkin: updating to 0.5.86 2014-03-17 12:59:57 +01:00
Kristof Robot 66e2ad6620 catkin: adding pkgutil run dependency
Resolves import error in __init__.py files derived from catkin/cmake/templates/__init__.py.in template,
e.g. in tf:
  File "/usr/lib/python2.7/site-packages/tf/__init__.py", line 7, in <module>
    from pkgutil import extend_path
ImportError: No module named pkgutil
2014-03-08 17:58:25 +01:00
Lukas Bulwahn a28f76e348 catkin: updating to 0.5.85 2014-03-04 17:28:38 +01:00
Lukas Bulwahn b049323554 catkin: updating to 0.5.84 2014-03-04 17:28:38 +01:00
Lukas Bulwahn 317af7291f catkin: updating to 0.5.81 2014-03-04 17:28:37 +01:00
Lukas Bulwahn 733790b970 catkin: updating to 0.5.79 2014-03-03 08:12:12 +01:00
Lukas Bulwahn becce838d2 catkin: updating to 0.5.77
The catkin recipe is updated to 0.5.77 to be in line with
ef3a7449d7/hydro/release.yaml.
2013-10-11 10:42:21 +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 69ae31dfed catkin: updating to 0.5.74 2013-09-22 18:40:28 +02:00
Lukas Bulwahn 8f4d4ad2a6 catkin: updating to 0.5.73
The catkin recipe was updated to 0.5.73 to be in line with
4551e7c32d/hydro/release.yaml.
The previously applied patch has been included in 0.5.73 and is
removed from the recipe and this repository.
2013-08-26 10:57:16 +02:00
Stefan Herbrechtsmeier 1e7fafdcc1 catkin: Backport relocation changes
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:40:20 +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 9d48c558cd catkin class includes BBCLASSEXTENDS 2013-08-05 08:12:20 +02:00
Lukas Bulwahn 0e2d936412 catkin: correcting the downloadfilename that was missed before 2013-08-01 11:26:55 +02:00
Lukas Bulwahn 73b5485245 catkin: change from developing git version to stable groovy release version 2013-07-22 15:53:38 +02:00
Lukas Bulwahn c94e6cb99e catkin: make RDEPENDS more precise (resolves #119) 2013-07-22 15:47:53 +02:00
Lukas Bulwahn 1fa437d8a4 catkin: improving dependencies (resolves #113) 2013-07-15 07:18:33 +02:00
Lukas Bulwahn a3f3d7dcd2 catkin: adjustment for native recipe (cf. discussion #101)
The native catkin recipe has no runtime dependency on
the native version of packagegroup-core-buildessential.
2013-07-01 10:45:01 +02:00
Lukas Bulwahn da4e9d5fb5 catkin: adding python-misc as runtime dependency
The catkin scripts require the ast python module, which is shipped
with python-misc.
2013-06-28 10:47:44 +02:00
Lukas Bulwahn 8b8ad00fe4 catkin: adding runtime dependencies on needed build tools
catkin is a build tool based on cmake and requires the common
build tools to work properly.
2013-06-28 10:47:44 +02:00
Lukas Bulwahn 86944220a5 catkin: adding runtime dependencies on python modules
The catkin_make command requires a number of python modules.
2013-06-28 10:47:44 +02:00
Lukas Bulwahn 831cf25854 catkin: improving runtime dependency 2013-04-10 07:16:09 +02:00
Lukas Bulwahn 1f1280b130 catkin: adding runtime dependency 2013-04-04 13:05:16 +02:00
Stefan Herbrechtsmeier 2c94b2a015 catkin: Update to upstream head
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 11:36:55 +01:00
Stefan Herbrechtsmeier fc3c29f5d8 catkin: Add patch to don't require .catkin file
Catkin require a .catkin file in all CMAKE_PREFIX_PATH to add them
to the CATKIN_WORKSPACES. Remove this requirement as it couldn't
be satisfy when catkin packages are installed into the common usr
prefix. Without this adaption catkin couldn't find all files.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 10:06:46 +01:00
Stefan Herbrechtsmeier 974fc95bb6 catkin: use upstream branch reference_extra_files_relatively
The local version was replaced by a solution from a catkin
maintainer.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 10:06:46 +01:00
Stefan Herbrechtsmeier fb2606961b catkin: Update version to groovy-devel
The catkin framework need some modification to support cross compiling
packages via yocto. When we want to upstream patches we need to provide
patches against the current groovy-devel branch. Use this branch as base
for our work to simplify the tests and to unify the developing process
of catkin.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-28 13:07:42 +01:00
Stefan Herbrechtsmeier c0edb37b21 catkin: simplify and use catkin class
* Use configuration options instead of patches
* Use relative paths in CMake installation files
* Use catkin class

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-15 15:53:05 +01:00
Lukas Bulwahn 7a78f7622c removing comments about issues as issues are now tracked with an issue tracker (resolving issue #2) 2013-02-01 14:14:25 +01:00
Lukas Bulwahn 5f23ffbcdf using downloadfilename to avoid name clashes of the source downloads (resolving issue #6) 2013-02-01 14:11:45 +01:00
Lukas Bulwahn cc48978492 adding license information to the existing ros recipes (resolving issue #5) 2013-02-01 13:42:03 +01:00
Lukas Bulwahn 3f2a34361e patching catkin to remove assertion for rt-library (this must revisited at some later point again when we have a better understanding of the issue.) 2013-01-31 08:26:37 +01:00
Lukas Bulwahn 269d19e0d9 removing alternative recipe for catkin-native because using catkin and BBCLASSEXTEND+=native does the job for now 2013-01-31 07:58:03 +01:00
Lukas Bulwahn cfd44882c1 adding comments about the current problems 2013-01-31 07:53:40 +01:00
Lukas Bulwahn ee48f31ee6 adding python dependency to catkin, which was overlooked before once more 2013-01-30 15:33:36 +01:00
Lukas Bulwahn 2fc51fcf80 using BBCLASSEXTEND="native" instead of an own native recipe for catkin 2013-01-30 15:11:56 +01:00
Lukas Bulwahn 35b27ccbf8 maybe it is also good to add the files in standard package to the development package in catkin (commented out because it is not clear yet if it does help eventually) 2013-01-30 14:29:54 +01:00
Lukas Bulwahn 9262d74262 improving catkin-native, but it remains unclear what the difference between BBCLASSEXTEND += native and inherit native is and which one we should use. 2013-01-30 13:31:25 +01:00
Lukas Bulwahn e6ed9f2fab adding dependencies that have been overseen when creating the image, but that are necessary if one builds catkin stand-alone 2013-01-30 06:57:23 +01:00
Lukas Bulwahn 3d8fdd04dd adjusting the README; a first try for cross-compiling the cpp-common things; extending the install-fuerte script 2013-01-23 15:11:15 +01:00
Lukas Bulwahn e7a336b151 we patch catkin as catkin assumes that every linux is an ubuntu system but the openembedded linux system is not 2013-01-11 09:43:56 +01:00
Lukas Bulwahn 69c02888bf catkin recipe missed to add the python modules to the packages (NB: QA still mentions so files not shipped) 2013-01-11 08:59:34 +01:00