mirror-ghostty/pkg
Sam f8f3b6f694
Fall back to Zig-bundled Darwin headers when an SDK can't be found
Currently, cross to Darwin uses the Darwin headers bundled with Zig.
However, if you're running a build _on_ Darwin, an error is thrown if
the SDK can't be found, even though the bundled headers are still
available.

Now, we continue to search for and prefer the installed SDK, but if it
can't be found, we fall back to the bundled headers rather than failing
the build.
2026-04-29 22:15:20 -07:00
..
afl++ fuzz: fix macOS AFL toolchain and linker setup for macOS 26.4 2026-04-23 09:06:12 -07:00
android-ndk android: build improvements 2026-02-22 16:26:22 -06:00
apple-sdk Fall back to Zig-bundled Darwin headers when an SDK can't be found 2026-04-29 22:15:20 -07:00
breakpad zig-15: build binary builds 2025-10-03 07:10:41 -07:00
dcimgui build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
fontconfig Fix LangSet.hasLang() to compare against FcLangEqual instead of FcTrue 2025-11-24 20:34:07 +00:00
freetype build: fix freetype C enum signedness for MSVC 2026-03-24 17:12:35 +01:00
glslang build: fix glslang compilation on Windows with MSVC 2026-03-24 08:05:40 +01:00
gtk4-layer-shell gtk: address PR review feedback for quick-terminal-screen 2026-03-02 23:33:19 -06:00
harfbuzz build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
highway libghostty: enable cross-compiling macOS from Linux/Windows 2026-04-24 13:04:38 -07:00
libintl zig-15: build binary builds 2025-10-03 07:10:41 -07:00
libpng build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
libxml2 zig-15: build binary builds 2025-10-03 07:10:41 -07:00
macos Zig 0.15: zig build test macOS 2025-10-03 07:10:43 -07:00
oniguruma build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
opengl renderer: create explicit sampler state for custom shaders 2025-09-18 09:25:37 -07:00
sentry zig-15: build binary builds 2025-10-03 07:10:41 -07:00
simdutf pkg/simdutf: upgrade to simdutf v9, off our fork for nolibcxx 2026-04-23 09:51:20 -07:00
spirv-cross build: skip linkLibCpp on MSVC for dcimgui, spirv-cross, harfbuzz 2026-03-24 17:03:33 +01:00
wuffs build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
zlib build: disable ubsan in C deps for MSVC static linking 2026-04-23 05:23:15 +02:00
README.md license: update copyright notices to include contributors 2025-06-10 10:20:26 -06:00

README.md

Packages

This folder contains packages written for and used by Ghostty that could potentially be useful for other projects. These are in-tree with Ghostty because I don't want to maintain them as separate projects (i.e. get dedicated issues, PRs, etc.). If you want to use them, you can copy and paste them into your project.

License

This license only applies to the contents of the pkg folder within the Ghostty project. This license does not apply to the rest of the Ghostty project.

Copyright © 2024 Mitchell Hashimoto, Ghostty contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.