Enabled support for X11 events in midnight commander

svn path=/nixpkgs/trunk/; revision=17208
This commit is contained in:
Sander van der Burg 2009-09-16 17:26:19 +00:00
parent 3e69dab469
commit 08b7947416
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{stdenv, fetchurl, lib, pkgconfig, glib, ncurses, libX11, shebangfix, perl, zip, unzip, gettext, slang}:
{ stdenv, fetchurl, lib, pkgconfig, glib, ncurses
, libX11, libXt, shebangfix, perl, zip, unzip, gettext, slang}:
stdenv.mkDerivation rec {
name = "mc-4.6.1";
@ -6,7 +7,7 @@ stdenv.mkDerivation rec {
url = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/${name}.tar.gz";
sha256 = "0zly25mwdn84s0wqx9mzyqi177mm828716nv1n6a4a5cm8yv0sh8";
};
buildInputs = [pkgconfig glib ncurses libX11 shebangfix perl zip unzip slang gettext];
buildInputs = [pkgconfig glib ncurses libX11 libXt shebangfix perl zip unzip slang gettext];
configureFlags = "--enable-charset";
# Stole some patches from LFS which fix some nasty bugs
@ -44,6 +45,7 @@ stdenv.mkDerivation rec {
mv lib/mc.hint.uk.utf8 lib/mc.hint.uk &&
iconv -f BIG5 -t UTF-8 lib/mc.hint.zh > lib/mc.hint.zh.utf8 &&
mv lib/mc.hint.zh.utf8 lib/mc.hint.zh
# foo
'';
makeFlags = "UNZIP=unzip";

View File

@ -1014,7 +1014,7 @@ let
mc = import ../tools/misc/mc {
inherit fetchurl stdenv lib pkgconfig ncurses shebangfix perl zip unzip slang gettext;
inherit (gtkLibs) glib;
inherit (xlibs) libX11;
inherit (xlibs) libX11 libXt;
};
mcabber = import ../applications/networking/instant-messengers/mcabber {