feat(host): upgrade embedded Ghostty - #145
Open
bvolpato wants to merge 3 commits into
Open
Conversation
Move to current manaflow-based Ghostty with preserved GTK GLArea integration. Sync FFI ABI, clipboard handling, Zig toolchain, shared-library naming, and package resources.
Preserve renderer-thread behavior for callback OpenGL surfaces and retain FreeType file provenance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
81ab8ffa9to1a89efa4d, based on currentmanaflow-ai/ghosttyGLAreamain-thread rendering and display lifecycle supportlibghostty-internal.soLimux no longer depends on
am-will/ghostty. The temporary pin lives inbvolpato/ghostty, forked directly frommanaflow-ai/ghostty; compatibility changes are submitted upstream in manaflow-ai/ghostty#196. Once merged, this pin can move back to the maintained repository without code changes. GTK integration work retains FreeMeWat’s credit in the Ghostty commit.Why a compatibility branch remains
Current generic OpenGL callbacks may run on Ghostty’s renderer thread. GTK
GLAreaowns a main-thread offscreen framebuffer, so using generic callbacks directly risks wrong-context rendering. Compatibility patch keeps only required main-thread and realize/unrealize hooks, rebased onto maintained Ghostty head.Validation
zig build -Dapp-runtime=none -Doptimize=ReleaseFast -Dcpu=baseline./scripts/check.shLIMUX_SMOKE_PROFILE=debug ./scripts/xvfb-smoke-test.shldd -r target/debug/limuxFull unfiltered Ghostty test process was killed with exit 137 under workstation memory pressure. Changed-path Ghostty tests, complete Limux suite, and live GTK smoke all pass.