Update docs for monorepo restructure
Shared/ → MNW/shared/ path refs in README and distribution docs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 files changed,
+3 insertions,
-3 deletions
| 39 |
39 |
|
|
| 40 |
40 |
|
Dependency flow: `audiofiles-core` is the leaf -> `audiofiles-rhai` and `audiofiles-sync` depend on core -> `audiofiles-browser` depends on core, sync, and rhai -> `audiofiles-app` depends on browser and core. `audiofiles-train` depends on core only.
|
| 41 |
41 |
|
|
| 42 |
|
- |
Shared libraries from `../Shared/`: [theme-common](../Shared/theme-common/) (theme loading), [synckit-client](../Shared/synckit-client/) (cloud sync SDK).
|
|
42 |
+ |
Shared libraries from `../MNW/shared/`: [theme-common](../MNW/shared/theme-common/) (theme loading), [synckit-client](../MNW/shared/synckit-client/) (cloud sync SDK).
|
| 43 |
43 |
|
|
| 44 |
44 |
|
## Features
|
| 45 |
45 |
|
|
| 25 |
25 |
|
Astra has Rust + GTK dev headers installed. Linux builds cannot cross-compile from macOS due to GTK/glib pkg-config requirements.
|
| 26 |
26 |
|
|
| 27 |
27 |
|
Build process:
|
| 28 |
|
- |
1. Create source tarball (include `Shared/synckit-client/`, `Shared/docengine/`, `Shared/tagtree/` for path deps)
|
|
28 |
+ |
1. Create source tarball (include `MNW/shared/synckit-client/`, `MNW/shared/docengine/`, `MNW/shared/tagtree/` for path deps)
|
| 29 |
29 |
|
2. Upload to Astra, extract, `cargo build --release -p audiofiles-app`
|
| 30 |
30 |
|
3. Package deb and AppImage on Astra using `dpkg-deb` and `appimagetool`
|
| 31 |
31 |
|
4. Download artifacts back to local `dist/`
|
| 50 |
50 |
|
Note: `libpango1.0-dev:amd64` may conflict with the arm64 version — use `dpkg --force-overwrite` if needed.
|
| 51 |
51 |
|
|
| 52 |
52 |
|
Build process:
|
| 53 |
|
- |
1. Create source tarball (include `Shared/synckit-client/`, `Shared/docengine/`, `Shared/tagtree/` for path deps)
|
|
53 |
+ |
1. Create source tarball (include `MNW/shared/synckit-client/`, `MNW/shared/docengine/`, `MNW/shared/tagtree/` for path deps)
|
| 54 |
54 |
|
2. Upload to Astra, extract
|
| 55 |
55 |
|
3. Cross-compile: `PKG_CONFIG_SYSROOT_DIR=/ PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc cargo build --release -p audiofiles-app --target x86_64-unknown-linux-gnu`
|
| 56 |
56 |
|
4. Package AppImage using `appimagetool-x86_64` and deb using `dpkg-deb` with `Architecture: amd64`
|