- scripts/build-wx-macos.sh: static, monolithic, universal (arm64 + x86_64) wxOSX/Cocoa 3.3.3 from the vendored tree, with wx's bundled image/zlib/regex/expat so the app links only system frameworks. Minimum macOS 11.0: current SDKs' libc++ supports nothing older. - scripts/build-gui-macos.sh: builds both Rust targets against that prefix and merges them with lipo. - ci/package-macos.py: "Alkane Toolkit.app" (Info.plist, icon, local network usage string), ad-hoc signed, zipped with ditto as alkane-toolkit-vX.Y.Z-macos-universal.zip with LICENSE and README. - crates/alkane-gui/macos: app icon (.icns) from the same glyph as the Windows icon, plus the script that makes it. - wx-rs patch 0009: macOS goes through wx-config (drops the universal -arch flags, maps -framework), reports logical sizes like GTK/MSW instead of narrowing floats to ints, and links clang's compiler runtime for wxOSX's @available checks. - docs/macos.md, README and the manual's install chapter. Verified on an M1 running macOS 27.0.1: both slices build, all workspace unit tests pass, and the headless UI self-test passes 52/52 on arm64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wx-rs patch queue
../wx-rs-0.2.0-patched/ is the tree cargo builds. These patches, applied in
order to the pristine crate in ../upstream/ (digest pinned in ../VERSION),
must reproduce it byte for byte; CI checks this with
scripts/wx_rs_patches.py check.
To change the bridge: edit the patched tree, build and test, then record the change as the next patch and commit both:
python3 scripts/wx_rs_patches.py capture short-name "One-line subject" [PATH ...]
capture limits the patch to the given paths (default: everything that
differs) and re-runs the check. 0002 and 0003 create the widget bridge
files outright, so they carry those files as of the queue's re-baselining;
later changes go in new patches.
| Patch | What |
|---|---|
| 0001 | Linux/GTK3 build through wx-config |
| 0002 | Widget/event bridge, Rust side (src/widgets.rs) |
| 0003 | Widget/event bridge, C++ side (cpp_src/widgets_bridge.cpp) |
| 0004 | Upstream fixes for wx 3.3 (uninitialised callbacks) |
| 0005 | Packaging: build-only reqwest note; drop the case-duplicate readme.md |
| 0006 | Build: platform from the target, not the host; Windows/GNU via wx-config |
| 0007 | wxbridge.cpp on wxMSW: no input-swallowing overlay, appearance before the first window, work-area sizing, executable icon, UTF-8 menu fix |
| 0008 | Widget bridge on wxMSW: generic data-view input and tooltips, DIP boundary, anti-aliased shapes, themed selection colours |
| 0009 | macOS: wxOSX (universal static) through wx-config, logical sizes on Apple, clang compiler runtime for @available |
History: the round 19 health-tooltip fix (GTK tip area converted from bin-window to widget coordinates) used to be a separate patch on top of an older 0003; it is part of 0003 since the re-baselining.