2012-06-04 17:38:47 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
|
2013-06-29 14:07:15 +00:00
|
|
|
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
2012-06-04 17:38:47 +00:00
|
|
|
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
|
|
|
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-09 15:27:11 +00:00
|
|
|
name = "gimp-2.8.8";
|
2013-06-28 21:04:43 +00:00
|
|
|
|
2012-06-04 17:38:47 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
|
2013-11-09 15:27:11 +00:00
|
|
|
md5 = "ef2547c3514a1096931637bd6250635a";
|
2012-06-04 17:38:47 +00:00
|
|
|
};
|
2013-06-28 21:04:43 +00:00
|
|
|
|
|
|
|
buildInputs =
|
2012-06-04 17:38:47 +00:00
|
|
|
[ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
|
2013-06-29 14:07:15 +00:00
|
|
|
freetype fontconfig lcms libpng libjpeg poppler libtiff webkit
|
2012-06-04 17:38:47 +00:00
|
|
|
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
2013-07-23 01:42:11 +00:00
|
|
|
python pygtk libart_lgpl libexif gettext xlibs.libXpm
|
2012-06-04 17:38:47 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
|
|
|
#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";
|
|
|
|
};
|
|
|
|
}
|