Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak package #31

Open
scx opened this issue Dec 3, 2018 · 3 comments
Open

Flatpak package #31

scx opened this issue Dec 3, 2018 · 3 comments

Comments

@scx
Copy link

scx commented Dec 3, 2018

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.
flathub/flathub#745

It would be nice if the author decided to participate in the further development of the flatpak package.

@matyler
Copy link

matyler commented Dec 3, 2018

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.

@vanillajonathan
Copy link

A Snap package might also be of interest.

@scx
Copy link
Author

scx commented Mar 18, 2020

@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.

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

No branches or pull requests

3 participants