parent
ff5364f66d
commit
92dfc19c9c
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
SR="R"
|
||||
RNAME="2018-12"
|
||||
|
||||
SRC_BASE="https://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="${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="4.10"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
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"
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2020 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
SR="R"
|
||||
RNAME="2019-12"
|
||||
|
||||
SRC_BASE="https://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 )"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="4.14"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
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"
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2020 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils desktop
|
||||
|
||||
SR="R"
|
||||
RNAME="2020-03"
|
||||
|
||||
SRC_BASE="https://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 )"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="4.15"
|
||||
KEYWORDS="~x86 amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
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
|
||||
|
||||
docinto html
|
||||
dodoc -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"
|
||||
}
|
@ -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="2"
|
||||
RNAME="oxygen"
|
||||
|
||||
SRC_BASE="https://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.7"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
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"
|
||||
}
|
@ -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}
|
@ -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}
|
@ -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}
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in new issue