Coder Social home page Coder Social logo

Comments (11)

ethanrublee avatar ethanrublee commented on May 19, 2024

Could also be cool to have a deb for each catkin_project

from catkin.

tfoote avatar tfoote commented on May 19, 2024

To do the dbg it looks like you need a --dbg-package arg to dh in your rules file.
%:
dh $@ --parallel --builddirectory=Build --dbg-package=PACKAGENAME-dbg

And an additional rule in the control file for the PACKAGENAME-dbg

from catkin.

tfoote avatar tfoote commented on May 19, 2024

We may also need dh_strip

dh_strip --dbg-package=PACKAGENAME-dbg

I haven't been able to find another technique.

from catkin.

tfoote avatar tfoote commented on May 19, 2024

semi official way to do it by debian is here: http://wiki.debian.org/DebugPackage of course it doesn't just work.

from catkin.

tfoote avatar tfoote commented on May 19, 2024

Ok, i've gotten it working in my fork. To do this correctly we should see if we can get cmake/catkin to produce the install files. http://manpages.ubuntu.com/manpages/natty/man1/dh_install.1.html

from catkin.

tfoote avatar tfoote commented on May 19, 2024

Ticket for old style info at https://code.ros.org/trac/ros/ticket/3365

from catkin.

tfoote avatar tfoote commented on May 19, 2024

Moved to ros-infrastructure/bloom#32

from catkin.

po1 avatar po1 commented on May 19, 2024

Any progress on this?
There was a discussion some time ago about adding semantic versioning and a more debian-y way to make ROS debians.
To me, this also calls for spliting debians, at least into separate a -dev package and a binary lib package. The former with only the API version, the latter with the ABI version in the SONAME.
Are there any plans to split a ROS package foo into any subset of the following?

  • ros-distro-foo : the nodes, scripts, config & launch files
  • ros-distro-libfoo1 : shared libs, messages and services
  • ros-distro-libfoo-dev : headers
  • ros-distro-python-foo : python libs
  • ros-distro-foo-dbg : debug symbols for the nodes
  • ros-distro-libfoo1-dbg : debug symbols for the shared libs
  • ros-distro-libfoo-doc : documentation for the libs, msgs & srvs
  • ros-distro-foo-doc : documentation for the nodes, scripts, config & launch files

If there is any ongoing work towards this, I'd be willing to contribute.

This is mostly relevant for ros-infrastructure/bloom#32, but will likely affect catkin too.

from catkin.

dirk-thomas avatar dirk-thomas commented on May 19, 2024

As you can see in the previous comment this ticket had been moved to bloom as it is related to packaging only. That ticket is marked with the milestone "untargeted" which implies that nobody is actively working on it and none of the maintainers is planning to spend time on this ticket.

If you would like to contribute to this feature that would be more then welcome but it would likely require a very significant amount of work to get all involved parts implemented.

from catkin.

tfoote avatar tfoote commented on May 19, 2024

Stripping the debug flags is probably on the dooable side. I have a branch I played with this 2 years ago. https://github.com/tfoote/catkin/tree/fix_issue_20 It is way out of date, and as the above ticket mentions its implementation would want to mostly move to bloom.

The other splits are much harder because the differentiation is more semantic and we would need to allow/require the maintainer/developer to list where all targets go.

from catkin.

wjwwood avatar wjwwood commented on May 19, 2024

...we would need to allow/require the maintainer/developer to list where all targets go.

And dependencies.

from catkin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.