From 1d7a69ad40b20672d9ce7a22e1ab7a4faf6cbcd5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 13 Apr 2023 19:38:04 +1000 Subject: [PATCH] AppImage: Include libxcb-cursor --- .github/workflows/scripts/linux/appimage-qt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/scripts/linux/appimage-qt.sh b/.github/workflows/scripts/linux/appimage-qt.sh index f5d6c1dbb5..eba55a37ef 100755 --- a/.github/workflows/scripts/linux/appimage-qt.sh +++ b/.github/workflows/scripts/linux/appimage-qt.sh @@ -87,6 +87,7 @@ declare -a SYSLIBS=( "libvorbis.so.0" "libvorbisenc.so.2" "libxcb.so.1" + "libxcb-cursor.so.0" "libxcb-render.so.0" "libxcb-shm.so.0" "libxkbcommon.so.0" @@ -206,6 +207,9 @@ mkdir "$OUTDIR/usr" echo "Copying binary and resources..." cp -a "$BUILDDIR/bin" "$OUTDIR/usr" +# Get rid of unit tests, we don't want them bloating the squashfs. +rm -fv "$OUTDIR"/usr/bin/*_test + # Patch RPATH so the binary goes hunting for shared libraries in the AppDir instead of system. echo "Patching RPATH in ${BINARY}..." patchelf --set-rpath '$ORIGIN/../lib' "$OUTDIR/usr/bin/$BINARY"