Skip to content

Commit

Permalink
Make sure there are no Gtk plugins, #145 #149 #150 #151 #152 #161 #166
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored May 21, 2022
1 parent 2645396 commit cfbc955
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ci/build-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,14 @@ for app in appimageupdatetool AppImageUpdate; do
# https://github.com/AppImage/AppImageUpdate/issues/150#issuecomment-674013820
# https://github.com/AppImage/AppImageUpdate/pull/152/files
# Apparently linuxdeploy puts them in and there is no apparent way to disable this
apt-get remove qt5-gtk-platformtheme || true
apt-get remove qt5-xdgdesktopportal-platformtheme || true
rm /usr/lib/*/qt5/plugins/platformthemes/libqgtk*.so /usr/lib/*/qt5/plugins/platformthemes/libqxdgdesktopportal.so || true
# https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109
# All of the following fail because... Docker?
# apt-get remove qt5-gtk-platformtheme || true
# apt-get remove qt5-xdgdesktopportal-platformtheme || true
# rm /usr/lib/*/qt5/plugins/platformthemes/libqgtk*.so /usr/lib/*/qt5/plugins/platformthemes/libqxdgdesktopportal.so || true
# Really desperate attempt now
find / -name 'libqgtk*.so' -delete || true
find / -name 'libqxdgdesktopportal.so' -delete || true

# bundle application
./linuxdeploy-"$ARCH".AppImage -v0 --appdir "$app".AppDir --output appimage "${EXTRA_FLAGS[@]}" -d "$REPO_ROOT"/resources/"$app".desktop -i "$REPO_ROOT"/resources/appimage.png
Expand Down

0 comments on commit cfbc955

Please sign in to comment.