Skip to content

Package builder for the Ghostty application on Asahil Linux

Notifications You must be signed in to change notification settings

s3than/ghostty-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

Package builder for the Ghostty application on Asahil Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published