2012-06-04 18:38:47 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
|
2013-06-29 15:07:15 +01:00
|
|
|
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
2012-06-04 18:38:47 +01:00
|
|
|
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
2014-01-31 06:05:53 +00:00
|
|
|
, python, pygtk, libart_lgpl, libexif, gettext, xlibs, wrapPython }:
|
2012-06-04 18:38:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 14:08:06 +00:00
|
|
|
name = "gimp-2.8.10";
|
2013-06-28 22:04:43 +01:00
|
|
|
|
2012-06-04 18:38:47 +01:00
|
|
|
src = fetchurl {
|
2014-05-22 10:48:42 +01:00
|
|
|
url = "http://download.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
|
2013-12-18 14:08:06 +00:00
|
|
|
sha256 = "1rha8yx0pplfjziqczjrxxp16vsvpmb5ziq3c218s4w9z4cqpzg7";
|
2012-06-04 18:38:47 +01:00
|
|
|
};
|
2013-06-28 22:04:43 +01:00
|
|
|
|
|
|
|
buildInputs =
|
2012-06-04 18:38:47 +01:00
|
|
|
[ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
|
2013-06-29 15:07:15 +01:00
|
|
|
freetype fontconfig lcms libpng libjpeg poppler libtiff webkit
|
2012-06-04 18:38:47 +01:00
|
|
|
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
2013-07-23 02:42:11 +01:00
|
|
|
python pygtk libart_lgpl libexif gettext xlibs.libXpm
|
2014-01-31 06:05:53 +00:00
|
|
|
wrapPython
|
2012-06-04 18:38:47 +01:00
|
|
|
];
|
|
|
|
|
2014-01-31 06:05:53 +00:00
|
|
|
pythonPath = [ pygtk ];
|
|
|
|
|
|
|
|
postInstall = ''wrapPythonPrograms'';
|
|
|
|
|
2012-06-04 18:38:47 +01: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";
|
2014-02-06 18:56:28 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-06-04 18:38:47 +01:00
|
|
|
};
|
|
|
|
}
|