From 4b45a4c4cb3c09a50641315ec2e42032294d1dd3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 12 Feb 2011 13:38:30 +0000 Subject: [PATCH] =?UTF-8?q?*=20Build=20GTK+=20with=20Xinput=20support,=20n?= =?UTF-8?q?ecessary=20for=20tablet=20support=20in=20Gimp=20=20=20and=20Ink?= =?UTF-8?q?scape=20(suggested=20by=20Cillian=20de=20R=C3=B3iste).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/nixpkgs/branches/x-updates/; revision=25919 --- pkgs/development/libraries/gtk+/2.24.x.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gtk+/2.24.x.nix b/pkgs/development/libraries/gtk+/2.24.x.nix index 475e81f75b3b..72998c3ffa4c 100644 --- a/pkgs/development/libraries/gtk+/2.24.x.nix +++ b/pkgs/development/libraries/gtk+/2.24.x.nix @@ -14,13 +14,17 @@ stdenv.mkDerivation rec { url = "mirror://gnome/sources/gtk+/2.24/${name}.tar.bz2"; sha256 = "cbed1a7b8cd1e471388a00f22557dd061334698a0c1aece11b7ed6541d115606"; }; + + configureFlags = "--with-xinput=yes"; + + enableParallelBuilding = true; buildNativeInputs = [ perl ]; buildInputs = [ pkgconfig jasper ]; propagatedBuildInputs = [ xlibs.xlibs glib atk pango gdk_pixbuf /* libtiff libjpeg libpng */ cairo - xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite + xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi ] ++ stdenv.lib.optional xineramaSupport xlibs.libXinerama ++ stdenv.lib.optionals cupsSupport [ cups ];