go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.85k stars 283 forks source link

What should happen with Snap packaging #507

Closed provokateurin closed 4 years ago

provokateurin commented 4 years ago

Snap packaging is broken. When trying to run it doesn't work because of some glibc version incompatibilities (#327) Also personally I don't like snap for the walled garden approach, but that shouldn't be an argument in the discussion. We should either mark snap packaging as broken so people don't use it or remove it completely. @GeertJohan what do you think?

marchellodev commented 4 years ago

classic confinement works just fine, so I don't think it should be removed entirely

provokateurin commented 4 years ago

Hm. On what distro and version are you?

marchellodev commented 4 years ago

Its ubuntu 19.10 and the latest hover

marchellodev commented 4 years ago

Trying to build for snap, I didn't encounter #327, the latest problem I wasn't able to solve was creating glfw window: APIUnavailable: EGL: Failed to get EGL display: Success

Here is more on the forum

provokateurin commented 4 years ago

Ok interesting. I'll look into it tomorrow

marchellodev commented 4 years ago

@jld3103

Yep, hover's snap support is excellent. Here is the snap I managed to create using hover: snapcraft.io/sharik-app

It took me a while to compose the snapcraft.yaml, but eventually, I managed to put the Sharik on the Snap store.

my snapcraft.yaml

provokateurin commented 4 years ago

Ok I'll guess my work will be based on that snapcraft file

provokateurin commented 4 years ago

I'll close this issue in favor of #327. My progress and any errors will and should be reported there.