summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2017-07-27 18:24:31 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2017-07-27 18:24:31 +0100
commit6504a9a99fbe618f083a385ba11ba2f8daf9d522 (patch)
tree6c6c91e8b65c5915e1ee5b324a4890acf448a642 /dev-util
parentdev-util/eclipse-cpp-bin: remove old versions (diff)
downloadcarreira-6504a9a99fbe618f083a385ba11ba2f8daf9d522.tar.gz
carreira-6504a9a99fbe618f083a385ba11ba2f8daf9d522.tar.bz2
carreira-6504a9a99fbe618f083a385ba11ba2f8daf9d522.zip
dev-util/eclipse-cpp-bin: version bump 4.7.0
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/eclipse-cpp-bin/Manifest8
-rw-r--r--dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.7.0.ebuild59
-rw-r--r--dev-util/eclipse-cpp-bin/files/eclipse-bin46
-rw-r--r--dev-util/eclipse-cpp-bin/files/eclipserc-bin23
4 files changed, 132 insertions, 4 deletions
diff --git a/dev-util/eclipse-cpp-bin/Manifest b/dev-util/eclipse-cpp-bin/Manifest
index 26fc600..e4efc22 100644
--- a/dev-util/eclipse-cpp-bin/Manifest
+++ b/dev-util/eclipse-cpp-bin/Manifest
@@ -1,4 +1,4 @@
-DIST eclipse-cpp-bin-4.5.2-x86_64.tar.gz 191591158 SHA256 ad2d57927009e820df68e1b1c8759a0e30724c67954981c0428d5a3897a3894f SHA512 e92d1e0aaeaa0412be8643536a2e133bbb75394206076e7bcaff27a7f58560f953f771f1d5be571cbab79a67072634f1d018e7d719ad9d37da2145c853248ad5 WHIRLPOOL ed5e8228257217347d1449b2487b0f1ccfbc0fdb793dd80057bcc9449a1e002e3c363b878f85d6f9361b14207380974321b2ef95a58e4b258c53ca7dd9766271
-DIST eclipse-cpp-bin-4.5.2.tar.gz 191447587 SHA256 654cd0e50450fb8139a9474d69fd33de5e6f8af36b5e1c97028b203ccbf5bd2c SHA512 ba345d49d66ae469a30ab7254b91ae92c14e5f11f080b4c905bc303f5fa60052168d8e762193b7fef07b03365cba20e3060acccc6dcd68262296a62388f84bd0 WHIRLPOOL a77cb43a88650fb4e024a8aa1c741d7dd29153e1a892775770ab9a628d01e27326bc5b1f02786c09d55741d1944311dcfdc67fa52c912c49dcd65052b34ec7e7
-DIST eclipse-cpp-bin-4.6.2-x86_64.tar.gz 196541516 SHA256 31f6a535c818a39ff7b622fe90943b35e8fbf2b647fd9188e7b19c36584d9bc9 SHA512 bda7db574beffd58cdc9a0bbf72e7ad9e699718191f627472e0fef12d6067d9a440bea82e5c20257464c2793f4831e2684a84ed748109ec8dc893926bcb5efc1 WHIRLPOOL 09c58fdc16c657daa8bade55542916638666f33eb5238b372f8ad3167f55af2ca9da3d8e6d4302a81ea11d0d5c3313d26a997464404530786191317ba7ef8393
-DIST eclipse-cpp-bin-4.6.2.tar.gz 196392435 SHA256 a38a2133cb7edad8944fdadeee9e0ea60742c74db3c1eeb98b2659eb12be5771 SHA512 6de0ee0410d34b6642feb7df23515b54ea48421efdec8f128637aa43ee0e718c8f9cfad127c69052145383053938554c97b3306e2a4929614e038a2df827c1fb WHIRLPOOL d1288c58e955929cc92d224a030c0ec4771f911c559f2204f231a90a1ddd5daf526bde94e5c7618b54240cd21e4a23c62c5dbd26bb41e58f8ef162193a5377b9
+DIST eclipse-cpp-bin-4.6.3-x86_64.tar.gz 197432205 SHA256 e203ff06381b0ba728b07181ebfa3b41bf18d5cae5857e5ffd462aece32df1fe SHA512 b2f0af3b555b0100b091ec9e5eff0107edf0bbb28a42ae8bcaf413eb2c3807f3a99f437c08b3c02b9f9ff3cbdb8ee8f929015832b09574225e099ed2e068fb1a WHIRLPOOL e7825a32eb7cde287da854313a1b7fbc8ab2cd7fbad17319a7163c99b8c78ec5bba048160a82e5de4d7ac5cd5e9aa89ef46523a594662e54c9acb83728f4fa5c
+DIST eclipse-cpp-bin-4.6.3.tar.gz 197279288 SHA256 aeee272443a7327325a940479902c0cde7b050aa981cf44a016b770d55a35a2d SHA512 685261247e6151989b23aa1458cdec8588ecbfb569ecccf25c1dcb49847ddd5bb28a2576c93b21f92a25e84b0206e44383e4f54f70294b1244ff7a66e0144892 WHIRLPOOL 4b4f9085d1600eab82cee0cb5d9cf1c48d25e292446a0543af451a1f0f55c5ea02478700a7a8aa8051fe7eccd3857dda4dcf2b9a1d2d079b6fea27943572b1c0
+DIST eclipse-cpp-bin-4.7.0-x86_64.tar.gz 214291721 SHA256 c721d8b653f56b7de14f39928f682cdbf375d2a5fda9bf96bb3352035e50fd99 SHA512 813c791e739d7d0e2ab242a5bacadca135bbeee20ef97aa830353cd90f63fa6e9c89cfcc6aadf635c742befe035bd6e3f15103013f63c419f6144e86ebde3ed1 WHIRLPOOL 29594710af4453f2723dba3448377b60c8a0c0a9148c41f5146546051c0527f5ca4c954510f93cf622dd377497a947947bea61b24cd1be7b5fca91666a8947b5
+DIST eclipse-cpp-bin-4.7.0.tar.gz 214178602 SHA256 c4d2c349b07fac80b7d4deb1fe2e9a5580c7190ee4dd7869a131a129e7293640 SHA512 2b50f4a00306a89cda1aaaa606e62285cacbf93464a9dd3f3319dca3e2c578b802e685de6f78e5e617d269e21271188effe73d41f491a6de946e28795d82db8a WHIRLPOOL b29d74400af261ef947abbd83e8eb24bfa38b9543ffd0ddc0cabaedcaf9d1c0ce9b90f0549fbce8ee90e68b448a1d8fad563c81c97c38188b87e770d5b227ff9
diff --git a/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.7.0.ebuild b/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.7.0.ebuild
new file mode 100644
index 0000000..3e8f593
--- /dev/null
+++ b/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.7.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils versionator
+
+RNAME="oxygen"
+SR="R"
+
+DESCRIPTION="Eclipse IDE for C/C++"
+HOMEPAGE="http://www.eclipse.org"
+
+# SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-cpp-${RNAME}-${SR}-linux-gtk"
+# SRC_URI="
+# amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> ${P}-x86_64.tar.gz )
+# x86? ( ${SRC_BASE}.tar.gz&r=1 -> ${P}.tar.gz )
+# "
+
+SRC_BASE="http://eclipse.bluemix.net/packages/${RNAME}/data/eclipse-cpp-${RNAME}-${SR}-linux-gtk"
+SRC_URI="
+ amd64? ( ${SRC_BASE}-x86_64.tar.gz -> ${P}-x86_64.tar.gz )
+ x86? ( ${SRC_BASE}.tar.gz -> ${P}.tar.gz )
+"
+
+LICENSE="EPL-1.0"
+SLOT="4.7"
+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 eclipserc-bin-${SLOT}
+
+ newbin "${T}"/eclipse-bin eclipse-cpp-${SLOT}
+ make_desktop_entry "eclipse-cpp-${SLOT}" "Eclipse ${PV}" "${dest}/icon.xpm" "Development;IDE"
+
+}
diff --git a/dev-util/eclipse-cpp-bin/files/eclipse-bin b/dev-util/eclipse-cpp-bin/files/eclipse-bin
new file mode 100644
index 0000000..867874c
--- /dev/null
+++ b/dev-util/eclipse-cpp-bin/files/eclipse-bin
@@ -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-2016, 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-cpp-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}" --launcher.GTK_version ${GTK_VERSION} -vmargs ${VM_ARGS}
diff --git a/dev-util/eclipse-cpp-bin/files/eclipserc-bin b/dev-util/eclipse-cpp-bin/files/eclipserc-bin
new file mode 100644
index 0000000..8fcb6b1
--- /dev/null
+++ b/dev-util/eclipse-cpp-bin/files/eclipserc-bin
@@ -0,0 +1,23 @@
+# 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)
+
+GTK_VERSION=2
+
+# Following variables controls the minimal and maximum amounts of memory
+# allocated to Eclipse (respectively).
+# Increase those numbers if you get OutOfMemory errors.
+
+ECLIPSE_XMS=256m
+ECLIPSE_XMX=1024m
+
+# 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
+