Port Quagr NeoUI pager plugin, opt-in receiver daemon, and cover alerts
- Port Quagr (<=30-byte SHA-256 + XOR + checksum) as C++20 NeoUI DWM plugin quagr.so (xquagr / quagr) across all targets with 3-tab UI (Receive, Send, Config) and independent Rx/Tx Passphrase or Raw 64-Hex key support. - Enforce strict receiver autostart gating in quagr_plugin_init and --preload (starts only when autostart_rx=1 and a valid Rx key/passphrase is set) with atomic $SXMO_NOTIFDIR system notification emission and duress-mode blocking. - Integrate QUAGR/QUAGR_CLEAR full-message wrapped rendering, extended ASCII 5x7 glyphs, persistent hold, and any-side-button dismissal into bananarchy-cover-idle and bananarchy-cover-event.sh for nokia-beatles. - Rebuild and pin a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler, and add scripts/test-quagr.py.
This commit is contained in:
1 parent
0d8047ddfe
commit
f6b42ff604
81 files changed
+3182
-58
No files matched your search
@@ -481,15 +481,15 @@ fi
|
||||
|
||||
echo "[check] Known-good flashable image set..."
|
||||
for pair in \
|
||||
"6ada66359a650a7e93f8937082a46353171989a54de19661821c1b91ea642ae3 images/bananarchy-nokia-argon.img" \
|
||||
"33b8b9181d5a23dd4a4bb473d827c6a87cf3407374c2e8b409fc45a7e60881b9 images/bananarchy-nokia-beatles.img" \
|
||||
"7e242e51cb3b16fe932d83c5807b0df93188606aa78859c484e3a8ed4414a8ff images/boot-bananarchy-nokia-beatles.img" \
|
||||
"640127f7d49e25906df1d9bb9e63fb2c07374bfa908092658d0e763c7ac87a94 images/bananarchy-nokia-argon.img" \
|
||||
"289698c31daf25adceba6af8fcdc93cd85673d0a24faf5c848ef0c0bb659fab7 images/bananarchy-nokia-beatles.img" \
|
||||
"cc0678bcdcd3fbafe54a4e5236f104d647dd6965aa05dfe4de56217095b8eba8 images/boot-bananarchy-nokia-beatles.img" \
|
||||
"b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d images/boot-lk2nd-nokia-beatles-display.img" \
|
||||
"4928a008fc1394e84c2bc2040b91b515eb2f506c39f0c822d8242e40dbf31eb6 images/bananarchy-nokia-coconut.img" \
|
||||
"ac4ea812933bb9d990540881110ecf88f1585c31590d4b860834f1553f2f1537 images/boot-bananarchy-nokia-coconut.img" \
|
||||
"1f36243dc318fb024650c55e64202941c761227bf528fbb3128a1b5063eead0d images/bananarchy-nokia-coconut.img" \
|
||||
"e38cba2eaf502eaccf4c6b8b4b3dc97145cde1aefed940546385793ef25035e0 images/boot-bananarchy-nokia-coconut.img" \
|
||||
"e876424b38b0782f589756b4107337b24f27f7c37d624cc7d3907a5331df050a images/boot-lk2nd-nokia-coconut-display.img" \
|
||||
"7b8de44bac9cded16f219d723748806a17053886dd1762d7261ac6de308918d6 images/bananarchy-nokia-sparkler.img" \
|
||||
"1ae0dfe5f189cbf381cdc26a89d95bfbabf2e267e86091fd1e8b32392460fa79 images/boot-bananarchy-nokia-sparkler.img" \
|
||||
"170e1ef659755b7c10571a926211ff14352e194eaf92ecc8177c04003936091d images/bananarchy-nokia-sparkler.img" \
|
||||
"8ebfb07dd3d3a5108e47962e90a4594c43e66343986175791097542828d016e3 images/boot-bananarchy-nokia-sparkler.img" \
|
||||
"bc41c2ddd1079246a7e91a40222fcafb82b0b52965c8ee8081872767d006748f images/boot-lk2nd-nokia-sparkler-display.img"; do
|
||||
set -- $pair
|
||||
want=$1
|
||||
@@ -2405,6 +2405,38 @@ if ! python3 "$BASE_DIR/scripts/test-timer.py" >/dev/null 2>&1; then
|
||||
fail "scripts/test-timer.py failed"
|
||||
fi
|
||||
|
||||
echo "[check] Quagr NeoUI pager plugin, opt-in daemon, and cover alerts..."
|
||||
for artifact in \
|
||||
src/dwm-plugins/quagr_plugin.cpp \
|
||||
prebuilt/sxmo-x11/usr/lib/dwm/plugins/quagr.so \
|
||||
overlay/rootfs/usr/lib/dwm/plugins/quagr.so \
|
||||
scripts/test-quagr.py; do
|
||||
if [ ! -f "$BASE_DIR/$artifact" ]; then
|
||||
fail "missing Quagr artifact: $artifact"
|
||||
fi
|
||||
done
|
||||
for link in \
|
||||
prebuilt/sxmo-x11/usr/bin/xquagr \
|
||||
prebuilt/sxmo-x11/usr/bin/quagr \
|
||||
overlay/rootfs/usr/bin/xquagr \
|
||||
overlay/rootfs/usr/bin/quagr; do
|
||||
if [ ! -L "$BASE_DIR/$link" ]; then
|
||||
fail "missing Quagr runner symlink: $link"
|
||||
fi
|
||||
done
|
||||
if ! grep -qF 'shouldAutostartQuagr' "$BASE_DIR/src/dwm-plugins/quagr_plugin.cpp" || \
|
||||
! grep -qF 'quagr_active' "$COVER_SRC" || \
|
||||
! grep -qF 'quagr)' "$COVER_EVENT" || \
|
||||
! grep -qF '"xquagr.pid"' "$DMENU_SRC" || \
|
||||
! grep -qF 'xquagr' "$BASE_DIR/overlay/rootfs/usr/share/sxmo/default_hooks/sxmo_hook_apps.sh"; then
|
||||
fail "Quagr plugin, cover screen integration, dmenu wiring, or apps hook is incomplete"
|
||||
fi
|
||||
if [ -x "$BASE_DIR/scripts/test-quagr.py" ] && \
|
||||
command -v python3 >/dev/null 2>&1 && \
|
||||
! python3 "$BASE_DIR/scripts/test-quagr.py" >/dev/null 2>&1; then
|
||||
fail "scripts/test-quagr.py failed"
|
||||
fi
|
||||
|
||||
if [ "$FAILURES" -ne 0 ]; then
|
||||
echo "[check] $FAILURES check(s) failed."
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user