diff --git a/.github/workflows/desktop-candidates.yml b/.github/workflows/desktop-candidates.yml index 80e34da..d28f165 100644 --- a/.github/workflows/desktop-candidates.yml +++ b/.github/workflows/desktop-candidates.yml @@ -91,6 +91,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y clang cmake ninja-build pkg-config libssl-dev libfontconfig1-dev libfreetype6-dev libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxcb-cursor-dev libasound2-dev libvulkan-dev mesa-vulkan-drivers xvfb dbus-x11 protobuf-compiler zip + - name: Install Linux packaging tools + if: matrix.platform == 'linux' + run: sudo apt-get install -y appstream desktop-file-utils flatpak - name: Install Windows cross-build tools if: matrix.platform == 'windows' run: sudo apt-get install -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 nsis @@ -110,7 +113,7 @@ jobs: run: | node tools/package-gui.mjs --target "$TARGET" ../stage cargo build --locked --offline --manifest-path rust/Cargo.toml --release --target "$TARGET" -p openvector-cli - - name: Package Linux archive and test extracted application + - name: Build and smoke-test Linux desktop packages if: matrix.platform == 'linux' working-directory: source shell: bash @@ -123,10 +126,34 @@ jobs: tar -czf "../dist/$name.tar.gz" -C .. "$name" mkdir ../extracted tar -xzf "../dist/$name.tar.gz" -C ../extracted - export XDG_RUNTIME_DIR=$(mktemp -d) - trap 'rm -rf "$XDG_RUNTIME_DIR"' EXIT - dbus-run-session -- xvfb-run -a node tools/check-desktop-package.mjs "../extracted/$name/openvector-gui" "$CARGO_TARGET_DIR/$TARGET/release/openvector" + TMPDIR=$(mktemp -d "$HOME/openvector-package-check.XXXXXX") + trap 'rm -r "$TMPDIR"' EXIT + export TMPDIR + export XDG_RUNTIME_DIR="$TMPDIR/runtime" + mkdir -m 700 "$XDG_RUNTIME_DIR" + cli="$CARGO_TARGET_DIR/$TARGET/release/openvector" + xvfb-run -a dbus-run-session -- \ + node tools/check-desktop-package.mjs "../extracted/$name/openvector-gui" "$cli" objdump -T "../extracted/$name/openvector-gui" | sort > "../dist/$name-symbols.txt" + + flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + flatpak install --user --noninteractive flathub org.freedesktop.Platform//25.08 + bash tools/package-linux.sh "../$name" "../dist/$name" + + APPIMAGE_EXTRACT_AND_RUN=1 xvfb-run -a dbus-run-session -- \ + node tools/check-desktop-package.mjs "../dist/$name.AppImage" "$cli" + + flatpak install --user --noninteractive "../dist/$name.flatpak" + # Grant only the disposable fixture directory to the smoke test. The + # installed app otherwise obtains user-selected paths via the portal. + cat > "$TMPDIR/flatpak-launcher" <<'EOF' + #!/usr/bin/env bash + exec flatpak run --user --filesystem="$TMPDIR" \ + --env=OPENVECTOR_PREFERENCES="$OPENVECTOR_PREFERENCES" dev.micr.openvector "$@" + EOF + chmod +x "$TMPDIR/flatpak-launcher" + xvfb-run -a dbus-run-session -- \ + node tools/check-desktop-package.mjs "$TMPDIR/flatpak-launcher" "$cli" - name: Package Windows installer and portable ZIP if: matrix.platform == 'windows' working-directory: source diff --git a/.gitignore b/.gitignore index b72cb15..4310d79 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ node_modules/ target/ /dist/ +/appimage-runtime/ /gui/dist/ /native/ .jj/ @@ -25,6 +26,8 @@ __pycache__/ !/tools/build-native.mjs !/tools/native-notices.mjs !/tools/package-gui.mjs +!/tools/package-linux.sh +!/tools/prepare-appimage-source.sh !/tools/package-windows.mjs !/tools/windows-installer.nsi !/tools/package-release-source.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d139f7..ce15630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ Dates are the GitHub release publication dates in UTC. ## [Unreleased] +### Added + +- Add AppImage and Flatpak desktop packages for Linux amd64 and arm64. Use the file chooser to open and save host files from the Flatpak sandbox. + ## [0.1.5] - 2026-11-24 ### Added diff --git a/docs/building.md b/docs/building.md index 9349061..e023478 100644 --- a/docs/building.md +++ b/docs/building.md @@ -211,4 +211,4 @@ Its `REBUILD.txt` identifies the editable LGPL component and the offline Cargo rebuild command. The archive does not include the compiler or operating-system SDK. Validate the rebuild and the distribution requirements before publishing. -Windows builds embed the app icon and version information in `openvector-gui.exe`; the window, taskbar and Explorer all read that resource. GNU targets need MinGW `windres` (for example `x86_64-w64-mingw32-windres`, override with `WINDRES`) and MSVC targets need `rc.exe` (override with `RC`). The build fails if neither is found. Linux packages add `share/applications/openvector.desktop` and `share/icons/hicolor/256x256/apps/openvector.png`; copy `share/` into `~/.local/share` and put `openvector-gui` on `PATH` so Wayland desktops match the window (app id `openvector`) to its icon. macOS packages contain `OpenVector.app` (bundle id `dev.micr.openvector`) with the compiled icon catalog `Contents/Resources/Assets.car` and an `OpenVector.icns` fallback. Packaging on a Mac seals it with an ad-hoc `codesign` signature for local use; it is not Developer ID signed or notarized, so other Macs show a Gatekeeper warning. The icon sources are `rust/crates/openvector-gui/assets/app-icon.svg` and the Icon Composer document `assets/OpenVector.icon`; `build.rs` documents how to regenerate `app-icon.ico`, `app-icon-256.png` and the compiled macOS files in `assets/macos/`. +Windows builds embed the app icon and version information in `openvector-gui.exe`; the window, taskbar and Explorer all read that resource. GNU targets need MinGW `windres` (for example `x86_64-w64-mingw32-windres`, override with `WINDRES`) and MSVC targets need `rc.exe` (override with `RC`). The build fails if neither is found. Linux packages add `share/applications/dev.micr.openvector.desktop` and `share/icons/hicolor/256x256/apps/dev.micr.openvector.png`; copy `share/` into `~/.local/share` and put `openvector-gui` on `PATH` so Wayland desktops match the window (app id `dev.micr.openvector`) to its icon. macOS packages contain `OpenVector.app` (bundle id `dev.micr.openvector`) with the compiled icon catalog `Contents/Resources/Assets.car` and an `OpenVector.icns` fallback. Packaging on a Mac seals it with an ad-hoc `codesign` signature for local use; it is not Developer ID signed or notarized, so other Macs show a Gatekeeper warning. The icon sources are `rust/crates/openvector-gui/assets/app-icon.svg` and the Icon Composer document `assets/OpenVector.icon`; `build.rs` documents how to regenerate `app-icon.ico`, `app-icon-256.png` and the compiled macOS files in `assets/macos/`. diff --git a/docs/release-runbook.md b/docs/release-runbook.md index eaad918..32fcac4 100644 --- a/docs/release-runbook.md +++ b/docs/release-runbook.md @@ -91,7 +91,7 @@ suites, native execution, or manual desktop QA. | Workflow | Trigger | Required artifacts and checks | | --- | --- | --- | -| [Desktop candidates](../.github/workflows/desktop-candidates.yml) | A PR whose head branch starts with `release/`, excluding `release/npm-` | `corresponding-source`, all selected `desktop-*` jobs, and Windows installation checks | +| [Desktop candidates](../.github/workflows/desktop-candidates.yml) | A PR whose head branch starts with `release/`, excluding `release/npm-` | `corresponding-source`, all selected `desktop-*` jobs, including the Linux AppImage and Flatpak bundles, and Windows installation checks | | [npm candidates](../.github/workflows/npm-candidates.yml) | A `release/npm-` PR, or manual dispatch at a selected ref | Five native builds, `npm-package`, and all ten installed-package checks | For a combined release PR such as `release/X.Y.Z`, set `CANDIDATE_REF` to that frozen @@ -122,8 +122,8 @@ Linux ARM64, Windows x64, macOS ARM64, and macOS x64 on Node 22.19 and 24. | --- | --- | | macOS Apple Silicon | Developer ID-signed, notarized, stapled `.dmg` | | macOS Intel | Developer ID-signed, notarized, stapled `.dmg` | -| Linux amd64 | Complete `.tar.gz` | -| Linux ARM64 | Complete `.tar.gz` | +| Linux amd64 | `.tar.gz`, `.AppImage`, and `.flatpak` | +| Linux ARM64 | `.tar.gz`, `.AppImage`, and `.flatpak` | | Windows x64 | `Setup.exe` and complete portable `.zip` | Extract each artifact into a fresh directory. Exercise that packaged executable, @@ -145,6 +145,32 @@ The CI conversion checker is It compares actual GUI and CLI output in isolated state, but does not perform manual palette editing or native-reader reopening. +Linux candidates package the same staged GUI and notices into all three formats. +The AppImage and Flatpak bundle use the filenames +`openvector-$VERSION-linux-$ARCH.AppImage` and +`openvector-$VERSION-linux-$ARCH.flatpak`, where `ARCH` is `amd64` or `arm64`. +Run the AppImage after making it executable. It uses the Ubuntu 24.04 build +baseline and the host's desktop and graphics libraries. Smoke-test the +extraction path in CI and test normal FUSE launch on a release test machine. + +Install the Flatpak bundle with `flatpak install --user ./.flatpak` and +launch with `flatpak run dev.micr.openvector`. The bundle uses the Freedesktop +25.08 runtime from Flathub. Test opening a bitmap and saving an SVG through the +desktop file chooser with the installed bundle. Use the file chooser for files +outside the sandbox. Dragging files in from host folders and dragging results +to other sandboxed apps can fail because those apps lack access to the paths. +Install in a disposable account to keep its Flatpak remotes, applications, and +sandbox settings isolated. + +The AppImage embeds the [20251108 AppImage runtime](https://github.com/AppImage/type2-runtime/tree/dd6cebedcbddde9c82f89b011e8e1d40b6e43868). +The corresponding source archive must include `appimage-runtime/` with the +runtime source, libfuse source and patch, and instructions for rebuilding the +runtime and replacing it in the AppImage. The AppImage must include the +runtime's notices in `licenses/appimage-runtime/`. The source packager prepares +these inputs. To package from a checkout instead, run +`bash tools/prepare-appimage-source.sh appimage-runtime` first. +Record the embedded runtime and package hashes in the release provenance. + Windows installation tests need a disposable host with no existing OpenVector uninstall registration. Verify custom-path installation, installed/portable byte identity, real locked-file uninstall failure with installation and registration @@ -239,7 +265,7 @@ and npm artifacts must correspond to the same reviewed application source. Set `PAYLOAD_DIR` to a new directory containing only the selected public downloads, corresponding source, and provenance. Keep diagnostic CLIs, candidate Mac tarballs, notarization ZIPs, logs, screenshots, and npm tarballs outside it. For all desktop -targets, expect six binary downloads, one source archive, provenance, and checksums. +targets, expect ten binary downloads, one source archive, provenance, and checksums. ## 5. Merge and publish GitHub downloads diff --git a/rust/crates/openvector-gui/assets/openvector.desktop b/rust/crates/openvector-gui/assets/dev.micr.openvector.desktop similarity index 80% rename from rust/crates/openvector-gui/assets/openvector.desktop rename to rust/crates/openvector-gui/assets/dev.micr.openvector.desktop index 1ac2ffa..d266ef7 100644 --- a/rust/crates/openvector-gui/assets/openvector.desktop +++ b/rust/crates/openvector-gui/assets/dev.micr.openvector.desktop @@ -3,8 +3,8 @@ Type=Application Name=OpenVector Comment=Convert bitmap images to editable vectors Exec=openvector-gui %f -Icon=openvector +Icon=dev.micr.openvector Terminal=false Categories=Graphics;2DGraphics;VectorGraphics; MimeType=image/png;image/jpeg;image/bmp;image/gif;image/tiff; -StartupWMClass=openvector +StartupWMClass=dev.micr.openvector diff --git a/rust/crates/openvector-gui/assets/dev.micr.openvector.metainfo.xml b/rust/crates/openvector-gui/assets/dev.micr.openvector.metainfo.xml new file mode 100644 index 0000000..7510d1b --- /dev/null +++ b/rust/crates/openvector-gui/assets/dev.micr.openvector.metainfo.xml @@ -0,0 +1,18 @@ + + + dev.micr.openvector + OpenVector + Convert bitmap images to editable vectors + CC0-1.0 + MIT + + Microck + + +

OpenVector converts raster images such as logos and illustrations into editable vector graphics. Preview the result and adjust the palette before exporting.

+
+ dev.micr.openvector.desktop + https://github.com/Microck/openvector + https://github.com/Microck/openvector/issues + +
diff --git a/rust/crates/openvector-gui/src/main.rs b/rust/crates/openvector-gui/src/main.rs index c954fc0..370a1d1 100644 --- a/rust/crates/openvector-gui/src/main.rs +++ b/rust/crates/openvector-gui/src/main.rs @@ -28,9 +28,9 @@ fn main() { let window = cx.open_window(WindowOptions { window_bounds: Some(WindowBounds::Windowed(bounds)), window_min_size: Some(size(px(760.0), px(500.0))), - // Wayland compositors match this to openvector.desktop for the window + // Wayland compositors match this to dev.micr.openvector.desktop for the window // and dock icon; Windows reads the exe's embedded icon instead (build.rs). - app_id: Some("openvector".into()), + app_id: Some("dev.micr.openvector".into()), ..Default::default() }, |window, cx| { window.set_window_title("OpenVector"); diff --git a/tools/package-gui.mjs b/tools/package-gui.mjs index 100c7c4..412aee3 100644 --- a/tools/package-gui.mjs +++ b/tools/package-gui.mjs @@ -8,6 +8,8 @@ import { basename, join } from 'node:path'; import { parseArgs } from 'node:util'; import { cargoBuild, copyBundledNotices, root, rustNotices, toolchainNotices, workspace } from './native-notices.mjs'; +const appId = 'dev.micr.openvector'; + try { const { values, positionals } = parseArgs({ options: { target: { type: 'string' }, profile: { type: 'string', default: 'release' } }, @@ -48,10 +50,13 @@ try { if (values.target.includes('-linux-')) { const applications = join(destination, 'share', 'applications'); const icons = join(destination, 'share', 'icons', 'hicolor', '256x256', 'apps'); + const metainfo = join(destination, 'share', 'metainfo'); + mkdirSync(metainfo, { recursive: true }); mkdirSync(applications, { recursive: true }); mkdirSync(icons, { recursive: true }); - copyFileSync(join(assets, 'openvector.desktop'), join(applications, 'openvector.desktop')); - copyFileSync(join(assets, 'app-icon-256.png'), join(icons, 'openvector.png')); + copyFileSync(join(assets, `${appId}.desktop`), join(applications, `${appId}.desktop`)); + copyFileSync(join(assets, 'app-icon-256.png'), join(icons, `${appId}.png`)); + copyFileSync(join(assets, `${appId}.metainfo.xml`), join(metainfo, `${appId}.metainfo.xml`)); } if (darwin) { const resources = join(bundle, 'Contents', 'Resources'); @@ -84,7 +89,7 @@ function infoPlist(executable, version) { CFBundleNameOpenVector CFBundleDisplayNameOpenVector - CFBundleIdentifierdev.micr.openvector + CFBundleIdentifier${appId} CFBundleExecutable${executable} CFBundleIconFileOpenVector CFBundleIconNameOpenVector diff --git a/tools/package-linux.sh b/tools/package-linux.sh new file mode 100644 index 0000000..63e7e24 --- /dev/null +++ b/tools/package-linux.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash +# Package both Linux formats from the same staged binary and notices as the tarball. +set -euo pipefail + +if [ "$#" -ne 2 ]; then + echo 'Usage: bash tools/package-linux.sh ' >&2 + exit 1 +fi + +stage=$(realpath "$1") +output=$(realpath -m "$2") +runtime_notices=$(realpath -e "$(dirname "$0")/../appimage-runtime/licenses") +app_id=dev.micr.openvector +runtime=org.freedesktop.Platform +runtime_branch=25.08 +appimagetool_version=1.9.1 +appimage_runtime_version=20251108 +arch=$(uname -m) +case "$arch" in + x86_64) + tool_sha=ed4ce84f0d9caff66f50bcca6ff6f35aae54ce8135408b3fa33abfc3cb384eb0 + runtime_sha=2fca8b443c92510f1483a883f60061ad09b46b978b2631c807cd873a47ec260d + ;; + aarch64) + tool_sha=f0837e7448a0c1e4e650a93bb3e85802546e60654ef287576f46c71c126a9158 + runtime_sha=00cbdfcf917cc6c0ff6d3347d59e0ca1f7f45a6df1a428a0d6d8a78664d87444 + ;; + *) + echo "Unsupported Linux package architecture: $arch" >&2 + exit 1 + ;; +esac + +temp=$(mktemp -d) +trap 'rm -r "$temp"' EXIT +cd "$temp" + +download() { + local url=$1 filename=$2 digest=$3 + curl --fail --location --silent --show-error "$url" --output "$filename" + printf '%s %s\n' "$digest" "$filename" | sha256sum --check +} + +desktop-file-validate "$stage/share/applications/$app_id.desktop" +appstreamcli validate --no-net "$stage/share/metainfo/$app_id.metainfo.xml" + +download "https://github.com/AppImage/appimagetool/releases/download/$appimagetool_version/appimagetool-$arch.AppImage" appimagetool "$tool_sha" +download "https://github.com/AppImage/type2-runtime/releases/download/$appimage_runtime_version/runtime-$arch" appimage-runtime "$runtime_sha" +chmod +x appimagetool + +cp -a "$stage" OpenVector.AppDir +mkdir OpenVector.AppDir/usr +mv OpenVector.AppDir/share OpenVector.AppDir/usr/ +ln -s openvector-gui OpenVector.AppDir/AppRun +ln -s "usr/share/applications/$app_id.desktop" "OpenVector.AppDir/$app_id.desktop" +ln -s "usr/share/icons/hicolor/256x256/apps/$app_id.png" "OpenVector.AppDir/$app_id.png" +ln -s "$app_id.png" OpenVector.AppDir/.DirIcon +cp -a "$runtime_notices" OpenVector.AppDir/licenses/appimage-runtime +# AppStream was validated above. This tool only recognizes the older .appdata.xml name. +ARCH=$arch APPIMAGE_EXTRACT_AND_RUN=1 ./appimagetool --no-appstream --runtime-file appimage-runtime OpenVector.AppDir "$output.AppImage" + +# The staged executable is already compiled, so build-init can use the platform +# as both the SDK and the runtime. No SDK packages are needed to bundle it. +flatpak build-init flatpak-app "$app_id" "$runtime" "$runtime" "$runtime_branch" +install -Dm755 "$stage/openvector-gui" flatpak-app/files/bin/openvector-gui +cp -a "$stage/share/." flatpak-app/files/share/ +install -Dm644 "$stage/LICENSE" "flatpak-app/files/share/licenses/$app_id/LICENSE" +cp -a "$stage/licenses/." "flatpak-app/files/share/licenses/$app_id/" +flatpak build-finish --command=openvector-gui --share=ipc --socket=wayland \ + --socket=fallback-x11 --device=dri flatpak-app +flatpak build-export flatpak-repo flatpak-app stable +flatpak build-bundle --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \ + flatpak-repo "$output.flatpak" "$app_id" stable diff --git a/tools/package-release-source.sh b/tools/package-release-source.sh index 6f2861d..9c1e50c 100755 --- a/tools/package-release-source.sh +++ b/tools/package-release-source.sh @@ -21,6 +21,7 @@ git archive HEAD | tar -xf - -C "$temporary/$name" mkdir -p .cargo cargo vendor --locked --manifest-path rust/Cargo.toml cargo-vendor > .cargo/config.toml cargo metadata --locked --offline --manifest-path rust/Cargo.toml --format-version 1 > /dev/null + bash tools/prepare-appimage-source.sh appimage-runtime printf '%s\n' "$commit" > SOURCE-COMMIT cat > REBUILD.txt <<'INSTRUCTIONS' This archive contains the application source, local GPUI patches, and vendored @@ -35,6 +36,9 @@ To modify the LGPL Qt-derived component, edit: Its license and modification notices are under: rust/crates/openvector/vendor/qt-bezier/ +The AppImage runtime source, dependency archives and rebuild notes are in +appimage-runtime/. See appimage-runtime/licenses/SOURCE.txt for instructions. + From this archive's root, rebuild the desktop application with: cargo build --manifest-path rust/Cargo.toml --locked --offline --release -p openvector-gui The executable is in rust/target/release unless CARGO_TARGET_DIR overrides it. diff --git a/tools/prepare-appimage-source.sh b/tools/prepare-appimage-source.sh new file mode 100644 index 0000000..6987ef9 --- /dev/null +++ b/tools/prepare-appimage-source.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash +# Preserve the upstream runtime, its libfuse patch and the component notices for distribution. +set -euo pipefail + +if [ "$#" -ne 1 ]; then + echo 'Usage: bash tools/prepare-appimage-source.sh ' >&2 + exit 1 +fi + +mkdir "$1" +cd "$1" +mkdir licenses + +while read -r digest filename url; do + curl --fail --location --silent --show-error "$url" --output "$filename" + printf '%s %s\n' "$digest" "$filename" | sha256sum --check +done <<'INPUTS' +f5fec23be76e50e2445ed2d018bac49b367490fc483c62c4637e99ec705d27ba type2-runtime.tar.gz https://codeload.github.com/AppImage/type2-runtime/tar.gz/dd6cebedcbddde9c82f89b011e8e1d40b6e43868 +70589cfd5e1cff7ccd6ac91c86c01be340b227285c5e200baa284e401eea2ca0 fuse-3.15.0.tar.xz https://github.com/libfuse/libfuse/releases/download/fuse-3.15.0/fuse-3.15.0.tar.xz +db0238c5981dabbd80ee09ae15387f390091668ca060a7bc38047912491443d3 squashfuse-0.5.2.tar.gz https://codeload.github.com/vasi/squashfuse/tar.gz/refs/tags/0.5.2 +a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4 musl-1.2.5.tar.gz https://musl.libc.org/releases/musl-1.2.5.tar.gz +7055266497633c9025b777c78eb7235af13922117480ed5c674677adc381c9d8 licenses/zstd-LICENSE.txt https://raw.githubusercontent.com/facebook/zstd/v1.5.6/LICENSE +845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243 licenses/zlib-LICENSE.txt https://raw.githubusercontent.com/madler/zlib/v1.3.1/LICENSE +19c99805e7a44a34b297a75d1edea9985e300066dfc024d5c99d4236d4573b5d licenses/mimalloc-LICENSE.txt https://raw.githubusercontent.com/microsoft/mimalloc/v2.1.7/LICENSE +INPUTS + +tar -xOf type2-runtime.tar.gz --wildcards '*/LICENSE' > licenses/type2-runtime-LICENSE.txt +tar -xOf fuse-3.15.0.tar.xz fuse-3.15.0/LICENSE fuse-3.15.0/AUTHORS > licenses/libfuse-NOTICE.txt +tar -xOf fuse-3.15.0.tar.xz fuse-3.15.0/LGPL2.txt > licenses/libfuse-LGPL2.txt +tar -xOf fuse-3.15.0.tar.xz fuse-3.15.0/GPL2.txt > licenses/libfuse-GPL2.txt +tar -xOf squashfuse-0.5.2.tar.gz squashfuse-0.5.2/LICENSE > licenses/squashfuse-LICENSE.txt +tar -xOf musl-1.2.5.tar.gz musl-1.2.5/COPYRIGHT > licenses/musl-COPYRIGHT.txt +cat > licenses/SOURCE.txt <<'SOURCE' +The OpenVector release's corresponding source archive contains the AppImage +runtime source and dependency archives in appimage-runtime/. The libfuse +release archive is fuse-3.15.0.tar.xz, and the matching runtime patch is in +patches/libfuse/mount.c.diff inside type2-runtime.tar.gz. The upstream build +applies that patch and links libfuse into the rebuilt runtime. + +Extract type2-runtime.tar.gz, then run from the extracted runtime source on +a native amd64 or arm64 Linux host with Docker: + + mkdir -p out + (cd out && ARCH=$(uname -m) bash ../scripts/docker/build-with-docker.sh) + +The resulting runtime is out/runtime-x86_64 or out/runtime-aarch64. +See BUILD.md in the runtime source for more about its build environment. + +Use appimagetool with --runtime-file to combine a rebuilt runtime with the +application payload extracted by running the OpenVector AppImage with +--appimage-extract. + +AppImage runtime upstream source: +https://github.com/AppImage/type2-runtime/tree/dd6cebedcbddde9c82f89b011e8e1d40b6e43868 +SOURCE