x11-headers packaged for the Zig build system
  • C 99.3%
  • C++ 0.4%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-13 21:00:46 +02:00
GL ./update.sh 2026-03-30 11:31:21 -07:00
X11 Updated to latest version 2026-08-13 20:56:02 +02:00
xcb ./generate.sh 2026-04-10 15:17:28 -07:00
xkbcommon Updated to latest version 2026-08-13 20:56:02 +02:00
.gitignore add zig-pkg/ to .gitignore 2026-04-10 22:03:54 -07:00
generate.sh Updated to latest version 2026-08-13 20:56:02 +02:00
LICENSE add licenses 2026-03-30 11:31:14 -07:00
LICENSE-APACHE add licenses 2026-03-30 11:31:14 -07:00
LICENSE-MIT add licenses 2026-03-30 11:31:14 -07:00
README.md rename update.sh -> generate.sh, add update.sh for actual updates 2026-03-31 16:19:25 -07:00
update.sh rename update.sh -> generate.sh, add update.sh for actual updates 2026-03-31 16:19:25 -07:00
verify.sh mark verify.sh executable 2026-03-31 21:51:40 -07:00

x11-headers packaged for the Zig build system

This is a Zig package which provides various X11 headers needed to develop and cross-compile e.g. GLFW applications. It includes development headers for:

  • xkbcommon
  • x11
  • xcb
  • xcursor
  • xrandr
  • xfixes
  • xrender
  • xinerama
  • xi
  • xscrnsaver
  • xext
  • xorgproto
  • GLX

Updating

To regenerate the contents of this repository using the upstream version it currently targets, run ./generate.sh.

To update this repository to the latest upstream version, run ./update.sh then ./generate.sh.

Verifying repository contents

For supply chain security reasons (e.g. to confirm we made no patches to the code) we provide a git diff command you can run to verify the contents of this repository:

./verify.sh

If nothing is printed, there is no diff. Deleted files, and changes to README.md, build.zig, .github CI files and .gitignore are ignored.

Issues

Issues are tracked in the main Mach repository.