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 c1ba81c commit d8cdc89
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ci/build-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,11 @@ for app in appimageupdatetool AppImageUpdate; do
# Apparently linuxdeploy puts them in and there is no apparent way to disable this
# 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
sudo apt-get remove qt5-gtk-platformtheme || true
sudo apt-get remove qt5-xdgdesktopportal-platformtheme || true
# Really desperate attempt now
find / -name 'libqgtk*.so' -delete || true
find / -name 'libqxdgdesktopportal.so' -delete || true
sudo find / -name 'libqgtk*.so' -delete || true
sudo 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 d8cdc89

Please sign in to comment.