2014-03-04 12:17:57 +00:00
|
|
|
--- /home/dario/Downloads/jitsi/resources/install/generic/run.sh 2013-11-01 15:37:21.000000000 +0000
|
|
|
|
+++ jitsi/resources/install/generic/run.sh 2014-03-04 11:52:30.796397567 +0000
|
|
|
|
@@ -1,4 +1,9 @@
|
|
|
|
-mkdir -p $HOME/.sip-communicator/log
|
|
|
|
+#! /bin/bash
|
|
|
|
+# A modified version of the generic run.sh
|
|
|
|
+
|
|
|
|
+#mkdir -p $HOME/.sip-communicator/log
|
|
|
|
+
|
2015-09-09 16:43:08 +00:00
|
|
|
+cd "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
|
2017-03-04 13:47:07 +00:00
|
|
|
|
2014-03-04 12:17:57 +00:00
|
|
|
# Get architecture
|
|
|
|
ARCH=`uname -m | sed -e s/x86_64/64/ -e s/i.86/32/`
|
2020-08-08 13:26:02 +00:00
|
|
|
@@ -6,10 +11,12 @@
|
2014-03-04 12:17:57 +00:00
|
|
|
# Additionnal JVM arguments
|
|
|
|
CLIENTARGS=""
|
2017-03-04 13:47:07 +00:00
|
|
|
|
2014-03-04 12:17:57 +00:00
|
|
|
+NATIVELIBS="lib/native/linux-64"
|
2017-03-04 13:47:07 +00:00
|
|
|
if [ $ARCH = 32 ]
|
2014-03-04 12:17:57 +00:00
|
|
|
then
|
|
|
|
CLIENTARGS="-client -Xmx256m"
|
|
|
|
+ NATIVELIBS="lib/native/linux"
|
|
|
|
fi
|
2017-03-04 13:47:07 +00:00
|
|
|
|
2014-03-04 12:17:57 +00:00
|
|
|
export PATH=$PATH:native
|
|
|
|
-java $CLIENTARGS -classpath "lib/felix.jar:sc-bundles/sc-launcher.jar:sc-bundles/util.jar:lib/" -Djava.library.path=native -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties net.java.sip.communicator.launcher.SIPCommunicator
|
2015-09-18 07:27:29 +00:00
|
|
|
+LD_LIBRARY_PATH=@EXTRALIBS@ exec @JAVA@ $CLIENTARGS -classpath "lib/felix.jar:sc-bundles/sc-launcher.jar:sc-bundles/util.jar:lib/" -Djava.library.path=$NATIVELIBS -Dfelix.config.properties=file:lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties net.java.sip.communicator.launcher.SIPCommunicator
|