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