Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.31 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.31 KB

Ghostty Builder

This container is a simple way to build the Ghostty Terminal for Linux.

Ghostty

Ghostty is a terminal emulator that is designed to be fast and lightweight. It is written in Zig. Ghostty

Asahi Linux and Ghostty

Page Size issues?

Zig's std lib always assumes 4 KiB pages on Linux running on aarch64.

See:

This then leads to the build.zig script which uses the zig standardTargetOptions to get the CPU Arch.

This container includes a diff for the build.zig and mem.zig files to allow for the aarch64 CPU Arch to be used.

Building

On an Fedora system you can use the podman command to build the container.

podman build -t ghostty  --output out -f amd64/Dockerfile .

Or for Ashai Linux

podman build -t ghostty  --output out -f asahi-build/Dockerfile asahi-build

Once the binary is built you can move it to a location in your path. Configuration at this point is as per the Ghostty docs..

Adding ghostty to the menu can be achieved by using Menu Editor and adding a new entry with ghostty as the command.

TODO

Work out how to get it to build in a github action...