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.
This commit is contained in:
1 parent
dc2b6f6364
commit
2da4c86923
8 files changed
+96
-17
No files matched your search
@@ -50,7 +50,7 @@ Instead of spawning slow shell scripts for everyday phone tasks, Bananarchy runs
|
||||
### Input, terminal, and developer tools
|
||||
- **6-mode `fcitx5-t9` keypad input**: press `#` to cycle between `abc`, `Abc`, `ABC`, `Sym` (all 32 ASCII punctuation symbols), `Ctl` (`Ctrl` sequences, arrows, `PageUp`/`PageDown`, `F1`–`F12`), and `123` numeric modes with a fixed bottom candidate bar.
|
||||
- **First-class Linux terminal (`st`)**: patched with HarfBuzz OpenType ligatures (`Fira Code` as the default system and terminal font), XIM T9 input, and live theme reloading.
|
||||
- **On-device development, scripting, and gaming**: preinstalled `gcc`/`g++`, `make`, `git`, GNU `coreutils`, GNU `bc`/`dc`, `mandoc`, `nano`, `ed`, `sqlite3`, `lua` (`5.5` and `5.4`), `yabasic` (with full `yabasic-doc` manual and HTML documentation), `perl`, `tcl`, the [Janet](https://janet-lang.org/) language and `jpm`, the [Bantam](https://bantam.luxferre.top/) coding agent, `frotz` (interactive fiction), OpenGL / OpenGL ES hardware diagnostics (`glxinfo`, `eglinfo`, `glxgears`), standalone X11 keypad games (`Snake`, `Tetris`, and `Scoundrel` roguelike solitaire), a full-featured Gambatte-based Game Boy / Game Boy Color emulator (`gambatte` / `gbemu`) with readjustable keypad controls (`B=8`, `Turbo B=5`, `A=9`, `Turbo A=6`, `D-pad`, `Start=2`, `Select=3`, `Palette=*`), 10 color palettes, save states, and file manager `.gb`/`.gbc` integration, and **ReMEdy (`remedy` / `j2me`)**, a native `240x320` J2ME (MIDP 2.0 / CLDC 1.1) emulator with Adreno 304 hardware-accelerated JSR-184 M3G 3D graphics, NeoUI-themed high-level LCDUI widgets, socket/HTTP networking (`Connector`), `RecordStore` (RMS) persistence, MMAPI audio, readjustable keypad controls, and `.jar`/`.jad` file manager integration.
|
||||
- **On-device scripting, tools, and gaming**: preinstalled `git`, GNU `coreutils`, GNU `bc`/`dc`, `mandoc`, `nano`, `ed`, `sqlite3`, `lua` (`5.5` and `5.4`), `yabasic` (with full `yabasic-doc` manual and HTML documentation plus the `neoui.yab` / `neonet.yab` FFI wrappers), `perl`, `tcl`, the [Bantam](https://bantam.luxferre.top/) coding agent, `frotz` (interactive fiction), OpenGL / OpenGL ES hardware diagnostics (`glxinfo`, `eglinfo`, `glxgears`), standalone X11 keypad games (`Snake`, `Tetris`, and `Scoundrel` roguelike solitaire), a full-featured Gambatte-based Game Boy / Game Boy Color emulator (`gambatte` / `gbemu`) with readjustable keypad controls (`B=8`, `Turbo B=5`, `A=9`, `Turbo A=6`, `D-pad`, `Start=2`, `Select=3`, `Palette=*`), 10 color palettes, save states, and file manager `.gb`/`.gbc` integration, and **ReMEdy (`remedy` / `j2me`)**, a native `240x320` J2ME (MIDP 2.0 / CLDC 1.1) emulator with Adreno 304 hardware-accelerated JSR-184 M3G 3D graphics, NeoUI-themed high-level LCDUI widgets, socket/HTTP networking (`Connector`), `RecordStore` (RMS) persistence, MMAPI audio, readjustable keypad controls, and `.jar`/`.jad` file manager integration. No on-device compiler or Janet runtime is shipped: native code is cross-compiled with `scripts/build-*.sh`, while on-device programming uses the Yabasic FFI SDK.
|
||||
- **NeoUI `240x320` UI SDK (`libneoui.so` + `/usr/include/neoui.h` + `neoui.yab`) and NeoNet (`neonet.yab`)**: unified C-compatible FFI and C++20 UI SDK wrapping Xlib, Xft, Pango, `libjpeg`/`libpng`, `.Xresources` / `~/.xthemes/*.xth` live theme resolution, offscreen `Pixmap` double buffering, standardized OS shell widgets (headers, tabs, softkey bars, list/toggle/slider rows, input boxes, progress bars, scrollbars, modals, popup menus, and toasts), keypad/softkey chord handling, and multi-tap text entry—usable from C, C++, or Yabasic (`~/Projects/neoui.yab`, `~/Projects/neoui_demo.yab`, and `~/Projects/bulls_cows.yab`), paired with **NeoNet (`~/Projects/neonet.yab` and `~/Projects/neonet_demo.yab`)** for `libcurl`-based HTTP/HTTPS requests with custom headers and TCP/TLS/UDP socket exchange in Yabasic. See [SDK.md](./SDK.md) for full documentation.
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user