diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/ant-eclipse-ecj | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/ant-eclipse-ecj')
-rw-r--r-- | dev-java/ant-eclipse-ecj/Manifest | 4 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.2.ebuild | 52 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.2.1.ebuild | 52 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.1.ebuild | 48 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.2.ebuild | 49 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/files/ecj-3.7 | 7 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/files/ecj-4.2 | 7 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/files/ecj-4.4 | 7 | ||||
-rw-r--r-- | dev-java/ant-eclipse-ecj/metadata.xml | 12 |
9 files changed, 238 insertions, 0 deletions
diff --git a/dev-java/ant-eclipse-ecj/Manifest b/dev-java/ant-eclipse-ecj/Manifest new file mode 100644 index 000000000000..952214bc4e1c --- /dev/null +++ b/dev-java/ant-eclipse-ecj/Manifest @@ -0,0 +1,4 @@ +DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97 +DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5 +DIST ecjsrc-4.4.1.jar 1759152 SHA256 ba3a471d000ae983498a0f398955e2f09d8c1093880c9f37544d47e5460ff82a SHA512 27086c4c6d35a07f38e2c5ae3d34314fcdfe8b03fd1bbd3e652acd10195a0ec4a20b312f4cc0d0e8204b824eb230d1730a2aef9d886896b81f26b93eff1ae2d1 WHIRLPOOL 1b1da40f61ea5b3768e48dd7b9685b9405e35f3b5019acaeae937335f521819743cb7bacd5a7603ea72a20fe1310c6e28fb57d6c64e46b2035b70335029b2937 +DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721 diff --git a/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.2.ebuild b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.2.ebuild new file mode 100644 index 000000000000..8f2be6cf7db3 --- /dev/null +++ b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit java-pkg-2 + +DMF="R-${PV}-201202080800" +S="${WORKDIR}" + +DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF/.0}/ecjsrc-${PV}.jar" + +LICENSE="EPL-1.0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +SLOT="3.7" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + ~dev-java/eclipse-ecj-${PV} + >=dev-java/ant-core-1.7" +DEPEND="${RDEPEND} + app-arch/unzip + >=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + mkdir -p src/org/eclipse/jdt/{core,internal} + cp org/eclipse/jdt/core/JDTCompilerAdapter.java \ + src/org/eclipse/jdt/core || die + cp -r org/eclipse/jdt/internal/antadapter \ + src/org/eclipse/jdt/internal || die + rm -fr about* org +} + +src_compile() { + cd src + java-pkg_filter-compiler jikes + ejavac -classpath "$(java-pkg_getjars ant-core,eclipse-ecj-${SLOT})" \ + $(find org/ -name '*.java') || die "ejavac failed!" + find org/ -name '*.class' -o -name '*.properties' | \ + xargs jar cf "${S}/${PN}.jar" || die "jar failed!" +} + +src_install() { + java-pkg_dojar ${PN}.jar + insinto /usr/share/java-config-2/compiler + doins "${FILESDIR}/ecj-${SLOT}" + sed -i "s/^JAVAC=/&${EPREFIX}:" /usr/share/java-config-2/compiler/ecj-${SLOT} +} diff --git a/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.2.1.ebuild b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.2.1.ebuild new file mode 100644 index 000000000000..d0fba0a6683d --- /dev/null +++ b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit java-pkg-2 + +DMF="R-${PV}-201209141800" +S="${WORKDIR}" + +DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF/.0}/ecjsrc-${PV}.jar" + +LICENSE="EPL-1.0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +SLOT="4.2" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + ~dev-java/eclipse-ecj-${PV} + >=dev-java/ant-core-1.7" +DEPEND="${RDEPEND} + app-arch/unzip + >=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + mkdir -p src/org/eclipse/jdt/{core,internal} + cp org/eclipse/jdt/core/JDTCompilerAdapter.java \ + src/org/eclipse/jdt/core || die + cp -r org/eclipse/jdt/internal/antadapter \ + src/org/eclipse/jdt/internal || die + rm -fr about* org +} + +src_compile() { + cd src + java-pkg_filter-compiler jikes + ejavac -classpath "$(java-pkg_getjars ant-core,eclipse-ecj-${SLOT})" \ + $(find org/ -name '*.java') || die "ejavac failed!" + find org/ -name '*.class' -o -name '*.properties' | \ + xargs jar cf "${S}/${PN}.jar" || die "jar failed!" +} + +src_install() { + java-pkg_dojar ${PN}.jar + insinto /usr/share/java-config-2/compiler + doins "${FILESDIR}/ecj-${SLOT}" + sed -i "s/^JAVAC=/&${EPREFIX}:" /usr/share/java-config-2/compiler/ecj-${SLOT} +} diff --git a/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.1.ebuild b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.1.ebuild new file mode 100644 index 000000000000..42f622df54b8 --- /dev/null +++ b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple prefix + +DMF="R-${PV}-201409250400" +S="${WORKDIR}" + +DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF/.0}/ecjsrc-${PV}.jar" + +LICENSE="EPL-1.0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +SLOT="4.4" +IUSE="" + +RDEPEND=">=virtual/jre-1.6 + ~dev-java/eclipse-ecj-${PV} + >=dev-java/ant-core-1.7" +DEPEND="${RDEPEND} + app-arch/unzip + >=virtual/jdk-1.6" + +JAVA_PKG_FILTER_COMPILER="jikes" + +JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-4.4" + +java_prepare() { + rm build.xml || die +} + +src_compile() { + java-pkg-simple_src_compile + find -name "*.properties" | xargs jar uvf "${S}/${PN}.jar" || die "jar update failed" +} + +src_install() { + java-pkg-simple_src_install + insinto /usr/share/java-config-2/compiler + doins "${FILESDIR}/ecj-${SLOT}" + eprefixify "${D}"/usr/share/java-config-2/compiler/ecj-${SLOT} +} diff --git a/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.2.ebuild b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.2.ebuild new file mode 100644 index 000000000000..d96a1f23a6fa --- /dev/null +++ b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.4.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple prefix + +DMF="R-${PV}-201502041700" + +DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV}.jar" + +LICENSE="EPL-1.0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +SLOT="4.4" +IUSE="" + +CDEPEND="~dev-java/eclipse-ecj-${PV}:${SLOT} + >=dev-java/ant-core-1.7" +RDEPEND="${CDEPEND} + >=virtual/jre-1.6" +DEPEND="${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.6" + +JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-${SLOT}" + +java_prepare() { + # Remove everything but the Ant component. + find org -type f ! -path "org/eclipse/jdt/internal/antadapter/*" ! -name "JDTCompilerAdapter.java" -delete || die + + rm build.xml || die +} + +src_compile() { + java-pkg-simple_src_compile + find org -type f ! -name "*.java" | xargs jar uvf "${PN}.jar" || die "jar update failed" +} + +src_install() { + java-pkg-simple_src_install + insinto /usr/share/java-config-2/compiler + doins "${FILESDIR}/ecj-${SLOT}" + eprefixify "${D}"/usr/share/java-config-2/compiler/ecj-${SLOT} +} diff --git a/dev-java/ant-eclipse-ecj/files/ecj-3.7 b/dev-java/ant-eclipse-ecj/files/ecj-3.7 new file mode 100644 index 000000000000..49b17dc92ac9 --- /dev/null +++ b/dev-java/ant-eclipse-ecj/files/ecj-3.7 @@ -0,0 +1,7 @@ +JAVAC="/usr/bin/ecj-3.7" +PACKAGE="=dev-java/ant-eclipse-ecj-3.7*" +SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7" +SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7" +ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter" +ANT_BUILD_COMPILER_DEPS="eclipse-ecj-3.7,ant-eclipse-ecj-3.7" +GENERATION="2" diff --git a/dev-java/ant-eclipse-ecj/files/ecj-4.2 b/dev-java/ant-eclipse-ecj/files/ecj-4.2 new file mode 100644 index 000000000000..5100ad03962f --- /dev/null +++ b/dev-java/ant-eclipse-ecj/files/ecj-4.2 @@ -0,0 +1,7 @@ +JAVAC="/usr/bin/ecj-4.2" +PACKAGE="=dev-java/ant-eclipse-ecj-4.2*" +SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7" +SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7" +ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter" +ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.2,ant-eclipse-ecj-4.2" +GENERATION="2" diff --git a/dev-java/ant-eclipse-ecj/files/ecj-4.4 b/dev-java/ant-eclipse-ecj/files/ecj-4.4 new file mode 100644 index 000000000000..36fef918e57b --- /dev/null +++ b/dev-java/ant-eclipse-ecj/files/ecj-4.4 @@ -0,0 +1,7 @@ +JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.4" +PACKAGE="=dev-java/ant-eclipse-ecj-4.4*" +SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7" +SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7" +ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter" +ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.4,ant-eclipse-ecj-4.4" +GENERATION="2" diff --git a/dev-java/ant-eclipse-ecj/metadata.xml b/dev-java/ant-eclipse-ecj/metadata.xml new file mode 100644 index 000000000000..f685f4a1f625 --- /dev/null +++ b/dev-java/ant-eclipse-ecj/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<longdescription> +ECJ is the Eclipse Compiler for Java. It's a separate packaging of +the embedded Java compiler that comes with Eclipse. It can be used +as a batch-compiler by running the ecj-3.1 script, or it can be +used with Ant by using the -lib option to and and setting +-Dbuild.compiler=ecj +</longdescription> +</pkgmetadata> |