1DOLLY 72TOOLCHAIN ghostty-build3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST http@078FROM /v0.1.6/Dollyfile-zig-build 90061764772376d61f11f5cad358d6346f544a95d20c960b5cebb6cbf50f3ec19INSTALL /v0.1.6/Dollyfile-libdolly-display c4f8ea64af9ad51300b9b48369558e17493bccb9be1b7db853cda0e1d7d66a4810INSTALL /v0.1.6/Dollyfile-libdolly-input 45202588e489298ba6fe352129e992fca0c7a45e13bf45cde85976c931a981e41112REQUIRES HEADER libc13REQUIRES HEADER display14REQUIRES HEADER input15REQUIRES TOOL   ar16REQUIRES TOOL   cc17REQUIRES TOOL   make18REQUIRES TOOL   rm19REQUIRES TOOL   tar20REQUIRES TOOL   zig2122SOURCE /v0.1.6/dist/static/default/ghostty.tar              74835c10f3034c328c097e85cb164071a9f53af21a44688dabf0b06a6f7334cf /tmp/ghostty.tar23SOURCE /v0.1.6/dist/static/default/uucode.tar               be9d52ab9c0f49deb5fd8baa54b4b14f490f8e29e200d044e908d7adad54e3d0 /tmp/uucode.tar24SOURCE /v0.1.6/dist/static/default/ghostty/display.c        6bbea55d7e863e812802ac6e7f2169c95494828f547084ae425733f38405624b /usr/src/dolly/ghostty/display.c25SOURCE /v0.1.6/dist/static/default/stb_truetype.h           ecd30b05e0dd4fea3a13c26810dd9e1992dc379049482c393d5a19e6b5090aab /tmp/ghostty/stb_truetype.h26SOURCE /v0.1.6/dist/static/default/stb_image.h              594c2fe35d49488b4382dbfaec8f98366defca819d916ac95becf3e75f4200b3 /tmp/ghostty/stb_image.h27SOURCE /v0.1.6/dist/static/default/IosevkaTerm-SemiBold.ttf cb3fd282d86c0e7cc2829f848df5a58973db98c8369a20427a9b3d06727e5aaa /usr/share/fonts/IosevkaTerm-SemiBold.ttf28# What IosevkaTerm has no glyph for: Chinese, Japanese and Korean, then emoji.29SOURCE /v0.1.6/dist/static/default/DroidSansFallback.ttf    56d3edfb377a8bc3c4b77f4476405c770173c0e31221ad7c77d0a8e1f3039a3e /usr/share/fonts/DroidSansFallback.ttf30SOURCE /v0.1.6/dist/static/default/droid-fonts-NOTICE       38751245389e1e23f73e6f5384b5cbe7fa972cc4410c5adc9c04b082a0b9561a /usr/share/licenses/droid-fonts/NOTICE31SOURCE /v0.1.6/dist/static/default/NotoEmoji-Regular.ttf    cd07743a4c93d8da929afdd28c1d368f11da478a1093146a13610081c2a58440 /usr/share/fonts/NotoEmoji-Regular.ttf32SOURCE /v0.1.6/dist/static/default/noto-emoji-OFL.txt       fb755fa3280d1d215a20df2e64fe6a0f75f8208439b11671978214aae60d2997 /usr/share/licenses/noto-emoji/OFL.txt33SLOP tar \34  -xf /tmp/ghostty.tar \35  -C /36SLOP tar \37  -xf /tmp/uucode.tar \38  -C /3940# The Unicode tables' generators run as programs of this Zig: Zig's page41# allocator on WebAssembly grows the memory itself, behind libc's sbrk, so42# their root gives them libc's.43FILE /tmp/ghostty/generator.zig44    const std = @import("std");45    pub const os = struct {46        pub const heap = struct {47            pub const page_allocator = std.heap.c_allocator;48        };49    };50    pub const main = @import("generate").main;5152# Zig emits Ghostty VT and compiler_rt as C; cc compiles them. zig.h passes53# usize as uint64_t *, and @returnAddress would import an Emscripten helper.54# The Unicode tables are generated first, as Ghostty's build does55# (src/build/UnicodeTables.zig, uucode's build.zig): uucode's generator reads56# the UCD and writes its tables, over which Ghostty's two print theirs.57FILE /tmp/ghostty/Makefile58    .RECIPEPREFIX := >59    ZIGFLAGS := -OReleaseSmall -target wasm64-emscripten -mcpu=generic+atomics -fsingle-threaded -ofmt=c60    CFLAGS := -O2 -std=c99 -fno-strict-aliasing -Wno-incompatible-pointer-types -I /usr/lib/zig61    UUCODE_CONFIG := --dep storage.zig -Mconfig.zig=/usr/src/uucode/src/config.zig \62      --dep config.zig -Mstorage.zig=/usr/src/uucode/src/storage.zig \63      --dep config.zig --dep storage.zig -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig64    GENERATORS := /tmp/ghostty/uucode-generate /tmp/ghostty/props-generate /tmp/ghostty/symbols-generate65    all: /usr/lib/libghostty-vt.a /usr/lib/libdisplay.so66    /tmp/ghostty/uucode-generate.c:67    >zig build-exe $(ZIGFLAGS) -lc --name uucode-generate --dep generate -Mroot=/tmp/ghostty/generator.zig \68    >  --dep config.zig --dep storage.zig --dep build_config -Mgenerate=/usr/src/uucode/src/generate.zig \69    >  $(UUCODE_CONFIG) -femit-bin=$@70    /tmp/ghostty/props-generate.c /tmp/ghostty/symbols-generate.c: /tmp/ghostty/uucode-tables.zig71    >zig build-exe $(ZIGFLAGS) -lc --name $(basename $(@F)) --dep generate -Mroot=/tmp/ghostty/generator.zig \72    >  --dep uucode -Mgenerate=/usr/src/ghostty/src/unicode/$(subst -generate.c,_uucode.zig,$(@F)) \73    >  --dep types.zig --dep config.zig --dep tables -Muucode=/usr/src/uucode/src/root.zig \74    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \75    >  --dep types.zig $(UUCODE_CONFIG) \76    >  --dep config.zig --dep storage.zig --dep build_config -Mtables=/tmp/ghostty/uucode-tables.zig -femit-bin=$@77    $(GENERATORS): %: %.c /tmp/ghostty/compiler_rt.o78    >cc $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $^79    /tmp/ghostty/uucode-tables.zig: /tmp/ghostty/uucode-generate80    >cd /usr/src/uucode && $< $@81    /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig: /tmp/ghostty/unicode-%.zig: /tmp/ghostty/%-generate82    >$< > $@83    /tmp/ghostty/ghostty-vt.c: /tmp/ghostty/uucode-tables.zig /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig84    >zig build-obj \85    >  $(ZIGFLAGS) \86    >  -lc \87    >  --name ghostty-vt \88    >  --dep build_options \89    >  --dep terminal_options \90    >  --dep wuffs \91    >  --dep unicode_tables \92    >  --dep symbols_tables \93    >  --dep uucode \94    >  -Mroot=/usr/src/ghostty/src/lib_vt.zig \95    >  -Mbuild_options=/usr/src/ghostty/generated/build-options.zig \96    >  -Mterminal_options=/usr/src/ghostty/generated/terminal-options.zig \97    >  -Municode_tables=/tmp/ghostty/unicode-props.zig \98    >  -Msymbols_tables=/tmp/ghostty/unicode-symbols.zig \99    >  -ODebug \100    >  --dep types.zig \101    >  --dep config.zig \102    >  --dep tables \103    >  -Muucode=/usr/src/uucode/src/root.zig \104    >  -ODebug \105    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \106    >  -ODebug \107    >  --dep types.zig \108    >  --dep storage.zig \109    >  -Mconfig.zig=/usr/src/uucode/src/config.zig \110    >  -ODebug \111    >  --dep config.zig \112    >  --dep storage.zig \113    >  --dep build_config \114    >  -Mtables=/tmp/ghostty/uucode-tables.zig \115    >  -ODebug \116    >  --dep config.zig \117    >  -Mstorage.zig=/usr/src/uucode/src/storage.zig \118    >  --dep config.zig \119    >  --dep storage.zig \120    >  -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig \121    >  -OReleaseSmall \122    >  --dep wuffs_c \123    >  -Mwuffs=/usr/src/ghostty/pkg/wuffs/src/main.zig \124    >  --dep c_builtins \125    >  --dep helpers \126    >  -Mwuffs_c=/usr/src/ghostty/generated/wuffs-c.zig \127    >  -Mc_builtins=/usr/src/translate_c/lib/c_builtins.zig \128    >  -Mhelpers=/usr/src/translate_c/lib/helpers.zig \129    >  -femit-bin=$@130    /tmp/ghostty/compiler_rt.c:131    >zig build-obj $(ZIGFLAGS) --name compiler_rt -Mroot=/usr/lib/zig/compiler_rt.zig -femit-bin=$@132    /tmp/ghostty/ghostty-vt.o: /tmp/ghostty/ghostty-vt.c133    >cc -c $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $<134    /tmp/ghostty/compiler_rt.o: /tmp/ghostty/compiler_rt.c135    >cc -c $(CFLAGS) -o $@ $<136    # Wuffs as Ghostty's pkg/wuffs/build.zig builds it, for kitty graphics;137    # hidden, as the plugin's own code: its vtables name its functions.138    /tmp/ghostty/wuffs.o: /usr/src/wuffs/wuffs-v0.4.c139    >cc -c -O2 -fvisibility=hidden -DWUFFS_IMPLEMENTATION -DWUFFS_CONFIG__MODULES -DWUFFS_CONFIG__MODULE__AUX__BASE \140    >  -DWUFFS_CONFIG__MODULE__AUX__IMAGE -DWUFFS_CONFIG__MODULE__BASE -DWUFFS_CONFIG__MODULE__ADLER32 \141    >  -DWUFFS_CONFIG__MODULE__CRC32 -DWUFFS_CONFIG__MODULE__DEFLATE -DWUFFS_CONFIG__MODULE__JPEG \142    >  -DWUFFS_CONFIG__MODULE__PNG -DWUFFS_CONFIG__MODULE__ZLIB -o $@ $<143    /usr/lib/libghostty-vt.a: /tmp/ghostty/ghostty-vt.o /tmp/ghostty/compiler_rt.o /tmp/ghostty/wuffs.o144    >ar rcs $@ $^145    /usr/lib/libdisplay.so: /usr/src/dolly/ghostty/display.c /usr/lib/libghostty-vt.a146    >cc \147    >  -shared \148    >  --dolly-kernel-plugin \149    >  -O2 \150    >  -I /tmp/ghostty \151    >  -I /usr/include \152    >  $< \153    >  -lghostty-vt \154    >  -o $@155SLOP CWD /usr/src/ghostty make \156  -f /tmp/ghostty/Makefile157158FILE /usr/share/fonts/IosevkaTerm-SemiBold.ttf159FILE /usr/share/fonts/DroidSansFallback.ttf160FILE /usr/share/fonts/NotoEmoji-Regular.ttf161FILE /usr/share/licenses/droid-fonts/NOTICE162FILE /usr/share/licenses/noto-emoji/OFL.txt163FILE /usr/share/licenses/ghostty/LICENSE164FILE /usr/share/licenses/uucode/LICENSE.md165FILE /usr/share/licenses/uucode/LICENSE_unicode166FILE /usr/share/licenses/wuffs/LICENSE-APACHE167FILE /usr/share/licenses/wuffs/LICENSE-MIT168FILE /usr/share/licenses/translate-c/LICENSE169170EXPORTS LIB    ghostty-vt /usr/lib/libghostty-vt.a171EXPORTS LIB    display    /usr/lib/libdisplay.so172EXPORTS HEADER ghostty-vt /usr/include/ghostty173174SLOP rm \175  -rf \176  /tmp/ghostty \177  /tmp/ghostty.tar \178  /tmp/uucode.tar \179  /usr/src/dolly/ghostty \180  /usr/src/ghostty \181  /usr/src/uucode182183# Opened, the image runs the display library it just built.184EXPORTS ENV DISPLAY /usr/lib/libdisplay.so185186ENTRY /bin/foreground -i /bin/slop187