Add Eclipse 4.3.2

This commit is contained in:
Sergey Morozov 2014-05-16 00:36:12 +04:00
parent b91afcf682
commit 5142773497
4 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,5 @@
AUX eclipse-bin-4.3 1396 SHA256 4ae02b808c6ad2d84216b0a5240302e06d5a3b2e815867f978bd2e49da1d2887 SHA512 4e27848a953b1401a79826141b03f50292ba8c3890ce2dce010c74870b0e340b5e145f0a7bbf4cc3b81882b5cb12b815d7ae9f83fd85d12d298d913a2abeaf62 WHIRLPOOL 154d0ea89fcdf76bb49ae037f4f965f56dacf3a1aebe0d199c117cb76b8d04da8e935240e7c6f0c35c52941cf36738f37d617d6d7ab6804e9f52a9efdac5389d
AUX eclipserc-bin-4.3 858 SHA256 0aea733c968ca064ad5ca95d5895778ecf7387826198b512e98d0cbb7dd353f1 SHA512 8705aac02f998bf43d797c9c13592927e73154a1c908d2ac85544b6e197b249b20bc6f189d11eea4a48a76f184ac818d145fa6c05d4980bfe9a542eb9f42dd7b WHIRLPOOL 5dabd6bf5c6d584221192ee6c84c4defb9c011d465fef2679745161f9e38b88fd420cca803367f9ae13ec71036dbd3b8b8fc8fe7e6d47bb570b7b6438d638f7a
DIST eclipse-java-kepler-SR2-linux-gtk-4.3.2.tar.gz 3367762 SHA256 14cc2632d87758fa45c9b58806557f777668c490507360baf7f90fbaf9d7d2a2 SHA512 7d73e65db3afed908cba6f17dbab2c22e7b575401698972987223b556f13e01c8e450c48d3edfa3ce7b78a1849b60b65f127dcdc7ac165984cd92a1f38b3ee8a WHIRLPOOL b6561b2e06e476fcf27acefaa581599dc5ed9cec911e54a9af20ff19d0c43d3f8c1174f9029f142d1a09a3d9fb23283c8b87db75637c39edfe97682e3d8822d2
DIST eclipse-java-kepler-SR2-linux-gtk-x86_64-4.3.2.tar.gz 157830266 SHA256 8910cdaafe92b11e7f6863243d2a2ccfbe7bd3b622491affa6c4b2e2984405de SHA512 0f38d094341470540f105ea6338f734c6d5924198ec2d2ed9f0b38929c1ace58d36131eaf56011c200d0eca7473f1da0ba34f00c07140eee72d6a6c8117fa0ea WHIRLPOOL b7e030556ad3d16794eca0048b5da9da98f7db50bc0087a2c153ea79243c38161b4db6e4e1ff9762ffe5524c5edc2c96580596403a9956748149df517be885c7
EBUILD eclipse-sdk-bin-4.3.2.ebuild 1130 SHA256 ba095ef0b6787b224cf919b57c021bf8d84ef74eb1fef3d3f9865c49d0b632af SHA512 44611d0e4435e833eeaa1d5b2997543d604d81c50ef4860708a2ebd11a1f4da1e3e5090675955dd53fd774b79bf370f64d3a54d177e9c0a9f5503cdc32224930 WHIRLPOOL 3a4ae618f088920eadf95d7f047df345f865b796439ee10cfe888b862bf915d817c733e9a18189d53203e0cd269da5a8cf7f9cde9bda90fd9d2dfd86fa005141

View File

@ -0,0 +1,45 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
SR=SR${PV#*.*.}
SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/${SR}/eclipse-java-kepler-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-kepler-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-kepler-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.3"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.6
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r about.html about_files epl-v10.html notice.html readme/*
insinto /etc
doins "${FILESDIR}"/eclipserc-bin-${SLOT}
dobin "${FILESDIR}"/eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

View File

@ -0,0 +1,46 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="4.3"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-4.3"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

View File

@ -0,0 +1,20 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m