Open scx opened 5 years ago
Hello @scx
Although I haven't maintained mtPaint for over 12 years, I'm quite interested in what you are doing. I've never used Flatpak before (as a user or developer), but I have recently dabbled with AppImage for my mtCellEdit project. This was very successful because the program and its libraries could be easily built for a wide range of users without the need to compile and install anything on their base system.
Once the final mtPaint Flatpak is ready for end users to install, let me know and I will test it and give you some feedback.
A Snap package might also be of interest.
@vanillajonathan
A Snap package might also be of interest.
Unfortunately, Snap is a little bit problematic in this particular case. For example, Documentation doesn't work at all. Actually, we hit a similar issue in other package: gtk_show_uri
(GTK+), gtk_show_uri_on_window
(GTK+), g_app_info_launch_default_for_uri
(GIO) and g_app_info_launch_default_for_uri_async
(GIO) don't work as expected in gnome-3-28
(the latest gnome
extension for snap
). There is a workaround for this problem, so it can be fixed (e.g. use the patched version of glib
with GTK_USE_PORTAL: 1
, or open the link via xdg-open
(don't forget to use the SNAP
environment variable to obtain the correct directory!)). However, we have a much more serious issue: you can't run GIMP, GQView, OpenOffice, or any other external program via Actions, because there is no snap equivalent for flatpak-spawn
. To get around this, we would have to use the classic
confinement. Unfortunately, it requires manual approval, and I'm not sure if mtPaint qualifies for this. What's worse, it won't work on some distributions, e.g. Fedora Silverblue. For now, I am discussing this with other people.
I created the flatpak package for mtPaint. https://github.com/scx/mtpaint-flatpak#mtpaint-flatpak
I am in the process of submitting it to the Flathub repo. https://github.com/flathub/flathub/pull/745
It would be nice if the author decided to participate in the further development of the flatpak package.