I'd like to separate binary debian packages I can produce with bloom-generate
and debuild
into variants:
- release (only libraries and executables)
- -dev (headers, symlinks)
- -dbg (debugging symbols)
To give a more specific example - this is a toy workspace with 3 interdependent packages:
https://github.com/aurzenligl/study/tree/master/ros-distro
When using Ubuntu 16.04.4 LTS and ros-kinetic, I can produce debian binary packages with package_workspace.bash
script (installing rosdep rules by install_rosdep_rules.bash
first), but I don't know how to separate -dev and -dbg parts from these packages. I have:
ros-kinetic-arx_0.1.2-0xenial_amd64.deb
ros-kinetic-bar_1.2.4-0xenial_amd64.deb
ros-kinetic-foo_3.4.5-0xenial_amd64.deb
I aim for:
ros-kinetic-arx-dbg_0.1.2-0xenial_amd64.deb
ros-kinetic-arx-dev_0.1.2-0xenial_amd64.deb
ros-kinetic-arx_0.1.2-0xenial_amd64.deb
ros-kinetic-bar-dbg_1.2.4-0xenial_amd64.deb
ros-kinetic-bar-dev_1.2.4-0xenial_amd64.deb
ros-kinetic-bar_1.2.4-0xenial_amd64.deb
ros-kinetic-foo-dbg_3.4.5-0xenial_amd64.deb
ros-kinetic-foo-dev_3.4.5-0xenial_amd64.deb
ros-kinetic-foo_3.4.5-0xenial_amd64.deb
with correct dependencies among each other, so that all kinds of users:
- interested only in running,
- only in compiling/linking and
- only in debugging
would be satisfied. How can I achieve that?
Originally posted by aurzenligl on ROS Answers with karma: 3 on 2018-08-06
Post score: 0
Original comments
Comment by gvdhoorn on 2018-08-06:
Afaik this is not supported by Bloom at the moment. But as .deb
s are just archives, extracting and manual patching is probably possible.