* Factor groups of strongly related packages out of

`all-packages-generic.nix'.

svn path=/nixpkgs/trunk/; revision=913
This commit is contained in:
Eelco Dolstra
2004-04-05 13:34:13 +00:00
parent b874f68d80
commit 0233bc614d
5 changed files with 216 additions and 164 deletions

View File

@@ -0,0 +1,73 @@
{stdenv, fetchurl, pkgconfig, freetype, expat}:
rec {
xproto = (import ./xproto) {
inherit fetchurl stdenv;
};
xextensions = (import ./xextensions) {
inherit fetchurl stdenv;
};
libXtrans = (import ./libXtrans) {
inherit fetchurl stdenv;
};
libXau = (import ./libXau) {
inherit fetchurl stdenv pkgconfig xproto;
};
libX11 = (import ./libX11) {
inherit fetchurl stdenv pkgconfig xproto xextensions libXtrans libXau;
};
libXext = (import ./libXext) {
inherit fetchurl stdenv pkgconfig xproto xextensions libX11;
};
libICE = (import ./libICE) {
inherit fetchurl stdenv pkgconfig libX11;
};
libSM = (import ./libSM) {
inherit fetchurl stdenv pkgconfig libX11 libICE;
};
libXt = (import ./libXt) {
inherit fetchurl stdenv pkgconfig libX11 libSM;
};
renderext = (import ./renderext) {
inherit fetchurl stdenv;
};
libXrender = (import ./libXrender) {
inherit fetchurl stdenv pkgconfig libX11 renderext;
};
fontconfig = (import ./fontconfig) {
inherit fetchurl stdenv freetype expat;
};
libXft = (import ./libXft) {
inherit fetchurl stdenv pkgconfig libX11 libXrender freetype fontconfig;
};
libXmu = (import ./libXmu) {
inherit fetchurl stdenv pkgconfig xproto libX11 libXt;
};
libXpm = (import ./libXpm) {
inherit fetchurl stdenv pkgconfig xproto libX11;
};
libXaw = (import ./libXaw) {
inherit fetchurl stdenv pkgconfig xproto libX11 libXt libXmu libXpm;
};
xlibs = (import ./xlibs) {
inherit stdenv libX11 libXt freetype fontconfig libXft libXext;
};
}

View File

@@ -0,0 +1,71 @@
{ stdenv, fetchurl, pkgconfig, audiofile, gtkLibs
, flex, bison, popt, perl, zlib, libxml2, bzip2
}:
rec {
glib = gtkLibs.glib;
gtk = gtkLibs.gtk;
esound = (import ./esound) {
inherit fetchurl stdenv audiofile;
};
libIDL = (import ./libIDL) {
inherit fetchurl stdenv pkgconfig glib;
lex = flex;
yacc = bison;
};
ORBit2 = (import ./ORBit2) {
inherit fetchurl stdenv pkgconfig glib libIDL popt;
};
GConf = (import ./GConf) {
inherit fetchurl stdenv pkgconfig perl glib gtk libxml2 ORBit2 popt;
};
libbonobo = (import ./libbonobo) {
inherit fetchurl stdenv pkgconfig perl ORBit2 libxml2 popt flex;
yacc = bison;
};
gnomemimedata = (import ./gnome-mime-data) {
inherit fetchurl stdenv pkgconfig perl;
};
gnomevfs = (import ./gnome-vfs) {
inherit fetchurl stdenv pkgconfig perl glib libxml2 GConf
libbonobo gnomemimedata popt bzip2;
# !!! use stdenv.bzip2
};
libgnome = (import ./libgnome) {
inherit fetchurl stdenv pkgconfig perl glib gnomevfs
libbonobo GConf popt zlib;
};
libart_lgpl = (import ./libart_lgpl) {
inherit fetchurl stdenv;
};
libglade = (import ./libglade) {
inherit fetchurl stdenv pkgconfig gtk libxml2;
};
libgnomecanvas = (import ./libgnomecanvas) {
inherit fetchurl stdenv pkgconfig gtk libglade;
libart = libart_lgpl;
};
libbonoboui = (import ./libbonoboui) {
inherit fetchurl stdenv pkgconfig perl libxml2 libglade
libgnome libgnomecanvas;
};
libgnomeui = (import ./libgnomeui) {
inherit fetchurl stdenv pkgconfig libgnome libgnomecanvas
libbonoboui libglade;
};
}

View File

@@ -0,0 +1,17 @@
{stdenv, fetchurl, x11, libtiff, libjpeg, libpng}:
rec {
glib = (import ./glib) {
inherit fetchurl stdenv;
};
gtk = (import ./gtk+) {
inherit fetchurl stdenv x11 glib;
};
gdkpixbuf = (import ./gdk-pixbuf) {
inherit fetchurl stdenv gtk libtiff libjpeg libpng;
};
}

View File

@@ -0,0 +1,23 @@
{ stdenv, fetchurl, pkgconfig, gettext, perl, x11
, libtiff, libjpeg, libpng}:
rec {
glib = (import ./glib) {
inherit fetchurl stdenv pkgconfig gettext perl;
};
atk = (import ./atk) {
inherit fetchurl stdenv pkgconfig glib perl;
};
pango = (import ./pango) {
inherit fetchurl stdenv pkgconfig glib x11;
};
gtk = (import ./gtk+) {
inherit fetchurl stdenv pkgconfig glib atk pango perl
libtiff libjpeg libpng x11;
};
}