Skip to content

Feat: Flatpak Build - #952

Draft
leherkom wants to merge 12 commits into
kanriapp:mainfrom
leherkom:feat/flatpak-build
Draft

Feat: Flatpak Build#952
leherkom wants to merge 12 commits into
kanriapp:mainfrom
leherkom:feat/flatpak-build

Conversation

@leherkom

Copy link
Copy Markdown
Contributor

Pull request

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are your git commits signed with a valid GPG key?

Please describe your changes

Adds the required manifests and metadata to build a Flatpak and possibly publish it to Flathub so it can be installed via app stores that refer to Flathub (such as Discover). Includes a guide on building the Flatpak locally.

Additional context

There are still some considerations before publishing to Flathub:

  • Evidently, the manifest refers to my feature branch right now. This is so the app build works in the first place because the added files would otherwise be missing from the repo copy within the build container. Should be changed to point to main (or a release tag that includes all files) when tested and approved.
  • Comments and descriptions in the metadata are just texts that I grabbed off the website. Should likely be reviewed and can be improved upon.
  • Pretty sure that the autostart option is not going to work in a sandboxed Flatpak?
  • The application's title bar is going to respect the environment's GNOME color settings and might show up in light mode even when a dark theme is used in Kanri (and vice versa). I have not yet found a fix for this other than moving from the native title bar to a custom one.

When all is done, submission to Flathub can be done as described here: https://docs.flathub.org/docs/for-app-authors/submission#submission-pr

Fixes #739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ship a Flatpak on Flathub

1 participant