From 5a04f8450d983c06f1758be4004b188390258fa5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Aug 2011 11:45:57 +0000 Subject: [PATCH] * Hack to fix D-Bus X11 autolaunch support in D-Bus >= 1.4.8. svn path=/nixpkgs/branches/kde-4.7/; revision=28140 --- pkgs/development/libraries/dbus/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix index 6a5952e66a1..712ef36bdd7 100644 --- a/pkgs/development/libraries/dbus/default.nix +++ b/pkgs/development/libraries/dbus/default.nix @@ -27,6 +27,11 @@ in rec { sed -i '/SUBDIRS/s/ tools//' Makefile.in ''; + # Enable X11 autolaunch support in libdbus. This doesn't actually + # depend on X11 (it just execs dbus-launch in dbus.tools), + # contrary to what the configure script demands. + NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1"; + installFlags = "sysconfdir=$(out)/etc"; };