1DOLLY 72TOOLCHAIN ghostty-build3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST http@078FROM /v0.1.5/Dollyfile-zig-build 7b61cdcb025aaafa3ce7b17930a4fc697451850bae49e3c5bb75ba6cc1bff33a910REQUIRES HEADER libc11REQUIRES HEADER display12REQUIRES HEADER input13REQUIRES TOOL   ar14REQUIRES TOOL   cc15REQUIRES TOOL   make16REQUIRES TOOL   rm17REQUIRES TOOL   tar18REQUIRES TOOL   zig1920SOURCE /v0.1.5/dist/static/default/ghostty.tar              a5a438df0dd2248918a6527212f9e6500081326accdd20949771e30c17a2f1ec /tmp/ghostty.tar21SOURCE /v0.1.5/dist/static/default/uucode.tar               be9d52ab9c0f49deb5fd8baa54b4b14f490f8e29e200d044e908d7adad54e3d0 /tmp/uucode.tar22SOURCE /v0.1.5/dist/static/default/ghostty/display.c        df8b904790e996316c3ee9a748a654da17e40527f9604a37d9c99be2504e46a9 /usr/src/dolly/ghostty/display.c23SOURCE /v0.1.5/dist/static/default/stb_truetype.h           ecd30b05e0dd4fea3a13c26810dd9e1992dc379049482c393d5a19e6b5090aab /tmp/ghostty/stb_truetype.h24SOURCE /v0.1.5/dist/static/default/stb_image.h              594c2fe35d49488b4382dbfaec8f98366defca819d916ac95becf3e75f4200b3 /tmp/ghostty/stb_image.h25SOURCE /v0.1.5/dist/static/default/IosevkaTerm-SemiBold.ttf cb3fd282d86c0e7cc2829f848df5a58973db98c8369a20427a9b3d06727e5aaa /usr/share/fonts/IosevkaTerm-SemiBold.ttf26# What IosevkaTerm has no glyph for: Chinese, Japanese and Korean, then emoji.27SOURCE /v0.1.5/dist/static/default/DroidSansFallback.ttf    56d3edfb377a8bc3c4b77f4476405c770173c0e31221ad7c77d0a8e1f3039a3e /usr/share/fonts/DroidSansFallback.ttf28SOURCE /v0.1.5/dist/static/default/droid-fonts-NOTICE       38751245389e1e23f73e6f5384b5cbe7fa972cc4410c5adc9c04b082a0b9561a /usr/share/licenses/droid-fonts/NOTICE29SOURCE /v0.1.5/dist/static/default/NotoEmoji-Regular.ttf    cd07743a4c93d8da929afdd28c1d368f11da478a1093146a13610081c2a58440 /usr/share/fonts/NotoEmoji-Regular.ttf30SOURCE /v0.1.5/dist/static/default/noto-emoji-OFL.txt       fb755fa3280d1d215a20df2e64fe6a0f75f8208439b11671978214aae60d2997 /usr/share/licenses/noto-emoji/OFL.txt31SLOP tar \32  -xf /tmp/ghostty.tar \33  -C /34SLOP tar \35  -xf /tmp/uucode.tar \36  -C /3738# The Unicode tables' generators run as programs of this Zig: Zig's page39# allocator on WebAssembly grows the memory itself, behind libc's sbrk, so40# their root gives them libc's.41FILE /tmp/ghostty/generator.zig42    const std = @import("std");43    pub const os = struct {44        pub const heap = struct {45            pub const page_allocator = std.heap.c_allocator;46        };47    };48    pub const main = @import("generate").main;4950# Zig emits Ghostty VT and compiler_rt as C; cc compiles them. zig.h passes51# usize as uint64_t *, and @returnAddress would import an Emscripten helper.52# The Unicode tables are generated first, as Ghostty's build does53# (src/build/UnicodeTables.zig, uucode's build.zig): uucode's generator reads54# the UCD and writes its tables, over which Ghostty's two print theirs.55FILE /tmp/ghostty/Makefile56    .RECIPEPREFIX := >57    ZIGFLAGS := -OReleaseSmall -target wasm64-emscripten -mcpu=generic+atomics -fsingle-threaded -ofmt=c58    CFLAGS := -O2 -std=c99 -fno-strict-aliasing -Wno-incompatible-pointer-types -I /usr/lib/zig59    UUCODE_CONFIG := --dep storage.zig -Mconfig.zig=/usr/src/uucode/src/config.zig \60      --dep config.zig -Mstorage.zig=/usr/src/uucode/src/storage.zig \61      --dep config.zig --dep storage.zig -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig62    GENERATORS := /tmp/ghostty/uucode-generate /tmp/ghostty/props-generate /tmp/ghostty/symbols-generate63    all: /usr/lib/libghostty-vt.a /usr/lib/libdisplay.so64    /tmp/ghostty/uucode-generate.c:65    >zig build-exe $(ZIGFLAGS) -lc --name uucode-generate --dep generate -Mroot=/tmp/ghostty/generator.zig \66    >  --dep config.zig --dep storage.zig --dep build_config -Mgenerate=/usr/src/uucode/src/generate.zig \67    >  $(UUCODE_CONFIG) -femit-bin=$@68    /tmp/ghostty/props-generate.c /tmp/ghostty/symbols-generate.c: /tmp/ghostty/uucode-tables.zig69    >zig build-exe $(ZIGFLAGS) -lc --name $(basename $(@F)) --dep generate -Mroot=/tmp/ghostty/generator.zig \70    >  --dep uucode -Mgenerate=/usr/src/ghostty/src/unicode/$(subst -generate.c,_uucode.zig,$(@F)) \71    >  --dep types.zig --dep config.zig --dep tables -Muucode=/usr/src/uucode/src/root.zig \72    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \73    >  --dep types.zig $(UUCODE_CONFIG) \74    >  --dep config.zig --dep storage.zig --dep build_config -Mtables=/tmp/ghostty/uucode-tables.zig -femit-bin=$@75    $(GENERATORS): %: %.c /tmp/ghostty/compiler_rt.o76    >cc $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $^77    /tmp/ghostty/uucode-tables.zig: /tmp/ghostty/uucode-generate78    >cd /usr/src/uucode && $< $@79    /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig: /tmp/ghostty/unicode-%.zig: /tmp/ghostty/%-generate80    >$< > $@81    /tmp/ghostty/ghostty-vt.c: /tmp/ghostty/uucode-tables.zig /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig82    >zig build-obj \83    >  $(ZIGFLAGS) \84    >  -lc \85    >  --name ghostty-vt \86    >  --dep build_options \87    >  --dep terminal_options \88    >  --dep wuffs \89    >  --dep unicode_tables \90    >  --dep symbols_tables \91    >  --dep uucode \92    >  -Mroot=/usr/src/ghostty/src/lib_vt.zig \93    >  -Mbuild_options=/usr/src/ghostty/generated/build-options.zig \94    >  -Mterminal_options=/usr/src/ghostty/generated/terminal-options.zig \95    >  -Municode_tables=/tmp/ghostty/unicode-props.zig \96    >  -Msymbols_tables=/tmp/ghostty/unicode-symbols.zig \97    >  -ODebug \98    >  --dep types.zig \99    >  --dep config.zig \100    >  --dep tables \101    >  -Muucode=/usr/src/uucode/src/root.zig \102    >  -ODebug \103    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \104    >  -ODebug \105    >  --dep types.zig \106    >  --dep storage.zig \107    >  -Mconfig.zig=/usr/src/uucode/src/config.zig \108    >  -ODebug \109    >  --dep config.zig \110    >  --dep storage.zig \111    >  --dep build_config \112    >  -Mtables=/tmp/ghostty/uucode-tables.zig \113    >  -ODebug \114    >  --dep config.zig \115    >  -Mstorage.zig=/usr/src/uucode/src/storage.zig \116    >  --dep config.zig \117    >  --dep storage.zig \118    >  -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig \119    >  -OReleaseSmall \120    >  --dep wuffs_c \121    >  -Mwuffs=/usr/src/ghostty/pkg/wuffs/src/main.zig \122    >  --dep c_builtins \123    >  --dep helpers \124    >  -Mwuffs_c=/usr/src/ghostty/generated/wuffs-c.zig \125    >  -Mc_builtins=/usr/src/translate_c/lib/c_builtins.zig \126    >  -Mhelpers=/usr/src/translate_c/lib/helpers.zig \127    >  -femit-bin=$@128    /tmp/ghostty/compiler_rt.c:129    >zig build-obj $(ZIGFLAGS) --name compiler_rt -Mroot=/usr/lib/zig/compiler_rt.zig -femit-bin=$@130    /tmp/ghostty/ghostty-vt.o: /tmp/ghostty/ghostty-vt.c131    >cc -c $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $<132    /tmp/ghostty/compiler_rt.o: /tmp/ghostty/compiler_rt.c133    >cc -c $(CFLAGS) -o $@ $<134    # Wuffs as Ghostty's pkg/wuffs/build.zig builds it, for kitty graphics;135    # hidden, as the plugin's own code: its vtables name its functions.136    /tmp/ghostty/wuffs.o: /usr/src/wuffs/wuffs-v0.4.c137    >cc -c -O2 -fvisibility=hidden -DWUFFS_IMPLEMENTATION -DWUFFS_CONFIG__MODULES -DWUFFS_CONFIG__MODULE__AUX__BASE \138    >  -DWUFFS_CONFIG__MODULE__AUX__IMAGE -DWUFFS_CONFIG__MODULE__BASE -DWUFFS_CONFIG__MODULE__ADLER32 \139    >  -DWUFFS_CONFIG__MODULE__CRC32 -DWUFFS_CONFIG__MODULE__DEFLATE -DWUFFS_CONFIG__MODULE__JPEG \140    >  -DWUFFS_CONFIG__MODULE__PNG -DWUFFS_CONFIG__MODULE__ZLIB -o $@ $<141    /usr/lib/libghostty-vt.a: /tmp/ghostty/ghostty-vt.o /tmp/ghostty/compiler_rt.o /tmp/ghostty/wuffs.o142    >ar rcs $@ $^143    /usr/lib/libdisplay.so: /usr/src/dolly/ghostty/display.c /usr/lib/libghostty-vt.a144    >cc \145    >  -shared \146    >  --dolly-kernel-plugin \147    >  -O2 \148    >  -I /tmp/ghostty \149    >  -I /usr/include \150    >  $< \151    >  -lghostty-vt \152    >  -o $@153SLOP CWD /usr/src/ghostty make \154  -f /tmp/ghostty/Makefile155156FILE /usr/share/fonts/IosevkaTerm-SemiBold.ttf157FILE /usr/share/fonts/DroidSansFallback.ttf158FILE /usr/share/fonts/NotoEmoji-Regular.ttf159FILE /usr/share/licenses/droid-fonts/NOTICE160FILE /usr/share/licenses/noto-emoji/OFL.txt161FILE /usr/share/licenses/ghostty/LICENSE162FILE /usr/share/licenses/uucode/LICENSE.md163FILE /usr/share/licenses/uucode/LICENSE_unicode164FILE /usr/share/licenses/wuffs/LICENSE-APACHE165FILE /usr/share/licenses/wuffs/LICENSE-MIT166FILE /usr/share/licenses/translate-c/LICENSE167168EXPORTS LIB    ghostty-vt /usr/lib/libghostty-vt.a169EXPORTS LIB    display    /usr/lib/libdisplay.so170EXPORTS HEADER ghostty-vt /usr/include/ghostty171172SLOP rm \173  -rf \174  /tmp/ghostty \175  /tmp/ghostty.tar \176  /tmp/uucode.tar \177  /usr/src/dolly/ghostty \178  /usr/src/ghostty \179  /usr/src/uucode180181# Opened, the image runs the display library it just built.182EXPORTS ENV DISPLAY /usr/lib/libdisplay.so183184ENTRY /bin/foreground -i /bin/slop185