aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/idea/Manifest3
-rw-r--r--dev-util/idea/idea-141.ebuild291
-rw-r--r--dev-util/idea/metadata.xml7
-rw-r--r--profiles/use.local.desc22
4 files changed, 254 insertions, 69 deletions
diff --git a/dev-util/idea/Manifest b/dev-util/idea/Manifest
index 2aea103..27bc8b3 100644
--- a/dev-util/idea/Manifest
+++ b/dev-util/idea/Manifest
@@ -2,4 +2,5 @@ AUX idea-141-build-gant-xml.patch 955 SHA256 139882ffd0c31db7d6fa11c4d012eac82ee
DIST 141.zip 404466018 SHA256 aecccd47f9137a95e2933b9ff2341d0e7398bb7cad894c4638e7ada574368c1f SHA512 8149dc634d56d218bdafac4ba050a85df842f423dc6c4153c6e91eb31d9ec6423b545d4b616e0165d68e6fc221e48c10405a2c34a87c35837835387bd78433cb WHIRLPOOL 62e34cadff917830972c219c80bfc3e6472831c4379a3ae412d0c9ea69c9c6079f35081b29e5ace6a65f7b108eccf143f655ec9838e53b6e691c81c16258c816
DIST ideaIC-14.1.4.tar.gz 183258274 SHA256 bd13fdd487ff37fb8b1d6aa713a6ff2c642b8b2ed74d292a8b624ab55c1ba9fb SHA512 c43ce7f0001a8ed27e6db6d4816c844880a9d5fe215d1dc07bef4ad80fe1c6b348294d9f6f8582af7b5c2f3651e1af1c4bd5719c9d46fcf46c971bc233496a85 WHIRLPOOL b3bfd0bab4e70079b5c04a52978d557f10ed266098f9a2416ae14df215ba69c9dc8a0a7813653b2ba71360905615e4508293ea109fc3360712e400ed826b90b5
EBUILD idea-14.1.4.ebuild 792 SHA256 40264c1e9106c0802c1166d23aa2ef46bdc93f365a1a58c0fd63cdac29f884d7 SHA512 b1520dfd0e6ae2425b37b5886efa4d9ca8db9b44cc9d087d5cded7adfb2fc9dedee805913d3d39050b60b7c6ee1546280ab7a777980ea3068203875dd69905df WHIRLPOOL a77f662debfc172dd5452ab16dfc4693d861cad118790d2fae7139292d588746678752c19bd01e93a2585447ffde51e8524762c581b964688827ce152b3b8375
-EBUILD idea-141.ebuild 6514 SHA256 8df0a7ad5d1e0e82e91db2df26c7885d614a8a5988075e29f14d998acb64b0f1 SHA512 1f82c6ebdd659b36ca0fe9953cdd6bfcee8d320b5240215e7e1f23012e028c7dff25445ce8d07990927c52b6bc12812b36d3d7e86df6c1938599ee418299d5b0 WHIRLPOOL 1bb0664203e0494d7dea0a3a761eb5576ce2f89b93147e33d64d80689e98ee8c63f52f5c93c1b62f7d4a0e3f8981f214b8bf8bec91c01d9deeed78f55ffaf941
+EBUILD idea-141.ebuild 15250 SHA256 cd029e9ee0755e5a609b2635b3db6255c15f362802752ade77efe36ba9ca3566 SHA512 494820b16be025d9f9862f1169a5712b6e53d0f803902e72c0b6f3db9150cdf5bce56ed72be257f8f76e0535698123ad1f6ff8349353f38212552f0bd52f9735 WHIRLPOOL 4da6bf054ebff77629f4c070a592bad5b6c4e9301f9dba5177626cfea3fd0be3bbccddcb9f135091695ceb442328620bc1e7707d4e4168c533b70ad353176ecf
+MISC metadata.xml 189 SHA256 8b9ccf3b6764506d7dd746bb63aee3205cbc1933b39935538fcabe9d8fcba636 SHA512 23841a4d8df9d6e35837afb76336ed12f176584c1c74c7b0c8b91c91d30c865b76954d3e5cbfefcc9a894d782257c51d26ecb2df3ccd665d78bb10686246eb84 WHIRLPOOL a91ac16cc85b94edefe9bdf68bee49110c8819d9c8bdc4ac2b65daf77cd60af4a689a9553c947834a4a3313a1793ece17a60caf34c9c9a9a751211002daaa0b1
diff --git a/dev-util/idea/idea-141.ebuild b/dev-util/idea/idea-141.ebuild
index 8f30b43..ba24f1e 100644
--- a/dev-util/idea/idea-141.ebuild
+++ b/dev-util/idea/idea-141.ebuild
@@ -1,14 +1,17 @@
-# Copyright open-overlay 2015 by Alex
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
EAPI=5
inherit eutils java-pkg-2 java-ant-2 versionator
SLOT="0"
-MY_PN="intellij-community"
+#MY_PN="intellij-community"
+MY_PN="idea"
RESTRICT="strip"
-QA_TEXTRELS="opt/${P}/bin/libbreakgen.so"
+QA_TEXTRELS="opt/idea-${PV}/bin/libbreakgen.so"
DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE (Community Edition)"
HOMEPAGE="http://jetbrains.com/idea/"
@@ -41,13 +44,47 @@ CDEPEND="
dev-java/asm:3
dev-java/asm:4
dev-java/cglib:3
- dev-java/commons-commons:0
- dev-java/commons-logging:0
dev-java/commons-httpclient:3
dev-java/eclipse-ecj:4.4
dev-java/freemarker:2.3
+ dev-java/guava:17
dev-java/hamcrest-core:1.3
dev-java/hamcrest-library:1.3
+ dev-java/commons-net:0
+ dev-java/guava:18
+ dev-java/gson:2.2.2
+ dev-java/jcip-annotations:0
+ dev-java/jgoodies-common:0
+ dev-java/jgoodies-looks:2.0
+ dev-java/jna:0
+ dev-java/jsch:0
+ dev-java/jsr173:0
+ dev-java/jsr305:0
+ dev-java/jaxen:1.1
+ dev-java/jzlib:1.1
+ dev-java/kryo:2
+ dev-java/log4j:0
+ dev-java/microba:0
+ dev-java/miglayout:0
+ dev-java/minlog:0
+ dev-java/nanoxml:0
+ dev-java/reflectasm:0
+ dev-java/nekohtml:0
+ dev-libs/protobuf:0[java]
+ dev-java/reflectasm:0
+ dev-java/xml-commons-resolver:0
+ dev-java/rhino:1.7
+ dev-java/slf4j-api:0
+ dev-java/slf4j-log4j12:0
+ dev-java/slf4j-simple:0
+ || ( dev-java/jython:2.7 dev-java/jython:2.5 )
+ dev-java/jflex:0
+ dev-java/xpp3:0
+ dev-java/commons-io:1
+ dev-java/commons-logging:0
+ dev-java/wsdl4j:0
+ dev-java/commons-discovery:0
+ dev-java/iso-relax:0
"
DEPEND="
dev-java/antlr:0[java]
@@ -57,6 +94,11 @@ DEPEND="
dev-java/hamcrest-core:0
dev-java/hamcrest-library:0
dev-java/jarjar:1
+ dev-java/objenesis:0
+ dev-java/mockobjects:0
+ dev-java/jansi:0
+ dev-java/jline:0
+ dev-java/jaxb:2
>=virtual/jdk-1.7
${CDEPEND}
"
@@ -67,7 +109,7 @@ RDEPEND="
# Notes:
# - saxon depends on jdom:1.0 - don't we want jdom:0? be it as may be, we don't have the right saxon - somehow.
-S="${WORKDIR}/${MY_PN}-${PV}"
+S="${WORKDIR}/intellij-community-${PV}"
EANT_BUILD_TARGET="build"
EANT_GENTOO_CLASSPATH=""
@@ -75,68 +117,127 @@ JAVA_REWRITE_CLASSPATH=1
java_prepare() {
local dts="
- ./build/lib/commons-cli-1.2.jar
./lib/groovy/lib/commons-cli-1.2.jar
+ ./build/lib/commons-cli-1.2.jar
./build/lib/jarjar-1.0.jar
./lib/dev/easymockclassextension.jar
./lib/dev/easymock.jar
- ./lib/dev/hamcrest-core-1.1.jar
+ ./lib/hamcrest-library-1.3.jar
+ ./lib/hamcrest-core-1.3.jar
./lib/dev/hamcrest-library-1.1.jar
+ ./lib/dev/hamcrest-core-1.1.jar
./lib/objenesis-1.2.jar
./lib/dev/objenesis-1.0.jar
./lib/groovy/lib/antlr-2.7.7.jar
- "
- for i in $dts; do
- java-pkg_rm_files ${i} || die "wanted to rm ${i} but couldn't find it"
- done
- java-pkg_jar-from --build-only --into "${S}/build/lib" commons-cli-1
- java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" commons-cli-1
- java-pkg_jar-from --build-only --into "${S}/build/lib" jarjar-1 # jb's file has util -> ext_util and weird asm built in?
- java-pkg_jar-from --build-only --into "${S}/lib/dev" easymock-3.2
- java-pkg_jar-from --build-only --into "${S}/lib/dev" easymock-classextension-3.2
- java-pkg_jar-from --build-only --into "${S}/lib/dev" hamcrest-core hamcrest-core.jar hamcrest-core-1.1.jar
- java-pkg_jar-from --build-only --into "${S}/lib/dev" hamcrest-library hamcrest-library.jar hamcrest-library-1.1.jar
- #java-pkg_jar-from --build-only --into "${S}/lib/dev" jmock-1.0 jmock.jar jmock-1.jar # since those are only build-deps i'm not gonna replace them.
- #java-pkg_jar-from --build-only --into "${S}/lib/dev" jmock-2 jmock.jar jmock-2.jar
- java-pkg_jar-from --build-only --into "${S}/lib" objenesis
- java-pkg_jar-from --build-only --into "${S}/lib/dev" objenesis
- java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" antlr
-
- local dts="
+ ./plugins/svn4idea/lib/antlr.jar
+ ./lib/dev/mockobjects-core-0.09.jar
+ ./lib/groovy/lib/jansi-1.6.jar
+ ./lib/groovy/lib/jline-1.0.jar
+ ./lib/jaxb-impl.jar
+ ./lib/jaxb-api.jar
+ ./lib/jaxen-1.1.3.jar
./lib/ant/lib/ant.jar
+ ./lib/ant/lib/ant-testutil.jar
+ ./lib/ant/lib/ant-swing.jar
+ ./lib/ant/lib/ant-netrexx.jar
./lib/ant/lib/ant-launcher.jar
- ./lib/ant/lib/ant-antlr.jar
- ./lib/ant/lib/ant-apache-bcel.jar
- ./lib/ant/lib/ant-apache-bsf.jar
- ./lib/ant/lib/ant-apache-log4j.jar
- ./lib/ant/lib/ant-apache-oro.jar
- ./lib/ant/lib/ant-apache-regexp.jar
- ./lib/ant/lib/ant-apache-resolver.jar
- ./lib/ant/lib/ant-apache-xalan2.jar
- ./lib/ant/lib/ant-commons-logging.jar
- ./lib/ant/lib/ant-commons-net.jar
- ./lib/ant/lib/ant-jai.jar
- ./lib/ant/lib/ant-javamail.jar
- ./lib/ant/lib/ant-jdepend.jar
- ./lib/ant/lib/ant-jmf.jar
- ./lib/ant/lib/ant-jsch.jar
- ./lib/ant/lib/ant-junit.jar
./lib/ant/lib/ant-junit4.jar
- ./lib/ant/lib/ant-swing.jar
- ./lib/ant/lib/ant-testutil.jar
- ./lib/groovy/lib/asm-4.0.jar
+ ./lib/ant/lib/ant-junit.jar
+ ./lib/ant/lib/ant-jsch.jar
+ ./lib/ant/lib/ant-jmf.jar
+ ./lib/ant/lib/ant-jdepend.jar
+ ./lib/ant/lib/ant-javamail.jar
+ ./lib/ant/lib/ant-jai.jar
+ ./lib/ant/lib/ant-commons-net.jar
+ ./lib/ant/lib/ant-commons-logging.jar
+ ./lib/ant/lib/ant-apache-xalan2.jar
+ ./lib/ant/lib/ant-apache-resolver.jar
+ ./lib/ant/lib/ant-apache-regexp.jar
+ ./lib/ant/lib/ant-apache-oro.jar
+ ./lib/ant/lib/ant-apache-log4j.jar
+ ./lib/ant/lib/ant-apache-bsf.jar
+ ./lib/ant/lib/ant-apache-bcel.jar
+ ./lib/ant/lib/ant-antlr.jar
./lib/asm.jar
./lib/asm-commons.jar
+ ./lib/groovy/lib/asm-4.0.jar
./lib/commons-net-3.3.jar
+ ./lib/src/commons-net-3.3-sources.jar
./lib/commons-logging-1.1.3.jar
- ./lib/hamcrest-core-1.3.jar
- ./lib/hamcrest-library-1.3.jar
./lib/ecj-4.4.jar
./lib/freemarker.jar
+ ./lib/guava-17.0.jar
+ ./lib/src/guava-17.0-sources.jar
+ ./plugins/maven/maven32-server-impl/lib/maven32/lib/guava-18.0.jar
+ ./lib/gson-2.3.jar
+ ./lib/src/gson-2.3-sources.jar
+ ./lib/jcip-annotations.jar
+ ./lib/jgoodies-looks-2.4.2.jar
+ ./lib/jgoodies-common-1.2.1.jar
+ ./lib/jsch-0.1.51.jar
+ ./lib/jsr173_1.0_api.jar
+ ./plugins/gradle/lib/jsr305-1.3.9.jar
+ ./lib/jsr305.jar
+ ./lib/src/jzlib-1.1.1.zip
+ ./lib/jzlib-1.1.1.jar
+ ./lib/src/kryo-src.zip
+ ./lib/kryo-2.22.jar
+ ./lib/src/log4j.zip
+ ./lib/src/microba-src.zip
+ ./lib/microba.jar
+ ./lib/src/miglayout-sources.jar
+ ./lib/miglayout-swing.jar
+ ./lib/minlog-1.2.jar
+ ./lib/src/nanoxml.zip
+ ./lib/nanoxml-2.2.3.jar
+ ./lib/nekohtml-1.9.14.jar
+ ./lib/protobuf-2.5.0.jar
+ ./lib/resolver.jar
+ ./lib/rhino-js-1_7R4.jar
+ ./lib/slf4j-api-1.7.10.jar
+ ./lib/slf4j-log4j12-1.7.10.jar
+ ./plugins/maven/maven32-server-impl/lib/maven32/lib/slf4j-api-1.7.5.jar
+ ./plugins/maven/maven32-server-impl/lib/maven32/lib/slf4j-simple-1.7.5.jar
+ ./lib/src/xpp3-1.1.4-min-src.jar
+ ./lib/xpp3-1.1.4-min.jar
+ ./python/ipnb/lib/commons-io-1.4.jar
+ ./plugins/maven/maven32-server-impl/lib/maven32/lib/commons-io-2.2.jar
+ ./plugins/maven/maven30-server-impl/lib/maven3/lib/commons-io-2.2.jar
+ ./plugins/gradle/lib/commons-io-1.4.jar
+ ./plugins/gradle/lib/jna-3.2.7.jar
+ ./lib/jna.jar
+ ./lib/src/jna-src.zip
+ ./plugins/tasks/tasks-core/lib/wsdl4j-1.4.jar
+ ./lib/jna-utils.jar
+ ./plugins/tasks/tasks-core/lib/commons-discovery-0.4.jar
+ ./xml/relaxng/lib/isorelax.jar
"
for i in ${dts}; do
- java-pkg_rm_files ${i} || die "wanted to rm ${i} but couldn't find it"
+ java-pkg_rm_files ${i} || die
done
+
+ java-pkg_jar-from --build-only --into "${S}/build/lib" commons-cli-1
+ java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" commons-cli-1
+ java-pkg_jar-from --build-only --into "${S}/build/lib" jarjar-1 # jb's file has util -> ext_util and weird asm built in?
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" easymock-3.2
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" easymock-classextension-3.2
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" hamcrest-core hamcrest-core.jar hamcrest-core-1.1.jar
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" hamcrest-library hamcrest-library.jar hamcrest-library-1.1.jar
+ #java-pkg_jar-from --build-only --into "${S}/lib/dev" jmock-1.0 jmock.jar jmock-1.jar # since those are only build-deps i'm not gonna replace them.
+ #java-pkg_jar-from --build-only --into "${S}/lib/dev" jmock-2 jmock.jar jmock-2.jar
+ java-pkg_jar-from --build-only --into "${S}/lib" objenesis objenesis.jar objenesis-1.2.jar
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" objenesis objenesis.jar objenesis-1.0.jar
+ java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" antlr
+ java-pkg_jar-from --build-only --into "${S}/lib/dev" mockobjects mockobjects-core.jar mockobjects-core-0.09.jar
+ java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" jansi
+ java-pkg_jar-from --build-only --into "${S}/lib/groovy/lib" jline
+ java-pkg_jar-from --build-only --into "${S}/lib" jaxb-2
+ java-pkg_jar-from --build-only --into "${S}/lib" reflectasm
+ java-pkg_jar-from --build-only --into "${S}/plugins/maven/maven32-server-impl/lib/maven32/lib" slf4j-api
+ java-pkg_jar-from --build-only --into "${S}/plugins/maven/maven32-server-impl/lib/maven32/lib" slf4j-simple slf4j-simple.jar slf4j-simple-1.7.5.jar
+ java-pkg_jar-from --build-only --into "${S}/python/lib" jython-2.7
+ java-pkg_jar-from --build-only --into "${S}/tools/lexer/jflex-1.4/lib" jflex
+
java-pkg_jar-from --into "${S}/lib/ant/lib" ant-core ant.jar
java-pkg_jar-from --into "${S}/lib/ant/lib" ant-core ant-launcher.jar
java-pkg_jar-from --into "${S}/lib/ant/lib" ant-antlr
@@ -162,31 +263,85 @@ java_prepare() {
java-pkg_jar-from --into "${S}/lib" asm-3 asm-commons.jar
java-pkg_jar-from --into "${S}/lib/groovy/lib" asm-4 asm.jar asm-4.0.jar
#java-pkg_jar-from --into "${S}/lib/" cglib-3 cglib.jar cglib-2.2.2.jar # our's is too new.
- java-pkg_jar-from --into "${S}/lib/" commons-net # they have 3.3, we have 3.2
- java-pkg_jar-from --into "${S}/lib/" commons-logging
+ java-pkg_jar-from --into "${S}/lib" commons-net # they have 3.3, we have 3.2
+ java-pkg_jar-from --into "${S}/lib" commons-logging commons-logging.jar commons-logging-1.1.3.jar
#java-pkg_jar-from --into "${S}/lib/" commons-httpclient-3 # they made the effort to rename it to "patched"; both are 3.1
#java-pkg_jar-from --into "${S}/lib/" commons-codec # they have 1.9, we have 1.7; our's is too old
java-pkg_jar-from --into "${S}/lib" hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
java-pkg_jar-from --into "${S}/lib" hamcrest-library-1.3 hamcrest-library.jar hamcrest-library-1.3.jar
- java-pkg_jar-from --into "${S}/lib/" eclipse-ecj-4.4
- java-pkg_jar-from --into "${S}/lib/" freemarker-2.3
-
- # cucumber{,-core} and gherkin need java-packages. who wants ruby?
+ java-pkg_jar-from --into "${S}/lib" eclipse-ecj-4.4
+ java-pkg_jar-from --into "${S}/lib" freemarker-2.3
+ java-pkg_jar-from --into "${S}/lib" guava-17 guava.jar guava-17.0.jar
+ java-pkg_jar-from --into "${S}/plugins/maven/maven32-server-impl/lib/maven32/lib" guava-18 guava.jar guava-18.0.jar
+ java-pkg_jar-from --into "${S}/plugins/gradle/lib" guava-17 guava.jar guava-jdk5-17.0.jar # do we really wanna pose as jdk5?
+ java-pkg_jar-from --into "${S}/lib" gson-2.2.2 gson.jar gson-2.3.jar
+ java-pkg_jar-from --into "${S}/lib" jcip-annotations
+ java-pkg_jar-from --into "${S}/lib" jgoodies-common
+ #java-pkg_jar-from --into "${S}/lib" jgoodies-forms
+ java-pkg_jar-from --into "${S}/lib" jgoodies-looks-2.0 looks.jar jgoodies-looks-2.4.2.jar
+ java-pkg_jar-from --into "${S}/lib" jna
+ java-pkg_jar-from --into "${S}/plugins/gradle/lib" jna
+ java-pkg_jar-from --into "${S}/lib" jsch
+ java-pkg_jar-from --into "${S}/lib" jsr173
+ java-pkg_jar-from --into "${S}/lib" jsr305
+ java-pkg_jar-from --into "${S}/plugins/gradle/lib" jsr305
+ java-pkg_jar-from --into "${S}/lib" jaxen-1.1 jaxen.jar jaxen-1.1.3.jar
+ java-pkg_jar-from --into "${S}/lib" jzlib-1.1
+ java-pkg_jar-from --into "${S}/lib" kryo-2 kryo.jar kryo-2.22.jar
+ #java-pkg_jar-from --into "${S}/lib" junit
+ #java-pkg_jar-from --into "${S}/lib" junit-4 junit.jar junit-4.12.jar
+ #java-pkg_jar-from --into "${S}/lib" log4j # somehow our version is incompatible?
+ java-pkg_jar-from --into "${S}/lib" microba
+ java-pkg_jar-from --into "${S}/lib" miglayout miglayout.jar miglayout-swing.jar
+ java-pkg_jar-from --into "${S}/lib" minlog minlog.jar minlog-1.2.jar
+ java-pkg_jar-from --into "${S}/lib" nanoxml nanoxml.jar nanoxml-2.2.3.jar
+ java-pkg_jar-from --into "${S}/lib" nekohtml nekohtml.jar nekohtml-1.9.14.jar
+ #java-pkg_jar-from --into "${S}/lib" picocontainer-1 # weird stuffs. just try it man, i dare ya!
+ java-pkg_jar-from --into "${S}/lib" protobuf protobuf.jar protobuf-2.5.0.jar
+ java-pkg_jar-from --into "${S}/lib" reflectasm
+ java-pkg_jar-from --into "${S}/lib" xml-commons-resolver xml-commons-resolver.jar resolver.jar
+ java-pkg_jar-from --into "${S}/lib" rhino-1.7 js.jar rhino-js-1_7R4.jar
+ java-pkg_jar-from --into "${S}/lib" slf4j-api slf4j-api.jar slf4j-api-1.7.10.jar
+ java-pkg_jar-from --into "${S}/lib" slf4j-log4j12 slf4j-log4j12.jar slf4j-log4j12-1.7.10.jar
+ #java-pkg_jar-from --into "${S}/lib" snappy-1.0 snappy.jar snappy-in-java-0.3.1.jar # they use some random implementation by iq80?
+ #java-pkg_jar-from --into "${S}/lib" trove trove.jar trove4j.jar # apparently it's trove:0 - but J00 DOIN WEIRD STUFFZ, M8!
+ java-pkg_jar-from --into "${S}/lib" xpp3 xpp3.jar xpp3-1.1.4-min.jar
+ #java-pkg_jar-from --into "${S}/lib" velocity # somehow this contains classes from commons-collections
+ #java-pkg_jar-from --into "${S}/lib" swingx-1.6 swingx.jar swingx-core-1.6.2.jar # really needs 1.6.2 - our 1.6.4 has different jar structure
+ #java-pkg_jar-from --into "${S}/lib" xbeans-2 xbeans.jar xbean.jar # jetbrains-pimped
+ #java-pkg_jar-from --into "${S}/lib" xerces-1.3
+ #java-pkg_jar-from --into "${S}/lib" xerces-2 # something in between needed
+ #java-pkg_jar-from --into "${S}/lib" xmlrpc-3 xmlrpc-client.jar xmlrpc-2.0.jar # they want xmlrpc:2 - which is not in the tree anymore
+ #java-pkg_jar-from --into "${S}/lib" xstream xstream.jar xstream-1.4.3.jar # they want 1.4.3 - our's is too old
+ #java-pkg_jar-from --into "${S}/plugins/devkit/lib" dtdparser-1.21 dtdparser.jar dtdparser-113.jar # custom jetbrains version
+ java-pkg_jar-from --into "${S}/python/ipnb/lib" commons-io-1
+ java-pkg_jar-from --into "${S}/plugins/maven/maven32-server-impl/lib/maven32/lib" commons-io-1
+ java-pkg_jar-from --into "${S}/plugins/maven/maven30-server-impl/lib/maven3/lib" commons-io-1
+ java-pkg_jar-from --into "${S}/plugins/gradle/lib" commons-io-1
+ java-pkg_jar-from --into "${S}/plugins/gradle/lib" jna jna.jar jna-3.2.7.jar
+ java-pkg_jar-from --into "${S}/lib" jna
+ java-pkg_jar-from --into "${S}/lib" jna platform.jar jna-utils.jar
+ #java-pkg_jar-from --into "${S}/plugins/testng/lib" testng # wrong version
+ java-pkg_jar-from --into "${S}/plugins/tasks/tasks-core/lib" wsdl4j wsdl4j.jar wsdl4j-1.4.jar
+ java-pkg_jar-from --into "${S}/plugins/tasks/tasks-core/lib" commons-discovery
+ java-pkg_jar-from --into "${S}/xml/relaxng/lib" iso-relax
+ #java-pkg_jar-from --into "${S}/xml/relaxng/lib" nokogiri jing.jar # nokogiri doesn't register with java. who needs ruby anyway?
+ #java-pkg_jar-from --into "${S}/xml/relaxng/lib" trang-core.jar # crappy crap's not building
+
+ # cucumber-{java,core} and gherkin need java-packages. seriuosly, who wants ruby?
# groovy is way outdated, wanting 2.0.4 and 2.3.9
}
-#java_unpack() {
-# java-ant_rewrite-classpath
-#}
+src_install() {
+ local final_dest="/opt/${MY_PN}-${PV}"
+ local destination="${D}${final_dest}"
+ local tarball="ideaIC-${PV}.SNAPSHOT.tar.gz"
+ local tardir=$(tar -tzf ${S}/out/artifacts/${tarball} | head -n1 | awk -F / '{ print $1 }')
-#src_install() {
-# local dir="/opt/${PN}"
-#
-# insinto "${dir}"
-# doins -r *
-# fperms 755 "${dir}/bin/${MY_PN}.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
-#
-# newicon "bin/idea.png" "${PN}.png"
-# make_wrapper ${PN} ${dir}/bin/${MY_PN}.sh
-# make_desktop_entry ${PN} "IntelliJ IDEA(Community Edition)" ${PN} "Development;IDE"
-#}
+ mkdir -p "${destination}" || die "Can't create directory: ${dir}"
+ cd "${destination}" || die "Directory not there: ${dir}"
+ tar xzvf "${S}/out/artifacts/${tarball}" --transform 's/\/\?'${tardir}'\///' || die "Moving idea to image directory unsuccessful."
+ fperms 755 "${final_dest}/bin/idea.sh" "${final_dest}/bin/fsnotifier" "${final_dest}/bin/fsnotifier64"
+
+ make_desktop_entry "/opt/idea-IC-141.SNAPSHOT/bin/idea.sh" "IntelliJ IDEA" "/opt/idea-IC-141.SNAPSHOT/bin/idea.png"
+}
diff --git a/dev-util/idea/metadata.xml b/dev-util/idea/metadata.xml
new file mode 100644
index 0000000..95d7c10
--- /dev/null
+++ b/dev-util/idea/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+
+ </longdescription>
+</pkgmetadata>
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
new file mode 100644
index 0000000..2961fba
--- /dev/null
+++ b/profiles/use.local.desc
@@ -0,0 +1,22 @@
+# This file is deprecated as per GLEP 56 in favor of metadata.xml. Please add
+# your descriptions to your package's metadata.xml ONLY.
+# * generated automatically using egencache *
+
+dev-ml/ocaml-cstruct:async - support for asynchronous execution
+dev-ml/ocaml-cstruct:camlp4 - enable support for camlp4
+dev-ml/ocaml-cstruct:lwt - enable threads via lwt
+dev-ml/ocaml-dns:async - support for asynchronous execution
+dev-ml/ocaml-dns:lwt - enable threads via lwt
+dev-ml/ocaml-dns:nettests - if running test, also enable network-tests
+dev-ml/ocaml-uri:allservices - compile support for all service types
+dev-ml/qcheck:ounit - enable integration with ounit
+games-strategy/ufo-ai:client - Build UFO-AI client GUI
+games-strategy/ufo-ai:debug - Create debug build
+games-strategy/ufo-ai:editor - Build map editor
+games-strategy/ufo-ai:profile - Use profile-guided optimizations
+games-strategy/ufo-ai:server - Build UFO-AI server component
+games-strategy/ufo-ai:sse - Make use of sse enhancements
+net-misc/sx:client - Access the SX Cluster from this machine via its Nginx server. Also responsible for tools required to run the server.
+net-misc/sx:ipv6 - Enable support for communication via IPv6.
+net-misc/sx:server - Enable SX's server component.
+net-misc/sx:ssl - Enable communication security via OpenSSL.