* Remove trivial builders.

* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
This commit is contained in:
Eelco Dolstra
2004-03-29 17:23:01 +00:00
parent bc71554fc8
commit 12ae5363ea
297 changed files with 259 additions and 807 deletions

2
pkgs/development/libraries/gnome/GConf/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $glib $gtk $libxml2 $ORBit2 $popt"
. $stdenv/setup

View File

@@ -4,15 +4,13 @@ assert pkgconfig != null && perl != null
&& glib != null && gtk != null
&& libxml2 != null && ORBit2 != null && popt != null;
derivation {
stdenv.mkDerivation {
name = "GConf-2.4.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/GConf-2.4.0.1.tar.bz2;
md5 = "2f7548d0bad24d7c4beba54d0ec98a20";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl; # Perl is not `supposed' to be required, but it is.
glib = glib;

2
pkgs/development/libraries/gnome/ORBit2/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $glib $libIDL $popt"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && glib != null && libIDL != null
&& popt != null;
derivation {
stdenv.mkDerivation {
name = "ORBit2-2.8.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.8/ORBit2-2.8.3.tar.bz2;
md5 = "c6c4b63de2f70310e33a52a37257ddaf";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
libIDL = libIDL;

2
pkgs/development/libraries/gnome/esound/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$audiofile"
. $stdenv/setup

View File

@@ -2,14 +2,12 @@
assert audiofile != null;
derivation {
stdenv.mkDerivation {
name = "esound-0.2.32";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/esound-0.2.32.tar.bz2;
md5 = "b2a5e71ec8220fea1c22cc042f5f6e63";
};
stdenv = stdenv;
audiofile = audiofile;
}

View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $perl"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && perl != null;
derivation {
stdenv.mkDerivation {
name = "gnome-mime-data-2.4.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/gnome-mime-data-2.4.0.tar.bz2;
md5 = "b8f1b383a23d734bec8bc33a03cb3690";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
}

2
pkgs/development/libraries/gnome/gnome-vfs/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $perl $glib $libxml2 $GConf $libbonobo \
$gnomemimedata $popt $bzip2"
. $stdenv/setup || exit 1

View File

@@ -5,15 +5,13 @@ assert pkgconfig != null && perl != null && glib != null
&& libxml2 != null && GConf != null && libbonobo != null
&& gnomemimedata != null && bzip2 != null;
derivation {
stdenv.mkDerivation {
name = "gnome-vfs-2.4.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.4/gnome-vfs-2.4.1.tar.bz2;
md5 = "cb7a36076f6a65e40c7f540be3057310";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
glib = glib;

2
pkgs/development/libraries/gnome/libIDL/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $glib $lex $yacc"
. $stdenv/setup || exit 1

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && glib != null && lex != null && yacc != null;
derivation {
stdenv.mkDerivation {
name = "libIDL-0.8.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.2.tar.bz2;
md5 = "a75d2dbf3a3c66b567047c94245f8b82";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
glib = glib;
lex = lex;

View File

@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs=""
. $stdenv/setup || exit 1

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "libart_lgpl-2.3.16";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libart_lgpl-2.3.16.tar.bz2;
md5 = "6bb13292b00649d01400a5b29a6c87cb";
};
stdenv = stdenv;
}

2
pkgs/development/libraries/gnome/libbonobo/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $ORBit2 $libxml2 $popt $yacc $flex"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && perl != null && ORBit2 != null
&& libxml2 != null && popt != null && yacc != null && flex != null;
derivation {
stdenv.mkDerivation {
name = "libbonobo-2.4.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libbonobo/2.4/libbonobo-2.4.2.tar.bz2;
md5 = "78200cc6ed588c93f0d29177a5f3e003";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
ORBit2 = ORBit2;

View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $libxml2 $libglade $libgnome \
$libgnomecanvas"
. $stdenv/setup

View File

@@ -4,15 +4,13 @@
assert pkgconfig != null && perl != null && libxml2 != null
&& libglade != null && libgnome != null && libgnomecanvas != null;
derivation {
stdenv.mkDerivation {
name = "libbonoboui-2.4.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libbonoboui-2.4.1.tar.bz2;
md5 = "943a2d0e9fc7b9f0e97ba869de0c5f2a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
libxml2 = libxml2;

2
pkgs/development/libraries/gnome/libglade/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $gtk $libxml2"
. $stdenv/setup

View File

@@ -2,15 +2,13 @@
assert pkgconfig != null && gtk != null && libxml2 != null;
derivation {
stdenv.mkDerivation {
name = "libglade-2.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libglade-2.0.1.tar.bz2;
md5 = "4d93f6b01510013ae429e91af432cfe2";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libxml2 = libxml2;

2
pkgs/development/libraries/gnome/libgnome/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $perl $glib $gnomevfs $libbonobo $GConf \
$popt $zlib"
. $stdenv/setup

View File

@@ -10,15 +10,13 @@ assert pkgconfig != null && perl != null && glib != null
# "WARNING: failed to install schema `/schemas/desktop/gnome/url-handlers/https/need-terminal' locale `is': Failed:
# Failed to create file `/nix/store/14d4fc76451786eba9dea087d56dc719-GConf-2.4.0/etc/gconf/gconf.xml.defaults/%gconf.xml': Permission denied"
derivation {
stdenv.mkDerivation {
name = "libgnome-2.0.6";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/gnome/sources/libgnome/2.4/libgnome-2.4.0.tar.bz2;
md5 = "caec1e12d64b98a2925a4317ac16429f";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
perl = perl;
glib = glib;

View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $gtk $libart $libglade"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && gtk != null && libart != null
&& libglade != null;
derivation {
stdenv.mkDerivation {
name = "libgnomecanvas-2.4.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libgnomecanvas-2.4.0.tar.bz2;
md5 = "c212a7cac06b7f9e68ed2de38df6e54d";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libart = libart;

2
pkgs/development/libraries/gnome/libgnomeui/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh -e
buildinputs="$pkgconfig $libgnome $libgnomecanvas $libbonoboui $libglade"
. $stdenv/setup

View File

@@ -3,15 +3,13 @@
assert pkgconfig != null && libgnome != null && libgnomecanvas != null
&& libbonoboui != null && libglade != null;
derivation {
stdenv.mkDerivation {
name = "libgnomeui-2.4.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/libgnomeui-2.4.0.1.tar.bz2;
md5 = "196f4a3f1f4a531ff57acaa879e98dd2";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
libgnome = libgnome;
libgnomecanvas = libgnomecanvas;