2003-11-06 16:24:19 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, x11, glib, atk
|
|
|
|
, pango, perl, libtiff, libjpeg, libpng}:
|
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert pkgconfig != null && x11 != null && glib != null && atk != null
|
|
|
|
&& pango != null && perl != null && perl != null && libtiff != null
|
|
|
|
&& libjpeg != null && libpng != null;
|
2003-11-06 16:24:19 +01:00
|
|
|
assert x11.buildClientLibs;
|
2004-03-30 19:28:41 +02:00
|
|
|
#assert glib == atk.glib;
|
|
|
|
#assert glib == pango.glib;
|
|
|
|
#assert x11 == pango.x11;
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2004-09-18 23:09:46 +02:00
|
|
|
name = "gtk+-2.4.9";
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2004-09-18 23:09:46 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.4/gtk+-2.4.9.tar.bz2;
|
|
|
|
md5 = "bfe3b960d334e81d8f91c3509f70868d";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2004-03-30 19:28:41 +02:00
|
|
|
buildInputs = [pkgconfig perl libtiff libjpeg libpng];
|
|
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
2004-04-01 22:36:40 +02:00
|
|
|
inherit libtiff libjpeg libpng;
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|