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

[Packaging] Provide Ubuntu/Debian Package #89

Open
erikzenker opened this issue May 11, 2020 · 3 comments
Open

[Packaging] Provide Ubuntu/Debian Package #89

erikzenker opened this issue May 11, 2020 · 3 comments
Labels
help wanted Extra attention is needed packaging Packaging related issues

Comments

@erikzenker
Copy link
Owner

erikzenker commented May 11, 2020

For example a snap: https://ubuntu.com/tutorials/create-your-first-snap#1-overview

@erikzenker erikzenker added the packaging Packaging related issues label May 11, 2020
@erikzenker erikzenker changed the title Provide Snap Package Provide Ubuntu/Debian Package Jul 17, 2020
@erikzenker
Copy link
Owner Author

Snap was blocked recently by linux mint link

@erikzenker erikzenker changed the title Provide Ubuntu/Debian Package [Packaging] Provide Ubuntu/Debian Package Feb 11, 2021
@friendlyanon
Copy link
Contributor

friendlyanon commented Feb 18, 2021

Now that the library provides proper install rules with #141, packaging with cpack is trivial. This could be revisited now.

I don't know how becoming a Debian package maintainer goes, but they usually get upstreamed for Ubuntu, so if you can provide a .deb you will cover both.
Since this library only provides a development component, your library should be called libhsm-dev in the Debian repository.

Useful links: cpack executable, CPack module (this is conditionally included if the project is the top level project), CPack DEB generator

The list of variables in the above documentations allow you to simply provide the necessary information from the command line to package as a .deb without touching the CMakeLists file(s).

@friendlyanon
Copy link
Contributor

friendlyanon commented Apr 3, 2021

I have an example here that builds .deb files with all lintian checks passing.

@erikzenker erikzenker added the help wanted Extra attention is needed label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed packaging Packaging related issues
Projects
None yet
Development

No branches or pull requests

2 participants