2008-02-02 20:43:11 +00:00
|
|
|
args: with args;
|
2004-04-05 13:34:13 +00:00
|
|
|
|
2007-03-04 21:28:24 +00:00
|
|
|
assert dbus_glib.glib == gtkLibs.glib;
|
|
|
|
|
|
|
|
let gnome =
|
|
|
|
|
2004-04-05 13:34:13 +00:00
|
|
|
rec {
|
|
|
|
|
2005-02-26 23:45:19 +00:00
|
|
|
# Platform
|
|
|
|
|
2009-03-23 20:47:40 +00:00
|
|
|
platform = import ./src-gnome-platform-2.26.0.nix {
|
2005-06-17 13:52:24 +00: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 13:34:13 +00:00
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
audiofile = stdenv.mkDerivation {
|
|
|
|
inherit (platform.audiofile) name src;
|
|
|
|
};
|
|
|
|
|
|
|
|
esound = stdenv.mkDerivation {
|
|
|
|
inherit (platform.esound) name src;
|
|
|
|
propagatedBuildInputs = [pkgconfig audiofile];
|
2004-04-05 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
libIDL = import ./libIDL.nix {
|
2004-04-05 13:34:13 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = platform.libIDL;
|
2004-04-05 13:34:13 +00:00
|
|
|
lex = flex;
|
|
|
|
yacc = bison;
|
|
|
|
};
|
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
ORBit2 = import ./ORBit2.nix {
|
2004-04-05 13:34:13 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig glib libIDL popt;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = platform.ORBit2;
|
2004-04-05 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
GConf = stdenv.mkDerivation {
|
|
|
|
inherit (platform.GConf) name src;
|
2009-03-23 22:26:15 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl glib gtk libxml2
|
|
|
|
dbus dbus_glib
|
|
|
|
popt gettext perlXMLParser intltool
|
|
|
|
];
|
2008-05-20 14:25:09 +00:00
|
|
|
propagatedBuildInputs = [ORBit2];
|
2004-04-05 13:34:13 +00: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 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
gnomevfs = stdenv.mkDerivation {
|
|
|
|
inherit (platform.gnomevfs) name src;
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl glib libxml2 libbonobo
|
2009-03-23 23:02:27 +00:00
|
|
|
gnomemimedata popt perlXMLParser gettext intltool bzip2
|
2008-05-20 14:25:09 +00:00
|
|
|
dbus_glib hal openssl samba fam
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [GConf];
|
|
|
|
patches = [./no-kerberos.patch];
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
gail = stdenv.mkDerivation {
|
2009-03-23 21:48:53 +00:00
|
|
|
name = "gail-1.22.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/gail/1.22/gail-1.22.3.tar.bz2";
|
|
|
|
sha256 = "1s4s0ndjh42i8x2mchz0xm3qcp942vkmz0jsq7ig1d3y4wlk1w03";
|
|
|
|
};
|
2008-05-20 14:25:09 +00:00
|
|
|
buildInputs = [pkgconfig atk gtk];
|
2004-04-05 13:34:13 +00: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
|
2009-03-23 22:55:03 +00:00
|
|
|
popt zlib esound gettext intltool;
|
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 13:34:13 +00:00
|
|
|
inherit fetchurl stdenv;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = platform.libart_lgpl;
|
2004-04-05 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
libglade = import ./libglade.nix {
|
2004-04-05 13:34:13 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gtk libxml2;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = platform.libglade;
|
2004-04-05 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
libgnomecanvas = stdenv.mkDerivation {
|
|
|
|
inherit (platform.libgnomecanvas) name src;
|
2009-03-23 22:26:15 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig libglade perl perlXMLParser gail
|
|
|
|
gettext intltool
|
|
|
|
];
|
2008-05-20 14:25:09 +00:00
|
|
|
propagatedBuildInputs = [gtk libart_lgpl];
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
libbonobo = import ./libbonobo.nix {
|
2009-03-23 22:55:03 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser ORBit2
|
|
|
|
dbus dbus_glib libxml2 popt flex
|
|
|
|
gettext intltool;
|
2005-02-26 23:45:19 +00:00
|
|
|
yacc = bison;
|
|
|
|
input = platform.libbonobo;
|
2004-04-05 13:34:13 +00: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
|
2009-03-24 08:47:50 +00:00
|
|
|
libgnome libgnomecanvas gettext intltool;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = platform.libbonoboui;
|
2004-04-05 13:34:13 +00: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
|
2009-03-23 22:26:15 +00:00
|
|
|
libjpeg esound gettext intltool;
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-02-26 23:45:19 +00:00
|
|
|
# Desktop
|
|
|
|
|
2009-03-24 08:49:02 +00:00
|
|
|
desktop = import ./src-gnome-desktop-2.26.0.nix {
|
2005-06-17 13:52:24 +00:00
|
|
|
inherit fetchurl;
|
2004-04-05 13:34:13 +00:00
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
libgnomeprint = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.libgnomeprint) name src;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl perlXMLParser pkgconfig popt libxml2
|
|
|
|
glib pango bison flex gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [libxml2 libart_lgpl];
|
2006-08-12 00:01:37 +00:00
|
|
|
};
|
|
|
|
|
2008-05-21 11:07:20 +00:00
|
|
|
libgnomeprintui = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.libgnomeprintui) name src;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl perlXMLParser pkgconfig gtk libgnomecanvas gnomeicontheme
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libgnomeprint
|
|
|
|
];
|
2006-08-12 00:01:37 +00:00
|
|
|
};
|
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
gtkhtml = import ./gtkhtml.nix {
|
2005-06-18 09:57:09 +00: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 00:01:37 +00: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 {
|
2007-03-05 18:52:31 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser
|
|
|
|
iconnamingutils gettext;
|
2008-12-02 12:27:17 +00:00
|
|
|
inherit (args) intltool;
|
2005-02-26 23:45:19 +00:00
|
|
|
input = desktop.gnomeicontheme;
|
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
gnomekeyring = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.gnomekeyring) name src;
|
|
|
|
buildInputs = [pkgconfig gtk glib perl perlXMLParser gettext GConf libgcrypt libtasn1];
|
|
|
|
CFLAGS = "-DENABLE_NLS=0";
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
2005-03-08 15:44:23 +00:00
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
gtksourceview = import ./gtksourceview.nix {
|
2008-01-15 14:32:10 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser gtk libxml2 gettext
|
2005-03-08 15:44:23 +00:00
|
|
|
libgnomeprint gnomevfs libbonobo /* !!! <- should be propagated in gnomevfs */
|
2005-06-17 13:52:24 +00: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;
|
2008-05-20 14:25:09 +00:00
|
|
|
# Scrollkeeper has disappeared from recent Gnome releases, but
|
|
|
|
# it's still being used.
|
|
|
|
input = {
|
|
|
|
name = "scrollkeeper-0.3.14";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.16/2.16.3/sources/scrollkeeper-0.3.14.tar.bz2;
|
|
|
|
md5 = "b175e582a6cec3e50a9de73a5bb7455a";
|
|
|
|
};
|
|
|
|
};
|
2005-03-08 18:51:37 +00:00
|
|
|
};
|
|
|
|
|
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-03-05 18:52:31 +00:00
|
|
|
gnomemenus = import ./gnome-menus.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gnome perl perlXMLParser
|
|
|
|
python gettext;
|
|
|
|
input = desktop.gnomemenus;
|
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
librsvg = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.librsvg) name src;
|
|
|
|
buildInputs = [libxml2 libart_lgpl pkgconfig glib pkgconfig pango gtk];
|
|
|
|
};
|
|
|
|
|
|
|
|
libgweather = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.libgweather) name src;
|
|
|
|
buildInputs = [gettext perl perlXMLParser pkgconfig gtk libxml2 gnomevfs];
|
|
|
|
};
|
|
|
|
|
|
|
|
gnomepanel = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.gnomepanel) name src;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl perlXMLParser gtk glib ORBit2 libgnome libgnomeui
|
|
|
|
gnomedesktop libglade libwnck libjpeg libpng scrollkeeper
|
|
|
|
xlibs.libXmu xlibs.libXau dbus_glib gnomemenus gnomedocutils
|
|
|
|
gettext libxslt librsvg libgweather which
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2005-03-08 18:51:37 +00:00
|
|
|
};
|
2006-08-12 00:01:37 +00:00
|
|
|
|
2007-02-28 17:30:50 +00:00
|
|
|
libsoup = import ./libsoup.nix {
|
2006-08-12 00:01:37 +00: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;
|
2008-05-20 14:25:09 +00:00
|
|
|
# Strangely, startup-notificatio has disappeared from Gnome
|
|
|
|
# releases, but it's still used.
|
|
|
|
input = {
|
|
|
|
name = "startup-notification-0.8";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.16/2.16.3/sources/startup-notification-0.8.tar.bz2;
|
|
|
|
md5 = "d9b2e9fba18843314ae42334ceb4336d";
|
|
|
|
};
|
|
|
|
};
|
2007-02-27 02:52:28 +00:00
|
|
|
};
|
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
|
2007-11-16 21:05:15 +00:00
|
|
|
libxml2 libxslt gettext libxml2Python;
|
2007-03-04 21:28:24 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-05-20 14:25:09 +00:00
|
|
|
gnometerminal = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.gnometerminal) name src;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl perlXMLParser gtk GConf libglade
|
|
|
|
libgnomeui startupnotification gnomevfs vte
|
|
|
|
gnomedocutils gettext which scrollkeeper
|
|
|
|
python libxml2Python libxslt
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2007-03-04 23:37:34 +00:00
|
|
|
};
|
2007-03-05 18:52:31 +00: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;
|
|
|
|
};
|
2008-10-26 08:39:38 +00:00
|
|
|
|
|
|
|
gtkdoc = import ./gtkdoc.nix {
|
|
|
|
inherit (platform) gtkdoc;
|
|
|
|
inherit stdenv args;
|
|
|
|
};
|
2007-02-27 02:52:28 +00:00
|
|
|
|
2007-03-04 21:28:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
in gnome
|
|
|
|
|