##// END OF EJS Templates
[AppImage] Avoid simlinks in venv...
[AppImage] Avoid simlinks in venv Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1446:87ff4f2f123f
r1446:87ff4f2f123f
Show More
appImage.sh
16 lines | 915 B | application/x-sh | BashLexer
Added AppImage build support for linux...
r1391 #!/bin/bash
AppImage Python test...
r1445 HERE="$(dirname "$(readlink -f "${0}")")"
Added AppImage build support for linux...
r1391 mkdir build
cd build
Minor AppImage and Meson fixes...
r1443 mkdir -p $(pwd)/AppDir/usr
AppImage Python test...
r1445 cp $HERE/AppRun $(pwd)/AppDir/
chmod +x $(pwd)/AppDir/AppRun
[AppImage] Avoid simlinks in venv...
r1446 virtualenv --always-copy --relocatable -p python3 $(pwd)/AppDir/usr
AppImage Python test...
r1445 $(pwd)/AppDir/usr/bin/pip3 install git+https://github.com/jeandet/spwc
Added AppImage build support for linux...
r1391 meson --prefix=/usr ..
ninja
Minor AppImage and Meson fixes...
r1443 DESTDIR=$(pwd)/AppDir ninja install
Tinny AppImage fix...
r1394 mv AppDir/usr/lib64 AppDir/usr/lib
Switched to linuxdeployqt tool for AppImage build (tested on centos 7 with devtoolset-7 and Qt 5.11)...
r1393 wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod +x linuxdeployqt-continuous-x86_64.AppImage && ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract
[AppImage] Avoid simlinks in venv...
r1446 LD_LIBRARY_PATH=AppDir/usr/lib/:AppDir/usr/lib/SciQLop/:$(python3-config --prefix)/lib64 ./squashfs-root/AppRun AppDir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so -ignore-glob=$(pwd)/AppDir/usr/lib/python3.6/site-packages/*