gimp: wrap plugins with PYTHONPATH, fix #223
This commit is contained in:
parent
01ac860100
commit
1c83b079d2
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
|
||||
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
||||
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
||||
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
|
||||
, python, pygtk, libart_lgpl, libexif, gettext, xlibs, wrapPython }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gimp-2.8.10";
|
||||
|
@ -16,8 +16,13 @@ stdenv.mkDerivation rec {
|
|||
freetype fontconfig lcms libpng libjpeg poppler libtiff webkit
|
||||
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
||||
python pygtk libart_lgpl libexif gettext xlibs.libXpm
|
||||
wrapPython
|
||||
];
|
||||
|
||||
pythonPath = [ pygtk ];
|
||||
|
||||
postInstall = ''wrapPythonPrograms'';
|
||||
|
||||
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
||||
|
||||
#configureFlags = [ "--disable-print" ];
|
||||
|
|
|
@ -7897,6 +7897,7 @@ let
|
|||
inherit (gnome) libart_lgpl;
|
||||
webkit = null;
|
||||
lcms = lcms2;
|
||||
wrapPython = pythonPackages.wrapPython;
|
||||
};
|
||||
|
||||
gimp = gimp_2_8;
|
||||
|
|
Loading…
Reference in a new issue