2005-02-27 00:45:19 +01:00
|
|
|
# todo audiofile is also part of the gnome platform. Move it to this collection?
|
|
|
|
|
|
|
|
{ stdenv, fetchurl, pkgconfig, audiofile
|
2005-06-17 15:52:24 +02:00
|
|
|
, flex, bison, popt, perl, zlib, libxml2, libxslt
|
2007-10-18 23:08:47 +02:00
|
|
|
, perlXMLParser, docbook_xml_dtd_42, docbook_xml_dtd_412
|
|
|
|
, gettext, x11, libtiff, libjpeg
|
2007-03-05 00:37:34 +01:00
|
|
|
, libpng, gtkLibs, xlibs, bzip2, libcm, python, dbus_glib, ncurses
|
2007-03-05 19:52:31 +01:00
|
|
|
, which, libxml2Python, iconnamingutils
|
2004-04-05 15:34:13 +02:00
|
|
|
}:
|
|
|
|
|
2007-03-04 22:28:24 +01:00
|
|
|
assert dbus_glib.glib == gtkLibs.glib;
|
|
|
|
|
|
|
|
let gnome =
|
|
|
|
|
2004-04-05 15:34:13 +02:00
|
|
|
rec {
|
|
|
|
|
2005-02-27 00:45:19 +01:00
|
|
|
# Platform
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
platform = import ./src-gnome-platform-2.16.3.nix {
|
2005-06-17 15:52:24 +02:00
|
|
|
inherit fetchurl;
|
2005-02-27 00:45:19 +01:00
|
|
|
};
|
|
|
|
|
2005-02-27 03:08:17 +01:00
|
|
|
glib = gtkLibs.glib;
|
2005-02-27 00:45:19 +01:00
|
|
|
|
2005-02-27 03:08:17 +01:00
|
|
|
atk = gtkLibs.atk;
|
2005-02-27 00:45:19 +01:00
|
|
|
|
2005-02-27 03:08:17 +01:00
|
|
|
pango = gtkLibs.pango;
|
2005-02-27 00:45:19 +01:00
|
|
|
|
2005-02-27 03:08:17 +01:00
|
|
|
gtk = gtkLibs.gtk;
|
2004-04-05 15:34:13 +02:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
esound = import ./esound.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv audiofile;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.esound;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libIDL = import ./libIDL.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libIDL;
|
2004-04-05 15:34:13 +02:00
|
|
|
lex = flex;
|
|
|
|
yacc = bison;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
ORBit2 = import ./ORBit2.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig glib libIDL popt;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.ORBit2;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
GConf = import ./GConf.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig perl glib gtk libxml2 ORBit2 popt;
|
2005-06-17 15:52:24 +02:00
|
|
|
input = platform.GConf;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomemimedata = import ./gnome-mime-data.nix {
|
2007-03-01 01:40:27 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.gnomemimedata;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomevfs = import ./gnome-vfs.nix {
|
2007-03-04 22:28:24 +01:00
|
|
|
inherit fetchurl stdenv gnome pkgconfig perl libxml2 popt
|
|
|
|
perlXMLParser gettext bzip2 dbus_glib;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.gnomevfs;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gail = import ./gail.nix {
|
2005-02-27 00:45:19 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit gtk atk libgnomecanvas;
|
|
|
|
input = platform.gail;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libgnome = import ./libgnome.nix {
|
2007-03-04 22:28:24 +01:00
|
|
|
inherit fetchurl stdenv gnome pkgconfig perl perlXMLParser
|
|
|
|
popt zlib esound gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libgnome;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libart_lgpl = import ./libart_lgpl.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libart_lgpl;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libglade = import ./libglade.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig gtk libxml2;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libglade;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libgnomecanvas = import ./libgnomecanvas.nix {
|
2004-04-05 15:34:13 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig gtk libglade;
|
|
|
|
libart = libart_lgpl;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libbonobo = import ./libbonobo.nix {
|
2007-03-01 01:40:27 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser ORBit2 libxml2 popt flex gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
yacc = bison;
|
|
|
|
input = platform.libbonobo;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libbonoboui = import ./libbonoboui.nix {
|
2005-02-27 00:45:19 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 libglade
|
2005-02-27 03:08:17 +01:00
|
|
|
libgnome libgnomecanvas gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libbonoboui;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libgnomeui = import ./libgnomeui.nix {
|
2007-03-04 22:28:24 +01:00
|
|
|
inherit fetchurl stdenv gnome pkgconfig perl perlXMLParser
|
|
|
|
libjpeg esound gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = platform.libgnomeui;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
intltool = import ./intltool.nix {
|
2005-03-08 19:51:37 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser;
|
|
|
|
input = platform.intltool;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-02-27 00:45:19 +01:00
|
|
|
# Desktop
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
desktop = import ./src-gnome-desktop-2.16.3.nix {
|
2005-06-17 15:52:24 +02:00
|
|
|
inherit fetchurl;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libgnomeprint = import ./libgnomeprint.nix {
|
2006-08-12 02:15:31 +02:00
|
|
|
inherit fetchurl stdenv libxml2 perl perlXMLParser pkgconfig popt
|
|
|
|
bison flex;
|
2006-08-12 02:01:37 +02:00
|
|
|
inherit glib pango;
|
|
|
|
libart = libart_lgpl;
|
|
|
|
input = desktop.libgnomeprint;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libgnomeprintui = import ./libgnomeprintui.nix {
|
2006-08-12 02:01:37 +02:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig;
|
|
|
|
inherit gtk libgnomeprint libgnomecanvas gnomeicontheme;
|
|
|
|
input = desktop.libgnomeprintui;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gtkhtml = import ./gtkhtml.nix {
|
2005-06-18 11:57:09 +02:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libjpeg gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
inherit gtk atk gail libgnomeprint libgnomeprintui libgnomeui libglade gnomeicontheme;
|
|
|
|
input = desktop.gtkhtml;
|
|
|
|
};
|
|
|
|
|
2006-08-12 02:01:37 +02:00
|
|
|
libgtkhtml = gtkhtml;
|
2005-02-27 00:45:19 +01:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomeicontheme = import ./gnome-icon-theme.nix {
|
2007-03-05 19:52:31 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser
|
|
|
|
iconnamingutils gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = desktop.gnomeicontheme;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomekeyring = import ./gnome-keyring.nix {
|
2007-03-01 01:40:27 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig glib gtk perl perlXMLParser gettext;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = desktop.gnomekeyring;
|
|
|
|
};
|
2005-03-08 16:44:23 +01:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gtksourceview = import ./gtksourceview.nix {
|
2005-03-08 16:44:23 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser gtk libxml2
|
|
|
|
libgnomeprint gnomevfs libbonobo /* !!! <- should be propagated in gnomevfs */
|
2005-06-17 15:52:24 +02:00
|
|
|
GConf /* idem */ libgnomeprintui libgnomecanvas /* !!! through printui */;
|
2005-03-08 16:44:23 +01:00
|
|
|
input = desktop.gtksourceview;
|
|
|
|
};
|
2005-03-08 19:51:37 +01:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
scrollkeeper = import ./scrollkeeper.nix {
|
2005-03-08 19:51:37 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser
|
|
|
|
libxml2 libxslt docbook_xml_dtd_42;
|
|
|
|
input = desktop.scrollkeeper;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomedesktop = import ./gnome-desktop.nix {
|
2007-03-05 09:56:56 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig gnome perl perlXMLParser
|
|
|
|
libjpeg gettext which python libxml2Python libxslt;
|
2005-03-08 19:51:37 +01:00
|
|
|
input = desktop.gnomedesktop;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libwnck = import ./libwnck.nix {
|
2007-02-27 04:30:20 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig gtk perl perlXMLParser gettext;
|
2005-03-08 19:51:37 +01:00
|
|
|
input = desktop.libwnck;
|
|
|
|
};
|
|
|
|
|
2007-03-05 19:52:31 +01:00
|
|
|
gnomemenus = import ./gnome-menus.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gnome perl perlXMLParser
|
|
|
|
python gettext;
|
|
|
|
input = desktop.gnomemenus;
|
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gnomepanel = import ./gnome-panel.nix {
|
2007-03-05 19:52:31 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig gnome perl perlXMLParser libjpeg
|
|
|
|
libpng dbus_glib gettext libxslt;
|
|
|
|
inherit (xlibs) libXmu libXau;
|
2005-03-08 19:51:37 +01:00
|
|
|
input = desktop.gnomepanel;
|
|
|
|
};
|
2006-08-12 02:01:37 +02:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libsoup = import ./libsoup.nix {
|
2006-08-12 02:01:37 +02:00
|
|
|
inherit stdenv fetchurl pkgconfig libxml2 glib;
|
|
|
|
input = desktop.libsoup;
|
|
|
|
};
|
2005-03-08 19:51:37 +01:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
startupnotification = import ./startup-notification.nix {
|
2007-02-27 03:52:28 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig x11;
|
|
|
|
input = desktop.startupnotification;
|
|
|
|
};
|
2007-02-28 18:30:50 +01:00
|
|
|
|
|
|
|
metacity = import ./metacity.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser glib gtk
|
2007-02-28 18:52:41 +01:00
|
|
|
GConf startupnotification gettext libcm;
|
|
|
|
inherit (xlibs) libXinerama libXrandr libXcursor
|
|
|
|
libXcomposite libXfixes libXdamage;
|
|
|
|
enableCompositor = true;
|
2007-02-28 18:30:50 +01:00
|
|
|
input = desktop.metacity;
|
|
|
|
};
|
2007-03-04 22:28:24 +01:00
|
|
|
|
|
|
|
gnomedocutils = import ./gnome-doc-utils.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser python
|
|
|
|
libxml2 libxslt gettext;
|
|
|
|
input = desktop.gnomedocutils;
|
|
|
|
};
|
|
|
|
|
|
|
|
gconfeditor = import ./gconf-editor.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig gnome perl perlXMLParser
|
|
|
|
gettext libxslt;
|
|
|
|
input = desktop.gconfeditor;
|
|
|
|
};
|
2007-03-05 00:37:34 +01:00
|
|
|
|
|
|
|
vte = import ./vte.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig gnome perl perlXMLParser ncurses
|
|
|
|
python gettext;
|
|
|
|
input = desktop.vte;
|
|
|
|
};
|
|
|
|
|
|
|
|
gnometerminal = import ./gnome-terminal.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig gnome perl perlXMLParser
|
|
|
|
gettext which python libxml2Python libxslt;
|
|
|
|
input = desktop.gnometerminal;
|
|
|
|
};
|
2007-03-05 19:52:31 +01:00
|
|
|
|
|
|
|
libgtop = import ./libgtop.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig gnome perl perlXMLParser
|
|
|
|
popt gettext;
|
|
|
|
input = desktop.libgtop;
|
|
|
|
};
|
|
|
|
|
|
|
|
gnomeutils = import ./gnome-utils.nix {
|
|
|
|
inherit stdenv fetchurl pkgconfig gnome perl perlXMLParser
|
|
|
|
gettext libxslt /* which python libxml2Python libxslt */;
|
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
input = desktop.gnomeutils;
|
|
|
|
};
|
2007-02-27 03:52:28 +01:00
|
|
|
|
2007-03-04 22:28:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
in gnome
|
|
|
|
|