From cc96a78f5bddd74d13e1202c0d27e4097cea2efe Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 1 Oct 2005 23:55:46 +0000 Subject: Importing jface; Resolves bug #71307 (Portage version: 2.0.52-r1) --- dev-java/eclipse-jface/ChangeLog | 10 ++++ dev-java/eclipse-jface/Manifest | 5 ++ .../eclipse-jface/eclipse-jface-3.2_pre2.ebuild | 60 ++++++++++++++++++++++ dev-java/eclipse-jface/files/build.xml | 57 ++++++++++++++++++++ .../files/digest-eclipse-jface-3.2_pre2 | 1 + dev-java/eclipse-jface/metadata.xml | 12 +++++ 6 files changed, 145 insertions(+) create mode 100644 dev-java/eclipse-jface/ChangeLog create mode 100644 dev-java/eclipse-jface/Manifest create mode 100644 dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild create mode 100644 dev-java/eclipse-jface/files/build.xml create mode 100644 dev-java/eclipse-jface/files/digest-eclipse-jface-3.2_pre2 create mode 100644 dev-java/eclipse-jface/metadata.xml (limited to 'dev-java') diff --git a/dev-java/eclipse-jface/ChangeLog b/dev-java/eclipse-jface/ChangeLog new file mode 100644 index 000000000000..30cc20ff76d9 --- /dev/null +++ b/dev-java/eclipse-jface/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/eclipse-jface +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-jface/ChangeLog,v 1.1 2005/10/01 23:55:46 compnerd Exp $ + +*eclipse-jface-3.2_pre2 (02 Oct 2005) + + 02 Oct 2005; Saleem Abdulrasool +files/build.xml, + +metadata.xml, +eclipse-jface-3.2_pre2.ebuild: + Initial import of jface; Resolves bug #71307 + diff --git a/dev-java/eclipse-jface/Manifest b/dev-java/eclipse-jface/Manifest new file mode 100644 index 000000000000..7c008d3c8306 --- /dev/null +++ b/dev-java/eclipse-jface/Manifest @@ -0,0 +1,5 @@ +MD5 4d7f26981f9d9372216d4c60cae37531 eclipse-jface-3.2_pre2.ebuild 1502 +MD5 473b32d0d6575087b4d4b1043ebf41ed ChangeLog 333 +MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308 +MD5 24f7915df91d0e1db3c711163d151001 files/digest-eclipse-jface-3.2_pre2 85 +MD5 7a8f55097cfe5376ba23bbc876005430 files/build.xml 1640 diff --git a/dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild b/dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild new file mode 100644 index 000000000000..70d76ebe1ba4 --- /dev/null +++ b/dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild,v 1.1 2005/10/01 23:55:46 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-core-3* + =dev-java/swt-3* + dev-java/ant-core + app-arch/unzip" + +BASE="org.eclipse.rcp.source_3.1.0" +JFACE_PLUGIN="org.eclipse.jface_3.2.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}/${JFACE_PLUGIN}/src + unzip ${srcdir}/${JFACE_PLUGIN}/src.zip \ + -d ${S}/${JFACE_PLUGIN}/src/ &> /dev/null || die "Unable to extract sources" + cp ${FILESDIR}/build.xml ${S}/${JFACE_PLUGIN} +} + +src_compile() { + local targets="jar" + use doc && targets="${targets} javadoc" + + cd ${S}/${JFACE_PLUGIN} + ant -Dproject.name="org.eclipse.jface" \ + -Dpackage.name="org.eclipse.jface.*" \ + -Dclasspath=$(java-config -p eclipse-core-3,swt-3) \ + ${targets} || die "Unable to build JFACE" +} + +src_install() { + java-pkg_dojar ${S}/${JFACE_PLUGIN}/dist/org.eclipse.jface.jar + + if use doc ; then + java-pkg_dohtml ${S}/${JFACE_PLUGIN}/dist/docs/* + fi +} diff --git a/dev-java/eclipse-jface/files/build.xml b/dev-java/eclipse-jface/files/build.xml new file mode 100644 index 000000000000..bb0fc03557b4 --- /dev/null +++ b/dev-java/eclipse-jface/files/build.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/eclipse-jface/files/digest-eclipse-jface-3.2_pre2 b/dev-java/eclipse-jface/files/digest-eclipse-jface-3.2_pre2 new file mode 100644 index 000000000000..22661f22f49b --- /dev/null +++ b/dev-java/eclipse-jface/files/digest-eclipse-jface-3.2_pre2 @@ -0,0 +1 @@ +MD5 0bc12dee86534ebaabc36bd6e4abe770 eclipse-RCP-SDK-3.2M2-linux-gtk.tar.gz 22212028 diff --git a/dev-java/eclipse-jface/metadata.xml b/dev-java/eclipse-jface/metadata.xml new file mode 100644 index 000000000000..c74025e07608 --- /dev/null +++ b/dev-java/eclipse-jface/metadata.xml @@ -0,0 +1,12 @@ + + + + java + + compnerd@gentoo.org + Saleem Abdulrasool + + + + + -- cgit v1.2.3-65-gdbad