Add Webarchy ultrawide browser, DNS UI, WLAN/st fixes, and media/CLI packages
- 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
This commit is contained in:
1 parent
c12ed68d19
commit
e01806f3c8
82 files changed
+5499
-117
No files matched your search
@@ -25,9 +25,9 @@ echo "OK"
|
||||
|
||||
echo "[2/8] Checking excluded Wayland/Rust/upstream packages..."
|
||||
for bad_pkg in sway wayfire weston phosh cage xwayland grim slurp wofi \
|
||||
sudo-rs postmarketos-base-sudo-rs rust cargo librsvg libglycin rav1e \
|
||||
rav1e-libs libdovi mesa-rusticl gdk-pixbuf adwaita-icon-theme imv-x11 \
|
||||
gst-libav gst-plugins-bad gst-plugins-good libnotify \
|
||||
librsvg libglycin rav1e rav1e-libs libdovi mesa-rusticl gdk-pixbuf adwaita-icon-theme imv-x11 \
|
||||
gst-libav gst-plugins-bad libnotify \
|
||||
deno py3-cryptography \
|
||||
linux-edge linux-lts xorg-server xf86-input-libinput xf86-video-fbdev; do
|
||||
if grep -Fxq "P:$bad_pkg" "$ROOTFS_DIR/lib/apk/db/installed"; then
|
||||
echo "FAIL: forbidden package '$bad_pkg' is installed in rootfs" >&2
|
||||
@@ -108,7 +108,8 @@ docker run --rm --network=host \
|
||||
printf "%s\n" "$UPG_OUT"
|
||||
|
||||
for pkg in geminux-kernel-modules geminux-xlibre geminux-suckless \
|
||||
geminux-dunst geminux-ui geminux-bantam geminux-gsocket geminux-config; do
|
||||
geminux-dunst geminux-ui geminux-bantam geminux-gsocket geminux-mpv \
|
||||
geminux-gdk-pixbuf geminux-webarchy geminux-config; do
|
||||
if ! grep -q "^${pkg}@geminux=" /rootfs/etc/apk/world; then
|
||||
echo "FAIL: ${pkg} is not exact-version pinned to @geminux in world" >&2
|
||||
exit 1
|
||||
@@ -119,7 +120,7 @@ docker run --rm --network=host \
|
||||
fi
|
||||
done
|
||||
|
||||
if printf "%s\n" "$UPG_OUT" | grep -q -E "(rust|cargo|librsvg|libglycin|gdk-pixbuf|rav1e|libdovi|xorg-server|linux-edge)"; then
|
||||
if printf "%s\n" "$UPG_OUT" | grep -q -E "(rust|cargo|librsvg|libglycin|gdk-pixbuf|rav1e|libdovi|deno|py3-cryptography|xorg-server|linux-edge)"; then
|
||||
echo "FAIL: upgrade simulation tried to pull forbidden Rust or upstream override package" >&2
|
||||
exit 1
|
||||
fi
|
||||
@@ -149,7 +150,15 @@ file \
|
||||
"$BASE_DIR/prebuilt/bantam/usr/bin/bantam" \
|
||||
"$BASE_DIR/prebuilt/gsocket/usr/local/bin/gs-netcat" \
|
||||
"$BASE_DIR/prebuilt/gsocket/usr/local/bin/gsocket_dso.so.0" \
|
||||
"$BASE_DIR/prebuilt/gsocket/usr/local/bin/gsocket_uchroot_dso.so.0" | \
|
||||
"$BASE_DIR/prebuilt/gsocket/usr/local/bin/gsocket_uchroot_dso.so.0" \
|
||||
"$BASE_DIR/prebuilt/mpv/usr/bin/mpv" \
|
||||
"$BASE_DIR/prebuilt/mpv/usr/bin/ffmpeg" \
|
||||
"$BASE_DIR/prebuilt/mpv/usr/bin/ffprobe" \
|
||||
"$BASE_DIR/prebuilt/mpv/usr/lib/geminux-mpv/"*.so.*.* \
|
||||
"$BASE_DIR/prebuilt/mpv/usr/lib/gstreamer-1.0/libgstlibav.so" \
|
||||
"$BASE_DIR/prebuilt/gdk-pixbuf/usr/bin/gdk-pixbuf-"* \
|
||||
"$BASE_DIR/prebuilt/gdk-pixbuf/usr/lib/libgdk_pixbuf-2.0.so.0."* \
|
||||
"$BASE_DIR/prebuilt/webarchy/usr/bin/webarchy" | \
|
||||
awk '!/ARM aarch64/ { print "FAIL: not aarch64: " $0; bad=1 } END { exit bad }'
|
||||
echo "OK (all aarch64 ELFs verified)"
|
||||
|
||||
@@ -284,13 +293,31 @@ for req_rel in ("etc/pam.d/autologin", "etc/init.d/geminux-hwinit",
|
||||
"usr/share/X11/xkb/types/custom", "usr/sbin/dnsmasq",
|
||||
"etc/NetworkManager/conf.d/20-geminux-wifi.conf", "etc/shells",
|
||||
"usr/sbin/geminux-wifi-nvram", "usr/sbin/geminux-tzctl",
|
||||
"usr/sbin/geminux-dnsctl",
|
||||
"usr/bin/geminux-datetime",
|
||||
"usr/bin/bantam",
|
||||
"usr/bin/lynx",
|
||||
"usr/bin/webarchy",
|
||||
"usr/bin/xwebarchy",
|
||||
"usr/bin/dtach",
|
||||
"usr/bin/gpg",
|
||||
"usr/bin/gpg-agent",
|
||||
"usr/bin/openssl",
|
||||
"usr/bin/pass",
|
||||
"usr/bin/pinentry",
|
||||
"usr/bin/python3",
|
||||
"usr/bin/pip3",
|
||||
"usr/bin/mpv",
|
||||
"usr/bin/ffmpeg",
|
||||
"usr/bin/ffprobe",
|
||||
"usr/bin/mpg123",
|
||||
"usr/bin/yt-dlp",
|
||||
"usr/lib/libgdk_pixbuf-2.0.so.0",
|
||||
"usr/lib/gstreamer-1.0/libgstlibav.so",
|
||||
"usr/share/glib-2.0/schemas/gschemas.compiled",
|
||||
"usr/local/bin/gs-netcat",
|
||||
"usr/local/bin/gsocket",
|
||||
"etc/mpv/mpv.conf",
|
||||
"etc/htoprc",
|
||||
"etc/keymap/gemini-us.map",
|
||||
"etc/skel/.gitconfig",
|
||||
@@ -327,6 +354,7 @@ for rel, needle in (
|
||||
("etc/NetworkManager/conf.d/20-geminux-wifi.conf", "wifi.scan-rand-mac-address = no"),
|
||||
("etc/NetworkManager/conf.d/20-geminux-wifi.conf", "wifi-sec.pmf = 1"),
|
||||
("etc/shells", "/bin/bash"),
|
||||
("usr/bin/geminux-launcher", "Webarchy Browser"),
|
||||
("usr/bin/geminux-launcher", "Bantam AI agent"),
|
||||
):
|
||||
p = os.path.join(rootfs, rel)
|
||||
@@ -340,6 +368,15 @@ with open(os.path.join(rootfs, "usr/bin/bantam"), "rb") as f:
|
||||
bantam_bin = f.read()
|
||||
if b"kilo-auto/free" not in bantam_bin or b"openrouter/free" in bantam_bin:
|
||||
raise SystemExit("FAIL: rootfs/usr/bin/bantam does not default to 'kilo-auto/free'")
|
||||
repo_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[5]))))
|
||||
with open(os.path.join(repo_dir, "src/dwm/dwm.c"), "r", encoding="utf-8") as f:
|
||||
dwm_src = f.read()
|
||||
if "PropertyChangeMask |\n FocusChangeMask;" not in dwm_src or "NotifyWhileGrabbed" not in dwm_src:
|
||||
raise SystemExit("FAIL: src/dwm/dwm.c missing root FocusChangeMask or NotifyWhileGrabbed guard")
|
||||
with open(os.path.join(repo_dir, "src/st/x.c"), "r", encoding="utf-8") as f:
|
||||
stx_src = f.read()
|
||||
if 'ttywrite("\\033[I", 3, 0);\n\t\tredraw();' not in stx_src or 'ttywrite("\\033[O", 3, 0);\n\t\tredraw();' not in stx_src:
|
||||
raise SystemExit("FAIL: src/st/x.c focus() missing immediate redraw()")
|
||||
|
||||
awk_path = os.path.join(rootfs, "usr", "bin", "awk")
|
||||
if not os.path.lexists(awk_path):
|
||||
@@ -459,12 +496,14 @@ if readelf -Ws "$ROOTFS_DIR/usr/bin/Xorg" | grep -q systemd_logind_take_fd; then
|
||||
fi
|
||||
(cd "$IMAGES_DIR" && sha256sum -c SHA256SUMS)
|
||||
|
||||
echo "[8/8] Running all 5 Python unit/verification suites..."
|
||||
echo "[8/8] Running all 7 Python unit/verification suites..."
|
||||
python3 "$BASE_DIR/scripts/test-flash-mtk-gpt.py"
|
||||
python3 "$BASE_DIR/scripts/test-xkb-keymap.py"
|
||||
python3 "$BASE_DIR/scripts/test-theme-dunst-sync.py"
|
||||
python3 "$BASE_DIR/scripts/test-ccci-protocol.py"
|
||||
python3 "$BASE_DIR/scripts/test-power-policy.py"
|
||||
python3 "$BASE_DIR/scripts/test-webarchy-renderer.py"
|
||||
python3 "$BASE_DIR/scripts/test-webkit-gsettings.py"
|
||||
|
||||
echo "============================================================"
|
||||
echo "ALL GEMINUX CHECKS PASSED CLEANLY"
|
||||
|
||||
Reference in new issue
Block a user