From 2d9185290d4aa9bbfd0bfb727af06393c4195276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Tue, 12 Mar 2019 16:02:58 +0100 Subject: [PATCH] Implement workaround from probonopd/linuxdeployqt#355 This avoids a segmentation fault when invoking linuxdeployqt for creating the AppImage. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba4bab1a50..f1bcc68728 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,8 +60,9 @@ matrix: - "./linuxdeployqt ./Tiled/usr/share/applications/org.mapeditor.Tiled.desktop -bundle-non-qt-libs -extra-plugins=imageformats/libqsvg.so -exclude-libs=libpython3.5m.so.1 -verbose=2" - - "./linuxdeployqt ./Tiled/usr/share/applications/org.mapeditor.Tiled.desktop - -exclude-libs=libpython3.5m.so.1 -appimage" + - ./linuxdeployqt --appimage-extract + - export PATH=$(readlink -f ./squashfs-root/usr/bin/):$PATH + - ./squashfs-root/usr/bin/appimagetool Tiled/ - find ./Tiled -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - mv Tiled-x86_64.AppImage Tiled-$TILED_VERSION-x86_64.AppImage