diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2019-02-05 13:53:14 +0100 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2019-02-05 13:53:14 +0100 |
commit | 4c8c58a8e322dbbbdb2866264394c1612c066cf9 (patch) | |
tree | 3b0deb1506bce25be476d52666d48055826de620 /deploy-linux.sh | |
parent | 799a6929490db3a642d817dd61a3c2a9e3891156 (diff) | |
parent | 3a4a7e8b5e34e101a4ba7468fcd09d88977ca25c (diff) |
Merge tag 'v2.1.4' into debian/sid
Diffstat (limited to 'deploy-linux.sh')
-rwxr-xr-x | deploy-linux.sh | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/deploy-linux.sh b/deploy-linux.sh index 373092a..cea0a2f 100755 --- a/deploy-linux.sh +++ b/deploy-linux.sh @@ -1,7 +1,18 @@ #!/bin/bash -# directory where libQt5XXX.so files can be found -LIBDIR=/usr/lib/x86_64-linux-gnu +# Deployment script for Linux x64 portable binary. This +# script is tested on a clean Ubuntu 18.04, after running: +# +# apt-get -y install \ +# flex bison qt5-default libpoppler-dev \ +# libpoppler-qt5-dev +# + +# system library directory +SYSLIBDIR=/lib/x86_64-linux-gnu + +# userspace library directory +LIBDIR=/usr$SYSLIBDIR # directory where Qt plugins can be found PLUGINDIR=$LIBDIR/qt5/plugins @@ -15,7 +26,7 @@ mkdir -p plugins # add README file cat > README << 'EOF' -This is a portable version of TikZiT 2.0. To launch TikZiT, simply run +This is a portable version of TikZiT 2.1. To launch TikZiT, simply run 'bin/tikzit'. To install launcher and icons for the current user, make sure the 'bin' sub-directory is in your $PATH and run: @@ -84,6 +95,16 @@ cp --no-dereference $LIBDIR/libcrypto.so* lib cp --no-dereference $LIBDIR/libpoppler.so* lib cp --no-dereference $LIBDIR/libpoppler-qt5.so* lib +# add dependencies of poppler that are on Ubuntu 18.04, +# but maybe not other distros... +cp --no-dereference $LIBDIR/libgraphite2.so.3* lib +cp --no-dereference $LIBDIR/libharfbuzz.so.0* lib +cp --no-dereference $LIBDIR/libjbig.so.0* lib +cp --no-dereference $LIBDIR/libjpeg.so.8* lib +cp --no-dereference $LIBDIR/liblcms2.so.2* lib +cp --no-dereference $LIBDIR/libpng16.so.16* lib +cp --no-dereference $SYSLIBDIR/libz.so.1* lib + # add Qt plugins used by TikZiT cp -R $PLUGINDIR/platforms plugins cp -R $PLUGINDIR/imageformats plugins |