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

  1. Install the glfw-git-minecraft package from the AUR.
  2. Add -Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so to the JVM arguments in the Minecraft launcher.

Other distros

  1. Clone the GLFW repository.
  2. Apply the patches from this repository:
    git apply --directory=glfw/ --ignore-space-change --ignore-whitespace --reject --verbose -- *.patch
  3. Build and install GLFW as usual.
  4. Add -Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so to the JVM arguments in the Minecraft launcher.

Acknowledgements