3
0
Fork 0
forked from mirrors/nixpkgs

adding zenity to gnome desktop nix expressions

making it possible to build metacity and gconf-editor

patch provided by Christoph Herbst

svn path=/nixpkgs/trunk/; revision=15681
This commit is contained in:
Marc Weber 2009-05-20 17:39:18 +00:00
parent c7c225d5fe
commit 88eb04c0dc
4 changed files with 39 additions and 3 deletions

View file

@ -294,13 +294,25 @@ rec {
metacity = import ./metacity.nix {
inherit stdenv fetchurl pkgconfig perl perlXMLParser glib gtk
GConf startupnotification gettext libcm intltool;
GConf startupnotification gettext libcm intltool zenity gnomedocutils;
inherit (xlibs) libXinerama libXrandr libXcursor
libXcomposite libXfixes libXdamage;
enableCompositor = true;
input = desktop.metacity;
};
zenity = stdenv.mkDerivation {
inherit (desktop.zenity) name src;
buildInputs = [
pkgconfig glib gtk
gettext intltool gnomedocutils libglade
libxslt
];
configureFlags = "--disable-scrollkeeper";
};
gnomedocutils = import ./gnome-doc-utils.nix {
inherit stdenv fetchurl pkgconfig perl perlXMLParser python
libxml2 libxslt gettext libxml2Python;
@ -313,6 +325,7 @@ rec {
buildInputs = [
pkgconfig perl perlXMLParser GConf gnomedocutils
gtk libgnome libgnomeui gettext libxslt intltool
policyKit dbus_glib
];
configureFlags = "--disable-scrollkeeper";

View file

@ -1,6 +1,6 @@
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, glib, gtk
, GConf, startupnotification, libXinerama, libXrandr, libXcursor
, gettext, intltool
, gettext, intltool, zenity, gnomedocutils
, enableCompositor ? false
, libXcomposite ? null, libXfixes ? null, libXdamage ? null, libcm ? null
@ -15,6 +15,7 @@ stdenv.mkDerivation {
buildInputs = [
pkgconfig perl perlXMLParser glib gtk GConf startupnotification
libXinerama libXrandr libXcursor gettext intltool
zenity gnomedocutils
]
++ stdenv.lib.optionals enableCompositor [libXcomposite libXfixes libXdamage libcm];

View file

@ -0,0 +1,16 @@
args: with args;
assert stdenv ? glibc;
stdenv.mkDerivation rec {
name = "PolicyKit-0.9";
src = fetchurl {
url = "http://hal.freedesktop.org/releases/${name}.tar.gz";
sha256 = "f40c7c6bec19d7dba2335bddcffd0457494409a0dfce11d888c748dc892e80b7";
};
buildInputs = [
pkgconfig expat intltool glib dbus dbus_glib pam gettext
];
}

View file

@ -5267,6 +5267,12 @@ let
inherit lib;
};
policyKit = import ../os-specific/linux/polkit {
inherit fetchurl stdenv pkgconfig intltool expat dbus dbus_glib pam;
inherit gettext;
inherit (gtkLibs) glib;
};
powertop = import ../os-specific/linux/powertop {
inherit fetchurl stdenv ncurses gettext;
};
@ -7357,7 +7363,7 @@ let
gettext x11 libtiff libjpeg libpng gtkLibs xlibs bzip2
libcm python dbus dbus_glib ncurses which libxml2Python
iconnamingutils openssl hal samba fam libgcrypt libtasn1
xmlto docbook2x docbook_xsl intltool enchant isocodes;
xmlto docbook2x docbook_xsl intltool enchant isocodes policyKit;
});
kde3 = {