* gconf-editor and various dependencies.

svn path=/nixpkgs/trunk/; revision=8171
This commit is contained in:
Eelco Dolstra 2007-03-04 21:28:24 +00:00
parent 69b62bf2d6
commit 295990ca07
11 changed files with 110 additions and 33 deletions

View File

@ -3,9 +3,13 @@
{ stdenv, fetchurl, pkgconfig, audiofile { stdenv, fetchurl, pkgconfig, audiofile
, flex, bison, popt, perl, zlib, libxml2, libxslt , flex, bison, popt, perl, zlib, libxml2, libxslt
, perlXMLParser, docbook_xml_dtd_42, gettext, x11, libtiff, libjpeg , perlXMLParser, docbook_xml_dtd_42, gettext, x11, libtiff, libjpeg
, libpng, gtkLibs, xlibs, bzip2, libcm , libpng, gtkLibs, xlibs, bzip2, libcm, python, dbus_glib
}: }:
assert dbus_glib.glib == gtkLibs.glib;
let gnome =
rec { rec {
# Platform # Platform
@ -50,8 +54,8 @@ rec {
}; };
gnomevfs = import ./gnome-vfs.nix { gnomevfs = import ./gnome-vfs.nix {
inherit fetchurl stdenv pkgconfig perl glib libxml2 GConf inherit fetchurl stdenv gnome pkgconfig perl libxml2 popt
libbonobo gnomemimedata popt perlXMLParser gettext bzip2; perlXMLParser gettext bzip2 dbus_glib;
input = platform.gnomevfs; input = platform.gnomevfs;
}; };
@ -62,8 +66,8 @@ rec {
}; };
libgnome = import ./libgnome.nix { libgnome = import ./libgnome.nix {
inherit fetchurl stdenv pkgconfig perl perlXMLParser glib gnomevfs inherit fetchurl stdenv gnome pkgconfig perl perlXMLParser
libbonobo GConf popt zlib esound; popt zlib esound gettext;
input = platform.libgnome; input = platform.libgnome;
}; };
@ -96,8 +100,8 @@ rec {
}; };
libgnomeui = import ./libgnomeui.nix { libgnomeui = import ./libgnomeui.nix {
inherit fetchurl stdenv pkgconfig libgnome libgnomecanvas inherit fetchurl stdenv gnome pkgconfig perl perlXMLParser
libbonoboui libglade libjpeg esound gnomekeyring; libjpeg esound gettext;
input = platform.libgnomeui; input = platform.libgnomeui;
}; };
@ -195,5 +199,20 @@ rec {
enableCompositor = true; enableCompositor = true;
input = desktop.metacity; input = desktop.metacity;
}; };
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;
};
} };
in gnome

View File

@ -0,0 +1,14 @@
{ input, stdenv, fetchurl, gnome, pkgconfig, perl, perlXMLParser
, gettext, libxslt
}:
stdenv.mkDerivation {
inherit (input) name src;
buildInputs = [
pkgconfig perl perlXMLParser gnome.GConf gnome.gnomedocutils
gnome.gtk gnome.libgnome gnome.libgnomeui gettext libxslt
];
configureFlags = "--disable-scrollkeeper";
}

View File

@ -0,0 +1,14 @@
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, python
, libxml2, libxslt, gettext
}:
stdenv.mkDerivation {
inherit (input) name src;
buildInputs = [
pkgconfig perl perlXMLParser python
libxml2 libxslt gettext
];
configureFlags = "--disable-scrollkeeper";
}

View File

@ -1,16 +1,14 @@
{ input, stdenv, fetchurl, pkgconfig, perl, glib, libxml2, GConf { input, stdenv, fetchurl, gnome, pkgconfig, perl, libxml2
, libbonobo, gnomemimedata, popt, perlXMLParser, gettext, bzip2 , popt, perlXMLParser, gettext, bzip2, dbus_glib
}: }:
assert pkgconfig != null && perl != null && glib != null
&& libxml2 != null && GConf != null && libbonobo != null
&& gnomemimedata != null;
stdenv.mkDerivation { stdenv.mkDerivation {
inherit (input) name src; inherit (input) name src;
buildInputs = [ buildInputs = [
pkgconfig perl glib libxml2 GConf libbonobo pkgconfig perl gnome.glib libxml2 gnome.GConf gnome.libbonobo
gnomemimedata popt perlXMLParser gettext bzip2 gnome.gnomemimedata popt perlXMLParser gettext bzip2
dbus_glib
]; ];
patches = [./no-kerberos.patch]; patches = [./no-kerberos.patch];
configureFlags = "--disable-hal";
} }

View File

@ -1,5 +1,5 @@
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, glib, gnomevfs, libbonobo { input, stdenv, fetchurl, gnome, pkgconfig, perl, perlXMLParser
, GConf, popt, zlib, esound , popt, zlib, esound, gettext
}: }:
# !!! TODO CHECK: # !!! TODO CHECK:
@ -9,6 +9,6 @@
stdenv.mkDerivation { stdenv.mkDerivation {
inherit (input) name src; inherit (input) name src;
buildInputs = [pkgconfig perl perlXMLParser popt zlib esound]; buildInputs = [pkgconfig perl perlXMLParser popt zlib esound gettext];
propagatedBuildInputs = [glib gnomevfs libbonobo GConf]; propagatedBuildInputs = [gnome.glib gnome.gnomevfs gnome.libbonobo gnome.GConf];
} }

View File

@ -1,11 +1,14 @@
{input, stdenv, fetchurl, pkgconfig, libgnome, libgnomecanvas, { input, stdenv, fetchurl, gnome, pkgconfig, perl, perlXMLParser
libbonoboui, libglade, esound, libjpeg, gnomekeyring}: , esound, libjpeg, gettext
}:
assert pkgconfig != null && libgnome != null && libgnomecanvas != null
&& libbonoboui != null && libglade != null;
stdenv.mkDerivation { stdenv.mkDerivation {
inherit (input) name src; inherit (input) name src;
buildInputs = [pkgconfig libglade esound libjpeg]; buildInputs = [
propagatedBuildInputs = [libgnome libgnomecanvas libbonoboui libjpeg gnomekeyring]; pkgconfig perl perlXMLParser gnome.libglade esound libjpeg gettext
];
propagatedBuildInputs = [
gnome.libgnome gnome.libgnomecanvas gnome.libbonoboui libjpeg
gnome.gnomekeyring
];
} }

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, pkgconfig, gettext, dbus, glib, expat}:
stdenv.mkDerivation {
name = "dbus-glib-0.73";
src = fetchurl {
url = http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.73.tar.gz;
sha256 = "14ndjhbn6q4m7wrml8s57wghnjbm6a6fqb5jgazjxcn6748gkmyn";
};
inherit dbus glib;
buildInputs = [pkgconfig gettext glib expat];
propagatedBuildInputs = [dbus];
}

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, pkgconfig, expat}:
stdenv.mkDerivation {
name = "dbus-1.0.2";
src = fetchurl {
url = http://dbus.freedesktop.org/releases/dbus/dbus-1.0.2.tar.gz;
sha256 = "1jn652zb81mczsx4rdcwrrzj3lfhx9d107zjfnasc4l5yljl204a";
};
buildInputs = [pkgconfig expat];
#configureFlags = "--localstatedir=/var";
}

View File

@ -14,8 +14,3 @@ stdenv.mkDerivation {
buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng]; buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];
} }

View File

@ -1269,6 +1269,15 @@ rec {
inherit fetchurl stdenv; inherit fetchurl stdenv;
}; };
dbus = import ../development/libraries/dbus {
inherit fetchurl stdenv pkgconfig expat;
};
dbus_glib = import ../development/libraries/dbus-glib {
inherit fetchurl stdenv pkgconfig gettext dbus expat;
inherit (gtkLibs) glib;
};
dclib = import ../development/libraries/dclib { dclib = import ../development/libraries/dclib {
inherit fetchurl stdenv libxml2 openssl bzip2; inherit fetchurl stdenv libxml2 openssl bzip2;
}; };
@ -3007,7 +3016,8 @@ rec {
inherit fetchurl stdenv pkgconfig audiofile inherit fetchurl stdenv pkgconfig audiofile
flex bison popt zlib libxml2 libxslt flex bison popt zlib libxml2 libxslt
perl perlXMLParser docbook_xml_dtd_42 gettext x11 perl perlXMLParser docbook_xml_dtd_42 gettext x11
libtiff libjpeg libpng gtkLibs xlibs bzip2 libcm; libtiff libjpeg libpng gtkLibs xlibs bzip2 libcm
python dbus_glib;
}); });
kdelibs = import ../desktops/kde/kdelibs { kdelibs = import ../desktops/kde/kdelibs {

View File

@ -195,6 +195,7 @@ let {
; ;
inherit ((allPackages {system = "i686-linux";}).gnome) inherit ((allPackages {system = "i686-linux";}).gnome)
metacity metacity
gconfeditor
; ;
}; };