On Thu, 17 Sep 2015 18:36:06 +0200
Alexis Ballier <aball...@gentoo.org> wrote:

> Hi all,
> 
> As part of an effort of bringing ros (http://www.ros.org/) to Gentoo,
> I've come up with the following design:
> 
> ros-catkin.eclass that is a template, merging all common code for
> catkinized ros packages.
> 
> ROS_MESSAGES will be a new USE_EXPANDed variable: ROS is message
> based, processes write and listen to some topic, and a topic is typed
> with a message. Messages are defined by simple text files but are then
> pre-processed for easy usage in C++, Python & co.
> 
> Several packages are usually bundled in a single repository, with a
> meta-package pulling all the others. Hence, I came with two new
> categories: dev-ros for single packages, ros-meta for those
> meta-packages.
> 
> Some numbers:
>  /bin/ls ros-meta | wc -l
> 52
>  /bin/ls dev-ros | wc -l
> 350
> 
> 
> I think maybe half of them are in a state that they can be added to
> gentoo-x86.
> 
> 
> ebuild example:
> 
> $ cat roslib-1.12.2.ebuild 
> # Copyright 1999-2014 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: $
> 
> EAPI=5
> 
> ROS_REPO_URI="https://github.com/ros/ros";
> KEYWORDS="~amd64 ~arm"
> PYTHON_COMPAT=( python{2_7,3_3,3_4} )
> ROS_SUBDIR=core/${PN}
> 
> inherit ros-catkin
> 
> DESCRIPTION="Base dependencies and support libraries for ROS"
> LICENSE="BSD"
> SLOT="0"
> IUSE=""
> 
> RDEPEND="
>         dev-python/rospkg[${PYTHON_USEDEP}]
>         dev-libs/boost:=[threads]
>         dev-ros/rospack
> "
> DEPEND="${RDEPEND}
>         test? ( dev-ros/rosmake ros-meta/ros )"
> 
> 
> 
> 
> 
> Eclass inlined at the end.
> 
> Best regards,
> 
> Alexis.


Since there hasn't been comments in a few days, I'm proceeding with the
above plan. (with hasufel's eclass review taken into account of course)

Alexis.

Reply via email to