From: Svjatoslav Agejenko Date: Sat, 13 Mar 2021 03:35:47 +0000 (+0200) Subject: Nasty workaround for nasty native library loading problems because of nasty limitatio... X-Git-Tag: meviz-1.4~9 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=af94098f70d751e4deacc7252d405c50c28a4f3f;p=meviz.git Nasty workaround for nasty native library loading problems because of nasty limitations and design issues all around and no proper WebP support within java. --- diff --git a/install b/install index 6dc8f7f..52c24a7 100755 --- a/install +++ b/install @@ -8,5 +8,6 @@ mvn package sudo mkdir /opt/meviz sudo rm /opt/meviz/meviz.jar sudo cp target/meviz-*-jar-with-dependencies.jar /opt/meviz/meviz.jar +sudo cp lib/webp-imageio-0.1.6.jar /opt/meviz/web-imageio.jar sudo cp meviz /opt/meviz/ sudo ln -s /opt/meviz/meviz /usr/bin/ diff --git a/lib/webp-imageio-0.1.6.jar b/lib/webp-imageio-0.1.6.jar new file mode 100644 index 0000000..c04f237 Binary files /dev/null and b/lib/webp-imageio-0.1.6.jar differ diff --git a/meviz b/meviz index 9cc6779..015b9bc 100755 --- a/meviz +++ b/meviz @@ -2,4 +2,5 @@ set -f -java -Xmx4500m -jar /opt/meviz/meviz.jar "$@" +java -Xmx4500m -classpath /opt/meviz/* eu.svjatoslav.meviz.Main "$@" +