Commit Graph

6 Commits

Author SHA1 Message Date
Gregory Schier
0ed4a6f33c Replace inline Python with Node for lockfile patching
Add flatpak/fix-lockfile.mjs (vendored from npm-package-lock-add-resolved,
MIT) to add missing resolved/integrity fields to package-lock.json.

Use it in generate-sources.sh, and use a simpler inline Node one-liner in
the manifest for the offline build-time patch.
2026-02-10 19:24:29 -08:00
Gregory Schier
07435dd53d Fix Flatpak source build: binary paths, wasm skip, lockfile patching, metainfo
- Fix protoc paths (strip-components flattens archive structure)
- Patch lockfile at build time for nested workspace deps missing resolved URLs
- Skip wasm-pack build (pre-built wasm is checked into repo)
- Use cargo build directly instead of tauri CLI (avoids inotify limits)
- Fix binary name/path (yaak-app from workspace root target dir)
- Install icons from source tree instead of deb bundle
- Generate desktop file inline instead of extracting from deb
- Add metainfo as file source (not in tagged release yet)
- Add build-wasm.cjs script with SKIP_WASM_BUILD env var support
- Update generate-sources.sh to resolve nested node_modules deps
2026-02-10 18:34:38 -08:00
Gregory Schier
ab5c541e69 Flatpak: build from source instead of repackaging debs
- Rewrite Flatpak manifest to build from source using SDK extensions
  (node22, rust-stable) with offline cargo/npm dependency caches
- Add generate-sources.sh to produce cargo-sources.json and
  node-sources.json from lock files using flatpak-builder-tools
- Vendor Node.js, protoc, and wasm-pack as archive sources with
  SHA256 verification and per-arch support
- Add SHA256 verification to vendor-node.cjs and vendor-protoc.cjs
- Rewrite update-manifest.sh to update git tag/commit and regenerate
  dependency sources
- Update Flathub CI workflow to install generators and copy source
  files
- Remove stale plugins/faker entry from package-lock.json
2026-02-10 16:20:25 -08:00
Gregory Schier
7fef35ce0a Ship metainfo in deb, remove from Flatpak manifest 2026-02-10 15:26:40 -08:00
Gregory Schier
654af09951 Bump GNOME runtime to 49, fix corrupted arm64 SHA256 2026-02-10 15:22:51 -08:00
Gregory Schier
484dcfade0 Add Flatpak and Flathub packaging support (#388) 2026-02-10 14:38:40 -08:00