From d5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 6 Nov 2026 09:52:26 +0100 Subject: wasm front end becomes the main gipfel; add desktop installers - rename crates/wipfel -> crates/gipfel (crate, wasm artifact, dist, scripts, page titles); slogan back to "Photogrammetry for Mountain Images"; crates/wipfel-tauri -> crates/gipfel-desktop - new features in the wasm app: Save image (gipfel JPEG comment, same format as before, via browser download) and lens distortion profiles stored in localStorage in FLTK prefs format with camera auto-match on image load; profile name field, save/load and dropdown - gipfel-core: read GPSImgDirection from EXIF (magnetic -> true) as azimuth fallback; expose parse_prefs/serialize_prefs for the wasm build; ?file=/?az=/?pitch=/?roll=/?focal=/?vis= URL parameters - Tauri v2 wrapper crate building .deb, AppImage and (cross-compiled) Windows NSIS installers; safe stage-and-swap build-release.sh - README: web-centric Installation, concise Build section for the official targets (Web, Windows, Linux); drop native/Android mentions - release site moved dist/wipfel -> dist/gipfel --- crates/wipfel/build-release.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 crates/wipfel/build-release.sh (limited to 'crates/wipfel/build-release.sh') diff --git a/crates/wipfel/build-release.sh b/crates/wipfel/build-release.sh deleted file mode 100755 index 4375491..0000000 --- a/crates/wipfel/build-release.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# Build wipfel and assemble a deployable static site in dist/wipfel/. -# Everything the app loads (wasm, hill database, stylesheet) is fetched -# relative to the page URL, so the directory can be mounted under any -# path on any static server. -set -e -cd "$(dirname "$0")/../.." -# size-optimized build for the web (the workspace default profile -# targets native binaries); --remove-name-section drops the debug -# symbol names wasm-bindgen adds for devtools -CARGO_PROFILE_RELEASE_OPT_LEVEL=z cargo build -p wipfel --target wasm32-unknown-unknown --release -DIST=dist/wipfel -rm -rf "$DIST" -mkdir -p "$DIST" -wasm-bindgen --remove-name-section --target web --out-dir "$DIST" target/wasm32-unknown-unknown/release/wipfel.wasm -# the loader page (not the trunk entry point, which is dev-only) -rm -f "$DIST"/wipfel.d.ts "$DIST"/wipfel_bg.wasm.d.ts -cp crates/wipfel/www/index.html crates/wipfel/www/style.css crates/wipfel/www/loader.js "$DIST/" -gzip -9 -n -c gipfel.dat > "$DIST/gipfel.dat.gz" -echo "site assembled in $DIST ($(du -sh "$DIST" | cut -f1)):" -ls "$DIST" -- cgit v1.2.3