aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomboy64 <tomboy64@sina.cn>2015-09-09 19:40:11 +0200
committertomboy64 <tomboy64@sina.cn>2015-09-09 19:40:11 +0200
commit87571241ddc1479458741ef14fd3408932ce44c3 (patch)
treea52e1d05e6a4db6ecdb1f88cb82fa0312e05c1c2
parentsmall fixes (diff)
downloadtbc-87571241ddc1479458741ef14fd3408932ce44c3.tar.gz
tbc-87571241ddc1479458741ef14fd3408932ce44c3.tar.bz2
tbc-87571241ddc1479458741ef14fd3408932ce44c3.zip
idea - WIP
-rw-r--r--dev-util/idea/Manifest3
-rw-r--r--dev-util/idea/files/idea-141-build-gant-xml.patch23
-rw-r--r--dev-util/idea/idea-141.ebuild192
3 files changed, 218 insertions, 0 deletions
diff --git a/dev-util/idea/Manifest b/dev-util/idea/Manifest
index 3eb2ab6..2aea103 100644
--- a/dev-util/idea/Manifest
+++ b/dev-util/idea/Manifest
@@ -1,2 +1,5 @@
+AUX idea-141-build-gant-xml.patch 955 SHA256 139882ffd0c31db7d6fa11c4d012eac82ee5d8017f594d50c34ecfeef43e306d SHA512 31244fc5d8921dc3438004f723bbe63ef66f1553a4365c224b74d597526cee305ea969e3307ba860a682786515b2a0820c21c930c57d5a84a9e51d21369c125f WHIRLPOOL 97acd20ff728a05679fcc54e0e59d3890e183a54e2743c4024b048428ccf5689525a822f35f7d639068c2090f5ed3c97a0119683e38c7f4ecfa15a7e52e4d4a7
+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
diff --git a/dev-util/idea/files/idea-141-build-gant-xml.patch b/dev-util/idea/files/idea-141-build-gant-xml.patch
new file mode 100644
index 0000000..9eff9ec
--- /dev/null
+++ b/dev-util/idea/files/idea-141-build-gant-xml.patch
@@ -0,0 +1,23 @@
+--- build/scripts/layouts.gant.old 2015-09-08 00:38:33.018087776 +0200
++++ build/scripts/layouts.gant 2015-09-08 00:38:58.998174094 +0200
+@@ -803,7 +803,7 @@
+ include(name: "jdom.jar")
+ include(name: "jna.jar")
+ include(name: "trove4j.jar")
+- include(name: "asm-all.jar")
++ include(name: "asm*.jar")
+ include(name: "nanoxml-*.jar")
+ include(name: "protobuf-*.jar")
+ include(name: "cli-parser-*.jar")
+--- build/gant.xml.old 2015-09-08 00:38:26.783067067 +0200
++++ build/gant.xml 2015-09-08 00:39:35.708296129 +0200
+@@ -29,8 +29,7 @@
+ <include name="groovy-all-*.jar"/>
+ <include name="protobuf*.jar"/>
+ <include name="netty*.jar"/>
+- <include name="asm-all.jar"/>
+- <include name="asm-commons.jar"/>
++ <include name="asm*.jar"/>
+ <include name="jgoodies-forms.jar"/>
+ <include name="guava*.jar"/>
+ <include name="picocontainer.jar"/>
diff --git a/dev-util/idea/idea-141.ebuild b/dev-util/idea/idea-141.ebuild
new file mode 100644
index 0000000..8f30b43
--- /dev/null
+++ b/dev-util/idea/idea-141.ebuild
@@ -0,0 +1,192 @@
+# Copyright open-overlay 2015 by Alex
+
+EAPI=5
+inherit eutils java-pkg-2 java-ant-2 versionator
+
+SLOT="0"
+
+MY_PN="intellij-community"
+
+RESTRICT="strip"
+QA_TEXTRELS="opt/${P}/bin/libbreakgen.so"
+
+DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE (Community Edition)"
+HOMEPAGE="http://jetbrains.com/idea/"
+SRC_URI="https://github.com/JetBrains/intellij-community/archive/141.zip"
+LICENSE="Apache-2.0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ dev-java/ant-antlr:0
+ dev-java/ant-apache-bcel:0
+ dev-java/ant-apache-bsf:0
+ dev-java/ant-apache-log4j:0
+ dev-java/ant-apache-oro:0
+ dev-java/ant-apache-regexp:0
+ dev-java/ant-apache-resolver:0
+ dev-java/ant-apache-xalan2:0
+ dev-java/ant-commons-logging:0
+ dev-java/ant-commons-net:0
+ dev-java/ant-core:0
+ dev-java/ant-jai:0
+ dev-java/ant-javamail:0
+ dev-java/ant-jdepend:0
+ dev-java/ant-jmf:0
+ dev-java/ant-jsch:0
+ dev-java/ant-junit:0
+ dev-java/ant-junit4:0
+ dev-java/ant-swing:0
+ dev-java/ant-testutil:0
+ 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/hamcrest-core:1.3
+ dev-java/hamcrest-library:1.3
+"
+DEPEND="
+ dev-java/antlr:0[java]
+ dev-java/commons-cli:1
+ dev-java/easymock:3.2
+ dev-java/easymock-classextension:3.2
+ dev-java/hamcrest-core:0
+ dev-java/hamcrest-library:0
+ dev-java/jarjar:1
+ >=virtual/jdk-1.7
+ ${CDEPEND}
+ "
+RDEPEND="
+ >=virtual/jre-1.7
+ ${CDEPEND}
+"
+# 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}"
+
+EANT_BUILD_TARGET="build"
+EANT_GENTOO_CLASSPATH=""
+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/jarjar-1.0.jar
+ ./lib/dev/easymockclassextension.jar
+ ./lib/dev/easymock.jar
+ ./lib/dev/hamcrest-core-1.1.jar
+ ./lib/dev/hamcrest-library-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="
+ ./lib/ant/lib/ant.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/asm.jar
+ ./lib/asm-commons.jar
+ ./lib/commons-net-3.3.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
+ "
+ 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 --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
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-bcel
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-bsf
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-log4j
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-oro
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-regexp
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-resolver
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-apache-xalan2
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-commons-logging
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-commons-net
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-jai
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-javamail
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-jdepend
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-jmf
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-jsch
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-junit
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-junit4
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-swing
+ java-pkg_jar-from --into "${S}/lib/ant/lib" ant-testutil
+ java-pkg_jar-from --into "${S}/lib" asm-3 asm.jar
+ 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-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?
+ # groovy is way outdated, wanting 2.0.4 and 2.3.9
+}
+
+#java_unpack() {
+# java-ant_rewrite-classpath
+#}
+
+#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"
+#}