From 3b0753e011fa82f61de650d792cf51b0ef0fb7f2 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 1 Oct 2005 23:49:18 +0000 Subject: [PATCH] Adding eclipse-core as dep for jface Package-Manager: portage-2.0.52-r1 --- dev-java/eclipse-core/ChangeLog | 10 +++ dev-java/eclipse-core/Manifest | 5 ++ .../eclipse-core/eclipse-core-3.2_pre2.ebuild | 89 +++++++++++++++++++ dev-java/eclipse-core/files/build.xml | 57 ++++++++++++ .../files/digest-eclipse-core-3.2_pre2 | 1 + dev-java/eclipse-core/metadata.xml | 12 +++ 6 files changed, 174 insertions(+) create mode 100644 dev-java/eclipse-core/ChangeLog create mode 100644 dev-java/eclipse-core/Manifest create mode 100644 dev-java/eclipse-core/eclipse-core-3.2_pre2.ebuild create mode 100644 dev-java/eclipse-core/files/build.xml create mode 100644 dev-java/eclipse-core/files/digest-eclipse-core-3.2_pre2 create mode 100644 dev-java/eclipse-core/metadata.xml diff --git a/dev-java/eclipse-core/ChangeLog b/dev-java/eclipse-core/ChangeLog new file mode 100644 index 000000000000..14bdfbd3afb4 --- /dev/null +++ b/dev-java/eclipse-core/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/eclipse-core +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-core/ChangeLog,v 1.1 2005/10/01 23:49:18 compnerd Exp $ + +*eclipse-core-3.2_pre2 (02 Oct 2005) + + 02 Oct 2005; Saleem Abdulrasool +files/build.xml, + +metadata.xml, +eclipse-core-3.2_pre2.ebuild: + Initial import; Adding as dependency for jface + diff --git a/dev-java/eclipse-core/Manifest b/dev-java/eclipse-core/Manifest new file mode 100644 index 000000000000..24a380ef54aa --- /dev/null +++ b/dev-java/eclipse-core/Manifest @@ -0,0 +1,5 @@ +MD5 4253b60f308ba62ad85e28613df02529 eclipse-core-3.2_pre2.ebuild 3146 +MD5 f9e7fcce4998281848d24cf99bdaef69 ChangeLog 427 +MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308 +MD5 24f7915df91d0e1db3c711163d151001 files/digest-eclipse-core-3.2_pre2 85 +MD5 7a8f55097cfe5376ba23bbc876005430 files/build.xml 1640 diff --git a/dev-java/eclipse-core/eclipse-core-3.2_pre2.ebuild b/dev-java/eclipse-core/eclipse-core-3.2_pre2.ebuild new file mode 100644 index 000000000000..fb9c207a040d --- /dev/null +++ b/dev-java/eclipse-core/eclipse-core-3.2_pre2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-core/eclipse-core-3.2_pre2.ebuild,v 1.1 2005/10/01 23:49:18 compnerd Exp $ + +inherit java-pkg + +MY_DMF="S-3.2M2-200509231000" +MY_VERSION="3.2M2" + +DESCRIPTION="Core Runtime Utilities for Eclipse" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/downloads/drops/${MY_DMF}/eclipse-RCP-SDK-${MY_VERSION}-linux-gtk.tar.gz" + +LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1" +SLOT="3" +KEYWORDS="~x86" +IUSE="doc" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + =dev-java/eclipse-osgi-3* + dev-java/ant-core + app-arch/unzip" + +BASE="org.eclipse.rcp.source_3.1.0" +CORE_RUNTIME_PLUGIN="org.eclipse.core.runtime_3.1.0" +CORE_COMMANDS_PLUGIN="org.eclipse.core.commands_3.2.0" +CORE_EXPRESSIONS_PLUGIN="org.eclipse.core.expressions_3.1.0" + +src_unpack() { + unpack ${A} + mkdir ${S} + + # The eclipse sources are in a messy layout + local srcdir="${WORKDIR}/eclipse/plugins/${BASE}/src" + + # Pull out the sources + mkdir -p ${S}/${CORE_RUNTIME_PLUGIN}/src + unzip ${srcdir}/${CORE_RUNTIME_PLUGIN}/src.zip \ + -d ${S}/${CORE_RUNTIME_PLUGIN}/src/ &> /dev/null || die "Unable to extract sources" + cp ${FILESDIR}/build.xml ${S}/${CORE_RUNTIME_PLUGIN} + + mkdir -p ${S}/${CORE_COMMANDS_PLUGIN}/src + unzip ${srcdir}/${CORE_COMMANDS_PLUGIN}/src.zip \ + -d ${S}/${CORE_COMMANDS_PLUGIN}/src/ &> /dev/null || die "Unable to extract sources" + cp ${FILESDIR}/build.xml ${S}/${CORE_COMMANDS_PLUGIN} + + mkdir -p ${S}/${CORE_EXPRESSIONS_PLUGIN}/src + unzip ${srcdir}/${CORE_EXPRESSIONS_PLUGIN}/src.zip \ + -d ${S}/${CORE_EXPRESSIONS_PLUGIN}/src/ &> /dev/null || die "Unable to extract sources" + cp ${FILESDIR}/build.xml ${S}/${CORE_EXPRESSIONS_PLUGIN} +} + +src_compile() { + local targets="jar" + use doc && targets="${targets} javadoc" + + cd ${S}/${CORE_RUNTIME_PLUGIN} + ant -Dproject.name="org.eclipse.core.runtime" \ + -Dpackage.name="org.eclipse.core.runtime.*" \ + -Dclasspath=$(java-config -p eclipse-osgi-3) \ + ${targets} || die "Unable to build CORE_RUNTIME" + + local runtime=${S}/${CORE_RUNTIME_PLUGIN}/dist/org.eclipse.core.runtime.jar + + cd ${S}/${CORE_COMMANDS_PLUGIN} + ant -Dproject.name="org.eclipse.core.commands" \ + -Dpackage.name="org.eclipse.core.commands.*" \ + -Dclasspath=$(java-config -p eclipse-osgi-3):${runtime} \ + ${targets} || die "Unable to build CORE_COMMANDS" + + cd ${S}/${CORE_EXPRESSIONS_PLUGIN} + ant -Dproject.name="org.eclipse.core.expressions" \ + -Dpackage.name="org.eclipse.core.expressions.*" \ + -Dclasspath=$(java-config -p eclipse-osgi-3):${runtime} \ + ${targets} || die "Unable to build CORE_EXPRESSIONS" +} + +src_install() { + java-pkg_dojar ${S}/${CORE_RUNTIME_PLUGIN}/dist/org.eclipse.core.runtime.jar + java-pkg_dojar ${S}/${CORE_COMMANDS_PLUGIN}/dist/org.eclipse.core.commands.jar + java-pkg_dojar ${S}/${CORE_EXPRESSIONS_PLUGIN}/dist/org.eclipse.core.expressions.jar + + if use doc ; then + java-pkg_dohtml ${S}/${CORE_RUNTIME}/dist/docs/* + java-pkg_dohtml ${S}/${CORE_COMMANDS_PLUGIN}/dist/docs/* + java-pkg_dohtml ${S}/${CORE_EXPRESSIONS_PLUGIN}/dist/docs/* + fi +} diff --git a/dev-java/eclipse-core/files/build.xml b/dev-java/eclipse-core/files/build.xml new file mode 100644 index 000000000000..bb0fc03557b4 --- /dev/null +++ b/dev-java/eclipse-core/files/build.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/eclipse-core/files/digest-eclipse-core-3.2_pre2 b/dev-java/eclipse-core/files/digest-eclipse-core-3.2_pre2 new file mode 100644 index 000000000000..22661f22f49b --- /dev/null +++ b/dev-java/eclipse-core/files/digest-eclipse-core-3.2_pre2 @@ -0,0 +1 @@ +MD5 0bc12dee86534ebaabc36bd6e4abe770 eclipse-RCP-SDK-3.2M2-linux-gtk.tar.gz 22212028 diff --git a/dev-java/eclipse-core/metadata.xml b/dev-java/eclipse-core/metadata.xml new file mode 100644 index 000000000000..c74025e07608 --- /dev/null +++ b/dev-java/eclipse-core/metadata.xml @@ -0,0 +1,12 @@ + + + + java + + compnerd@gentoo.org + Saleem Abdulrasool + + + + + -- 2.26.2