about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorCillian de Roiste <cillian.deroiste@gmail.com>2012-06-04 17:38:47 +0000
committerCillian de Roiste <cillian.deroiste@gmail.com>2012-06-04 17:38:47 +0000
commit27bef25b17953d9749d50b6917d712172ab8e6ea (patch)
treebf6056b6d5b158e4624a3114f3191aa51168cad7 /pkgs/applications/graphics/gimp
parent104bd01e1def19d6e357689af3f57ef5740d5f8f (diff)
downloadnixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar.gz
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar.bz2
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar.lz
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar.xz
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.tar.zst
nixlib-27bef25b17953d9749d50b6917d712172ab8e6ea.zip
Applying the patch from Rok Garbas to add GIMP 2.8.0
svn path=/nixpkgs/trunk/; revision=34352
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/2.8.0.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/2.8.0.nix b/pkgs/applications/graphics/gimp/2.8.0.nix
new file mode 100644
index 000000000000..bf29ae13e5e7
--- /dev/null
+++ b/pkgs/applications/graphics/gimp/2.8.0.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
+, pango, cairo, freetype, fontconfig, lcms2, libpng, libjpeg, poppler, libtiff
+, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
+, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
+
+stdenv.mkDerivation rec {
+  name = "gimp-2.8.0";
+  
+  src = fetchurl {
+    url = "ftp://ftp.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
+    md5 = "28997d14055f15db063eb92e1c8a7ebb";
+  };
+  
+  buildInputs = 
+    [ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
+      freetype fontconfig lcms2 libpng libjpeg poppler libtiff webkit
+      libmng librsvg libwmf zlib libzip ghostscript aalib jasper
+      python pygtk libart_lgpl libexif gettext 
+    ];
+
+  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";
+  };
+}