2012-01-27 19:56:31 +01:00
|
|
|
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype
|
|
|
|
, fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
2010-01-05 23:48:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-27 19:56:31 +01:00
|
|
|
name = "icewm-1.3.7";
|
2007-10-24 04:01:54 +02:00
|
|
|
|
2010-01-05 23:48:10 +01:00
|
|
|
buildInputs =
|
2012-01-27 19:56:31 +01:00
|
|
|
[ gettext libjpeg libtiff libungif libpng
|
2010-01-05 23:48:10 +01:00
|
|
|
xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr
|
2012-01-27 19:56:31 +01:00
|
|
|
xlibs.libICE xlibs.libSM freetype fontconfig
|
|
|
|
pkgconfig gdk_pixbuf
|
2010-01-05 23:48:10 +01:00
|
|
|
];
|
2007-10-24 04:01:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-05 23:48:10 +01:00
|
|
|
url = "mirror://sourceforge/icewm/${name}.tar.gz";
|
2012-01-27 19:56:31 +01:00
|
|
|
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
|
2007-10-24 04:01:54 +02:00
|
|
|
};
|
|
|
|
|
2012-09-26 23:00:55 +02:00
|
|
|
patches = [ ./deprecated.patch ];
|
|
|
|
|
2012-01-31 15:55:43 +01:00
|
|
|
NIX_LDFLAGS = "-lfontconfig";
|
|
|
|
|
2010-09-01 10:36:46 +02:00
|
|
|
# The fuloong2f is not supported by 1.3.6 still
|
2012-01-27 19:56:31 +01: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 10:36:46 +02:00
|
|
|
preConfigure = ''
|
2012-01-27 19:56:31 +01:00
|
|
|
cp -v ${automake}/share/automake*/config.{sub,guess} .
|
2010-09-01 10:36:46 +02:00
|
|
|
'';
|
|
|
|
|
2007-10-24 04:01:54 +02:00
|
|
|
meta = {
|
2009-10-28 15:06:56 +01:00
|
|
|
description = "A window manager for the X Window System";
|
|
|
|
homepage = http://www.icewm.org/;
|
2012-01-27 19:56:31 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2007-10-24 04:01:54 +02:00
|
|
|
};
|
|
|
|
}
|