diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2016-04-10 16:27:42 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2016-04-10 16:27:42 +0100 |
commit | 3219484c3267c96bc05dec4da18c7d639b126c61 (patch) | |
tree | 5e8c63057b6f3d675bc12b93e21c14de87166ae1 /dev-util/eclipse-sdk-bin | |
download | ssnb-3219484c3267c96bc05dec4da18c7d639b126c61.tar.gz ssnb-3219484c3267c96bc05dec4da18c7d639b126c61.tar.bz2 ssnb-3219484c3267c96bc05dec4da18c7d639b126c61.zip |
initial commit
Diffstat (limited to 'dev-util/eclipse-sdk-bin')
-rw-r--r-- | dev-util/eclipse-sdk-bin/Manifest | 7 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2.ebuild | 51 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-bin-4.4 | 46 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-bin-4.5 | 46 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.4 | 20 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.5 | 20 |
6 files changed, 190 insertions, 0 deletions
diff --git a/dev-util/eclipse-sdk-bin/Manifest b/dev-util/eclipse-sdk-bin/Manifest new file mode 100644 index 0000000..3e76311 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/Manifest @@ -0,0 +1,7 @@ +AUX eclipse-bin-4.4 1402 SHA256 7ac6fe25d07a1d33a33fde1de7dac6fa129c7a6911c9134cdf02fb690982ea0f SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a WHIRLPOOL 556aa7148972a7e6542412cf04012232e5ea5a78224919bd06d0522b06a714d2cf48b3a78325bebf254ea9e48483abd4b95d9beb8ad34b4c298297e738ff28b2 +AUX eclipse-bin-4.5 1402 SHA256 7ac6fe25d07a1d33a33fde1de7dac6fa129c7a6911c9134cdf02fb690982ea0f SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a WHIRLPOOL 556aa7148972a7e6542412cf04012232e5ea5a78224919bd06d0522b06a714d2cf48b3a78325bebf254ea9e48483abd4b95d9beb8ad34b4c298297e738ff28b2 +AUX eclipserc-bin-4.4 859 SHA256 7a53c472d37b9c3978e77c4a6bdacbb0da0047d10d4af5c44c862d63de2de097 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 WHIRLPOOL 02349dcca3fbe7cdfe5cd8bf898868a22255310fdacf4fbce5bb8f91e6664710166feae125d8c884438e22445c360cf27b29c125a0347235bd2bb50667d686d4 +AUX eclipserc-bin-4.5 859 SHA256 7a53c472d37b9c3978e77c4a6bdacbb0da0047d10d4af5c44c862d63de2de097 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 WHIRLPOOL 02349dcca3fbe7cdfe5cd8bf898868a22255310fdacf4fbce5bb8f91e6664710166feae125d8c884438e22445c360cf27b29c125a0347235bd2bb50667d686d4 +DIST eclipse-java-mars-R-linux-gtk-4.5.2.tar.gz 169974282 SHA256 43089aa4738d05e92fd24cf320336e8ab1cfd2e66ce07de9955a40bf7a08de87 SHA512 de17412b82c6150268142e99858f26641b465c1c296a1a13d413a47226dc9a01db26bd07985c926b5fe80e0225ff7b3e0ef35137fce31e0bb261ae5cc96cc888 WHIRLPOOL 9ccbcc5c36711531a2f93daf8bab92892f589822cee09f5751fcf0ab7a1fe3e183100cfe4a9e71ecefe3a04a1b2bae2843162b27250a052ed4846f343fa0bbb1 +DIST eclipse-java-mars-R-linux-gtk-x86_64-4.5.2.tar.gz 170118332 SHA256 2eeea5e563001f6812bad97e159befe4152bf8ef49124c98e635fd68104a1727 SHA512 9997a23d29e95c91177cd7460291caab46f04ca9b4af52b724c0d61577a16fa69b0aa4cdd01322aba21a05da24380d3f9395f799be4af8fc41c373353573a517 WHIRLPOOL 4d468c1959e2f9dd5b5fd661e60b56c55aa6d5fbc4b090d749237dfb56146213ab51716c8f645a288357b9302975d84a9aa502f94b07d78a7da31d84dead48db +EBUILD eclipse-sdk-bin-4.5.2.ebuild 1312 SHA256 b3c3f04397e2d07a3659b1fdb10fc1aa4b75c70a1bce50d6d3b18d5a22cfa0fb SHA512 693c17828f5265cfb0c780f626f67949a75f7200d625eb7fdc6e477b4030320a95abc08ec43a24df753a28b3f68a2e4939e0d0a860a6f45c7b271635a05987cf WHIRLPOOL 2384f1c46bb6c23d844d2a27c009c47b8218bd38a7754263798fd7b86d33d9426051de46dbbbf1a266f19dc67a7ac0bf607e8d0ece18df719bab5952f3984e4b diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2.ebuild new file mode 100644 index 0000000..7e2f3c2 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils versionator + +SR=R +RNAME="mars" + +SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk" + +DESCRIPTION="Eclipse SDK" +HOMEPAGE="http://www.eclipse.org" +SRC_URI=" + amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz ) + x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )" + +LICENSE="EPL-1.0" +SLOT="4.5" +KEYWORDS="x86 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 readme/* + + cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die + cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die + sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die + + insinto /etc + newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT} + + newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT} + make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm" +} diff --git a/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.4 b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.4 new file mode 100644 index 0000000..261fa14 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.4 @@ -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="%SLOT%" + +[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}" +[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc" + +ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"} +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} diff --git a/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.5 b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.5 new file mode 100644 index 0000000..261fa14 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.5 @@ -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="%SLOT%" + +[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}" +[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc" + +ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"} +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} diff --git a/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.4 b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.4 new file mode 100644 index 0000000..dfeef95 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.4 @@ -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 diff --git a/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.5 b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.5 new file mode 100644 index 0000000..dfeef95 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.5 @@ -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 |