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
Emi 6782bad8a2 ./generate.sh
Signed-off-by: Emi <emi@hexops.com>
2026-11-08 11:28:57 -07:00
.forgejo update .gitignore 2026-03-30 13:49:49 -07:00
GL ./update.sh 2026-03-30 11:31:21 -07:00
X11 ./generate.sh 2026-11-08 11:28:57 -07:00
xcb ./generate.sh 2026-11-08 11:28:57 -07:00
xkbcommon ./generate.sh 2026-11-08 11:28:57 -07:00
.gitignore add zig-pkg/ to .gitignore 2026-04-10 22:03:54 -07:00
generate.sh ./update.sh 2026-11-08 11:25:18 -07: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.