- Port Webarchy GTK3/WebKit2GTK browser for 2160x1080 with flush-right vertical tab bar, DPI-scaled .Xresources SIGUSR1 theming, single-instance FIFO, and GPU crash CPU fallback (src/webarchy/webarchy.cpp, geminux-webarchy) - Cross-compile pure-C gdk-pixbuf 2.42.12 (geminux-gdk-pixbuf) and compile rootfs GSettings schemas so webkit2gtk-4.1 and gst-plugins-good install with zero Rust ELFs - Add zero-Rust geminux-mpv (mpv v0.40.0, FFmpeg n7.1.5, libplacebo, gst-libav 1.28.9) plus python3, py3-pip, mpg123, yt-dlp (quickjs), gnupg, gpg, pass, and pinentry-curses - Fix MT6797 WLAN peer deauth and CCMP EAPOL GTK rekey (patch 0007), set wifi.powersave = 2, pin active WLAN connections in geminux-net, and add the DNS tab with geminux-dnsctl - Restore st filled/hollow cursor focus across screenlock and libgemui grabs via dwm, libgemui, and st updates - Update README.md, MANUAL.md, ARCHITECTURE.md, POWER-OPTIMIZATION.md, check-rebuild.sh, and host Python tests
42 lines
1.2 KiB
Bash
Executable File
42 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
# Compile the target rootfs's GSettings XML schemas.
|
|
# Apk installs packages with --no-scripts, so gschemas.compiled is not created
|
|
# by package triggers. WebKitGTK's network process aborts when the compiled
|
|
# schema database is missing.
|
|
set -eu
|
|
|
|
BASE_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
|
TARGET_ROOTFS="${1:-${ROOTFS_DIR:-$BASE_DIR/rootfs}}"
|
|
SCHEMA_DIR="$TARGET_ROOTFS/usr/share/glib-2.0/schemas"
|
|
|
|
if [ ! -d "$SCHEMA_DIR" ]; then
|
|
echo "Error: GSettings schema directory is missing: $SCHEMA_DIR" >&2
|
|
exit 1
|
|
fi
|
|
|
|
schema_found=0
|
|
for schema_file in "$SCHEMA_DIR"/*.gschema.xml "$SCHEMA_DIR"/*.enums.xml; do
|
|
if [ -f "$schema_file" ]; then
|
|
schema_found=1
|
|
break
|
|
fi
|
|
done
|
|
if [ "$schema_found" -ne 1 ]; then
|
|
echo "Error: no GSettings schema XML files found in $SCHEMA_DIR" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if ! command -v glib-compile-schemas >/dev/null 2>&1; then
|
|
echo "Error: glib-compile-schemas is required to compile $SCHEMA_DIR" >&2
|
|
exit 1
|
|
fi
|
|
|
|
glib-compile-schemas --strict --targetdir="$SCHEMA_DIR" "$SCHEMA_DIR" >/dev/null
|
|
if [ ! -s "$SCHEMA_DIR/gschemas.compiled" ]; then
|
|
echo "Error: glib-compile-schemas did not create gschemas.compiled" >&2
|
|
exit 1
|
|
fi
|
|
chmod 0644 "$SCHEMA_DIR/gschemas.compiled"
|
|
|
|
echo "[ok] compiled GSettings schemas in $SCHEMA_DIR"
|