[packages/rubymine] up to 2016.1
glen
glen at pld-linux.org
Fri Apr 15 20:57:36 CEST 2016
commit 66db9c023647b5dcbba6a3571aa2d9af9c820ba5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Apr 14 16:51:36 2016 +0300
up to 2016.1
pld.patch | 25 +++++++++++++++----------
rubymine.spec | 12 +++++++-----
2 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/rubymine.spec b/rubymine.spec
index dd9ce34..70929ce 100644
--- a/rubymine.spec
+++ b/rubymine.spec
@@ -1,17 +1,17 @@
%include /usr/lib/rpm/macros.java
Summary: The Most Intelligent Ruby and Rails IDE
Name: rubymine
-Version: 6.0.3
-Release: 0.5
+Version: 2016.1
+Release: 0.1
# TODO: figure out what's the licensing and redistribution
License: ?
Group: Development/Tools
-Source0: http://download.jetbrains.com/ruby/RubyMine-%{version}.tar.gz
-# NoSource0-md5: 271068d44ad9249e4b3be3533232d336
+Source0: https://download.jetbrains.com/ruby/RubyMine-%{version}.tar.gz
+# NoSource0-md5: dc3e4d2e6616d781632f8b0e13c8a0ed
NoSource: 0
Source1: %{name}.desktop
Patch0: pld.patch
-URL: http://www.jetbrains.com/ruby/
+URL: https://www.jetbrains.com/ruby/
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
BuildRequires: rpmbuild(macros) >= 1.300
@@ -57,6 +57,8 @@ rm bin/libyjpagent-linux.so
rm bin/rubymine.vmoptions
rm bin/libbreakgen.so
%endif
+rm -r lib/libpty/{macosx,win}
+rm bin/fsnotifier-arm
%patch0 -p1
chmod a+rx bin/*.so bin/fsnotifier*
mv bin/rubymine.png .
diff --git a/pld.patch b/pld.patch
index ec354ce..694bfb1 100644
--- a/pld.patch
+++ b/pld.patch
@@ -1,18 +1,23 @@
---- RubyMine-6.0.3/bin/rubymine.sh~ 2014-01-17 06:23:31.000000000 +0200
-+++ RubyMine-6.0.3/bin/rubymine.sh 2014-02-15 23:17:32.187118877 +0200
-@@ -145,8 +145,11 @@
- fi
+--- RubyMine-2016.1/bin/rubymine.sh~ 2016-03-30 13:51:25.000000000 +0300
++++ RubyMine-2016.1/bin/rubymine.sh 2016-04-14 16:29:51.327754131 +0300
+@@ -177,6 +177,9 @@
+ CLASSPATH="$CLASSPATH:$RUBYMINE_CLASSPATH"
fi
+CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/RubyMine"
+CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/RubyMine"
+
- COMMON_JVM_ARGS="\"-Xbootclasspath/a:$IDE_HOME/lib/boot.jar\" -Didea.paths.selector=RubyMine60 $IDE_PROPERTIES_PROPERTY"
--IDE_JVM_ARGS="-Didea.platform.prefix=Ruby -Didea.no.jre.check=true"
-+IDE_JVM_ARGS="-Didea.platform.prefix=Ruby -Didea.no.jre.check=true -Drubymine.config.dir=$CONFIG_DIR -Drubymine.cache.dir=$CACHE_DIR"
- ALL_JVM_ARGS="$VM_OPTIONS $COMMON_JVM_ARGS $IDE_JVM_ARGS $AGENT $REQUIRED_JVM_ARGS"
-
- CLASSPATH="$IDE_HOME/lib/bootstrap.jar"
+ # ---------------------------------------------------------------------
+ # Run the IDE.
+ # ---------------------------------------------------------------------
+@@ -186,6 +189,7 @@
+ "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" \
+ -classpath "$CLASSPATH" \
+ $VM_OPTIONS \
++ -Drubymine.config.dir="$CONFIG_DIR" -Drubymine.cache.dir="$CACHE_DIR" \
+ "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" \
+ "-XX:ErrorFile=$HOME/java_error_in_RUBYMINE_%p.log" \
+ "-XX:HeapDumpPath=$HOME/java_error_in_RUBYMINE.hprof" \
--- RubyMine-6.0.3/bin/idea.properties~ 2014-01-17 06:04:22.000000000 +0200
+++ RubyMine-6.0.3/bin/idea.properties 2014-02-15 23:18:48.827181727 +0200
@@ -6,21 +6,25 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rubymine.git/commitdiff/66db9c023647b5dcbba6a3571aa2d9af9c820ba5
More information about the pld-cvs-commit
mailing list