Skip to content
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

Add debian package #65

Closed
ll-nick opened this issue Oct 30, 2024 · 3 comments
Closed

Add debian package #65

ll-nick opened this issue Oct 30, 2024 · 3 comments

Comments

@ll-nick
Copy link
Collaborator

ll-nick commented Oct 30, 2024

I was just thinking about how to integrate this package on MRT side. The two options I see are either a catkin wrapper or a debian package. The latter would have the additional benefit of being a relatively universal solution that would also simplify the usage of the library for other users.

I vaguely remember we discussed this a while ago and that creating debian packages isn't exactly the most straightforward process. Still, it would be nice to integrate it into the versioning/ci system that #59 would already add to the library.

Are there any reasons not to do that? Is the overhead very large? Maybe you can add your experiences @orzechow

@orzechow
Copy link
Member

orzechow commented Nov 4, 2024

Well, AFAIR using the official debian packaging stuff (dh_make, debhelper and such) was bit of a pain.
It's designed to solve most setups in a "auto-magical" fashion, but to support any kind of exotic packaging construct as well – that IMHO explains the elaborate Debian New Maintainers' Guide.

As we're dealing with a rather simple C++/CMake library here, I guess the dh_make stuff is overkill.
CPack seems to provide a rather easier approach for CMake projects, though I have no experience with it yet.
See also ChatGPTs CPack suggestions.

CPack can generate .deb packages and .tar.gz/.zip source archives.

@orzechow orzechow changed the title Add debian package? Add debian package Nov 6, 2024
@orzechow
Copy link
Member

orzechow commented Nov 6, 2024

CPAck is awesome!

See a working draft: #70

@ll-nick
Copy link
Collaborator Author

ll-nick commented Nov 15, 2024

Completed with #70 💯

@ll-nick ll-nick closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants