]> git.pld-linux.org Git - packages/clion.git/blob - pld.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/clion.git] / pld.patch
1 --- clion-140.1740.3/bin/clion.sh       2015-01-26 21:29:17.604754268 +0200
2 +++ clion-2016.1.2/bin/clion.sh 2016-05-25 22:55:11.386386251 +0300
3 @@ -155,6 +155,9 @@
4  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"
5  IDE_JVM_ARGS="-Didea.platform.prefix=CLion -Didea.no.jre.check=true"
6  
7 +CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/clion"
8 +CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/clion"
9 +
10  CLASSPATH="$IDE_HOME/lib/bootstrap.jar"
11  CLASSPATH="$CLASSPATH:$IDE_HOME/lib/extensions.jar"
12  CLASSPATH="$CLASSPATH:$IDE_HOME/lib/util.jar"
13 @@ -186,6 +189,7 @@
14    "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" \
15    -classpath "$CLASSPATH" \
16    $VM_OPTIONS \
17 +  -Dconfig.dir=$CONFIG_DIR -Dcache.dir=$CACHE_DIR \
18    "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" \
19    "-XX:ErrorFile=$HOME/java_error_in_CL_%p.log" \
20    "-XX:HeapDumpPath=$HOME/java_error_in_CL.hprof" \
21 --- clion-2016.1.2/bin/idea.properties~ 2016-05-18 00:50:46.000000000 +0300
22 +++ clion-2016.1.2/bin/idea.properties  2016-05-25 18:40:32.181585904 +0300
23 @@ -6,21 +6,25 @@
24  # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
25  #---------------------------------------------------------------------
26  # idea.config.path=${user.home}/.CLion/config
27 +idea.config.path=${config.dir}
28  
29  #---------------------------------------------------------------------
30  # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
31  #---------------------------------------------------------------------
32  # idea.system.path=${user.home}/.CLion/system
33 +idea.system.path=${cache.dir}
34  
35  #---------------------------------------------------------------------
36  # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
37  #---------------------------------------------------------------------
38  # idea.plugins.path=${idea.config.path}/plugins
39 +idea.plugins.path=${config.dir}/plugins
40  
41  #---------------------------------------------------------------------
42  # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
43  #---------------------------------------------------------------------
44  # idea.log.path=${idea.system.path}/log
45 +idea.log.path=${cache.dir}/log
46  
47  #---------------------------------------------------------------------
48  # Maximum file size (kilobytes) IDE should provide code assistance for.
This page took 0.093295 seconds and 4 git commands to generate.