[packages/clion] fix config.dir and cache.dir javaprop passing
glen
glen at pld-linux.org
Wed May 25 23:14:37 CEST 2016
commit d68169ca883ddaf455332bb3f854b46491a5bcec
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu May 26 00:14:22 2016 +0300
fix config.dir and cache.dir javaprop passing
pld.patch | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/pld.patch b/pld.patch
index 5b99396..d7c3244 100644
--- a/pld.patch
+++ b/pld.patch
@@ -1,17 +1,23 @@
---- clion-140.1740.3/bin/clion.sh~ 2015-01-19 20:36:22.000000000 +0200
-+++ clion-140.1740.3/bin/clion.sh 2015-01-26 21:29:17.604754268 +0200
-@@ -155,6 +155,11 @@
+--- clion-140.1740.3/bin/clion.sh 2015-01-26 21:29:17.604754268 +0200
++++ clion-2016.1.2/bin/clion.sh 2016-05-25 22:55:11.386386251 +0300
+@@ -155,6 +155,9 @@
COMMON_JVM_ARGS="-XX:ErrorFile=$HOME/java_error_in_CL_%p.log \"-Xbootclasspath/a:$IDE_HOME/lib/boot.jar\" -Didea.paths.selector=clion10 $IDE_PROPERTIES_PROPERTY"
IDE_JVM_ARGS="-Didea.platform.prefix=CLion -Didea.no.jre.check=true"
+CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/clion"
+CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/clion"
+
-+IDE_JVM_ARGS="$IDE_JVM_ARGS -Dconfig.dir=$CONFIG_DIR -Dcache.dir=$CACHE_DIR"
-+
CLASSPATH="$IDE_HOME/lib/bootstrap.jar"
CLASSPATH="$CLASSPATH:$IDE_HOME/lib/extensions.jar"
CLASSPATH="$CLASSPATH:$IDE_HOME/lib/util.jar"
+@@ -186,6 +189,7 @@
+ "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" \
+ -classpath "$CLASSPATH" \
+ $VM_OPTIONS \
++ -Dconfig.dir=$CONFIG_DIR -Dcache.dir=$CACHE_DIR \
+ "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" \
+ "-XX:ErrorFile=$HOME/java_error_in_CL_%p.log" \
+ "-XX:HeapDumpPath=$HOME/java_error_in_CL.hprof" \
--- clion-2016.1.2/bin/idea.properties~ 2016-05-18 00:50:46.000000000 +0300
+++ clion-2016.1.2/bin/idea.properties 2016-05-25 18:40:32.181585904 +0300
@@ -6,21 +6,25 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clion.git/commitdiff/d68169ca883ddaf455332bb3f854b46491a5bcec
More information about the pld-cvs-commit
mailing list