mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 23:27:50 +03:00
Merge pull request #19507 from grahamc/mb
imagemagick: 6.9.5-10 -> 6.9.6-2 for CVEs (and other fixing from the subsequent breakage.)
This commit is contained in:
commit
09e4b78b48
@ -11,8 +11,8 @@ let
|
||||
else throw "ImageMagick is not supported on this platform.";
|
||||
|
||||
cfg = {
|
||||
version = "6.9.5-10";
|
||||
sha256 = "0cxjzqzca80vf6sfx4z9zq4wq2w0vy9ajp9kf88jb4na8mwsn198";
|
||||
version = "6.9.6-2";
|
||||
sha256 = "139h9lycxw3lszn052m34xm0rqyanin4nb529vxjcrkkzqilh91r";
|
||||
patches = [];
|
||||
}
|
||||
# Freeze version on mingw so we don't need to port the patch too often.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
|
||||
version = "0.9.12";
|
||||
version = "0.9.14";
|
||||
|
||||
in
|
||||
|
||||
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||
name = "pythonmagick-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.imagemagick.org/download/python/releases/PythonMagick-${version}.tar.xz";
|
||||
sha256 = "1l1kr3d7l40fkxgs6mrlxj65alv2jizm9hhgg9i9g90a8qj8642b";
|
||||
url = "mirror://imagemagick/python/releases/PythonMagick-${version}.tar.xz";
|
||||
sha256 = "1flkdfi3c19wy2qcfzax1cqvmmri10rvmhc2y85gmagqvv01zz22";
|
||||
};
|
||||
|
||||
buildInputs = [python boost pkgconfig imagemagick];
|
||||
|
@ -57,6 +57,7 @@ rec {
|
||||
sed -e 's,^\(GIMP_PLUGIN_DIR=\).*,\1'"$out/${gimp.name}-plugins", \
|
||||
-e 's,^\(GIMP_DATA_DIR=\).*,\1'"$out/share/${gimp.name}", -i configure
|
||||
'';
|
||||
hardeningDisable = [ "format" ];
|
||||
meta = with stdenv.lib; {
|
||||
description = "The GIMP Animation Package";
|
||||
homepage = http://www.gimp.org;
|
||||
|
@ -23,20 +23,11 @@ let
|
||||
sha256 = "0r5pfbjbmdj46h20jm3iqmy969qd27ajyf0phjhgykv6j0cqjlgd";
|
||||
};
|
||||
|
||||
imagick = if isPhp7 then imagick34 else imagick31;
|
||||
|
||||
imagick31 = assert !isPhp7; buildPecl {
|
||||
name = "imagick-3.1.2";
|
||||
sha256 = "14vclf2pqcgf3w8nzqbdw0b9v30q898344c84jdbw2sa62n6k1sj";
|
||||
imagick = buildPecl {
|
||||
name = "imagick-3.4.3RC1";
|
||||
sha256 = "0siyxpszjz6s095s2g2854bhprjq49rf22v6syjiwvndg1pc9fsh";
|
||||
configureFlags = "--with-imagick=${pkgs.imagemagick.dev}";
|
||||
buildInputs = [ pkgs.pkgconfig ];
|
||||
};
|
||||
|
||||
imagick34 = buildPecl {
|
||||
name = "imagick-3.4.0RC4";
|
||||
sha256 = "0fdkzdv3r8sm6y1x11kp3rxsimq6zf15xvi0mhn57svmnan4zh0i";
|
||||
configureFlags = "--with-imagick=${pkgs.imagemagick.dev}";
|
||||
buildInputs = [ pkgs.pkgconfig ];
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
};
|
||||
|
||||
# No support for PHP 7 yet
|
||||
|
Loading…
Reference in New Issue
Block a user