nixpkgs/pkgs/development/libraries/gtk-libs-2.10/gtk+/default.nix
Eelco Dolstra cdad298040 * Cairo 1.4.4. This fixes some bad interaction with the latest
xorg-server (namely, BadMatch crashes in programs such as
  gtk-window-decorator in compiz).
* Some GTK updates while we're at it.

svn path=/nixpkgs/trunk/; revision=8617
2007-04-26 18:37:33 +00:00

22 lines
629 B
Nix

{ xineramaSupport ? false
, stdenv, fetchurl, pkgconfig, x11, glib, atk
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null, libXrandr
}:
assert x11.buildClientLibs;
assert xineramaSupport -> libXinerama != null;
stdenv.mkDerivation {
name = "gtk+-2.10.11";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.11.tar.bz2;
md5 = "3b32eab43bf5195d981867d25ba55d66";
};
buildInputs = [
pkgconfig perl libtiff libjpeg libpng cairo libXrandr
(if xineramaSupport then libXinerama else null)
];
propagatedBuildInputs = [x11 glib atk pango];
inherit libtiff libjpeg libpng;
}