Debian/ParrotOS .deb package for Humble #20
Closed
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.
Description
I added a configuration to create a .deb package that is easily deployable on Debian-based distributions (e.g., ParrotOS). Once the user is interested in installing Humble, and the package is uploaded to the repositories of the desired distribution, simply type
sudo apt install humble
(or similar).I had to modify Humble's source code slightly, due to a path problem, as previously relative paths were used for templates and static files, and after the package build, since these files are placed in
/usr/share/humble
, they were not found, and this was clearly an error that prevented the program from running.However, I solved it by adding a few lines of code to find and read the absolute path of these files, and in this way the program works as before, only now it does not show any errors when installed via
apt
package manager.If this PR is accepted, I will request on behalf of the ParrotOS team to upload the package to our repositories. Also, Humble works on ARM platforms.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Download this repository, install in your Debian distribution the essential tools to build a Debian package (build-essential, devscripts, etc...). It is important to consider the project's python dependencies (and possibly install them, see the
debian/control
file).Then, create an
.orig.tar.xz
file using the appropriate tar command (withczf
switches) from the Humble folder:tar czf humble_0.1.orig.tar.gz humble/
After that, to start the build, just type in a terminal window
debuild -us -uc
and a new .deb file will be created in a few seconds.Checklist: