summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/eclipse-sdk')
-rw-r--r--dev-util/eclipse-sdk/ChangeLog7
-rw-r--r--dev-util/eclipse-sdk/Manifest17
-rw-r--r--dev-util/eclipse-sdk/eclipse-sdk-3.2.1.ebuild293
-rw-r--r--dev-util/eclipse-sdk/files/digest-eclipse-sdk-3.2.16
4 files changed, 318 insertions, 5 deletions
diff --git a/dev-util/eclipse-sdk/ChangeLog b/dev-util/eclipse-sdk/ChangeLog
index 5fe7927878c9..b1e833475ce8 100644
--- a/dev-util/eclipse-sdk/ChangeLog
+++ b/dev-util/eclipse-sdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/eclipse-sdk
# Copyright 2003-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.113 2006/09/28 02:54:14 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.114 2006/10/01 22:50:32 nichoj Exp $
+
+*eclipse-sdk-3.2.1 (01 Oct 2006)
+
+ 01 Oct 2006; Joshua Nichols <nichoj@gentoo.org> +eclipse-sdk-3.2.1.ebuild:
+ Version bump with help from Federico Fissore <justice@ngi.it>, bug #149574.
28 Sep 2006; Joshua Nichols <nichoj@gentoo.org>
eclipse-sdk-3.0.1-r3.ebuild:
diff --git a/dev-util/eclipse-sdk/Manifest b/dev-util/eclipse-sdk/Manifest
index 5e41b1d35add..76e22a8acbd8 100644
--- a/dev-util/eclipse-sdk/Manifest
+++ b/dev-util/eclipse-sdk/Manifest
@@ -51,9 +51,11 @@ MD5 32be5292ce0af7ff9c1866c1f59e1859 files/eclipse.1 2607
RMD160 06aaeb02a7c7720c8d8b26d9d1252095b6098a25 files/eclipse.1 2607
SHA256 5165b07f736763eab05decb39397be0be8ae03b77f614ba3794eff71d411537b files/eclipse.1 2607
DIST eclipse-sdk-3.2-patches.tar.bz2 24883 RMD160 a7b5826d8f63a00b4db70cbcec6f179372ed6806 SHA1 49a69e3a4793985ca37a9912c04296976e0b63bb SHA256 0a1db1c111d0188487e6fb7ead77d158e9d8c61e483081b089d1f765bb2dfd56
+DIST eclipse-sdk-3.2.1-patches.tar.bz2 24267 RMD160 b3ee64e3079ed6076d1f75db9ee70535a581854f SHA1 4789c28e2c5199ec15023f9f481649f13093b8bf SHA256 5617ec70e7225ef935f81f95a9a4992b4ef40f74cdc379cfd4b93cbeefa1f127
DIST eclipse-sourceBuild-srcIncluded-3.0.1.zip 55618511 RMD160 fba01eb0f019a888e9d9deb57ad7b284f218e783 SHA1 2302ee6160be86466a6e7ef265fff0431bee72e3 SHA256 5f6eb496d3db940b1085032a807337dbc477a0da9877a7cea50d39d32dfde050
DIST eclipse-sourceBuild-srcIncluded-3.0.2.zip 55945573 RMD160 57f0b11c24a8e9982e6d446d14b4782112e5b1a7 SHA1 07324f2aa963e33aea269b89b879fb2d59b354e6 SHA256 0c9e961fbf11d782b0c8c743122e5cc8567f3b06f48f38d6b40a8a78ead567d9
DIST eclipse-sourceBuild-srcIncluded-3.1.2.zip 66630673 RMD160 ffe59352fe02b4a47be3e9a6daad3a5501f196b0 SHA1 d399232b586e0c6b516f990296a202dcd814404d SHA256 31233332f205a197a42aafdc4f15a4f38eb5e4be19ac8a7192492ab8a21324a4
+DIST eclipse-sourceBuild-srcIncluded-3.2.1.zip 82433420 RMD160 9648176b79adac7217371e5b8dee7aeb4cd458db SHA1 a27bae4ff9f866a1fab995eae2da00ab2be5e840 SHA256 2d6a0628333d068b6ab678c42f925d71df1c003035543830a30e3ee80fb855c7
DIST eclipse-sourceBuild-srcIncluded-3.2.zip 82018640 RMD160 eadb8c5dde4ebe8b134fb35e6c42d08f52c145a7 SHA1 29ad412bd2778423e77337c034ad0382f9da172a SHA256 e9366fd3046be753f821be786156c472148928101cf6bf8f9d31b455cb6039da
EBUILD eclipse-sdk-3.0.1-r2.ebuild 14247 RMD160 cd91598eab97d4b4ff9f42283750e13ab1d3f9fe SHA1 e8018aaafd986a81a59e87abce9a346681a82817 SHA256 52c35cf9e1e31c92f4b5a5bc9e81fb8644df7d4c4836287295279cf9f1954e9d
MD5 7858e5c3fd1c675c2b5662b9f2384ab8 eclipse-sdk-3.0.1-r2.ebuild 14247
@@ -75,14 +77,18 @@ EBUILD eclipse-sdk-3.1.2-r3.ebuild 10602 RMD160 a2acd26ab238961dda0e7db667874e55
MD5 ee36b3e067bfcc68ad409accd7537d87 eclipse-sdk-3.1.2-r3.ebuild 10602
RMD160 a2acd26ab238961dda0e7db667874e55f0d1ad51 eclipse-sdk-3.1.2-r3.ebuild 10602
SHA256 b133c1f00538d73171189a019125495c6594d442aae0b0ccdf6463e3a9b73b06 eclipse-sdk-3.1.2-r3.ebuild 10602
+EBUILD eclipse-sdk-3.2.1.ebuild 8989 RMD160 fcfabf4eca82a9ae1b4fa5f4d9d7e652d1cb4763 SHA1 80e4e350fc1ca95342d3ea07960406b45fe2bc99 SHA256 02200dd1a855cd3d34aef655e15714a175256fc5be97a846484d8736617ed61d
+MD5 515b0143b70f57c9d71b1eb477e1dabd eclipse-sdk-3.2.1.ebuild 8989
+RMD160 fcfabf4eca82a9ae1b4fa5f4d9d7e652d1cb4763 eclipse-sdk-3.2.1.ebuild 8989
+SHA256 02200dd1a855cd3d34aef655e15714a175256fc5be97a846484d8736617ed61d eclipse-sdk-3.2.1.ebuild 8989
EBUILD eclipse-sdk-3.2.ebuild 9467 RMD160 1c5b06efce3b58f57f01d5ccafe433c7bdc7561b SHA1 21b9098971d605cbeeb8f7de1611ecf032f1407f SHA256 00c6f86a6f0bd7fd340e8e4ad7948d25b4794cc95899c74c64de91b1370413d2
MD5 b1c5ef3ae89e8239d89765bd444834e2 eclipse-sdk-3.2.ebuild 9467
RMD160 1c5b06efce3b58f57f01d5ccafe433c7bdc7561b eclipse-sdk-3.2.ebuild 9467
SHA256 00c6f86a6f0bd7fd340e8e4ad7948d25b4794cc95899c74c64de91b1370413d2 eclipse-sdk-3.2.ebuild 9467
-MISC ChangeLog 22337 RMD160 12341a282fb04381d2a0f61f10ab4aef0390bd90 SHA1 ec49753a591a17ea314050bc313c9d8727c6bab9 SHA256 888fb3470ce5fcc3b50e28c6319a0ec912594cacc9f2f2d9a5caf90f986aff14
-MD5 aa64da7a85b2ade4d470d36cd22eaf3c ChangeLog 22337
-RMD160 12341a282fb04381d2a0f61f10ab4aef0390bd90 ChangeLog 22337
-SHA256 888fb3470ce5fcc3b50e28c6319a0ec912594cacc9f2f2d9a5caf90f986aff14 ChangeLog 22337
+MISC ChangeLog 22527 RMD160 d09df6adbc996b477b5f2d54e4265ebd7c03888b SHA1 3d49454f5c1387f7d975c1ffd1ebe8d651d6dba1 SHA256 310e33ba4b0ee0613295c6a3be62a730b78d39f55d2a11b688a0f390f5b9f17c
+MD5 56f4bc9902b467906511d4c69315b52a ChangeLog 22527
+RMD160 d09df6adbc996b477b5f2d54e4265ebd7c03888b ChangeLog 22527
+SHA256 310e33ba4b0ee0613295c6a3be62a730b78d39f55d2a11b688a0f390f5b9f17c ChangeLog 22527
MISC metadata.xml 782 RMD160 5b8dc4f4b6bdd457da62f967ec176bee2ae7e5e4 SHA1 17bc63605d0a30dca27521cf908a69c0996eab07 SHA256 a1e6bbc5427799b8607d355e3e09ce7d4de98f2a365417ec158eb56f4f00746f
MD5 8de14dda7d318d8fb514fdbcecd4058b metadata.xml 782
RMD160 5b8dc4f4b6bdd457da62f967ec176bee2ae7e5e4 metadata.xml 782
@@ -105,3 +111,6 @@ SHA256 01187ce1cad8c9037d48c130cd9d98167d7c934e075d42c7c55f3adae8105749 files/di
MD5 605794882dbb6032b2578f53103784e1 files/digest-eclipse-sdk-3.2 575
RMD160 5b3897188894935f13640cd9fe8cad7346fab3ae files/digest-eclipse-sdk-3.2 575
SHA256 9665c3d9e6f1eb99cb6bd255d70ec40f1a7d16aa720bb376e2079c97850da568 files/digest-eclipse-sdk-3.2 575
+MD5 170cc52a6e0d3a9b358903fe71be00e1 files/digest-eclipse-sdk-3.2.1 587
+RMD160 16edd5a1504b7d70f6048a03e7f6c64bf6d57349 files/digest-eclipse-sdk-3.2.1 587
+SHA256 f6dfe941dfe74e72e6a39c2f00dc1572f0d7851e796de4fcc6f1f7b49fe9c848 files/digest-eclipse-sdk-3.2.1 587
diff --git a/dev-util/eclipse-sdk/eclipse-sdk-3.2.1.ebuild b/dev-util/eclipse-sdk/eclipse-sdk-3.2.1.ebuild
new file mode 100644
index 000000000000..a705dda53793
--- /dev/null
+++ b/dev-util/eclipse-sdk/eclipse-sdk-3.2.1.ebuild
@@ -0,0 +1,293 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/eclipse-sdk-3.2.1.ebuild,v 1.1 2006/10/01 22:50:32 nichoj Exp $
+
+inherit eutils java-pkg-2 flag-o-matic check-reqs multilib
+
+DATESTAMP="200609210945"
+MY_A="eclipse-sourceBuild-srcIncluded-${PV}.zip"
+DESCRIPTION="Eclipse Tools Platform"
+HOMEPAGE="http://www.eclipse.org/"
+SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/R-${PV}-${DATESTAMP}/${MY_A}
+mirror://gentoo/${P}-patches.tar.bz2"
+IUSE="seamonkey gnome cairo opengl"
+SLOT="3.2"
+LICENSE="EPL-1.0"
+# TODO might be able to have ia64 and ppc64 support
+KEYWORDS="~x86 ~ppc ~amd64"
+S="${WORKDIR}"
+
+COMMON_DEP="
+ >=x11-libs/gtk+-2.2.4
+ seamonkey? ( www-client/seamonkey )
+ gnome? ( =gnome-base/gnome-vfs-2* =gnome-base/libgnomeui-2* )
+ opengl? ( virtual/opengl )
+ >=dev-java/ant-core-1.6.5
+ >=dev-java/ant-tasks-1.6.5
+ =dev-java/lucene-1*"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND="
+ ${COMMON_DEP}
+ =virtual/jdk-1.4*
+ >=virtual/jdk-1.5
+ >=sys-apps/findutils-4.1.7
+ app-arch/unzip
+ app-arch/zip"
+# Force 1.4 to be used for building
+JAVA_PKG_NV_DEPEND="=virtual/jdk-1.4*"
+
+ECLIPSE_DIR="/usr/lib/eclipse-${SLOT}"
+ECLIPSE_LINKS_DIR="${ECLIPSE_DIR}/links"
+
+# TODO:
+# - use CFLAGS from make.conf when building native libraries
+# - must patch eclipse build files
+# - also submit patch to bugs.eclipse.org
+# - ppc support not tested, but not explicitly broken either
+# - make a extension location in /var/lib that's writable by 'eclipse' group
+# - update man page
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+
+ debug-print "Checking for sufficient physical RAM"
+ CHECKREQS_MEMORY="768"
+ check_reqs
+
+ # All other gentoo archs match in eclipse build system except amd64
+ if use amd64 ; then
+ eclipsearch=x86_64
+ else
+ eclipsearch=${ARCH}
+ fi
+
+ if use x86 ; then
+ jvmarch=i386
+ else
+ jvmarch=${ARCH}
+ fi
+
+ # Add the eclipse group, for our plugins/features directories
+ enewgroup eclipse
+}
+
+src_unpack() {
+ unpack ${A}
+
+ fix-swt-targets
+
+ pushd plugins/org.apache.ant/lib >/dev/null
+ rm *.jar
+ java-pkg_jar-from ant-core,ant-tasks
+ popd >/dev/null
+
+ pushd plugins/org.junit >/dev/null
+ rm *.jar
+ java-pkg_jar-from junit
+ popd >/dev/null
+
+ pushd plugins/org.apache.lucene >/dev/null
+ rm *.jar
+ java-pkg_jar-from lucene-1 lucene.jar lucene-1.4.3.jar
+ popd >/dev/null
+
+ # TODO replace stuff in plugins/org.eclipse.team.cvs.ssh2
+ # TODO replace stuff in plugins/org.eclipse.tomcat
+ # TODO replace stuff in plugins/org.junit4
+
+ # begin: patches/comments from fedora
+
+ # Build JNI libs
+ # FIXME: these should be built by upstream build method
+ # http://www.bagu.org/eclipse/plugin-source-drops.html
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637
+ # GNU XML issue identified by Michael Koch
+ # patches 2, 4, 5
+ epatch ${WORKDIR}/${P}-build.patch
+ epatch ${WORKDIR}/${P}-libupdatebuild.patch
+ epatch ${WORKDIR}/${P}-libupdatebuild2.patch
+
+ # Build swttools.jar
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
+ pushd plugins/org.eclipse.swt.gtk.linux.x86_64 >/dev/null
+ epatch ${WORKDIR}/${P}-swttools.patch # patch18
+ popd >/dev/null
+
+ # install location should automatically be added to homedir
+ # if ECLIPSE_HOME is not writable
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=90630
+ epatch ${WORKDIR}/${P}-updatehomedir.patch # patch22
+
+ # .so files installed in a strange location
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
+ pushd plugins/org.eclipse.core.runtime >/dev/null
+ epatch ${WORKDIR}/${P}-fileinitializer.patch # patch24
+ popd >/dev/null
+
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=98707
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178726
+# TODO figure out why this doesn't apply
+# pushd plugins/org.eclipse.compare >/dev/null
+# epatch ${WORKDIR}/${P}-compare-create-api.patch # patch 33
+# popd >/dev/null
+
+ # JPackage []s in names of symlinks ...
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177
+ pushd plugins/org.eclipse.jdt.core >/dev/null
+ epatch ${WORKDIR}/${P}-bz162177.patch # patch34
+ popd >/dev/null
+
+ epatch ${WORKDIR}/${P}-genjavadocoutput.patch # patch35
+
+ epatch ${WORKDIR}/${P}-usebuiltlauncher.patch # patch40
+
+ # Eclipse launcher does not follow symlinks
+ # https://bugs.eclipse.org/bugs/show_bug.cgi?id=79592
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168726
+ mkdir launchertmp
+ unzip -d launchertmp \
+ plugins/org.eclipse.platform/launchersrc.zip >/dev/null || die "unzip failed"
+ pushd launchertmp >/dev/null
+ epatch ${WORKDIR}/${P}-launcher-link.patch # patch47
+ zip -9 -r ../launchersrc.zip * >/dev/null || die "zip failed"
+ popd >/dev/null
+ mv launchersrc.zip plugins/org.eclipse.platform
+ rm -rf launchertmp
+
+ pushd features/org.eclipse.platform.launchers >/dev/null
+ epatch ${WORKDIR}/${P}-launcher-link.patch # patch47
+ popd >/dev/null
+
+ # Don't attempt to link to Sun's javadocs
+ epatch ${WORKDIR}/${P}-javadoclinks.patch # patch48
+
+ # generic releng plugins that can be used to build plugins
+ # see this thread for deails:
+ # https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
+ pushd plugins/org.eclipse.pde.build >/dev/null
+ epatch ${WORKDIR}/${P}-pde.build-add-package-build.patch # patch53
+ sed --in-place "s:@eclipse_base@:${ECLIPSE_DIR}:" templates/package-build/build.properties
+ popd >/dev/null
+
+ # We need to disable junit4 and apt until GCJ can handle Java5 code
+ # FIXME for some reason junit isn't using java5...
+ epatch ${WORKDIR}/${P}-disable-junit4-apt.patch # patch55
+}
+
+src_compile() {
+ # Figure out VM, set up ant classpath and native library paths
+ setup-jvm-opts
+
+ if use seamonkey ; then
+ einfo "Will compile embedded seamonkey support against www-client/seamonkey"
+ setup-mozilla-opts
+ else
+ einfo "Not building embedded seamonkey support"
+ fi
+
+ local java5vm=$(depend-java-query --get-vm ">=virtual/jdk-1.5")
+ local java5home=$(GENTOO_VM=${java5vm} java-config --jdk-home)
+ einfo "Using ${java5home} for java5home"
+ # TODO patch build to take buildId
+ ./build -os linux \
+ -arch ${eclipsearch} \
+ -ws gtk \
+ -java5home ${java5home} || die "build failed"
+}
+
+src_install() {
+ dodir /usr/lib
+
+ # TODO maybe there's a better way of installing than extracting the tar?
+ [[ -f result/linux-gtk-${eclipsearch}-sdk.tar.gz ]] || die "tar.gz bundle was not built properly!"
+ tar zxf result/linux-gtk-${eclipsearch}-sdk.tar.gz -C ${D}/usr/lib \
+ || die "Failed to extract the built package"
+
+ mv ${D}/usr/lib/eclipse ${D}/${ECLIPSE_DIR}
+ insinto ${ECLIPSE_DIR}
+ exeinto ${ECLIPSE_DIR}
+ echo "-Djava.library.path=/usr/lib" >> ${D}/${ECLIPSE_DIR}/eclipse.ini
+
+ debug-print "Installing eclipse-gtk binary"
+ doexe eclipse || die "Failed to install eclipse binary"
+
+ # Install startup script
+ exeinto /usr/bin
+ doexe ${FILESDIR}/eclipse-${SLOT}
+
+ make_desktop_entry eclipse-${SLOT} "Eclipse ${PV}" "${ECLIPSE_DIR}/icon.xpm"
+}
+
+# -----------------------------------------------------------------------------
+# Helper functions
+# -----------------------------------------------------------------------------
+
+fix-swt-targets() {
+ # Select the set of native libraries to compile
+ local targets="make_swt make_awt make_atk"
+
+ if use gnome ; then
+ einfo "Enabling GNOME VFS support"
+ targets="${targets} make_gnome"
+ fi
+
+ if use seamonkey ; then
+ einfo "Enabling embedded Mozilla support"
+ targets="${targets} make_mozilla"
+ fi
+
+ if use cairo ; then
+ einfo "Enabling CAIRO support"
+ targets="${targets} make_cairo"
+ fi
+
+ if use opengl ; then
+ einfo "Enabling OpenGL support"
+ targets="${targets} make_glx"
+ fi
+
+ sed -i "s/^all:.*/all: ${targets}/" \
+ "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak" \
+ || die "Failed to tweak make_linux.mak"
+}
+
+setup-jvm-opts() {
+ # Figure out correct boot classpath
+ # karltk: this should be handled by the java-pkg eclass in setup-vm
+ local bp="$(java-config --jdk-home)/jre/lib"
+ local bootclasspath=$(java-config --runtime)
+ if [[ ! -z "`java-config --java-version | grep IBM`" ]] ; then
+ # IBM JDK
+ JAVA_LIB_DIR="$(java-config --jdk-home)/jre/bin"
+ else
+ # Sun derived JDKs (Blackdown, Sun)
+ JAVA_LIB_DIR="$(java-config --jdk-home)/jre/lib/${jvmarch}"
+ fi
+
+ einfo "Using bootclasspath ${bootclasspath}"
+ einfo "Using JVM library path ${JAVA_LIB_DIR}"
+
+ if [[ ! -f ${JAVA_LIB_DIR}/libawt.so ]] ; then
+ die "Could not find libawt.so native library"
+ fi
+
+ export AWT_LIB_PATH=${JAVA_LIB_DIR}
+}
+
+setup-mozilla-opts() {
+ export GECKO_SDK="/usr/$(get_libdir)/seamonkey"
+ # TODO should this be using pkg-config?
+ export GECKO_INCLUDES=$(pkg-config seamonkey-gtkmozembed --cflags)
+ export GECKO_LIBS=$(pkg-config seamonkey-gtkmozembed --libs)
+}
+
+pkg_postinst() {
+ einfo "Users can now install plugins via Update Manager without any"
+ einfo "tweaking."
+ echo
+ einfo "Eclipse plugin packages (ie eclipse-cdt) will likely go away in"
+ einfo "the near future until they can be properly packaged. Update Manager"
+ einfo "is prefered in the meantime."
+}
diff --git a/dev-util/eclipse-sdk/files/digest-eclipse-sdk-3.2.1 b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-3.2.1
new file mode 100644
index 000000000000..9961a8464a46
--- /dev/null
+++ b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-3.2.1
@@ -0,0 +1,6 @@
+MD5 ac8ed24b593bd49b20bf0b7b0938cd57 eclipse-sdk-3.2.1-patches.tar.bz2 24267
+RMD160 b3ee64e3079ed6076d1f75db9ee70535a581854f eclipse-sdk-3.2.1-patches.tar.bz2 24267
+SHA256 5617ec70e7225ef935f81f95a9a4992b4ef40f74cdc379cfd4b93cbeefa1f127 eclipse-sdk-3.2.1-patches.tar.bz2 24267
+MD5 0fe89e9c7cf07a56c4fe8e2d7f5a394b eclipse-sourceBuild-srcIncluded-3.2.1.zip 82433420
+RMD160 9648176b79adac7217371e5b8dee7aeb4cd458db eclipse-sourceBuild-srcIncluded-3.2.1.zip 82433420
+SHA256 2d6a0628333d068b6ab678c42f925d71df1c003035543830a30e3ee80fb855c7 eclipse-sourceBuild-srcIncluded-3.2.1.zip 82433420