##// END OF EJS Templates
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible...
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible Spectrogram visu is still broken... Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1451:5182a1356cf6
r1467:da44adcd99e4
Show More
appImage.sh
31 lines | 2.0 KiB | application/x-sh | BashLexer
Added AppImage build support for linux...
r1391 #!/bin/bash
AppImage should build and run now...
r1447 # guess using centos 7 as build host
yum install -y gtk3 openssl-devel.x86_64 ncurses-devel.x86_64 sqlite-devel.x86_64 tkinter.x86_64 readline-devel.x86_64 xz-devel.x86_64 gdbm-devel.x86_64 bzip2-devel.x86_64 tk-devel.x86_64 libffi-devel.x86_64 make
AppImage Python test...
r1445 HERE="$(dirname "$(readlink -f "${0}")")"
Don't hard-code build path! #Shame!...
r1449 SCIQLOP_SCR=$HERE/../../
SCIQLOP_BUILD=$SCIQLOP_SCR/build/
SCIQLOP_APPDIR=$SCIQLOP_BUILD/AppDir
mkdir $SCIQLOP_BUILD
cd $SCIQLOP_BUILD
AppImage should build and run now...
r1447 # need to build python to easily install/relocate in AppImage
wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz
tar -xf Python-3.7.3.tgz
cd Python-3.7.3
# Optimisation is damn slow maybe enabled later
./configure --enable-shared --prefix=/usr
make -j
Don't hard-code build path! #Shame!...
r1449 DESTDIR=$SCIQLOP_BUILD/AppDir make install
AppImage should build and run now...
r1447 cd ..
Don't hard-code build path! #Shame!...
r1449 cp $HERE/AppRun $SCIQLOP_APPDIR/
chmod +x $SCIQLOP_APPDIR/AppRun
AppImage should build and run now...
r1447 # Tweak to find custom python from build dir
AppImage build, sed with | as separator needs ""...
r1450 sed "s|/usr|$SCIQLOP_APPDIR/usr|" -i $SCIQLOP_APPDIR/usr/lib/pkgconfig/python3.pc
Don't hard-code build path! #Shame!...
r1449 LD_PRELOAD=$SCIQLOP_APPDIR/usr/lib/libpython3.7m.so.1.0 PATH=$SCIQLOP_APPDIR/usr/bin/:/usr/bin/ LD_LIBRARY_PATH=AppDir/usr/lib/:AppDir/usr/lib/python3.7/ $SCIQLOP_APPDIR/usr/bin/python3 $SCIQLOP_APPDIR/usr/bin/pip3 install git+https://github.com/jeandet/spwc
LD_LIBRARY_PATH=$SCIQLOP_APPDIR/usr/lib/ PKG_CONFIG_PATH=$SCIQLOP_APPDIR/usr/lib/pkgconfig/:$PKG_CONFIG_PATH PATH=$SCIQLOP_APPDIR/usr/bin/:$PATH meson --prefix=/usr ..
Added AppImage build support for linux...
r1391 ninja
Typo :)...
r1451 DESTDIR=$SCIQLOP_APPDIR ninja install
Don't hard-code build path! #Shame!...
r1449 cp -rf $SCIQLOP_APPDIR/usr/lib64/* $SCIQLOP_APPDIR/usr/lib/
rm -rf $SCIQLOP_APPDIR/usr/lib64/
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
Don't hard-code build path! #Shame!...
r1449 LD_LIBRARY_PATH=$SCIQLOP_APPDIR/usr/lib:$SCIQLOP_APPDIR/usr/lib/SciQLop/:$SCIQLOP_APPDIR/usr/lib/python3.7/site-packages/numpy/.libs/ ./squashfs-root/AppRun $SCIQLOP_APPDIR/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so