Repository navigation
M5a: cmux-linux GTK4 application scaffold (Sprint 1-3) - #104
Merged
Merged
Conversation
Jesssullivan
force-pushed
the
sid/m5a-sprint1-foundation
branch
from
March 29, 2026 03:38
31c219c to
e805d8f
Compare
Jesssullivan
added a commit
that referenced
this pull request
Mar 29, 2026
nix/tests.nix: Add Tier 2b test verifying GTK4 + libadwaita runtime libs are present in the NixOS VM. This is a stepping stone toward full graphical cmux-linux tests (blocked on Nix packaging of the libghostty + cmux-linux build chain). Update basic-window-check-gnome comment to reflect PR #104 progress.
- Update .gitmodules URL from manaflow-ai/ghostty to Jesssullivan/ghostty - Submodule at 90a26469 with GHOSTTY_PLATFORM_LINUX in embedded.zig (Jesssullivan/ghostty#1) and #undef linux macro fix (#2) - Update docs/ghostty-fork.md: document patch #8 (linux Platform variant) and switch header from manaflow-ai to Jesssullivan
12 Zig source files implementing the full M5a Terminal MVP scope: Sprint 1 - Foundation: - main.zig: GtkApplication + libghostty init/wakeup/tick integration - app.zig: Runtime callbacks (action, clipboard, close_surface) - surface.zig: GtkGLArea + GHOSTTY_PLATFORM_LINUX surface creation - c_api.zig: @cImport bindings for GTK4, libadwaita, ghostty.h - config.zig: JSON config parser matching macOS schema (427 lines) - build.zig: Links libghostty.so + GTK4 + libadwaita + OpenGL Sprint 2 - Core UI: - window.zig: AdwApplicationWindow + AdwTabView + AdwTabBar - tab_manager.zig: Workspace list mapped to AdwTabView pages - split_tree.zig: Binary tree split pane model with GtkPaned - workspace.zig: Workspace data model (panels, title, color, status) - sidebar.zig: AdwNavigationSplitView + GtkListBox workspace list Sprint 3 - Platform Integration: - socket.zig: Unix domain socket JSON-RPC server (XDG paths) - session.zig: Session snapshot/restore (autosave 8s, atomic writes) Compiles and links on Ubuntu, Fedora 42, and Arch Linux. Closes #77, #78, #79, #80, #81, #82, #83.
linux-ci.yml: Add libghostty build (-Dapp-runtime=none -Drenderer=opengl) and cmux-linux build steps to all 3 Linux jobs (Ubuntu, Fedora, Arch). Add font/rendering deps (freetype, harfbuzz, fontconfig, libpng, mesa). Add zig build test step for config parser unit tests. fork-ci.yml: Build GhosttyKit.xcframework from source instead of downloading from manaflow-ai/ghostty releases. Uses native target for faster CI builds.
Jesssullivan
force-pushed
the
sid/m5a-sprint1-foundation
branch
from
March 29, 2026 18:36
073c0fb to
5c80cab
Compare
Jesssullivan
added a commit
that referenced
this pull request
Mar 29, 2026
Verify GTK4 + libadwaita runtime libs are present in the NixOS VM. Stepping stone toward full graphical cmux-linux tests (blocked on Nix packaging of the libghostty build chain). Update basic-window-check-gnome TODO to reflect PR #104 progress.
Verify GTK4 + libadwaita runtime libs are present in the NixOS VM. Stepping stone toward full graphical cmux-linux tests (blocked on Nix packaging of the libghostty build chain). Update basic-window-check-gnome TODO to reflect PR #104 progress.
Jesssullivan
force-pushed
the
sid/m5a-sprint1-foundation
branch
from
March 29, 2026 21:18
5c80cab to
9ae1864
Compare
Jesssullivan
added a commit
that referenced
this pull request
Mar 29, 2026
* Switch ghostty submodule to Jesssullivan/ghostty with linux Platform - Update .gitmodules URL from manaflow-ai/ghostty to Jesssullivan/ghostty - Submodule at 90a26469 with GHOSTTY_PLATFORM_LINUX in embedded.zig (Jesssullivan/ghostty#1) and #undef linux macro fix (#2) - Update docs/ghostty-fork.md: document patch #8 (linux Platform variant) and switch header from manaflow-ai to Jesssullivan * Scaffold cmux-linux GTK4 application (#77-83) 12 Zig source files implementing the full M5a Terminal MVP scope: Sprint 1 - Foundation: - main.zig: GtkApplication + libghostty init/wakeup/tick integration - app.zig: Runtime callbacks (action, clipboard, close_surface) - surface.zig: GtkGLArea + GHOSTTY_PLATFORM_LINUX surface creation - c_api.zig: @cImport bindings for GTK4, libadwaita, ghostty.h - config.zig: JSON config parser matching macOS schema (427 lines) - build.zig: Links libghostty.so + GTK4 + libadwaita + OpenGL Sprint 2 - Core UI: - window.zig: AdwApplicationWindow + AdwTabView + AdwTabBar - tab_manager.zig: Workspace list mapped to AdwTabView pages - split_tree.zig: Binary tree split pane model with GtkPaned - workspace.zig: Workspace data model (panels, title, color, status) - sidebar.zig: AdwNavigationSplitView + GtkListBox workspace list Sprint 3 - Platform Integration: - socket.zig: Unix domain socket JSON-RPC server (XDG paths) - session.zig: Session snapshot/restore (autosave 8s, atomic writes) Compiles and links on Ubuntu, Fedora 42, and Arch Linux. Closes #77, #78, #79, #80, #81, #82, #83. * Add libghostty + cmux-linux build to CI, fix macOS xcframework linux-ci.yml: Add libghostty build (-Dapp-runtime=none -Drenderer=opengl) and cmux-linux build steps to all 3 Linux jobs (Ubuntu, Fedora, Arch). Add font/rendering deps (freetype, harfbuzz, fontconfig, libpng, mesa). Add zig build test step for config parser unit tests. fork-ci.yml: Build GhosttyKit.xcframework from source instead of downloading from manaflow-ai/ghostty releases. Uses native target for faster CI builds. * Add cmux-linux-build-check NixOS VM test Verify GTK4 + libadwaita runtime libs are present in the NixOS VM. Stepping stone toward full graphical cmux-linux tests (blocked on Nix packaging of the libghostty build chain). Update basic-window-check-gnome TODO to reflect PR #104 progress. * M5d: Linux packaging — desktop file, Flatpak, DEB, COPR (#97-100) dist/linux/: - com.jesssullivan.cmux.desktop — desktop entry for app launchers - com.jesssullivan.cmux.metainfo.xml — AppStream metadata - icons/ — 16x16, 128x128, 256x256, 512x512 PNGs flatpak/: - com.jesssullivan.cmux.yml — Flatpak manifest targeting org.gnome.Platform 47, builds libghostty + cmux-linux debian/: - control, rules, changelog, copyright — DEB packaging for Ubuntu 24.04+ (libgtk-4-1, libadwaita-1-0 deps) dist/: - cmux.spec — Fedora COPR RPM spec file App ID: com.jesssullivan.cmux (consistent across all formats) Closes #97, #98, #99, #100.
This was referenced Mar 29, 2026
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
Complete scaffold for the cmux-linux GTK4 terminal multiplexer, implementing issues #77-83 across 3 sprints.
Sprint 1: Foundation
GHOSTTY_PLATFORM_LINUXJesssullivan/ghosttywith linux Platform variantSprint 2: Core UI
Sprint 3: Platform Integration
Files (11 new)
~2,000 lines of Zig across 11 source files.
Test plan
cd ghostty && zig build -Dapp-runtime=none -Drenderer=openglproduces libghostty.acd cmux-linux && zig buildcompiles and links on LinuxCloses #77, #78, #79, #80, #81, #82, #83
Generated with Claude Code