S048: test file, release notes, packaging fixes, progress

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-26 17:36:34 -06:00
commit 7b00bcbfb9

View file

@ -2,7 +2,7 @@
# Builds dist/Medlar-<version>-Linux-x86_64.tar.gz, dist/Medlar-<version>-x86_64.AppImage, the Arch package
# dist/Medlar-<version>-arch-x86_64.pkg.tar.zst (makepkg from that tar.gz, offline) and dist/SHA256SUMS-<version>.
# ARCH_ONLY=1 only adds the Arch package to an existing dist/ (the other files keep their bytes).
# Nothing is downloaded. appimagetool comes from ~/Projects/Mulberry/dist and runs extracted (no FUSE, no runtime fetch).
# Nothing is downloaded. appimagetool comes from $APPIMAGETOOL, ~/Projects/Mulberry/dist or ~/.local/opt/build-tools and runs extracted (no FUSE, no runtime fetch).
# Not bundled: system libraries (only libc, libm, libgcc_s are linked), yt-dlp, ffmpeg. Never writes to releases/.
set -euo pipefail
root=$(cd "$(dirname "$0")/.." && pwd)
@ -52,7 +52,8 @@ fi
exec "$here/usr/bin/medlar" "$@"
RUN
chmod +x "$a/AppRun"
cp ~/Projects/Mulberry/dist/appimagetool "$work/appimagetool"
tool=${APPIMAGETOOL:-$(ls ~/Projects/Mulberry/dist/appimagetool ~/.local/opt/build-tools/appimagetool 2>/dev/null | head -1 || true)}
cp "${tool:?appimagetool not found}" "$work/appimagetool"
(cd "$work" && ./appimagetool --appimage-extract >/dev/null)
ARCH=x86_64 "$work/squashfs-root/AppRun" --no-appstream "$a" "$out/Medlar-$ver-x86_64.AppImage" >"$work/ait.log" 2>&1 || { tail -20 "$work/ait.log"; exit 1; }
arch_pkg