summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2019-01-27 13:24:55 +0100
committerAleks Kissinger <aleks0@gmail.com>2019-01-27 13:24:55 +0100
commit8b0c46c6c0203b9c33c991fb5446663e257d429c (patch)
tree7ec603c17ebbb0dc5a67d5e154439762255aa3b3
parentce94cb38ec38ce5a304b3bab1b9a2d903e1d15e9 (diff)
added more deps to the deploy script
-rwxr-xr-xdeploy-linux.sh22
1 files changed, 21 insertions, 1 deletions
diff --git a/deploy-linux.sh b/deploy-linux.sh
index 373092a..dddf539 100755
--- a/deploy-linux.sh
+++ b/deploy-linux.sh
@@ -1,5 +1,13 @@
#!/bin/bash
+# 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
+#
+
# directory where libQt5XXX.so files can be found
LIBDIR=/usr/lib/x86_64-linux-gnu
@@ -15,7 +23,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 +92,18 @@ 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/libfontconfig.so.1* lib
+cp --no-dereference $LIBDIR/libfreetype.so.6* lib
+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
+
+
# add Qt plugins used by TikZiT
cp -R $PLUGINDIR/platforms plugins
cp -R $PLUGINDIR/imageformats plugins