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-04-02 15:58:55 +02:00
|
|
|
name = "gtk+-2.4.0";
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2004-04-02 15:58:55 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.4/gtk+-2.4.0.tar.bz2;
|
|
|
|
md5 = "fd16157de447c7f0a86495ad0dc67a1b";
|
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
|
|
|
}
|