From f33486aac610788c9f5e353a19a1ae6c866cea1c Mon Sep 17 00:00:00 2001 From: guihkx <626206+guihkx@users.noreply.github.com> Date: Wed, 23 Jul 2025 19:01:22 -0300 Subject: [PATCH] linux/appimage: manually download the runtime to fix build error This manually downloads the old AppImage runtime (now marked as obsolete), to prevent appimage-builder v1.1.0 from failing to make the AppImage. The download URL appimage-builder v1.1.0 uses for the AppImage runtime is hardcoded into the tool, and unfortunately it's been recently removed, so this is merely a workaround, until hopefully a future appimage-builder release fixes this. See: https://redirect.github.com/AppImageCrafters/appimage-builder/issues/375 --- appimage/AppImageBuilder.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appimage/AppImageBuilder.yml b/appimage/AppImageBuilder.yml index 8643207..63c9787 100644 --- a/appimage/AppImageBuilder.yml +++ b/appimage/AppImageBuilder.yml @@ -9,6 +9,11 @@ script: - mkdir -p "$BUILD_DIR" "$TARGET_APPDIR" - cd "$BUILD_DIR" + # TODO: Remove this if/when appimage-builder releases a version newer than 1.1.0. + # This is a workaround for: https://github.com/AppImageCrafters/appimage-builder/issues/375 + - mkdir -p "$BUILD_DIR/prime" + - curl -L https://github.com/AppImage/AppImageKit/releases/download/continuous/obsolete-runtime-x86_64 -o "$BUILD_DIR/prime/runtime-x86_64" + # Build a recent version of libXft first. This fixes an issue where the app won't start with libXft 2.3.3 if an emoji font is installed on the system. - curl -L https://xorg.freedesktop.org/releases/individual/lib/libXft-2.3.8.tar.xz -o libXft.tar.xz - tar xvf libXft.tar.xz