2008-02-02 21:43:11 +01:00
|
|
|
args: with args;
|
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
|
|
|
|
|
2009-03-23 21:47:40 +01:00
|
|
|
platform = import ./src-gnome-platform-2.26.0.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
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
audiofile = stdenv.mkDerivation {
|
|
|
|
inherit (platform.audiofile) name src;
|
|
|
|
};
|
|
|
|
|
|
|
|
esound = stdenv.mkDerivation {
|
|
|
|
inherit (platform.esound) name src;
|
|
|
|
propagatedBuildInputs = [pkgconfig audiofile];
|
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
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
GConf = stdenv.mkDerivation {
|
|
|
|
inherit (platform.GConf) name src;
|
2009-03-23 23:26:15 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl glib gtk libxml2
|
|
|
|
dbus dbus_glib
|
|
|
|
popt gettext perlXMLParser intltool
|
|
|
|
];
|
2008-05-20 16:25:09 +02:00
|
|
|
propagatedBuildInputs = [ORBit2];
|
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
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
gnomevfs = stdenv.mkDerivation {
|
|
|
|
inherit (platform.gnomevfs) name src;
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl glib libxml2 libbonobo
|
2009-03-24 00:02:27 +01:00
|
|
|
gnomemimedata popt perlXMLParser gettext intltool bzip2
|
2008-05-20 16:25:09 +02:00
|
|
|
dbus_glib hal openssl samba fam
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [GConf];
|
|
|
|
patches = [./no-kerberos.patch];
|
2005-02-27 00:45:19 +01:00
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
gail = stdenv.mkDerivation {
|
2009-03-23 22:48:53 +01: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 16:25:09 +02:00
|
|
|
buildInputs = [pkgconfig atk gtk];
|
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
|
2009-03-23 23:55:03 +01:00
|
|
|
popt zlib esound gettext intltool;
|
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
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
libgnomecanvas = stdenv.mkDerivation {
|
|
|
|
inherit (platform.libgnomecanvas) name src;
|
2009-03-23 23:26:15 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig libglade perl perlXMLParser gail
|
|
|
|
gettext intltool
|
|
|
|
];
|
2008-05-20 16:25:09 +02:00
|
|
|
propagatedBuildInputs = [gtk libart_lgpl];
|
2005-02-27 00:45:19 +01:00
|
|
|
};
|
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
libbonobo = import ./libbonobo.nix {
|
2009-03-23 23:55:03 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser ORBit2
|
|
|
|
dbus dbus_glib libxml2 popt flex
|
|
|
|
gettext intltool;
|
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
|
2009-03-24 09:47:50 +01:00
|
|
|
libgnome libgnomecanvas gettext intltool;
|
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
|
2009-03-23 23:26:15 +01:00
|
|
|
libjpeg esound gettext intltool;
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-02-27 00:45:19 +01:00
|
|
|
# Desktop
|
|
|
|
|
2009-03-24 09:49:02 +01:00
|
|
|
desktop = import ./src-gnome-desktop-2.26.0.nix {
|
2005-06-17 15:52:24 +02:00
|
|
|
inherit fetchurl;
|
2004-04-05 15:34:13 +02:00
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02: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 02:01:37 +02:00
|
|
|
};
|
|
|
|
|
2008-05-21 13:07:20 +02:00
|
|
|
libgnomeprintui = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.libgnomeprintui) name src;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl perlXMLParser pkgconfig gtk libgnomecanvas gnomeicontheme
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libgnomeprint
|
|
|
|
];
|
2006-08-12 02:01:37 +02:00
|
|
|
};
|
|
|
|
|
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;
|
2008-12-02 13:27:17 +01:00
|
|
|
inherit (args) intltool;
|
2005-02-27 00:45:19 +01:00
|
|
|
input = desktop.gnomeicontheme;
|
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02:00
|
|
|
gnomekeyring = stdenv.mkDerivation {
|
|
|
|
inherit (desktop.gnomekeyring) name src;
|
2009-03-25 10:40:41 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig gtk glib perl perlXMLParser gettext intltool
|
2009-03-25 21:36:21 +01:00
|
|
|
GConf libgcrypt libtasn1 dbus dbus_glib python
|
2009-03-25 10:40:41 +01:00
|
|
|
];
|
2008-05-20 16:25:09 +02:00
|
|
|
CFLAGS = "-DENABLE_NLS=0";
|
2005-02-27 00:45:19 +01:00
|
|
|
};
|
2005-03-08 16:44:23 +01:00
|
|
|
|
2007-02-28 18:30:50 +01:00
|
|
|
gtksourceview = import ./gtksourceview.nix {
|
2008-01-15 15:32:10 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser gtk libxml2 gettext
|
2005-03-08 16:44:23 +01:00
|
|
|
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;
|
2008-05-20 16:25:09 +02: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 19:51:37 +01:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02: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 19:51:37 +01:00
|
|
|
};
|
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;
|
2008-05-20 16:25:09 +02: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 03:52:28 +01:00
|
|
|
};
|
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
|
2007-11-16 22:05:15 +01:00
|
|
|
libxml2 libxslt gettext libxml2Python;
|
2007-03-04 22:28:24 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-05-20 16:25:09 +02: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-05 00:37:34 +01:00
|
|
|
};
|
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;
|
|
|
|
};
|
2008-10-26 09:39:38 +01:00
|
|
|
|
|
|
|
gtkdoc = import ./gtkdoc.nix {
|
|
|
|
inherit (platform) gtkdoc;
|
|
|
|
inherit stdenv args;
|
|
|
|
};
|
2007-02-27 03:52:28 +01:00
|
|
|
|
2007-03-04 22:28:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
in gnome
|
|
|
|
|