Closed hammerandtongs closed 4 years ago
Have you tested it with an editor that only supports communication via TCP sockets? Note that the PR in question was merged after 3.2.1, so you need to use 3.2.2-beta1 or build the 3.2
branch from source.
You can test this by cloning this repository, changing the SHA-256 checksum and tarball URL on these lines to the following:
sha256: fae1b17ca480082c0c1f96ece4297502cb244e3fe62345392264e45f352a14dd
url: https://downloads.tuxfamily.org/godotengine/3.2.2/beta1/godot-3.2.2-beta1.tar.xz
Then build the Flatpak with flatpak-builder
:
flatpak-builder --force-clean --user --install builddir org.godotengine.Godot.yaml
Very happy to test!
On ubuntu 19.10 eoan -
Pulled this repository
Edited org.godotengine.Godot.yaml as suggested
sudo apt install flatpak-builder
git submodule init;git submodule update
flatpak install org.freedesktop.Sdk//19.08
sudo apt install scons
flatpak-builder --force-clean --user --install builddir org.godotengine.Godot.yaml
This fails unfortunately -
Committing stage build-glu to cache
Building module scons in /home/adam/tmp/org.godotengine.Godot/.flatpak-builder/build/scons-1
Running: python3 setup.py install --prefix=/app python3: can't open file 'setup.py': [Errno 2] No such file or directory Error: module scons: Child process exited with code 2
Was not able to get that laptop building godot via flatpak-builder despite godot being able to build normally.
Moved to a different host and was able to build flatpak AND successfully test the lsp.
It mostly? seems to work for completion and doc on hover, not sure about all the extras but this seems to validate the manifest works well for godot+lsp.
I have some errors in the Messages buffer but I will explore the issue over at the lsp-mode github.
Thanks for the help and the flatpak in general!
https://github.com/godotengine/godot/pull/35864
It seems like the existing "--share=network" in the manifest covers this but just opened this to flag it?