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
+2 -2
View File
@@ -252,7 +252,7 @@ exception, is included on the MontaukOS ISO at 0:/os/licenses/AGPL-3.0-C059.txt.
10. Tiny C Compiler (TCC)
================================================================================
Shipped as the bundled C compiler (tcc.elf) with its runtime libraries and
headers on the ISO (0:/lib/tcc/). MontaukOS ships a modified version of TCC
headers on the ISO (0:/sdk/tcc/). MontaukOS ships a modified version of TCC
0.9.28rc, ported to target MontaukOS (added platform startup/compatibility
code and a MontaukOS sysroot).
@@ -281,7 +281,7 @@ License: GNU Lesser General Public License, version 2.1 (LGPL-2.1)
11. Lua
================================================================================
Shipped as the bundled Lua interpreter (lua.elf), Lua 5.4.8, with its static
library and headers on the ISO (0:/lib/lua/).
library and headers on the ISO (0:/sdk/lua/).
License: MIT License