* Make screenshots work in the Gimp, add it to the channel.

svn path=/nixpkgs/trunk/; revision=9229
This commit is contained in:
Eelco Dolstra 2007-08-31 13:14:20 +00:00
parent 44690411ef
commit 1adacdf150
3 changed files with 20 additions and 6 deletions

View File

@ -1,6 +1,7 @@
{stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
{ stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
, perlXMLParser, python, pygtk, gettext}:
, perlXMLParser, python, pygtk, gettext, xlibs
}:
stdenv.mkDerivation {
name = "gimp-2.4.0-rc1";
@ -9,9 +10,20 @@ stdenv.mkDerivation {
sha256 = "0n9gfmmxjjhi4dpdfwc37z8n4zsyx6byil1ig27agjgic22bydm1" ;
};
buildInputs = [ pkgconfig gtk libgtkhtml freetype fontconfig
libart_lgpl libtiff libjpeg libpng libexif zlib perl
perlXMLParser python pygtk gettext ] ;
buildInputs = [
pkgconfig gtk libgtkhtml freetype fontconfig
libart_lgpl libtiff libjpeg libpng libexif zlib perl
perlXMLParser python pygtk gettext
];
configureFlags = [ "--disable-print" ];
# "screenshot" needs this.
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
meta = {
description = "The GNU Image Manipulation Program";
homepage = http://www.gimp.org/;
license = "GPL";
};
}

View File

@ -3124,7 +3124,8 @@ rec {
gimp = import ../applications/graphics/gimp {
inherit fetchurl stdenv pkgconfig freetype fontconfig
libtiff libjpeg libpng libexif zlib perl perlXMLParser python pygtk gettext;
libtiff libjpeg libpng libexif zlib perl perlXMLParser
python pygtk gettext xlibs;
inherit (gnome) gtk libgtkhtml libart_lgpl;
};

View File

@ -61,6 +61,7 @@ let {
gdb
ghc
ghostscript
gimp
gnugrep
gnum4
gnumake