1DOLLY 82TOOLCHAIN ghostty-build3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@067FROM /Dollyfile-zig-build 0cd82e87084c1aa809f8758b2df2a9904575b466d21596819e6667db839d43938INSTALL /Dollyfile-libdolly-display afbf05e4d39eda376f6195f86762fb635a3effb3f2e5414ef1ffa70b298af9199INSTALL /Dollyfile-libdolly-input 22d9db2a107fd5721f70d9662921b2e3fd9432549056e9e27e0ee36e6a898c841011REQUIRES HEADER libc12REQUIRES HEADER display13REQUIRES HEADER input14REQUIRES TOOL   ar15REQUIRES TOOL   cc16REQUIRES TOOL   make17REQUIRES TOOL   rm18REQUIRES TOOL   tar19REQUIRES TOOL   zig2021SOURCE /dist/static/default/ghostty.tar              74e6b2f57be127f98828c7efc088a654779c72e331ad998d803fea43a343e884 /tmp/ghostty.tar22SOURCE /dist/static/default/uucode.tar               be9d52ab9c0f49deb5fd8baa54b4b14f490f8e29e200d044e908d7adad54e3d0 /tmp/uucode.tar23SOURCE /dist/static/default/ghostty/display.c        a7e79a8cf1eeae5538e673eb66c644e7466a5d9a03bf621d2c32c090be2f1a4b /usr/src/dolly/ghostty/display.c24SOURCE /dist/static/default/stb_truetype.h           ecd30b05e0dd4fea3a13c26810dd9e1992dc379049482c393d5a19e6b5090aab /tmp/ghostty/stb_truetype.h25SOURCE /dist/static/default/stb_image.h              594c2fe35d49488b4382dbfaec8f98366defca819d916ac95becf3e75f4200b3 /tmp/ghostty/stb_image.h26SOURCE /dist/static/default/IosevkaTerm-SemiBold.ttf cb3fd282d86c0e7cc2829f848df5a58973db98c8369a20427a9b3d06727e5aaa /usr/share/fonts/IosevkaTerm-SemiBold.ttf27# What IosevkaTerm has no glyph for: Chinese, Japanese and Korean, then emoji.28SOURCE /dist/static/default/DroidSansFallback.ttf    56d3edfb377a8bc3c4b77f4476405c770173c0e31221ad7c77d0a8e1f3039a3e /usr/share/fonts/DroidSansFallback.ttf29SOURCE /dist/static/default/droid-fonts-NOTICE       38751245389e1e23f73e6f5384b5cbe7fa972cc4410c5adc9c04b082a0b9561a /usr/share/licenses/droid-fonts/NOTICE30SOURCE /dist/static/default/NotoEmoji-Regular.ttf    cd07743a4c93d8da929afdd28c1d368f11da478a1093146a13610081c2a58440 /usr/share/fonts/NotoEmoji-Regular.ttf31SOURCE /dist/static/default/noto-emoji-OFL.txt       fb755fa3280d1d215a20df2e64fe6a0f75f8208439b11671978214aae60d2997 /usr/share/licenses/noto-emoji/OFL.txt32SLOP tar \33  -xf /tmp/ghostty.tar \34  -C /35SLOP tar \36  -xf /tmp/uucode.tar \37  -C /3839# The Unicode tables' generators run as programs of this Zig: Zig's page40# allocator on WebAssembly grows the memory itself, behind libc's sbrk, so41# their root gives them libc's.42FILE /tmp/ghostty/generator.zig43    const std = @import("std");44    pub const os = struct {45        pub const heap = struct {46            pub const page_allocator = std.heap.c_allocator;47        };48    };49    pub const main = @import("generate").main;5051# Zig emits Ghostty VT and compiler_rt as C; cc compiles them. zig.h passes52# usize as uint64_t *, and @returnAddress would import an Emscripten helper.53# The Unicode tables are generated first, as Ghostty's build does54# (src/build/UnicodeTables.zig, uucode's build.zig): uucode's generator reads55# the UCD and writes its tables, over which Ghostty's two print theirs.56FILE /tmp/ghostty/Makefile57    .RECIPEPREFIX := >58    ZIGFLAGS := -OReleaseSmall -target wasm64-emscripten -mcpu=generic+atomics -fsingle-threaded -ofmt=c59    CFLAGS := -O2 -std=c99 -fno-strict-aliasing -Wno-incompatible-pointer-types -I /usr/lib/zig60    UUCODE_CONFIG := --dep storage.zig -Mconfig.zig=/usr/src/uucode/src/config.zig \61      --dep config.zig -Mstorage.zig=/usr/src/uucode/src/storage.zig \62      --dep config.zig --dep storage.zig -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig63    GENERATORS := /tmp/ghostty/uucode-generate /tmp/ghostty/props-generate /tmp/ghostty/symbols-generate64    all: /usr/lib/libghostty-vt.a /usr/lib/libdisplay.so65    /tmp/ghostty/uucode-generate.c:66    >zig build-exe $(ZIGFLAGS) -lc --name uucode-generate --dep generate -Mroot=/tmp/ghostty/generator.zig \67    >  --dep config.zig --dep storage.zig --dep build_config -Mgenerate=/usr/src/uucode/src/generate.zig \68    >  $(UUCODE_CONFIG) -femit-bin=$@69    /tmp/ghostty/props-generate.c /tmp/ghostty/symbols-generate.c: /tmp/ghostty/uucode-tables.zig70    >zig build-exe $(ZIGFLAGS) -lc --name $(basename $(@F)) --dep generate -Mroot=/tmp/ghostty/generator.zig \71    >  --dep uucode -Mgenerate=/usr/src/ghostty/src/unicode/$(subst -generate.c,_uucode.zig,$(@F)) \72    >  --dep types.zig --dep config.zig --dep tables -Muucode=/usr/src/uucode/src/root.zig \73    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \74    >  --dep types.zig $(UUCODE_CONFIG) \75    >  --dep config.zig --dep storage.zig --dep build_config -Mtables=/tmp/ghostty/uucode-tables.zig -femit-bin=$@76    $(GENERATORS): %: %.c /tmp/ghostty/compiler_rt.o77    >cc $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $^78    /tmp/ghostty/uucode-tables.zig: /tmp/ghostty/uucode-generate79    >cd /usr/src/uucode && $< $@80    /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig: /tmp/ghostty/unicode-%.zig: /tmp/ghostty/%-generate81    >$< > $@82    /tmp/ghostty/ghostty-vt.c: /tmp/ghostty/uucode-tables.zig /tmp/ghostty/unicode-props.zig /tmp/ghostty/unicode-symbols.zig83    >zig build-obj \84    >  $(ZIGFLAGS) \85    >  -lc \86    >  --name ghostty-vt \87    >  --dep build_options \88    >  --dep terminal_options \89    >  --dep wuffs \90    >  --dep unicode_tables \91    >  --dep symbols_tables \92    >  --dep uucode \93    >  -Mroot=/usr/src/ghostty/src/lib_vt.zig \94    >  -Mbuild_options=/usr/src/ghostty/generated/build-options.zig \95    >  -Mterminal_options=/usr/src/ghostty/generated/terminal-options.zig \96    >  -Municode_tables=/tmp/ghostty/unicode-props.zig \97    >  -Msymbols_tables=/tmp/ghostty/unicode-symbols.zig \98    >  -ODebug \99    >  --dep types.zig \100    >  --dep config.zig \101    >  --dep tables \102    >  -Muucode=/usr/src/uucode/src/root.zig \103    >  -ODebug \104    >  -Mtypes.zig=/usr/src/uucode/src/types.zig \105    >  -ODebug \106    >  --dep types.zig \107    >  --dep storage.zig \108    >  -Mconfig.zig=/usr/src/uucode/src/config.zig \109    >  -ODebug \110    >  --dep config.zig \111    >  --dep storage.zig \112    >  --dep build_config \113    >  -Mtables=/tmp/ghostty/uucode-tables.zig \114    >  -ODebug \115    >  --dep config.zig \116    >  -Mstorage.zig=/usr/src/uucode/src/storage.zig \117    >  --dep config.zig \118    >  --dep storage.zig \119    >  -Mbuild_config=/usr/src/ghostty/src/build/uucode_config.zig \120    >  -OReleaseSmall \121    >  --dep wuffs_c \122    >  -Mwuffs=/usr/src/ghostty/pkg/wuffs/src/main.zig \123    >  --dep c_builtins \124    >  --dep helpers \125    >  -Mwuffs_c=/usr/src/ghostty/generated/wuffs-c.zig \126    >  -Mc_builtins=/usr/src/translate_c/lib/c_builtins.zig \127    >  -Mhelpers=/usr/src/translate_c/lib/helpers.zig \128    >  -femit-bin=$@129    /tmp/ghostty/compiler_rt.c:130    >zig build-obj $(ZIGFLAGS) --name compiler_rt -Mroot=/usr/lib/zig/compiler_rt.zig -femit-bin=$@131    /tmp/ghostty/ghostty-vt.o: /tmp/ghostty/ghostty-vt.c132    >cc -c $(CFLAGS) '-D__builtin_return_address(level)=0' -o $@ $<133    /tmp/ghostty/compiler_rt.o: /tmp/ghostty/compiler_rt.c134    >cc -c $(CFLAGS) -o $@ $<135    # Wuffs as Ghostty's pkg/wuffs/build.zig builds it, for kitty graphics;136    # hidden, as the plugin's own code: its vtables name its functions.137    /tmp/ghostty/wuffs.o: /usr/src/wuffs/wuffs-v0.4.c138    >cc -c -O2 -fvisibility=hidden -DWUFFS_IMPLEMENTATION -DWUFFS_CONFIG__MODULES -DWUFFS_CONFIG__MODULE__AUX__BASE \139    >  -DWUFFS_CONFIG__MODULE__AUX__IMAGE -DWUFFS_CONFIG__MODULE__BASE -DWUFFS_CONFIG__MODULE__ADLER32 \140    >  -DWUFFS_CONFIG__MODULE__CRC32 -DWUFFS_CONFIG__MODULE__DEFLATE -DWUFFS_CONFIG__MODULE__JPEG \141    >  -DWUFFS_CONFIG__MODULE__PNG -DWUFFS_CONFIG__MODULE__ZLIB -o $@ $<142    /usr/lib/libghostty-vt.a: /tmp/ghostty/ghostty-vt.o /tmp/ghostty/compiler_rt.o /tmp/ghostty/wuffs.o143    >ar rcs $@ $^144    /usr/lib/libdisplay.so: /usr/src/dolly/ghostty/display.c /usr/lib/libghostty-vt.a145    >cc \146    >  -shared \147    >  --dolly-kernel-plugin \148    >  -O2 \149    >  -I /tmp/ghostty \150    >  -I /usr/include \151    >  $< \152    >  -lghostty-vt \153    >  -o $@154SLOP CWD /usr/src/ghostty make \155  -f /tmp/ghostty/Makefile156157FILE /usr/share/fonts/IosevkaTerm-SemiBold.ttf158FILE /usr/share/fonts/DroidSansFallback.ttf159FILE /usr/share/fonts/NotoEmoji-Regular.ttf160FILE /usr/share/licenses/droid-fonts/NOTICE161FILE /usr/share/licenses/noto-emoji/OFL.txt162FILE /usr/share/licenses/ghostty/LICENSE163FILE /usr/share/licenses/uucode/LICENSE.md164FILE /usr/share/licenses/uucode/LICENSE_unicode165FILE /usr/share/licenses/wuffs/LICENSE-APACHE166FILE /usr/share/licenses/wuffs/LICENSE-MIT167FILE /usr/share/licenses/translate-c/LICENSE168169EXPORTS LIB    ghostty-vt /usr/lib/libghostty-vt.a170EXPORTS LIB    display    /usr/lib/libdisplay.so171EXPORTS HEADER ghostty-vt /usr/include/ghostty172173SLOP rm \174  -rf \175  /tmp/ghostty \176  /tmp/ghostty.tar \177  /tmp/uucode.tar \178  /usr/src/dolly/ghostty \179  /usr/src/ghostty \180  /usr/src/uucode181182# Opened, the image runs the display library it just built.183EXPORTS ENV DOLLY_DISPLAY_LIBRARY /usr/lib/libdisplay.so184185ENTRY /bin/foreground -i /bin/slop186