Compile WebKit GSettings schemas for clean rootfs builds

The live nokia-beatles target exposed two gaps: the phone was still running the baseline webarchy.so/networks.so binaries, and WebKit's network process aborted because apk --no-scripts left gschemas.compiled ungenerated. Deploy the current plugin binaries on the phone and make clean image builds compile the schema database from explicit glib/gsettings-desktop-schemas packages. Add a host test and build guards; live HTTP rendering and Bluetooth discovery now pass.
This commit is contained in:
Luxferre committed 2026-11-10 15:47:03 +02:00
1 parent a7b1a75465
commit f892531df6
11 files changed
+174 -7

No files matched your search

+18
View File
@@ -1137,6 +1137,24 @@ if command -v g++ >/dev/null 2>&1 && \
fail "host webarchy renderer profile test failed"
fi
echo "[check] Webarchy GSettings schemas..."
GS_SCHEMA_COMPILER="$BASE_DIR/scripts/compile-gsettings-schemas.sh"
if [ ! -x "$GS_SCHEMA_COMPILER" ]; then
fail "missing or non-executable scripts/compile-gsettings-schemas.sh"
fi
if ! command -v glib-compile-schemas >/dev/null 2>&1; then
fail "glib-compile-schemas is required to build WebKitGTK rootfs images"
fi
if ! command -v gsettings >/dev/null 2>&1; then
fail "gsettings is required to verify compiled WebKitGTK schemas"
fi
if [ ! -x "$BASE_DIR/scripts/test-webkit-gsettings.py" ]; then
fail "missing host unit test scripts/test-webkit-gsettings.py"
fi
if ! "$BASE_DIR/scripts/test-webkit-gsettings.py" >/dev/null 2>&1; then
fail "host WebKit GSettings schema test failed"
fi
echo "[check] Idle blank screenlock wiring..."
IDLE_BLANK="$BASE_DIR/overlay/rootfs/usr/bin/bananarchy-idle-blank.sh"
IDLE_LOCK="$BASE_DIR/overlay/rootfs/usr/bin/bananarchy-idle-lock.sh"