diff --git a/BUILD_NOTES.md b/BUILD_NOTES.md index fa4bca8..3297f9e 100644 --- a/BUILD_NOTES.md +++ b/BUILD_NOTES.md @@ -1,5 +1,9 @@ # formDAM build notes +## v1.32.2 (2026-11-27) · replaces 1.32.1; the build log now says why an AppImage was not built + +1.32.1 was published with the deb and without the AppImage it was meant to add, and was then taken back. 1.32.2 replaces it. The AppImage step in `setup/build_linux_app` now runs verbosely and, when it fails, prints the lines that name the problem into the build log; in 1.32.1 the log could not say why. The step is still `try`, so the deb ships either way. Nothing in the app, the engine or the macOS and Windows builds changed from 1.32.0. Detail in `src-tauri/HASHOUT_LOG.md`. + ## v1.32.1 (2026-11-26) · Linux gets an AppImage beside the deb FormDAM's Linux build was a deb only, the one app in the family without an AppImage. `setup/build_linux_app` now builds the deb as before and then an AppImage from the same compiled program and engine. The AppImage step is set to `try`: if it cannot be made, the script says so, the deb is still complete, and the build goes on (`APPIMAGE=required` stops instead; `APPIMAGE=no` skips it). It is `try` because the step has not run anywhere yet; the first release build is its first run. In an AppImage the polkit policy file cannot be installed, so the system's unlock prompt for private items is not offered there, the same as when FormPortal unpacks the deb without installing it. Nothing in the app, the engine or the macOS and Windows builds changed. Detail in `src-tauri/HASHOUT_LOG.md`. diff --git a/README.md b/README.md index 3a4d7c4..1655f18 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

- version 1.32.1 + version 1.32.2 Python FastAPI macOS, Windows, Linux License: Apache-2.0 diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 3cbbc6f..a613f68 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "formdam-frontend", - "version": "1.32.1", + "version": "1.32.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "formdam-frontend", - "version": "1.32.1", + "version": "1.32.2", "devDependencies": { "jsdom": "^29.1.1", "typescript": "^5.6.3", diff --git a/frontend/package.json b/frontend/package.json index e34b40c..87d3598 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "formdam-frontend", "private": true, - "version": "1.32.1", + "version": "1.32.2", "type": "module", "scripts": { "dev": "vite", diff --git a/setup/build_linux_app b/setup/build_linux_app index 1e855a5..6c86c57 100755 --- a/setup/build_linux_app +++ b/setup/build_linux_app @@ -120,12 +120,19 @@ cd src-tauri npx --yes @tauri-apps/cli@2.12.3 build --bundles "$BUNDLES" -- --locked if [ "$APPIMAGE" != no ]; then say "Building the AppImage (the same program and engine in one file that needs no install)" - if NO_STRIP=true npx --yes @tauri-apps/cli@2.12.3 build --bundles appimage -- --locked; then + step=target/appimage-step.log + if NO_STRIP=true npx --yes @tauri-apps/cli@2.12.3 build --verbose --bundles appimage -- --locked > "$step" 2>&1; then echo "AppImage: built" - elif [ "$APPIMAGE" = required ]; then - echo "AppImage: NOT BUILT (above is why), and APPIMAGE=required, so the build stops here" - exit 1 else + echo "---- AppImage step: the lines that name a problem ----" + grep -n -iE 'error|could not|cannot|not found|no such|failed|denied' "$step" | tail -n 40 || true + echo "---- AppImage step: its last 60 lines (all of it is in $PWD/$step) ----" + tail -n 60 "$step" || true + echo "---- AppImage step: end ----" + if [ "$APPIMAGE" = required ]; then + echo "AppImage: NOT BUILT (above is why), and APPIMAGE=required, so the build stops here" + exit 1 + fi rm -f target/release/bundle/appimage/*.AppImage echo "AppImage: NOT BUILT (above is why). The package built before it is complete and unaffected." fi diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index d500172..0d1dbf8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1099,7 +1099,7 @@ dependencies = [ [[package]] name = "formdam-desktop" -version = "1.32.1" +version = "1.32.2" dependencies = [ "block2", "keyring", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 2a56b58..f34d541 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "formdam-desktop" -version = "1.32.1" +version = "1.32.2" description = "formDAM: local-first digital asset manager for photos & video" edition = "2021" diff --git a/src-tauri/HASHOUT_LOG.md b/src-tauri/HASHOUT_LOG.md index 579f2c7..6b53e24 100644 --- a/src-tauri/HASHOUT_LOG.md +++ b/src-tauri/HASHOUT_LOG.md @@ -1,6 +1,19 @@ # src-tauri HASHOUT_LOG · formDAM current: v1.27.2 · 2026-10-22 +### ../setup/build_linux_app · when the AppImage is not built, the build log says why +- refers-to: ../setup/build_linux_app (the AppImage step: `--verbose`, `target/appimage-step.log`, the two printed blocks) +- kind: fix +- logged: v1.32.2 · 2026-11-27 + +The first release build with the AppImage step (1.32.1) made the deb and no AppImage, as `APPIMAGE=try` allows, and the log could not say why: Tauri hides the output of the tool that assembles an AppImage unless it is asked to be verbose. The step now runs with `--verbose`, writes everything to `target/appimage-step.log`, and on failure prints the lines that name a problem (up to 40) and the last 60 lines, between marked lines, before `AppImage: NOT BUILT`. On success it prints `AppImage: built` and nothing else, so a normal log stays short. + +The step is still `try`. The cause of the 1.32.1 failure is not known yet, and `required` would cost the release its deb as well. It becomes `required` in the release that fixes the cause. + +1.32.1 itself was taken back after it was published without the AppImage; 1.32.2 replaces it. + +Seen: the changed lines run with a stand-in for the Tauri command in five cases (succeeds; fails with a named error; fails with no output; fails with `required`; `APPIMAGE=no`). Not built here: the AppImage. + ### ../setup/build_linux_app · Linux gets an AppImage beside the deb - refers-to: ../setup/build_linux_app (APPIMAGE, the second `tauri build --bundles appimage`, NO_STRIP); tauri.conf.json bundle.resources (the engine tree), bundle.linux.deb.files (the polkit policy) - kind: feature