Cherrytree: Releasing as Flatpak

Created on 24 Feb 2018  路  8Comments  路  Source: giuspen/cherrytree

I'm hoping the developer would be so kind as to publish on Flathub.
It's very easy to do using Flathub's CI, integrated with GitHub:
https://github.com/flathub/flathub/wiki/App-Submission

enhancement install\running\future

Most helpful comment

All 8 comments

Problem is not kindness, problem is time these days, if it won't take too long I'll look at that

I don't know if it'll help, but here's the run down they provide:
https://docs.flatpak.org/en/latest/first-build.html

Then submitting to flathub.org:
https://github.com/flathub/flathub/wiki/App-Submission#how-to-submit-an-app

I have packaged CherryTree as a Flatpak, which can be found on GitLab. You could use it as a starting point. For anyone finding this issue by searching, I don't provide any end-user support for the Flatpak build manifest or the supplied bundles, as I have created it for my personal use.

There are however a few things that would probably have to be looked into or modified within the manifest to create a great CherryTree experience suitable for Flathub:

  • proper desktop theme integration (I don't know if it's possible with Gtk+2 and I'm not interested in figuring that out)
  • --filesystem=host isn't needed as far as I can see, but one would have to make it work with the file dialog portal for the Flatpak sandbox
  • there are files that are included in the Flatpak that could possibly be removed (e.g. p7zip's binaries, but I don't know enough about CherryTree's internals), so the final Flatpak file size could be optimized even further
  • proper QA will have to be done to find what works or doesn't work (i.e. less used features that I may not be using)

Other than those required tweaks for a Flathub release, the Flatpak itself works great.

I'll see if I can get it on Flathub, thanks @rszibele

Cherrytree is no longer packaged for Fedora 31. :( This has to do with them deprecating various Python 2 packages. So, I think getting on Flathub is now more urgent!

To be clear, the Flatpak from @rszibele does work on Fedora 31! But it would be great if we had an official release channel on Flathub.

For fedora 31 issue see also https://github.com/giuspen/cherrytree/issues/581 - I do need to focus on the porting to gtkmm3 that indeed is super urgent, first release should be ready in a couple of months

interested in flatpak version too, since arch linux (and its derivatives) has purged cherrytree from repos due to stale dependencies (and aur version has python2 dependencies that conflict with python3 packages. So Im basically stuck with cherrytree 0.38.8)

Was this page helpful?
0 / 5 - 0 ratings