* Updated Eclipse to 3.2.2
* Added Eclipse to the nixpkgs channel (which is possible now we can deploy the jdk) svn path=/nixpkgs/trunk/; revision=8317
This commit is contained in:
parent
2946af6e52
commit
cf3571e85c
@ -5,14 +5,6 @@ unpackFile $src
|
|||||||
ensureDir $out
|
ensureDir $out
|
||||||
mv eclipse $out/
|
mv eclipse $out/
|
||||||
|
|
||||||
# Unpack the jars that contain .so files.
|
|
||||||
#echo "unpacking some jars..."
|
|
||||||
#for i in $(find $out -name "*.linux*.jar"); do
|
|
||||||
# echo $i
|
|
||||||
# cd $(dirname $i) && $jdk/bin/jar -x < $i
|
|
||||||
# rm $i
|
|
||||||
#done
|
|
||||||
|
|
||||||
# Set the dynamic linker and RPATH.
|
# Set the dynamic linker and RPATH.
|
||||||
rpath=
|
rpath=
|
||||||
for i in $libraries; do
|
for i in $libraries; do
|
||||||
@ -22,9 +14,6 @@ find $out \( -type f -a -perm +0100 \) \
|
|||||||
-print \
|
-print \
|
||||||
-exec patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
-exec patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "$rpath" {} \;
|
--set-rpath "$rpath" {} \;
|
||||||
#find $out \( -type f -a -name "*.so*" \) \
|
|
||||||
# -print \
|
|
||||||
# -exec patchelf --set-rpath "$rpath" {} \;
|
|
||||||
|
|
||||||
# Make a wrapper script so that the proper JDK is found.
|
# Make a wrapper script so that the proper JDK is found.
|
||||||
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
||||||
|
@ -1 +1,20 @@
|
|||||||
import ./eclipse-sdk-3.1.2.nix
|
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst, plugins ? []}:
|
||||||
|
|
||||||
|
let {
|
||||||
|
body =
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "eclipse-sdk-3.2.2";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = bindist;
|
||||||
|
inherit makeWrapper jdk plugins;
|
||||||
|
libraries = [gtk glib libXtst];
|
||||||
|
};
|
||||||
|
|
||||||
|
bindist =
|
||||||
|
fetchurl {
|
||||||
|
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-SDK-3.2.2-linux-gtk.tar.gz;
|
||||||
|
sha256 = "0slrx8l75k91v8hqr2rvh6x0a2xdplza8gm1dc39bhyaq2gx9sdx";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2603,6 +2603,8 @@ rec {
|
|||||||
inherit plugins;
|
inherit plugins;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
eclipsesdk = eclipse [];
|
||||||
|
|
||||||
eclipseSpoofax =
|
eclipseSpoofax =
|
||||||
eclipse [spoofax];
|
eclipse [spoofax];
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ let {
|
|||||||
docbook5_xsl
|
docbook5_xsl
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
ecj
|
ecj
|
||||||
|
eclipsesdk
|
||||||
emacs
|
emacs
|
||||||
emacsUnicode
|
emacsUnicode
|
||||||
enscript
|
enscript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user