diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-02-06 19:56:28 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-02-06 19:56:28 +0100 |
commit | 32cd198d8f9c8e36f5ef95f1690e76f1e438505f (patch) | |
tree | 0d3d74ee5f8e8d596f37123cd09721dc869dc450 /pkgs/applications/graphics/gimp | |
parent | 2dd13fcb0b1ca678af58d5c53dd3e4b05a75b2fa (diff) | |
download | nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar.gz nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar.bz2 nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar.lz nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar.xz nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.tar.zst nixlib-32cd198d8f9c8e36f5ef95f1690e76f1e438505f.zip |
gimp: remove 2.6, because it's old and vulnerable
CVE-2012-2763 and three others. If we really need to resurrect it, I think I saw debian could have patches for these somewhere. Also add linux platforms for 2.8.
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r-- | pkgs/applications/graphics/gimp/2.8.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/graphics/gimp/default.nix | 32 |
2 files changed, 1 insertions, 32 deletions
diff --git a/pkgs/applications/graphics/gimp/2.8.nix b/pkgs/applications/graphics/gimp/2.8.nix index 423b9f3ce22f..0f8d6d45f128 100644 --- a/pkgs/applications/graphics/gimp/2.8.nix +++ b/pkgs/applications/graphics/gimp/2.8.nix @@ -34,5 +34,6 @@ stdenv.mkDerivation rec { description = "The GNU Image Manipulation Program"; homepage = http://www.gimp.org/; license = "GPL"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix deleted file mode 100644 index 33d52c6645be..000000000000 --- a/pkgs/applications/graphics/gimp/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ stdenv, fetchurl, pkgconfig, gtk, freetype -, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl -, perlXMLParser, python, pygtk, gettext, xlibs, intltool, babl_0_0_22, gegl_0_0_22 -}: - -stdenv.mkDerivation rec { - name = "gimp-2.6.12"; - - src = fetchurl { - url = "ftp://ftp.gtk.org/pub/gimp/v2.6/${name}.tar.bz2"; - sha256 = "0qpcgaa4pdqqhyyy8vjvzfflxgsrrs25zk79gixzlnbzq3qwjlym"; - }; - - buildInputs = [ - pkgconfig gtk freetype fontconfig - libart_lgpl libtiff libjpeg libpng libexif zlib perl - perlXMLParser python pygtk gettext intltool babl_0_0_22 gegl_0_0_22 - ]; - - 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"; - }; -} |