diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-03-30 22:14:04 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-03-30 22:14:04 +0100 |
commit | b42745fce834f482c4eabdadc9d85dfe2a5349ff (patch) | |
tree | 6ed94af1e74462e8af350fbea6fa612e5a7c2525 /dev-util/eclipse-sdk-bin | |
parent | Add required eclasses in megasync 4.3.1 (diff) | |
download | ssnb-b42745fce834f482c4eabdadc9d85dfe2a5349ff.tar.gz ssnb-b42745fce834f482c4eabdadc9d85dfe2a5349ff.tar.bz2 ssnb-b42745fce834f482c4eabdadc9d85dfe2a5349ff.zip |
Update eclipse
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-util/eclipse-sdk-bin')
-rw-r--r-- | dev-util/eclipse-sdk-bin/Manifest | 8 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.14.0.ebuild | 2 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.15.0.ebuild | 50 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-bin-4.14 | 46 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-bin-4.15 | 46 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.14 | 20 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.15 | 20 |
7 files changed, 190 insertions, 2 deletions
diff --git a/dev-util/eclipse-sdk-bin/Manifest b/dev-util/eclipse-sdk-bin/Manifest index 6b68cfb..42c24e9 100644 --- a/dev-util/eclipse-sdk-bin/Manifest +++ b/dev-util/eclipse-sdk-bin/Manifest @@ -1,5 +1,7 @@ AUX eclipse-bin-4.10 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a AUX eclipse-bin-4.13 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a +AUX eclipse-bin-4.14 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a +AUX eclipse-bin-4.15 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a AUX eclipse-bin-4.4 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a AUX eclipse-bin-4.5 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a AUX eclipse-bin-4.6 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a @@ -8,6 +10,8 @@ AUX eclipse-bin-4.8 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda AUX eclipse-bin-4.9 1402 BLAKE2B 82b74113ca7c7f989922117dfab66b36ef69393fe4cebda632cd6b54d04e5bbdd9ab1aadfc365167529e5db205d7c19516f96cf9cebf85194e1f2b79a57b6885 SHA512 149f1a170fdabcb9aab6fa2812172030f4878a52c8d12aa7090e813fee843f3955d9fb4f738eca0fbd35b9dadaff7ba1bbd5570e34c3b274bfd4e86b8c23318a AUX eclipserc-bin-4.10 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 AUX eclipserc-bin-4.13 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 +AUX eclipserc-bin-4.14 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 +AUX eclipserc-bin-4.15 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 AUX eclipserc-bin-4.4 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 AUX eclipserc-bin-4.5 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 AUX eclipserc-bin-4.6 859 BLAKE2B 2372f4f011d1b11d1e529b35853854966ea79e19c5578193e80ba91afc09a5a0c520ec59c4ec291ec53fc1c90c2267ea8f98708382fedd99921f1ad60935bf40 SHA512 9dca096a94ed4e3cd09e8ab9eb026014ce961deb913f2adfe63b2d027bf56b2f893b890effddba01c178ecd404b010695da01f7e24e94ff1a345847462783487 @@ -19,6 +23,7 @@ DIST eclipse-java-2018-09-R-linux-gtk-x86_64-4.9.0.tar.gz 194820279 BLAKE2B 345d DIST eclipse-java-2018-12-R-linux-gtk-x86_64-4.10.1.tar.gz 189224734 BLAKE2B 53c21adbae65203a323b71fc42672dac7392ba182e36a691cdf1ae5513e516ac58b765cfd3da28d7431ceb0d43fd3b575b84d0ddb342a284f362ff23e77183c9 SHA512 d2f8c4af2bb219c24ed8d22dd59a31453bf0e03c34376edfe99099c6ae3996524bc393fef6ef3886aed9fa397fef346baba40658199df8561e4fd578f3e0d2ba DIST eclipse-java-2019-09-R-linux-gtk-x86_64-4.13.0.tar.gz 207097270 BLAKE2B 8956b920b8f5dd7107a7defc353daddc1a931392af8ecad8a72f98b6d6f6efc224619a9b8b036852aad4fdd029b5a4183b7848d463ff95351f15fed8c0796b97 SHA512 eb408902f079d6666863bc318a0586589be9a86e4cd57125ef1f97eb4f4a9d6b70aa52ea23129f5f95eb513c3ce1889683516d91e85a484fcae7328fa8e1eeff DIST eclipse-java-2019-12-R-linux-gtk-x86_64-4.14.0.tar.gz 206381762 BLAKE2B 4536ba7d2a6875420bbcbc2f66c5d7c8bedae9ec864e066bcdc27ba2c64f51fbf8c9187531373cacb83f7935f1209daac196646d0c3fe112f075651e4dfb9c92 SHA512 358d1c6c6900d3cfcf9d89a32228695206902297a7f74c440981660c7e4db810fae22e721e78b4d7df84b3bf951f91b1ba87dcd1fe9c7b00235b87f8633f4883 +DIST eclipse-java-2020-03-R-linux-gtk-x86_64-4.15.0.tar.gz 201754965 BLAKE2B aaf82de630bac3c0e0e097d0c78c4796a7913acf7824226c60d0c9dbc7c5f38fab874cbd30e059b3c87c10a605baa71423b6841ba5f99bf27e088e30fd507c88 SHA512 c9390723fe39e86c7c75fce130a2a46e75c43970e1d801b4025f969369dfe6ce75cb990f8208918a89c04f371300ec482ed8e4fd74ab28252219c64f0107e51c DIST eclipse-java-mars-R-linux-gtk-4.5.2.tar.gz 169974282 BLAKE2B b102833e991c8d385d343d6b8301e992b66cd1e566efbadd58de63cfd48d0ee4a79ad9c89844bb44f38fbf66218ac82a7b40c098c7a2bed05d727ab7b53c250d SHA512 de17412b82c6150268142e99858f26641b465c1c296a1a13d413a47226dc9a01db26bd07985c926b5fe80e0225ff7b3e0ef35137fce31e0bb261ae5cc96cc888 DIST eclipse-java-mars-R-linux-gtk-x86_64-4.5.2.tar.gz 170118332 BLAKE2B 411dfb7d0d5a31fb1c7d3367ce58697a94efdcc9a7e6b955e235017ad2b4b8d952fb6cf830228674425ce2b47af33adc2db85f791496754babe22b840f6a85a1 SHA512 9997a23d29e95c91177cd7460291caab46f04ca9b4af52b724c0d61577a16fa69b0aa4cdd01322aba21a05da24380d3f9395f799be4af8fc41c373353573a517 DIST eclipse-java-neon-3-linux-gtk-4.6.3.tar.gz 167943703 BLAKE2B 88082363915bf6300a585284f0d7d8805d3424d74e824586d0b78fbb16e6ad9127c8cd4fa172078ada422143c2d41147298312048bec21657ffba9198be7b9fc SHA512 bc7008af20563d737ad88cc9da3fabd97be7049ff13f85cb969747c4ac74d33fa95b4bb993e290179096a72e3ea11600725483ff8dd06eab79b3100698a9a8e2 @@ -31,7 +36,8 @@ DIST eclipse-java-photon-R-linux-gtk-4.8.0.tar.gz 201370116 BLAKE2B 5699db5384a0 DIST eclipse-java-photon-R-linux-gtk-x86_64-4.8.0.tar.gz 201489834 BLAKE2B 01928c812a6dd89653ad938afc661856e32f7c2ecd4728abee4cde3eb14a9471d18de7479d98e03926fdab8e256ee1d2bb9c210a57732eed20ab81eaa67870fc SHA512 1fa541e3bb7b1dac01ba01a9a54445f7acc718edfbb00a8edb5af9b0ece46367e8841b8f0d0cc59cf2a0948465d10ae6420c0dcebc46582248514cc2026287c3 EBUILD eclipse-sdk-bin-4.10.1.ebuild 1216 BLAKE2B ddbe9ab2eb9936b9235687533b8e1122c428a30e56c7d39110037d5a285f550df64cd083c477e2a877ba966373de1fda61cdf58fb6b02c2fae83b84068ef320b SHA512 5de6b30515f05d60f48a022579e3b223a2a9cb24917970b881fd029ddbb84f1e9f2478e4e7bf577cafc5927ae0d922e210facc3a23bca006499fa42d1900d539 EBUILD eclipse-sdk-bin-4.13.0.ebuild 1232 BLAKE2B a1255e87fb5f30b2b0e16793b962bd12fd39602cfd1ec9969f7d5a9797e766732214d5424f769e0736ccd26119bb9e99126b56188620e6e21f78c83a5b2e05a9 SHA512 e63df4130e2b849769e293eb855e6b651de6782334fb5adab7e4eda921a4baf832ae47e38bede7b6cbead7b4a3260d8c210afbec94adc8985ec8198d6371fdb6 -EBUILD eclipse-sdk-bin-4.14.0.ebuild 1232 BLAKE2B d46be72893fbf021047e6dcd152b15746d0ff39b00e1232c3c0f64cfdb6f86dd966f4234320f810490656e89bf69be9f5533f3173fe85e84c4f37d53f9d92f7f SHA512 2e0c878964f36fabca3789670f39abda8ba02b12fdee59186945d27c80a25117f341cfe87b232126bb6f1339cdda584eb1d199398d212288f266e625fa02e8df +EBUILD eclipse-sdk-bin-4.14.0.ebuild 1232 BLAKE2B ab4e0d8d0a0f19bf9612ca76baed6d7a8225cef551ca6196856475c9086f6b22b6e076c0e705ba558a06bb9153b7e6712d224dafe007653ff7f71a57af9398df SHA512 70359c504a69f25140b685c4373407e86f13c1f390311412d7d30c1711bf53b5498f00d901ed66834b2492017b1683992a1560de692bf4cd2febd2e003fee0a8 +EBUILD eclipse-sdk-bin-4.15.0.ebuild 1241 BLAKE2B 21ad8a077831baacb540d8ede0db969c86de8568ce6fe13768a63d2abc793f245625194a19bc7be9d1899b3300db6cc495901295528b5cfb69b269027c7012e3 SHA512 a31a237d01efa5f4edd530a066be32a7c3b7e475a6f97ab4e0c3c1ee6138dfdc770b08f005dac20a1237f30299ea137e0a2da94e87a0de18b97be1e4745b3e4d EBUILD eclipse-sdk-bin-4.5.2.ebuild 1312 BLAKE2B 08bbce2a2059f5842fab89287377c28e94adb296001d981dd00cdfbbeaf6c1cc6e3f27da6b293de0096dd3a3da34832d3fbf30fb6f39e95c2c05662ad80a0442 SHA512 693c17828f5265cfb0c780f626f67949a75f7200d625eb7fdc6e477b4030320a95abc08ec43a24df753a28b3f68a2e4939e0d0a860a6f45c7b271635a05987cf EBUILD eclipse-sdk-bin-4.6.3.ebuild 1315 BLAKE2B 70032ecbb67f2f672c32ab6f83757d45b6ee2b06884a2aa7cedb1546c569a4a16847e61871c4fe92c537043a458be1133d2c38fc0ebe2841ce6bcb3b7d3caf24 SHA512 cf3c2815513355deeeb947b3dc5fa98c5a23e7414925d0a1dd3491cc935bb3c4005b775fc22ad2713abbf2a550baea5f51841aa83e41ed711f063da4d1e42c8d EBUILD eclipse-sdk-bin-4.7.2.ebuild 1319 BLAKE2B 843fab9b3492f7c2a484b78c625a74543a65b24fab346b97fa4bebf62bc39c3751762ac062a37451cfb0cb45725333f395498df142d2c66f02650efe8c41e811 SHA512 207fc38d73fbaca8f0f4dc750150528d56a45f6a49f4e34d485690709c7bb01d2d65ca4ce7f0c64c5a9c5df4f8293f94b27111e20489e362b8db8326f4ae20a4 diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.14.0.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.14.0.ebuild index d3da434..dfd822f 100644 --- a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.14.0.ebuild +++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.14.0.ebuild @@ -16,7 +16,7 @@ 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.13" +SLOT="4.14" KEYWORDS="~x86 ~amd64" IUSE="" diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.15.0.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.15.0.ebuild new file mode 100644 index 0000000..cf5f1a7 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.15.0.ebuild @@ -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" +} diff --git a/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.14 b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.14 new file mode 100644 index 0000000..261fa14 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.14 @@ -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.15 b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.15 new file mode 100644 index 0000000..261fa14 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipse-bin-4.15 @@ -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.14 b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.14 new file mode 100644 index 0000000..dfeef95 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.14 @@ -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.15 b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.15 new file mode 100644 index 0000000..dfeef95 --- /dev/null +++ b/dev-util/eclipse-sdk-bin/files/eclipserc-bin-4.15 @@ -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 |