Files
bananarchy/scripts/rootfs-prune-packages.txt
T
Luxferre 2da4c86923 Drop the on-device GCC suite and Janet runtime, keep Yabasic FFI intact
- Remove gcc, g++, musl-dev, make, janet, janet-dev and jpm from
  scripts/rootfs-packages.txt and add them to the prune denylist; 14 packages
  and 143.86 MiB disappear, with no runtime callers in the overlay.
- Verify the Yabasic chain by running the real armv7 binaries under qemu-arm
  in a chroot of the rebuilt rootfs: yabasic 2.92.1, basic print, import neonet
  (libffi -> libcurl.so.4) and import neoui (libffi -> libneoui.so) all work.
- Guard yabasic/yabasic-doc as critical, forbid compiler/Janet packages, and
  check the NeoUI/NeoNet FFI artifacts in check-rebuild.sh.
- Update README.md, MANUAL.md, AGENTS.md and SDK.md; replace the on-device
  compile examples with cross-compilation guidance and add SDK.md section 7,
  an inventory of paramount versus removable scripting runtimes.
- Rebuild images/bananarchy-nokia-argon.img (1.66 GiB, down from 1.84 GiB)
  and confirm via debugfs that the compiler/Janet binaries are gone while
  yabasic, libneoui.so, neoui.yab, neonet.yab and libcurl are present.
2026-11-05 14:58:30 +02:00

55 lines
1.7 KiB
Plaintext

# Packages that must never be present in the final armv7 image.
# Read by scripts/prune-rootfs-packages.sh, which removes only the entries
# actually installed in the target rootfs.
# One package per line; lines starting with '#' and blank lines are ignored.
# Lines starting with '!' are negative etc/apk/world constraints: apk re-adds
# install_if packages on every transaction, so apk del alone cannot remove them.
# Wayland-purpose components (Bananarchy is pure X11). wayland-libs-* are
# shared libraries linked by GTK3/WebKitGTK and are deliberately not listed:
# removing them would break the Webarchy browser.
grim
imv-wayland
libdecor
libwpebackend-fdo
slurp
sxmo-utils-wayland
wofi
xwayland
# Rust-based top-level packages replaced by C equivalents or retired daemons.
# The remaining Rust libraries (libglycin, librsvg, rav1e-libs, libdovi,
# generate-kernel-cmdline, py3-cryptography) are hard dependencies of GTK3,
# FFmpeg, mpv, boot-deploy and yt-dlp and cannot be removed without regressions.
hkdm
postmarketos-base-sudo-rs
sudo-rs
# Optional Rust install_if helpers with no hard reverse dependency.
gstreamer-ptp-helper
libheif-rav1e
# Retired, unused, or superseded packages.
clickclack
font-twemoji
mesa-demos
postmarketos-artwork-wallpapers
ttyescape
# Retired on-device compiler toolchain and Janet runtime. Native code is
# cross-compiled with scripts/build-*.sh; Yabasic FFI stays fully functional.
gcc
g++
musl-dev
make
janet
janet-dev
jpm
# Negative world constraints for install_if packages. apk del removes these
# constraints, so the pruner restores them and runs apk fix after every purge.
!imv-wayland
!gstreamer-ptp-helper
!libheif-rav1e
!postmarketos-base-sudo-rs