-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolchain-2.9: fix rosdep compatibility of manifest.xml and merge recent changes to package.xml #109
Conversation
…anges to package.xml
That would be better. ruby-dev got re-added because ruby is not ruby-dev in Rock. About merging the 2.9 changes in master: I would prefer that you don't do anything catkin-related if catkin is not present in the CMakeLists.txt, for instance:
|
manifest.xml
Outdated
|
||
<!-- rosdep key `ruby-dev` is not known to ROS. | ||
Depend on `ruby` instead, which includes development files. --> | ||
<!-- <rosdep name="ruby-dev" /> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@doudou Where exactly is key ruby-dev
defined in AutoProj? I could not find it in either lib/autoproj/default.osdeps or package_set/rock.osdeps. Is it directly considered to be an OS package if not found elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in autoproj's default.osdeps
. It is defined there, as autoproj itself needed to install it.
We could install that file conditionally, but the behavior should be consistent within rtt, ocl, utilrb, typelib and rtt_typelib.
The env-hook concept from catkin has been mimicked for Orocos in orocos-toolchain/orocos_toolchain#13, to replace the original env.sh script in the orocos_toolchain meta repository. The new setup.sh script would source package-specific env-hooks scripts found in Are there any alternative ways to populate environment variables ( |
Well ... autoproj for once does not use these env.sh files, and I'd rather not have to explain why |
Key |
I updated the
package.xml
, which - as far as I know - is only used by ROS tools, and merged the recent dependency changes from master. Like this, it can be compiled using ROS and catkin.I am not sure about the changes in
manifest.xml
. Most likely they would break the autoproj bootstrap procedure, right? If yes, the alternative would be to submit a PR to https://github.com/ros/rosdistro/tree/master/rosdep/rosdep.yaml and add the keyruby-dev
there.The differences between toolchain-2.9 and master are actually quite small. Is it desirable to submit individual PRs targeting
master
and only keep the ROS/catkin-specific changes intoolchain-2.x
? Most non-catkin patches have been contributed by @smits.Ideally the patches related to catkin and ROS-builds are not breaking non-ROS builds and
catkin
as a dependency is optional. See also related discussion in #23.