gwt: Remove obsolete version

This commit is contained in:
Eelco Dolstra 2013-01-28 18:19:42 +01:00
parent 6930efd1e5
commit f7cc884de4
6 changed files with 9 additions and 56 deletions

View file

@ -1,12 +1,14 @@
{stdenv, fetchurl, unzip}:
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "gwt-java-2.4.0";
src = fetchurl {
url=http://google-web-toolkit.googlecode.com/files/gwt-2.4.0.zip;
sha1 = "a91ac20db0ddd5994ac3cbfb0e8061d5bbf66f88";
src = fetchurl {
url=http://google-web-toolkit.googlecode.com/files/gwt-2.4.0.zip;
sha1 = "a91ac20db0ddd5994ac3cbfb0e8061d5bbf66f88";
};
buildInputs = [unzip];
buildInputs = [ unzip ];
installPhase = ''
ensureDir $out
@ -18,4 +20,4 @@ stdenv.mkDerivation {
homepage = http://code.google.com/webtoolkit/;
description = "Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications.";
};
}
}

View file

@ -1,31 +0,0 @@
source $stdenv/setup
tar xfvj $src
mkdir -p $out
cp -av $name $out
# Create wrapper scripts so that the GWT compiler/host work
libPath="$libstdcpp5/lib:$glib/lib:$gtk/lib:$atk/lib:$pango/lib:$libX11/lib:$libXt/lib:$out/$name/mozilla-1.7.12"
mkdir -p $out/bin
cat > $out/bin/gwt-compile <<EOF
#!/bin/sh
export LD_LIBRARY_PATH=$libPath
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
$jdk/bin/java -Xmx256m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.Compiler \$@
EOF
chmod 755 $out/bin/gwt-compile
cat > $out/bin/gwt-shell <<EOF
#!/bin/sh
export LD_LIBRARY_PATH=$libPath
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
$jdk/bin/java -Xmx256m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell \$@
EOF
chmod 755 $out/bin/gwt-shell

View file

@ -1,14 +0,0 @@
{stdenv, fetchurl, glib, gtk, pango, atk, libX11, libXt, libstdcpp5, jdk}:
stdenv.mkDerivation {
name = "gwt-linux-1.7.1";
builder = ./builder.sh;
src = fetchurl {
url = http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.1.tar.bz2;
sha256 = "0lgirr9lr0qsfvw61hqzracdllqklb4qkzbk5x3lc4r64mms5b3g";
};
inherit glib gtk pango atk libX11 libXt libstdcpp5 jdk;
buildInputs = [glib gtk pango atk libX11 libXt libstdcpp5];
}

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, libtool, gcc, patches ? []}:
{ stdenv, fetchurl, libtool, gcc, patches ? []}:
stdenv.mkDerivation {
name = "opencxx-2.8";

View file

@ -2425,9 +2425,6 @@ let
gprolog = callPackage ../development/compilers/gprolog { };
gwt = callPackage ../development/compilers/gwt {
libstdcpp5 = gcc33.gcc;
};
gwt240 = callPackage ../development/compilers/gwt/2.4.0.nix { };
ikarus = callPackage ../development/compilers/ikarus { };

View file

@ -584,7 +584,6 @@ in
gv = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
gwenhywfar = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
gwrap = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
gwt = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
gxneur = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
hadoop = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
harfbuzz = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };