Files
bananarchy/scripts/rootfs-prune-packages.txt
T
Luxferre 8078f211e5 Remove the remaining optional scripting runtimes, pin the core tools
- Drop perl, perl-io-socket-ssl, tcl-lib, tcl-tls, sqlite-tcl, lua5.4,
  lua5.4-dev, lua5.5, lua5.5-dev and sqlite (CLI) from the package set and
  add them to the prune denylist: 13 packages / 49.45 MiB including
  dependents. sqlite-libs, tcl, and all paramount runtimes stay.
- Promote curl to an explicit world entry and pin curl, bc, ed, rlwrap,
  mandoc, nano, less and frotz as core tools in check-rebuild.sh.
- Remove the lua/luac symlink creation and the lua5.5 critical-binary check
  from the build scripts; apply-bananarchy-overlay.sh deletes stale links.
- Drop four legacy pmbootstrap-era so: world constraints (@ entries in the
  prune list); so:libperl.so was pinning perl and blocking its removal.
- Update README.md, MANUAL.md, AGENTS.md, SDK.md section 7 and CHANGELOG.md.
- Rebuild images/bananarchy-nokia-argon.img (1.59 GiB, down from 1.66 GiB)
  and verify with qemu-arm that yabasic, neoui.yab, neonet.yab, curl, bc and
  ed still work while perl, lua, sqlite3, gcc and janet are gone.
2026-11-05 15:08:13 +02:00

80 lines
2.4 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
# Retired scripting runtimes and optional extensions. The core tools
# (curl, bc, ed, rlwrap, mandoc, nano, less, frotz) and the paramount
# runtimes (yabasic, python3, bash, tcl, luajit, gawk, jq, gojq, quickjs)
# stay in scripts/rootfs-packages.txt.
perl
perl-io-socket-ssl
tcl-lib
tcl-tls
sqlite-tcl
lua5.4
lua5.4-dev
lua5.5
lua5.5-dev
sqlite
# Legacy pmbootstrap-era so: world constraints. @ lines are dropped from
# etc/apk/world entirely: they are not packages and must not be passed to apk.
# so:libperl.so in particular pins perl and blocks its removal; the other
# three providers (elogind-common, expect, libpulse) are hard dependencies of
# remaining world packages and stay installed.
@so:libelogind-shared-255.24.so
@so:libexpect5.45.4.so
@so:libperl.so
@so:libpulsecommon-17.0.so
# 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