From fa8c530e1088d85b3edb5ee22ffeb2d5ee27a87a Mon Sep 17 00:00:00 2001 From: TGP17 <86961834+TGP17@users.noreply.github.com> Date: Fri, 19 May 2023 14:34:17 -0400 Subject: [PATCH] Debian 11 fix (#6543) --- .ci/linux-appimage/docker.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.ci/linux-appimage/docker.sh b/.ci/linux-appimage/docker.sh index b39522e9b..bb5488c59 100755 --- a/.ci/linux-appimage/docker.sh +++ b/.ci/linux-appimage/docker.sh @@ -8,14 +8,17 @@ ninja ctest -VV -C Release +#Circumvent missing LibFuse in Docker, by extracting the AppImage +export APPIMAGE_EXTRACT_AND_RUN=1 + #Building AppDir DESTDIR="./AppDir" ninja install mv ./AppDir/usr/local/bin ./AppDir/usr mv ./AppDir/usr/local/share ./AppDir/usr rm -rf ./AppDir/usr/local - -#Circumvent missing LibFuse in Docker, by extracting the AppImage -export APPIMAGE_EXTRACT_AND_RUN=1 +QMAKE=/usr/lib/qt6/bin/qmake DEPLOY_PLATFORM_THEMES=1 /linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --plugin checkrt +sed -i 's/*XFCE*/*X-Cinnamon*|*XFCE*/g' ./AppDir/apprun-hooks/linuxdeploy-plugin-qt-hook.sh +sed -i '/export QT_QPA_PLATFORMTHEME=gtk3/a \ \ \ \ \ \ \ \ export GDK_BACKEND=x11' ./AppDir/apprun-hooks/linuxdeploy-plugin-qt-hook.sh #Build AppImage -QMAKE=/usr/lib/qt6/bin/qmake DEPLOY_PLATFORM_THEMES=1 /linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage +QMAKE=/usr/lib/qt6/bin/qmake /linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage