6 Commits
Author SHA1 Message Date
waoziandClaude Opus 5.5 054a29f02c Remove raylib: run every host on Kryon and Ziran
Breeze builds and runs with no raylib anywhere, on Ziran 7fbc8152 and
Kryon b5a61b37, with plot, entity, apps, css and game2d pinned to that
Kryon, so the lock has one Kryon and no raylib package.

- Linux and Windows run on Kryon's SDL2 and Cairo desktop host; WebP
  decodes with the linked libwebp (KRYON_WEBP_LINKED).
- Android owns its NativeActivity loop on Kryon's android_runtime:
  Pixmap on the activity's surface, android_touch input and Android's
  typefaces, paced to the app's frame target. The CMake build drops
  breeze_raylib, GLES and the raylib link wraps, and links Kryon's fopen
  wrapper.
- The browser reaches Kryon's canvas modules directly.
- Audio is Ziran's std audio: its mixer, the SDL, AAudio and OpenSL ES
  sinks, the WAV, MP3 and Vorbis decoders and the audio package's Opus.
  The MP3 and Vorbis archives come from Ziran's own codec recipes. The
  browser keeps Kryon's Web Audio.
- Host modules choose the desktop host, Android, the canvas or, for
  native tests that select none, a headless host with no window, input
  or audio device. host_keys.zi and text_input_host.zi replace
  raylib_host.zi and raylib_text_input.zi; the log is one implementation,
  with logcat on Android and the C runtime's open flags on Windows.
- The Makefile, Click packaging, CI and release workflows build no raylib.
- Tests: radio, app log, asset files, DPI, legacy sessions, sync recovery
  and the Android JNI bridge run without raylib stubs; voice playback is
  a Ziran test of real Ogg Opus narration through Ziran's mixer. Tests
  that only exercised raylib internals are removed.
- AppsControllerSha256 is the controller built from Apps b96d9afe on
  this graph.

Local tests: Linux desktop window, Habits UI and the Ziran and native
tests above pass on a private Xvfb; the Android debug APK runs on a
Pixel 4a; the Windows package runs under Wine on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:16:23 -03:00
waozi bfe2838cae Split the Makefile into one file per area under mk/
The Makefile keeps the shared configuration, the native build and the
release gates. The rules of each area moved unchanged to mk/: laws, cells,
plan9, windows, web, android, packaging, site, release and tools, and the
tests to mk/tests-*.mk, with the `test:` lines in their old order in
mk/tests-suite.mk. make's database is the same rule for rule: targets,
prerequisites in order, recipes and variables.

mk/tests-lumi.mk is read where its rules stood, before TARGET is set, so
its UI tests still do not build $(TARGET) first.

The readers follow: check-version scans mk/*.mk, version_test copies them
for its make run, the visual gate hashes mk, the Firefox source zip ships
mk/ (it lacked mk/sync.mk before), and the release workflow and its
Windows vendor cache count the non-test mk files like the Makefile.
2026-10-17 20:49:06 -03:00
waozi 250938e668 Drop paths into the removed vendor trees
Kryon no longer vendors utf8proc, Monocypher, liboqs, or raylib; each is
its own Ziran package. The native build stops passing include paths and
a sync crypto list that point into Kryon's old vendor tree, the
secondary window test reads raylib's headers from its package, and the
Firefox add-on source zip leaves out liboqs's and raylib's docs, tests,
and examples from their package folders.
2026-09-29 21:44:41 -03:00
waozi e5e203ce89 Fetch dependencies as Ziran packages instead of submodules
ziran.toml and ziran.lock pin the Ziran toolchain, Kryon, Game2D, the Daochi
client, and the C libraries (as source packages) at the commits the vendor
submodules used. scripts/packages.sh bootstraps the locked toolchain, runs
ziran fetch, and links each checkout under build/packages/; make, Gradle, and
CI run it before building. make package-check replaces no-vendor-edits.
2026-09-27 16:44:19 -03:00
waozi f6ef1ea93d Reduce Inbe package sizes 2026-08-30 19:46:13 -03:00
waozi e8590c0a61 Improve Firefox add-on packaging and app storage 2026-07-12 18:37:26 -03:00