diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2011-10-19 19:48:47 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2011-10-19 19:48:47 +0000 |
commit | 97e62b0690810ec1745cfacfe0eec6b45f2eba7c (patch) | |
tree | 0b7dfb8bdd772a1605407fef47cc0676be7edb51 | |
parent | [bump] dev-perl/Net-SSLeay-1.420.0 (diff) | |
download | historical-97e62b0690810ec1745cfacfe0eec6b45f2eba7c.tar.gz historical-97e62b0690810ec1745cfacfe0eec6b45f2eba7c.tar.bz2 historical-97e62b0690810ec1745cfacfe0eec6b45f2eba7c.zip |
dev-java/eclipse-ecj: added version 3.7
Package-Manager: portage-2.1.10.29/cvs/Linux x86_64
-rw-r--r-- | dev-java/ant-eclipse-ecj/Manifest | 5 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/Manifest | 4 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild | 103 |
4 files changed, 117 insertions, 3 deletions
diff --git a/dev-java/ant-eclipse-ecj/Manifest b/dev-java/ant-eclipse-ecj/Manifest index b2216bcbe742..bea8eb1e7592 100644 --- a/dev-java/ant-eclipse-ecj/Manifest +++ b/dev-java/ant-eclipse-ecj/Manifest @@ -2,13 +2,16 @@ AUX compiler-settings-3.3 282 RMD160 c5a6c8f8be8b4170032803e691a0a84ed2425cfa SH AUX compiler-settings-3.4 290 RMD160 f52169a3a846bb476af305bdc28f9222a980a644 SHA1 da372b3bec065abb3c888a20a10ce7dfb19bd341 SHA256 e1d89a7314bf9ad8849e15fd376017d857f42d19f9d757b66d53a3776e2d2639 AUX compiler-settings-3.5 290 RMD160 1f24b19791868ae164d943cdbc4ed081958a67ed SHA1 cb9a7c78c15603b72ee33ef8603b70a33440174d SHA256 42e5936eb8260d1e44b62e262adde4ab4a01166e01d949f0dbcdb56be6e027ee AUX ecj-3.6 290 RMD160 6d95d1f4082355a54d2d1cff6a2908a74962b00a SHA1 4f3771c9fda089952a945170f9af7d1ada964ecf SHA256 b016e59461466246a6a93229033f557caf7143af50475cd37c4e27889ff6696e +AUX ecj-3.7 290 RMD160 73e277e978695cdeb551912899e198eefd9f9832 SHA1 3b01141b0bf65fa20c4f5920a8a14b0c581723e8 SHA256 8aef10c7b5f66949e225da588f8d59a0bc4de875d840a1e259eeac654dcf32c1 DIST ecjsrc-3.4.zip 1280774 RMD160 8d12a84b9ff2b8df252bdc06309558559ce91d2e SHA1 dbf3300205717c165a1b1ec36af4c3fd1e45888b SHA256 a6ce5f0682462e85e5e47229e5b16555f74c60188fa0bb17536beb1138c537b4 DIST ecjsrc-3.5.2.zip 1298691 RMD160 f6dc987418682dd9d776a692383a37497656fc04 SHA1 7d79ac9602ffa825f6f3ea8ab5a3387b687f5215 SHA256 4ae91449962b1e2781b70713e299f9fa16fb1ce25a4d2bb335c13b55c08d6d74 DIST ecjsrc-3.6.zip 1310484 RMD160 82d9980aa4e6be1014d1bac396cceb2ab304cee3 SHA1 9bfda69c7c8528ecfe1b6cbcbe976b642069ca9c SHA256 bc2d624c5ca135d593c71a677674509f5801998ffe98c386749d15a46ee69242 +DIST ecjsrc-3.7.1.jar 1365199 RMD160 bc6c18ad68544b2a3071e769fe395633db232793 SHA1 fcf9751ba022c340e2d01456462ea4949ceee991 SHA256 d8567a5de289b750dd9853654aeb941a8e48766b1d7ae80803c71d1f47fbe9b4 DIST ecjsrc.zip 1215250 RMD160 938320ae54050e322bbb98c78b0e86d241862153 SHA1 e08a27fd77e5ac7af8f2c84beed175cd3fdd0c60 SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc EBUILD ant-eclipse-ecj-3.3.0-r1.ebuild 1398 RMD160 a6a90e03b2f2a21471b7eb1eafdda273f576e897 SHA1 4ef8a30cf2e4209a0da134a1f964974883b65ac1 SHA256 869585beab6be32685b39644332dd723a5ac92520150f1ba40d66b7f8aa39194 EBUILD ant-eclipse-ecj-3.4.ebuild 1364 RMD160 d7068ec5e597f113a47534b0ad4d7466a6231dae SHA1 de73d77d5d9ec9f720723e18d9cc8ebb30cf8745 SHA256 dbe22feec7cd898a2d895ee498ce068e45410a653ce801f446df4791bcdc8d07 EBUILD ant-eclipse-ecj-3.5.2.ebuild 1408 RMD160 a20186cef559ff90246b2cf1ef10c6c7c0c00a12 SHA1 bf9ad0810ec6301ea9d662b1e46029e8c07562c3 SHA256 67187dc085ea01a8cc417a1b60a494a560b5f97b566afd67f747cd3666159c42 EBUILD ant-eclipse-ecj-3.6-r1.ebuild 1394 RMD160 46af7c06334a7b0a507e2e8ca4e72d594d2e6243 SHA1 31718c43914f697fef3ea1ffdcf324404b9c5678 SHA256 469dc8fdcb18e4c1dfc0fafaf2aad68dc91fb62d79faf15ff484b26da12df59c -MISC ChangeLog 3994 RMD160 936669d0d596fa16a942fa35961061ec76966ba7 SHA1 5256ff9e52b1c9374b070a1999db41c97e03e677 SHA256 3d70a654480b89ca263eda137ba9a4bdd3e30cd19ee2fb6990c559013dada173 +EBUILD ant-eclipse-ecj-3.7.1.ebuild 1394 RMD160 ed54c3383d88ad757f857fb8a7cc6701c466594f SHA1 bb1f5f698ebd368502f86147891dcf93faaa3805 SHA256 a7dd543204ff47a52996d3bac01b5dea5251ad8ba44dd22f08ea2b35f4de97f8 +MISC ChangeLog 4243 RMD160 dcaabcb6f84828ef34b01da843b9d63a3b80fb10 SHA1 33331d1d115a16cdc690953c012ef7bb7a7c9ae7 SHA256 3428fccad37eb05ec98e4611e9ff1301e5baf9a185a85ba5db9f3081b4669bd5 MISC metadata.xml 471 RMD160 a7f40a047de904e4e2f63fce4ae9377a36b66fa0 SHA1 c855f10cc8e043bcd1e59b48d570053304a66f49 SHA256 229f3cffb80ccec1b7c3ddff609d045bd11f8004724bcb9de5d3bf9104a37d20 diff --git a/dev-java/eclipse-ecj/ChangeLog b/dev-java/eclipse-ecj/ChangeLog index ebd4d1ac2985..abafdbc70cce 100644 --- a/dev-java/eclipse-ecj/ChangeLog +++ b/dev-java/eclipse-ecj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/eclipse-ecj # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.72 2011/10/19 15:44:02 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.73 2011/10/19 19:48:47 fordfrog Exp $ + +*eclipse-ecj-3.7.1 (19 Oct 2011) + + 19 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org> +eclipse-ecj-3.7.1.ebuild: + Added version 3.7 (bug #380165, thanks William L. Thomson Jr. + <wlt@obsidian-studios.com> for the ebuild) 19 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org> -eclipse-ecj-3.5.1.ebuild, eclipse-ecj-3.5.2.ebuild, eclipse-ecj-3.6.ebuild: diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest index 514897ac9419..294422339bf9 100644 --- a/dev-java/eclipse-ecj/Manifest +++ b/dev-java/eclipse-ecj/Manifest @@ -2,10 +2,12 @@ AUX eclipse-ecj-3.3.0-gcj.patch 20084 RMD160 08944cef146676d9d7fddc46727bc172d75 DIST ecjsrc-3.4.zip 1280774 RMD160 8d12a84b9ff2b8df252bdc06309558559ce91d2e SHA1 dbf3300205717c165a1b1ec36af4c3fd1e45888b SHA256 a6ce5f0682462e85e5e47229e5b16555f74c60188fa0bb17536beb1138c537b4 DIST ecjsrc-3.5.2.zip 1298691 RMD160 f6dc987418682dd9d776a692383a37497656fc04 SHA1 7d79ac9602ffa825f6f3ea8ab5a3387b687f5215 SHA256 4ae91449962b1e2781b70713e299f9fa16fb1ce25a4d2bb335c13b55c08d6d74 DIST ecjsrc-3.6.zip 1310484 RMD160 82d9980aa4e6be1014d1bac396cceb2ab304cee3 SHA1 9bfda69c7c8528ecfe1b6cbcbe976b642069ca9c SHA256 bc2d624c5ca135d593c71a677674509f5801998ffe98c386749d15a46ee69242 +DIST ecjsrc-3.7.1.jar 1365199 RMD160 bc6c18ad68544b2a3071e769fe395633db232793 SHA1 fcf9751ba022c340e2d01456462ea4949ceee991 SHA256 d8567a5de289b750dd9853654aeb941a8e48766b1d7ae80803c71d1f47fbe9b4 DIST ecjsrc.zip 1215250 RMD160 938320ae54050e322bbb98c78b0e86d241862153 SHA1 e08a27fd77e5ac7af8f2c84beed175cd3fdd0c60 SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc EBUILD eclipse-ecj-3.3.0-r3.ebuild 2169 RMD160 1d1e62b1fff065c140c7bfff617ea5b1ab0e3a8e SHA1 0eb94d8c20f6c8f62680aa192bbf42b261977029 SHA256 2f1825ef008af7f434260e5c74596ef0a138d792a26ed26b38a0ab77c570bc45 EBUILD eclipse-ecj-3.4-r4.ebuild 2315 RMD160 264899a81c4722f1272242fbf3e1d93b07653ae5 SHA1 00092357e5524612e96a48d9a55650321a4a9f58 SHA256 7d7654a4370b8f8e9c710da90dc5f2f28f3d1b1e98875bb103e6efce575d6a9d EBUILD eclipse-ecj-3.5.2.ebuild 2857 RMD160 043ddd861ee4d291ce9bd0cfb1cd40551b6babdd SHA1 ede54595335f97e36f87ecb035d28ccea766e61f SHA256 b902de5d08f7747e458f9537d26c2d96e1a87c144d0fd9420be1e6526ae05255 EBUILD eclipse-ecj-3.6.ebuild 2860 RMD160 b44c1a2fe200a93523badb273b0c0c152a69c448 SHA1 1fab52ebac83928f2b9e83054668d1a49c650fb6 SHA256 0032e352917a487115d31ea1d6088a1ab6a4b9e5d58317e26a4b9c830ff82b54 -MISC ChangeLog 10916 RMD160 58c1f90187aba066b34f55ed79a234be3db2f8b4 SHA1 83013cdb0349faa4e33c64406f505506d3f678c1 SHA256 2a4b27640387a9b39c5032010d8cf8a235f530fb39c319501bdf1b83d1731754 +EBUILD eclipse-ecj-3.7.1.ebuild 2865 RMD160 c982ce4864adb540cab8b7056d9e3be97d9c310f SHA1 825a8ad2d3b20611288adb27b1161e74dc1b6bdb SHA256 f45d58f5c3021e1e52c56c535e1eb621c0d494b1dae8194d6c4fe1f4d50baddf +MISC ChangeLog 11139 RMD160 5e30113a9764b1dbf1133cca3fcf44894ebd8a3e SHA1 373d9ef5ece4e36319dc9da249b971fc409cbd40 SHA256 07985777e375e48255737d32a0966270dfd2562b78229a98f3175c286b8e92d8 MISC metadata.xml 570 RMD160 c3773d8e931a0e7a00eeb494f1f8f68cc1f799ed SHA1 71c2b881dc7b6733567777051b079745f3c2d70a SHA256 dd2a09440442264363911b455040196cbb42763fbacbb135c07b3f0de44a1e3a diff --git a/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild new file mode 100644 index 000000000000..fedbde97228d --- /dev/null +++ b/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild,v 1.1 2011/10/19 19:48:47 fordfrog Exp $ + +EAPI="4" + +inherit java-pkg-2 + +MY_PN="ecj" +DMF="R-${PV}-201109091335" +S="${WORKDIR}" + +DESCRIPTION="Eclipse Compiler for Java" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.jar" + +IUSE="+ant userland_GNU" + +LICENSE="EPL-1.0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +SLOT="3.7" + +CDEPEND=">=app-admin/eselect-ecj-0.3" + +JAVA_PKG_WANT_SOURCE=1.4 +JAVA_PKG_WANT_TARGET=1.4 + +DEPEND="${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.6 + userland_GNU? ( sys-apps/findutils )" +RDEPEND="${CDEPEND} + >=virtual/jre-1.4" +PDEPEND="ant? ( ~dev-java/ant-eclipse-ecj-${PV} )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # These have their own package. + rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die + rm -fr org/eclipse/jdt/internal/antadapter || die + + # upstream build.xml excludes this + rm META-INF/eclipse.inf +} + +src_compile() { + local javac_opts javac java jar + + javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1" + javac="$(java-config -c)" + java="$(java-config -J)" + jar="$(java-config -j)" + + find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \ + -path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \ + -print > sources-1.4 + find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6 + + mkdir -p bootstrap || die + cp -pPR org bootstrap || die + cd "${S}/bootstrap" || die + + einfo "bootstrapping ${MY_PN} with ${javac} ..." + ${javac} ${javac_opts} @../sources-1.4 || die + ${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die + + find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \ + | xargs ${jar} cf ${MY_PN}.jar + + cd "${S}" || die + einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..." + ${java} -classpath bootstrap/${MY_PN}.jar \ + org.eclipse.jdt.internal.compiler.batch.Main \ + ${javac_opts} -nowarn @sources-1.4 || die + ${java} -classpath bootstrap/${MY_PN}.jar \ + org.eclipse.jdt.internal.compiler.batch.Main \ + -encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die + + find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \ + | xargs ${jar} cf ${MY_PN}.jar +} + +src_install() { + java-pkg_dolauncher ${MY_PN}-${SLOT} --main \ + org.eclipse.jdt.internal.compiler.batch.Main + + # disable the class version verify, this has intentionally + # some classes with 1.6, but most is 1.4 + JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar +} + +pkg_postinst() { + einfo "To select between slots of ECJ..." + einfo " # eselect ecj" + + eselect ecj update ecj-${SLOT} +} + +pkg_postrm() { + eselect ecj update +} |