GLFW for Minecraft using Wayland
This package allows Minecraft to run on Wayland by patching GLFW to not crash when calling unimplemented methods used by Minecraft.
How to use
Arch Linux
- Install the
glfw-git-minecraft
package from the AUR. - Add
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so
to the JVM arguments in the Minecraft launcher.
Other distros
- Clone the GLFW repository.
- Apply the patches from this repository:
git apply --directory=glfw/ --ignore-space-change --ignore-whitespace --reject --verbose -- *.patch
- Build and install GLFW as usual.
- Add
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so
to the JVM arguments in the Minecraft launcher.
Acknowledgements
- glfw-minecraft-wayland by Admicos for the original patch.
- glfw-git for the original Arch Linux package.