Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
888 stars 159 forks source link

Flatpak build support #989

Open orowith2os opened 1 year ago

orowith2os commented 1 year ago

Wine-tkg currently builds using the system (Arch, Fedora, etc) packages, however it might be beneficial to build it inside of Flatpak instead; this gives it a stable ABI to target. It can also run on the native system after building, but it would be somewhat similar to disabling the Steam Linux Runtime with Proton.

The layout would be like so:

Fox2Code commented 1 year ago

There is some problems with this approach, one of them is due to the sandboxed nature of flatpacks, so system integration is very limited and impossible in some cases. (binfmt config for example)

Also you can use Lutris instead if you want to run wine-tkg builds on a stable runtime.

However I can see the interest of having wine-tkg as a flatpack library for developers who want to port their games to Linux via flatpack.

orowith2os commented 1 year ago

There is some problems with this approach, one of them is due to the sandboxed nature of flatpacks,

You misunderstand me. I mean you build the binaries inside of Flatpak and use them outside of it. Even this setup has its benefits instead of building on the host, like a known ABI you can target and bug test with.

I also don't have much confidence in your thoughts here from the (probably) blatant misspelling of flatpak.

Fox2Code commented 1 year ago

Yeah I misspelled flatpak cause I don't use them that much, but what you just said was mean!

🦊

I just wanted to help and provide constructive criticism to your idea.

Like you said flatpak is a stable ABI, I think making wine-tkg able to be used as a library on flatpak would be a good thing.

But what you said was not nice to me.