Add installation and packaging targets #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitLab Username:
wolljsSummary of changes
Test package
All steps have to be done from inside the docker container for reproducability:
First, build and package:
If the package also wants to be inspected, this can be done with:
The debian package can then be installed with apt like this:
And the lintian report can be produced (and saved) like this:
Optional Tasks
The initial lintian report showed duplicate errors and warnings, as I buildt two times, without deleting the build directory inbetween. Another error was bad version number, as I first had the version number in CPack hardcoded instad of taken from the CMakteLists.txt. The last error that I fixed, was the missing extended description, by adding a longer description (that starts with the short one and explains it then a bit better). After those fixes however I got another error, as my approach for the extended description was just to extend the short one, thus I had duplicate descriptions. After changing the first paragraph of the long description, lintian produced the report in lintian-report-final.txt
AI
I did use AI during this project, especially to understand the error with bad version number and to help with some options in the CPackConfig.cmake. All file contents were however written by myself (or produced by lintian).