mcaselector icon indicating copy to clipboard operation
mcaselector copied to clipboard

Publishing a Flatpak package for Linux

Open strugee opened this issue 3 years ago • 4 comments

Hi,

Just wanted to let you know that I'm almost finished packaging MCA Selector for Flatpak, a new way to distribute applications on Linux. I intend to submit the app to Flathub, a Flatpak repository that's enabled out-of-the-box on many Flatpak installations. If you like I can ask for you to get write privileges to the repository in the Flathub GitHub organization that contains MCA Selector packaging files. Also, if you are interested in making this packaging more official, Flatpak's sandbox works much better if the application is aware of it. Would you be interested in taking patches to improve this? (I only just got the app booting inside a Flatpak so I haven't actually investigated what problems, if any, there might be.)

Cheers, and thanks for maintaining this project :-)

strugee avatar Jul 07 '20 01:07 strugee

See also #100

strugee avatar Jul 07 '20 23:07 strugee

That looks very nice. Excuse me if i'm a little illiterate regarding Linux, I'm just not working too much with it. How does deployment work with this, when I publish a new release on GitHub? Will it automatically update the package on Flathub?

Querz avatar Jul 08 '20 07:07 Querz

Excuse me if i'm a little illiterate regarding Linux, I'm just not working too much with it.

It's no problem at all! If you have any questions I'd be happy to clarify as best I can.

How does deployment work with this, when I publish a new release on GitHub? Will it automatically update the package on Flathub?

No, someone (e.g. you or me) would have to bump the version number in the Flatpak packaging. As soon as that's done, though, Flathub's build infrastructure will pick it up automatically and then build and publish the new release to Flathub. At least IIUC - I haven't actually gone though this process before. There's some links to more details on the Flathub wiki if you're curious.

strugee avatar Jul 10 '20 00:07 strugee

Did you ever finish the flatpak? Can't find it published anywhere.

I personally find it a bit of a pain manually running/installing java programs on linux because they often want different java versions. Installing via flatpak would make this much simpler

MattSturgeon avatar Apr 19 '22 22:04 MattSturgeon