2012-01-27 18:56:31 +00:00
|
|
|
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype
|
|
|
|
, fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }:
|
2009-10-28 14:06:56 +00:00
|
|
|
|
2010-01-05 22:48:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-27 18:56:31 +00:00
|
|
|
name = "icewm-1.3.7";
|
2007-10-24 03:01:54 +01:00
|
|
|
|
2010-01-05 22:48:10 +00:00
|
|
|
buildInputs =
|
2012-01-27 18:56:31 +00:00
|
|
|
[ gettext libjpeg libtiff libungif libpng
|
2010-01-05 22:48:10 +00:00
|
|
|
xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr
|
2012-01-27 18:56:31 +00:00
|
|
|
xlibs.libICE xlibs.libSM freetype fontconfig
|
|
|
|
pkgconfig gdk_pixbuf
|
2010-01-05 22:48:10 +00:00
|
|
|
];
|
2007-10-24 03:01:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-05 22:48:10 +00:00
|
|
|
url = "mirror://sourceforge/icewm/${name}.tar.gz";
|
2012-01-27 18:56:31 +00:00
|
|
|
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
|
2007-10-24 03:01:54 +01:00
|
|
|
};
|
|
|
|
|
2012-09-26 22:00:55 +01:00
|
|
|
patches = [ ./deprecated.patch ];
|
|
|
|
|
2012-01-31 14:55:43 +00:00
|
|
|
NIX_LDFLAGS = "-lfontconfig";
|
|
|
|
|
2010-09-01 09:36:46 +01:00
|
|
|
# The fuloong2f is not supported by 1.3.6 still
|
2012-01-27 18:56:31 +00:00
|
|
|
#
|
|
|
|
# Don't know whether 1.3.7 supports fuloong2f and don't know how to test it
|
|
|
|
# on x86_64 hardware. So I left this 'cp' -- urkud
|
|
|
|
|
2010-09-01 09:36:46 +01:00
|
|
|
preConfigure = ''
|
2012-01-27 18:56:31 +00:00
|
|
|
cp -v ${automake}/share/automake*/config.{sub,guess} .
|
2010-09-01 09:36:46 +01:00
|
|
|
'';
|
|
|
|
|
2007-10-24 03:01:54 +01:00
|
|
|
meta = {
|
2009-10-28 14:06:56 +00:00
|
|
|
description = "A window manager for the X Window System";
|
|
|
|
homepage = http://www.icewm.org/;
|
2012-01-27 18:56:31 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2007-10-24 03:01:54 +01:00
|
|
|
};
|
|
|
|
}
|