Commit Graph

25 Commits

Author SHA1 Message Date
Timo Mueller 7e2eb25e51 classes: Generalize construction of ros_prefix
In special situations, the prefix used by yocto is prefixed by an
additional staging dir and thus not always starting at /. The current
class already covered the special case for building native packages, but
was erroneous when trying to build nativesdk packages.

Instead of dealing with these special cases ourselves, we can prefix the
ros_prefix with yocto's base_prefix. This prefix will contain any
additional dirs yocto decides to use and will therefore always result in
valid directory variables automatically.
2015-01-09 13:11:28 +01:00
Peter S. Housel e9ec1fc089 classes: locate packages in /opt/ros/${ROSDISTRO}
Following standard convention, place ROS/Catkin packages under the
prefix /opt/ros/${ROSDISTRO} (exported as ${ros_prefix}) rather than in
the usual ${prefix}.
2014-08-14 12:29:02 -07:00
Lukas Bulwahn df2f56cfa4 ros.bbclass: separating setup for faulty solibs from ros setup 2014-06-02 22:56:58 +02:00
Lukas Bulwahn c587165592 log4cxx: keeping in-source build (resolves #252)
This commit provides the autotools-brokensep class and uses it for
the log4cxx recipe.
The autotools-brokensep indicates that the log4cxx currently cannot
handle out-of-source builds, and hence the in-source build must be
kept until this is resolved.
The autotools-brokensep class is a copy of the autotools-brokensep
class provided in the openembedded-core commit 006b8a78 [1].
To make this commit backwards compatible to even earlier versions
of openembedded-core, we provide this class in meta-ros ourselves.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=006b8a7808a58713af16c326dc37d07765334b12
2014-05-15 08:59:31 +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
Stefan Herbrechtsmeier 3e6b386d2f Unify ros recipes
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:40:20 +02:00
Stefan Herbrechtsmeier 20be749d26 ros.bbclass: Add common ros/core directory (resolves #85)
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:25:35 +02:00
Stefan Herbrechtsmeier ff4eff0985 ros.bbclass: Move common ros code into its own class
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-26 07:25:35 +02:00
Lukas Bulwahn 3793b92eb7 catkin.class: generally configure without tests 2013-07-04 15:14:17 +02:00
Koen Kooi 741d2f3cc7 catkin bbclass: package commonlist files in ${PN}-commonlisp
This should fix https://github.com/bmwcarit/meta-ros/issues/77

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2013-05-29 13:49:14 +02:00
Lukas Bulwahn 0d07506bf4 catkin.bbclass: make ROS_BP composed from ROS_BPN and version
The new definition was the original intention, and the originally
wrong definition happened to slip in.
Initial commit and discussion about the intention is in commit
c6837ecbf8.
2013-05-24 09:35:40 +02:00
Lukas Bulwahn 6a5e2c6a3a catkin.class: adding package.xml to the shipped packages for rosversion
The rosversion command requires that the package.xml are available at
run time. The rosversion command is used when starting roscore.
2013-04-11 08:32:21 +02:00
Lukas Bulwahn c6a89dd7af catkin.bbclass: adding .debug files to the dbg package
In the topic-tools recipe, a QA error was raised as the .debug files were put
into the main package. By adding this line in the catkin class, the files are
now placed in the dbg package.
2013-04-04 13:05:15 +02:00
Stefan Herbrechtsmeier 9606c20935 catkin.bbclass: Stage /usr/etc sysroot direcotry
The CMake generate_messages function from the genmsg package
detects the installed message generators via files in the
/usr/etc/ros/genmsg directory. Stage the /usr/etc directory
manually as it is not a common path.

Fixed #50

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-04-04 11:10:37 +02:00
Stefan Herbrechtsmeier 36f0eb3c63 catkin.bbclass: Add complete project datadir to PN package
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 13:23:34 +01:00
Stefan Herbrechtsmeier 5ab84a4cd9 catkin.bbclass: Add common ros nodes path to package files
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 11:36:55 +01:00
Stefan Herbrechtsmeier 0fb09bfd91 catkin.bbclass: add native support to catkin packages
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-03-14 10:06:47 +01:00
Stefan Herbrechtsmeier eee9c65750 catkin.bbclass: Add additonal file entries
Add additonal file entries with standard ros paths to fix the following warnings:
WARNING: QA Issue: std-msgs: Files/directories were installed but not shipped
  /usr/share/std_msgs/msg
WARNING: QA Issue: rosconsole: Files/directories were installed but not shipped
  /usr/share/ros/config/rosconsole.config

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-28 13:17:50 +01:00
Stefan Herbrechtsmeier 1238d14f5a catkin.bbclass: Use out of tree build
Build catkin packages out of tree as this is the default of ros and
makes it simple to identify build paths.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-28 13:08:21 +01:00
Stefan Herbrechtsmeier a72dde4290 catkin.bbclass: Remove duplicate file entries
Remove all ${BPN} file entries as catkin packages always use
underlines instead of hyphens.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-28 13:08:09 +01:00
Stefan Herbrechtsmeier c6837ecbf8 catkin.bbclass: add catkin configuration class
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-15 15:49:59 +01:00
Stefan Herbrechtsmeier ee91c908a5 distutils.bbclass: keep upstream version
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-02-15 15:47:45 +01:00
Lukas Bulwahn caf14278ab removing unneeded easyinstall and duplicate setuptools 2013-01-07 14:35:38 +01:00
Lukas Bulwahn 910225466b really adding the setuptools class this time 2012-12-21 10:34:30 +01:00
Lukas Bulwahn a02d2aa527 moved all files from meta to root directory 2012-12-20 14:23:13 +01:00