feat: redesign installer on MTK toolkit with component selection

Rewrite the Installer app on the Montauk Toolkit (Canvas + gui/mtk
widgets, theme, hover states, scrollbar) replacing the hand-rolled px_*
renderer and bespoke TrueType usage.

Add a new "Software" step: an expandable checkbox tree for optional
components (Montauk SDK with gcc/g++, binutils, tcc, lua sub-items;
Games; Office; Internet apps; Printing; experimental httpd and SDR).
Unchecked components' paths are excluded from the install copy, with a
longest-path ownership rule so e.g. sdk/tcc installs even when the rest
of the SDK is deselected. The update flow refreshes only the components
the target already has.

Add tri-state checkbox and disclosure-arrow widgets to the MTK toolkit
(anti-aliased, supersampled).

Merge tcc and lua into 0:/sdk (0:/sdk/tcc, 0:/sdk/lua) and drop 0:/lib:
update tcc config.h, lua luaconf.h, both Makefiles, the devkit clean
scope, man pages and montaukos.org notices.

Make printing optional: init skips printd when 0:/os/printd.elf is
absent.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
2026-07-17 20:52:19 +02:00
co-authored by Claude Opus 4.8
parent 8e6b619b02
commit 0377be4524
18 changed files with 1647 additions and 813 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ SRCDIR := src
OBJDIR := obj
LIBC_DIR := ../../lib/libc
BINDIR := ../../bin/os
LIBDIR := ../../bin/lib/lua
LIBDIR := ../../bin/sdk/lua
CFLAGS := \
-std=gnu11 \
+2 -2
View File
@@ -223,8 +223,8 @@
#elif defined(__MONTAUKOS__) /* }{ */
#define LUA_LDIR "0:/lib/lua/"
#define LUA_CDIR "0:/lib/lua/"
#define LUA_LDIR "0:/sdk/lua/"
#define LUA_CDIR "0:/sdk/lua/"
#if !defined(LUA_PATH_DEFAULT)
#define LUA_PATH_DEFAULT \