summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-10-01 23:55:46 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-10-01 23:55:46 +0000
commitcc96a78f5bddd74d13e1202c0d27e4097cea2efe (patch)
tree0bfddfd89d17becb5e3fe93bbb1e1ec019bb7913 /dev-java
parent- added a bit of error handling to qdepends when dealing with *DEP syntax we ... (diff)
downloadgentoo-2-cc96a78f5bddd74d13e1202c0d27e4097cea2efe.tar.gz
gentoo-2-cc96a78f5bddd74d13e1202c0d27e4097cea2efe.tar.bz2
gentoo-2-cc96a78f5bddd74d13e1202c0d27e4097cea2efe.zip
Importing jface; Resolves bug #71307
(Portage version: 2.0.52-r1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/eclipse-jface/ChangeLog10
-rw-r--r--dev-java/eclipse-jface/Manifest5
-rw-r--r--dev-java/eclipse-jface/eclipse-jface-3.2_pre2.ebuild60
-rw-r--r--dev-java/eclipse-jface/files/build.xml57
-rw-r--r--dev-java/eclipse-jface/files/digest-eclipse-jface-3.2_pre21
-rw-r--r--dev-java/eclipse-jface/metadata.xml12
6 files changed, 145 insertions, 0 deletions
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 <compnerd@gentoo.org> +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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="docs" value="${dist}/doc/api"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}"
+ destdir="${build}"
+ classpath="${classpath}"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}"
+ destdir="${docs}"
+ packagenames="${pkg}"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>compnerd@gentoo.org</email>
+ <name>Saleem Abdulrasool</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+