Add Card elevation and consistent widget states, retained TextArea selection, and rounded image rendering. Integrate published image-codec, WebP and AVIF packages across native hosts and renderer artifacts with project-aware builds. Modernize Kryon Labs around visual GUI apps and modules, with real previews, honest availability, and rebuilt interactive editor and widget gallery assets. Bound private browser test lifecycles and verify source, saved IR, native, portable, browser, Windows and Android paths with the published compiler.
28 lines
1.2 KiB
Bash
Executable File
28 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
. "$repo/tests/toolchain.sh"
|
|
build=$repo/build/text-shaping
|
|
mkdir -p "$build"
|
|
exec 9>"$build/lock"
|
|
flock 9
|
|
"$ziran" ir --project --root "$repo/tests" -o "$build/ir" "$repo/tests/cairo_text.zi"
|
|
for source in source saved; do
|
|
input=$repo/tests/cairo_text.zi
|
|
root=$repo/tests
|
|
if [ "$source" = saved ]; then input=$build/ir/cairo_text.zir; root=$build/ir; fi
|
|
for target in c; do
|
|
output=$build/$source-$target
|
|
"$ziran" build --project --target="$target" --no-main --root "$root" \
|
|
--module-path "$build/ir" --entry cairo_text:Run -o "$output" "$input"
|
|
suffix=c; header=h; compiler=${CC:-cc}; standard=c11
|
|
printf '#include "cairo_text.%s"\nint main(void) { return Run(); }\n' "$header" >"$output/driver.$suffix"
|
|
"$compiler" -std="$standard" -O2 -I"$ziran_root/include" -I"$output" \
|
|
"$output"/*."$suffix" $(pkg-config --libs pangocairo fontconfig freetype2) \
|
|
-lm -lpthread -ldl -o "$output/run"
|
|
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS \
|
|
YUE_DESKTOP_RECOVERY=0 "$output/run"
|
|
done
|
|
done
|
|
echo 'Native shaping, RTL caret and long text: source/saved IR, C PASS'
|