unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.07k stars 735 forks source link

[Linux] Flatpak export #6827

Open darkdragon-001 opened 3 years ago

darkdragon-001 commented 3 years ago

What would you like to be added:

Add Flatpak export in addition to Snap export.

Why is this needed:

With many Linux distributions and users preferring Flatpak over Snap (Fedora, Red Hat Enterprise Linux (RHEL), Linux Mint, elementary OS, ...), it would be great to see Flatpak export available for Uno platform. Wouldn't it be nice to find the Uno calculator on Flathub along all the other useful apps?

For which Platform:

Anything else we need to know?

No.

jeromelaban commented 3 years ago

Thanks for the suggestion! Supporting flatpak is a mix of support for .NET in general, and support for Skia/Gtk more specifically.

It's not documented yet, but here's the start of the support for appimage for the Uno Calculator, and support for flatpak could be derived from it.

darkdragon-001 commented 3 years ago

.NET is well supported in Flatpak. I am maintaining the Pinta package for example. While the Uno Calculator is a nice example, it would be awesome if the Flatpak (along a snap or AppImage) manifest could be automatically generated from a Uno project.

jeromelaban commented 3 years ago

Indeed it would. The appimage sample I pointed to is still not complete, I tried making https://github.com/AppImage/appimage.github.io/pull/2398 to get it listed, but some dependencies are missing, and I did not dive much more into it. I'm guessing the issues would be the same.

It'd be interesting to have a simple flatpak configuration file for a sample app, then generalize from there.

darkdragon-001 commented 3 years ago

The docs are pretty good to start with (e.g. following the sample app tutorial).

jeromelaban commented 3 years ago

Thanks for the pointers. If someone's interested in taking a look at this, it'll be useful.