* [gentoo-commits] repo/gentoo:master commit in: dev-java/ecj-gcj/
@ 2017-01-26 21:50 James Le Cuirot
0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2017-01-26 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 6a66d82aee3b1f60bb7ab7f01181feced0ad9f5c
Author: Roy Bamford <neddyseagoon <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 12:14:45 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 21:50:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a66d82a
dev-java/ecj-gcj: added ~arm64 keyword. Tested on cortex-a53 Dependency of icedtea on arm64
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3668
dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild b/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild
index e10c744..4d5bf86 100644
--- a/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild
+++ b/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -15,7 +15,7 @@ SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src
LICENSE="EPL-1.0"
SLOT="4.4"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="+native"
RDEPEND="sys-devel/gcc:*[gcj]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/ecj-gcj/
@ 2017-12-24 22:32 James Le Cuirot
0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2017-12-24 22:32 UTC (permalink / raw
To: gentoo-commits
commit: d5b0a115ce37913d3a0be576aa66a127592cd7e8
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 22:32:30 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 22:32:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b0a115
dev-java/ecj-gcj: Drop older versions
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-java/ecj-gcj/Manifest | 3 -
dev-java/ecj-gcj/ecj-gcj-3.5.2-r3.ebuild | 109 -------------------------------
dev-java/ecj-gcj/ecj-gcj-3.6-r1.ebuild | 109 -------------------------------
dev-java/ecj-gcj/ecj-gcj-4.2.1-r2.ebuild | 109 -------------------------------
4 files changed, 330 deletions(-)
diff --git a/dev-java/ecj-gcj/Manifest b/dev-java/ecj-gcj/Manifest
index 44797011d5a..739acba16b7 100644
--- a/dev-java/ecj-gcj/Manifest
+++ b/dev-java/ecj-gcj/Manifest
@@ -1,4 +1 @@
-DIST ecjsrc-3.5.2.zip 1298691 BLAKE2B 12da418b8e92c8ab6e9d670d323ec561b01fb387ea5b4cbbd851332f4a1efafb8cd560f3b30afada90fa71d0b75b1939f69608bb05c7ee329cc1b66ae296f5cb SHA512 5fb3a38358511c92c12dfebbb4beb91581de25e2a3e3b4593d0388531dea5bae469f677e5154b69d634ede7395375992ae9f043be36f6b5a0fcfa873dbc98558
-DIST ecjsrc-3.6.zip 1310484 BLAKE2B 6b2155abb2e71187138b831aabb3b6716eab3c97ac9f30bf66625cb222aee7257088b494a81e95979fbaf1c5fa67575e3cd0438750e060642aa4e46fba389472 SHA512 23f5be36de85f8a95bf029e42df632aa417ffa58a84b50ab5f6c78dd1fa1882316c61165b4d0d7be2c2568226f1e1c352ea45e391759ca6c5c1fef97e8c5fada
-DIST ecjsrc-4.2.1.jar 1417043 BLAKE2B dc6915ec85d96a6ecdafb04485549feeb6ef8329811e294647e9e179ff3b1ec3cea55c29ad23b306ff3489dbfe6f574dc691ee31080a592d71607d3a996e9bb4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf
DIST ecjsrc-4.4.2.jar 1764959 BLAKE2B 402bcbb040c28fa10dad07c4223daed9976f3246d6984ac74d95087a6cdcd5a742072126a999435eb2d49d49bb2884474461ae8439a9839617b2891297cd7c07 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20
diff --git a/dev-java/ecj-gcj/ecj-gcj-3.5.2-r3.ebuild b/dev-java/ecj-gcj/ecj-gcj-3.5.2-r3.ebuild
deleted file mode 100644
index c2dd06855a5..00000000000
--- a/dev-java/ecj-gcj/ecj-gcj-3.5.2-r3.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit java-pkg-2 prefix toolchain-funcs
-
-MY_PN="ecj"
-DMF="R-${PV}-201002111343"
-
-DESCRIPTION="Subset of Eclipse Compiler for Java compiled by gcj, serving as javac in gcj-jdk"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.zip"
-
-LICENSE="EPL-1.0"
-SLOT="3.5"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="+native"
-
-RDEPEND="sys-devel/gcc:*[gcj]
- app-eselect/eselect-java"
-DEPEND="${RDEPEND}
- app-arch/unzip
- !dev-java/eclipse-ecj:3.5[gcj]"
-
-S="${WORKDIR}"
-
-# for compatibility with java eclass functions
-JAVA_PKG_WANT_SOURCE=1.4
-JAVA_PKG_WANT_TARGET=1.4
-
-MY_PS="${MY_PN}-${SLOT}"
-
-java_prepare() {
- # We don't need the ant adapter here
- rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
- rm -fr org/eclipse/jdt/internal/antadapter || die
-
- # upstream build.xml excludes this
- rm -f META-INF/eclipse.inf || die
-
- # these java6 specific classes cannot compile with ecj
- rm -fr org/eclipse/jdt/internal/compiler/{apt,tool}/ || die
-}
-
-src_compile() {
- local javac_opts javac java jar
-
- local gccbin=$(gcc-config -B)
- local gccver=$(gcc-fullversion)
-
- local gcj="${gccbin}/gcj"
- javac="${gcj} -C --encoding=ISO-8859-1"
- jar="${gccbin}/gjar"
- java="${gccbin}/gij"
-
- mkdir -p bootstrap || die
- cp -pPR org bootstrap || die
- cd "${S}/bootstrap" || die
-
- einfo "bootstrapping ${MY_PN} with ${javac} ..."
- ${javac} ${javac_opts} $(find org/ -name '*.java') || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- 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 org || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- if use native; then
- einfo "Building native ${MY_PS} library, patience needed ..."
- ${gcj} ${CFLAGS} ${LDFLAGS} -findirect-dispatch -shared -fPIC -Wl,-Bsymbolic \
- -o ${MY_PS}.so ${MY_PN}.jar || die
- fi
-}
-
-src_install() {
- java-pkg_dojar ${MY_PN}.jar
-
- sed -e "s|@SLOT@|${SLOT}|" \
- "${FILESDIR}/${PN}.in" \
- > "${T}"/${PN}-${SLOT} || die
- eprefixify "${T}/${PN}-${SLOT}"
- dobin "${T}/${PN}-${SLOT}"
-
- use native && dolib.so ${MY_PS}.so
-}
-
-pkg_postinst() {
- if use native; then
- $(gcc-config -B)/gcj-dbtool -a $(gcj-dbtool -p) \
- "${EPREFIX}"/usr/share/${PN}-${SLOT}/lib/ecj.jar \
- "${EPREFIX}"/usr/$(get_libdir)/${MY_PN}-${SLOT}.so
- fi
-
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ${PN}-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/ecj-gcj/ecj-gcj-3.6-r1.ebuild b/dev-java/ecj-gcj/ecj-gcj-3.6-r1.ebuild
deleted file mode 100644
index 828b293af31..00000000000
--- a/dev-java/ecj-gcj/ecj-gcj-3.6-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit java-pkg-2 prefix toolchain-funcs
-
-MY_PN="ecj"
-DMF="R-${PV}-201006080911"
-
-DESCRIPTION="Subset of Eclipse Compiler for Java compiled by gcj, serving as javac in gcj-jdk"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.zip"
-
-LICENSE="EPL-1.0"
-SLOT="3.6"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="+native"
-
-RDEPEND="sys-devel/gcc:*[gcj]
- app-eselect/eselect-java"
-DEPEND="${RDEPEND}
- app-arch/unzip
- !dev-java/eclipse-ecj:3.5[gcj]"
-
-S="${WORKDIR}"
-
-# for compatibility with java eclass functions
-JAVA_PKG_WANT_SOURCE=1.4
-JAVA_PKG_WANT_TARGET=1.4
-
-MY_PS="${MY_PN}-${SLOT}"
-
-java_prepare() {
- # We don't need the ant adapter here
- rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
- rm -fr org/eclipse/jdt/internal/antadapter || die
-
- # upstream build.xml excludes this
- rm -f META-INF/eclipse.inf || die
-
- # these java6 specific classes cannot compile with ecj
- rm -fr org/eclipse/jdt/internal/compiler/{apt,tool}/ || die
-}
-
-src_compile() {
- local javac_opts javac java jar
-
- local gccbin=$(gcc-config -B)
- local gccver=$(gcc-fullversion)
-
- local gcj="${gccbin}/gcj"
- javac="${gcj} -C --encoding=ISO-8859-1"
- jar="${gccbin}/gjar"
- java="${gccbin}/gij"
-
- mkdir -p bootstrap || die
- cp -pPR org bootstrap || die
- cd "${S}/bootstrap" || die
-
- einfo "bootstrapping ${MY_PN} with ${javac} ..."
- ${javac} ${javac_opts} $(find org/ -name '*.java') || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- 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 org || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- if use native; then
- einfo "Building native ${MY_PS} library, patience needed ..."
- ${gcj} ${CFLAGS} ${LDFLAGS} -findirect-dispatch -shared -fPIC -Wl,-Bsymbolic \
- -o ${MY_PS}.so ${MY_PN}.jar || die
- fi
-}
-
-src_install() {
- java-pkg_dojar ${MY_PN}.jar
-
- sed -e "s|@SLOT@|${SLOT}|" \
- "${FILESDIR}/${PN}.in" \
- > "${T}"/${PN}-${SLOT} || die
- eprefixify "${T}/${PN}-${SLOT}"
- dobin "${T}/${PN}-${SLOT}"
-
- use native && dolib.so ${MY_PS}.so
-}
-
-pkg_postinst() {
- if use native; then
- $(gcc-config -B)/gcj-dbtool -a $(gcj-dbtool -p) \
- "${EPREFIX}"/usr/share/${PN}-${SLOT}/lib/ecj.jar \
- "${EPREFIX}"/usr/$(get_libdir)/${MY_PN}-${SLOT}.so
- fi
-
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ${PN}-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
diff --git a/dev-java/ecj-gcj/ecj-gcj-4.2.1-r2.ebuild b/dev-java/ecj-gcj/ecj-gcj-4.2.1-r2.ebuild
deleted file mode 100644
index d29d172ca10..00000000000
--- a/dev-java/ecj-gcj/ecj-gcj-4.2.1-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit java-pkg-2 prefix toolchain-funcs
-
-MY_PN="ecj"
-DMF="R-${PV}-201209141800"
-
-DESCRIPTION="Subset of Eclipse Compiler for Java compiled by gcj, serving as javac in gcj-jdk"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar"
-
-LICENSE="EPL-1.0"
-SLOT="4.2"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="+native"
-
-RDEPEND="sys-devel/gcc:*[gcj]
- app-eselect/eselect-java"
-DEPEND="${RDEPEND}
- app-arch/unzip
- !dev-java/eclipse-ecj:3.5[gcj]"
-
-S="${WORKDIR}"
-
-# for compatibility with java eclass functions
-JAVA_PKG_WANT_SOURCE=1.4
-JAVA_PKG_WANT_TARGET=1.4
-
-MY_PS="${MY_PN}-${SLOT}"
-
-java_prepare() {
- # We don't need the ant adapter here
- rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
- rm -fr org/eclipse/jdt/internal/antadapter || die
-
- # upstream build.xml excludes this
- rm -f META-INF/eclipse.inf || die
-
- # these java6 specific classes cannot compile with gcj
- rm -fr org/eclipse/jdt/internal/compiler/{apt,tool}/ || die
-}
-
-src_compile() {
- local javac_opts javac java jar
-
- local gccbin=$(gcc-config -B)
- local gccver=$(gcc-fullversion)
-
- local gcj="${gccbin}/gcj"
- javac="${gcj} -C --encoding=ISO-8859-1"
- jar="${gccbin}/gjar"
- java="${gccbin}/gij"
-
- mkdir -p bootstrap || die
- cp -pPR org bootstrap || die
- cd "${S}/bootstrap" || die
-
- einfo "bootstrapping ${MY_PN} with ${javac} ..."
- ${javac} ${javac_opts} $(find org/ -name '*.java') || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- 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 org || die
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- if use native; then
- einfo "Building native ${MY_PS} library, patience needed ..."
- ${gcj} ${CFLAGS} ${LDFLAGS} -findirect-dispatch -shared -fPIC -Wl,-Bsymbolic \
- -o ${MY_PS}.so ${MY_PN}.jar || die
- fi
-}
-
-src_install() {
- java-pkg_dojar ${MY_PN}.jar
-
- sed -e "s|@SLOT@|${SLOT}|" \
- "${FILESDIR}/${PN}.in" \
- > "${T}"/${PN}-${SLOT} || die
- eprefixify "${T}/${PN}-${SLOT}"
- dobin "${T}/${PN}-${SLOT}"
-
- use native && dolib.so ${MY_PS}.so
-}
-
-pkg_postinst() {
- if use native; then
- $(gcc-config -B)/gcj-dbtool -a $(gcj-dbtool -p) \
- "${EPREFIX}"/usr/share/${PN}-${SLOT}/lib/ecj.jar \
- "${EPREFIX}"/usr/$(get_libdir)/${MY_PN}-${SLOT}.so
- fi
-
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ${PN}-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-25 0:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-26 21:50 [gentoo-commits] repo/gentoo:master commit in: dev-java/ecj-gcj/ James Le Cuirot
-- strict thread matches above, loose matches on Subject: below --
2017-12-24 22:32 James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox