Erster Commit: nativer Linux-Port aus macOS-Bytecode

Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux
auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird
das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/
scipy/PortAudio) kommen nativ aus Debian stretch.

Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei
Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode
zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per
.gitignore ausgeschlossen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
maik
2026-08-20 19:57:01 +02:00
co-authored by Claude Opus 4.8
commit a7c93fa266
654 changed files with 478133 additions and 0 deletions
Executable
+36
View File
@@ -0,0 +1,36 @@
#!/bin/bash
# Startet die native App aus ORIGINAL-macOS-Bytecode (echtes wxGTK 3.0, KEIN Wine)
# mit X11 + Ethernet + optional seriell.
# ./run.sh GUI + Ethernet-Amps (Host-Netz)
# SERIAL_DEV=/dev/ttyUSB0 ./run.sh zusaetzlich seriellen Port
# NET=bridge ./run.sh ohne Host-Netz (dann keine LAN-Amps)
set -e
IMAGE="va-remotecontrol:native-mac"
SERIAL_DEV="${SERIAL_DEV:-/dev/ttyUSB0}"
xhost +local: >/dev/null 2>&1 || true
DEV=()
[ -e "$SERIAL_DEV" ] && DEV+=(--device "$SERIAL_DEV") && echo "[run] $SERIAL_DEV durchgereicht"
if [ "${NET:-host}" = "host" ]; then
NETARGS=(--network host) # LAN direkt (Amp-Broadcast/Discovery)
else
NETARGS=()
echo "[run] ohne Host-Netz - LAN-Amps nicht erreichbar"
fi
# --ipc=host: teilt IPC-Namespace -> X-MIT-SHM funktioniert (sonst BadShmSeg
# unter XWayland/Wayland-Compositoren mit eigenem Container-IPC).
docker run --rm -it \
"${NETARGS[@]}" \
--ipc=host \
-e DISPLAY="$DISPLAY" \
-e SERIAL_DEV="$SERIAL_DEV" \
-e VA_SVG_WINPATH="${VA_SVG_WINPATH:-}" \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
"${DEV[@]}" \
--name va-native-mac \
"$IMAGE"
xhost -local: >/dev/null 2>&1 || true