-
Notifications
You must be signed in to change notification settings - Fork 145
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 deb package target and workflow #422
base: main
Are you sure you want to change the base?
Conversation
a401556
to
2ed30f7
Compare
I included the CI with commit 2ed30f7, however libad*-iio is not included in the main Ubuntus repo. Edit: |
a45a34d
to
8d836d1
Compare
5698874
to
63432fd
Compare
Summary of the rebase (5 days ago):
|
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.
Looks good. I will give it a try today or tomorrow and get back to this PR. Thanks!
Requires changes to meet new apt repo requirements + wait pkg deps (*-dev) to be stable in the apt. |
Include files to generate debs, targeting Ubuntu 22.04. Uses the ENABLE_PACKAGING cmake flag to generate the packages. Uses dependencies available in the main package manager repositories. The workflow runs in master, this branch and on published release. Can also create rpm, but this is not uploaded by the workflow. Note: Ubuntu libcurl4 flavor is openssl, rpm generated in Ubuntu will mostly not work with Fedora/OpenSUSE. Signed-off-by: Jorge Marques <[email protected]>
Badge will only show status for builds at master branch. Signed-off-by: Jorge Marques <[email protected]>
Fix deprecated notice. Signed-off-by: Jorge Marques <[email protected]>
Generate a deb package, as we already do with libiio.
It is a copy from how libiio generates the deb package, with updated dependencies and a special case for GtkDataBox [1].
It should support Ubuntu version >= 20.04 .
I did not really like libiio's way of generating the debs/rpms, but for cohesion I used the same script.
That being said, I don't think we should ever enable DEB_DETECT_DEPENDENCIES to auto-detect dependencies versions.
The CI is missing, but will probably be very similar to the one in libiio.
[1] In #404 it was suggested to generate debs for the Gtk2 version, but that means to branch from a old commit and create a "legacy" release; instead, I bundled it (140kB) in the deb/rpm (all of its deps are covered by IIO-Oscilloscope dependencies).
Suggestions are welcome.