Add AppImage, Flatpak and .deb packages for Linux - #631
Open
prayasabhinav wants to merge 3 commits into
Open
prayasabhinav wants to merge 3 commits into
prayasabhinav wants to merge 3 commits into
Conversation
Add make install rules, a desktop file named after the app ID, AppStream metadata, Debian packaging, a Flatpak manifest, and a workflow that builds and checks all three packages and attaches them to tagged releases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
MapMap has no Linux package at the moment. The Ubuntu CI job uploads the bare binary, which needs Qt installed. Only someone logged in to GitHub can download it, and it expires after a while.
This PR adds a "Linux packages" workflow. It builds these on every push and attaches them to the GitHub release when a version tag is pushed:
t64suffix).Each job starts MapMap under Xvfb and fails if it exits within ten seconds. The .deb jobs install the package first. The AppImage job also fails if the FFmpeg multimedia plugin didn't get bundled.
Other changes:
make installrules inmapmap.pro(PREFIX, default/usr), which all three packages use.mapmap.desktopis renamed toinfo.mapmap.MapMap.desktop, and itsIcon=now names an installed icon instead of an absolute path.info.mapmap.MapMap.metainfo.xml.debian/packaging andpackaging/flatpak/info.mapmap.MapMap.yml.INSTALL.md.All jobs pass on my fork: https://github.com/prayasabhinav/mapmap/actions/runs/35988210275. On Ubuntu 26.04 I ran the AppImage and the Flatpak myself. I have only checked that the packages start. I haven't mapped or played a video inside them.
Some things are yours to decide:
info.mapmap.MapMapfollows the macOS preferences domain. Change it if you'd rather have another one.debian/changelogsays1.0.0~alpha.1. It needs bumping with each release, the same asmapmap.pro.