Merge pull request #132237 from Artturin/perlmagikupdate

perlPackages.ImageMagick: 7.0.10 -> 7.0.11

authored by

Stig and committed by
GitHub
c464dc81 50e3b159

+16 -20
+1 -1
pkgs/applications/graphics/gscan2pdf/default.nix
··· 38 ImagePNGLibpng 39 ImageSane 40 SetIntSpan 41 - PerlMagick 42 ConfigGeneral 43 ListMoreUtils 44 HTMLParser
··· 38 ImagePNGLibpng 39 ImageSane 40 SetIntSpan 41 + ImageMagick 42 ConfigGeneral 43 ListMoreUtils 44 HTMLParser
+1 -1
pkgs/applications/graphics/shutter/default.nix
··· 8 Gtk2Unique FileBaseDir FileWhich FileCopyRecursive XMLSimple NetDBus XMLTwig 9 XMLParser HTTPMessage ProcSimple SortNaturally LocaleGettext 10 ProcProcessTable URI ImageExifTool Gtk2AppIndicator LWP JSON 11 - PerlMagick WWWMechanize HTTPDate HTMLForm HTMLParser HTMLTagset JSONMaybeXS 12 commonsense HTTPCookies NetOAuth PathClass GooCanvas X11Protocol Cairo 13 EncodeLocale TryTiny TypesSerialiser LWPMediaTypes 14 ];
··· 8 Gtk2Unique FileBaseDir FileWhich FileCopyRecursive XMLSimple NetDBus XMLTwig 9 XMLParser HTTPMessage ProcSimple SortNaturally LocaleGettext 10 ProcProcessTable URI ImageExifTool Gtk2AppIndicator LWP JSON 11 + ImageMagick WWWMechanize HTTPDate HTMLForm HTMLParser HTMLTagset JSONMaybeXS 12 commonsense HTTPCookies NetOAuth PathClass GooCanvas X11Protocol Cairo 13 EncodeLocale TryTiny TypesSerialiser LWPMediaTypes 14 ];
+1 -1
pkgs/applications/graphics/timelapse-deflicker/default.nix
··· 18 19 buildInputs = with perlPackages; [ 20 makeWrapper perl 21 - PerlMagick TermProgressBar ImageExifTool 22 FileType ClassMethodMaker 23 ]; 24
··· 18 19 buildInputs = with perlPackages; [ 20 makeWrapper perl 21 + ImageMagick TermProgressBar ImageExifTool 22 FileType ClassMethodMaker 23 ]; 24
+2 -2
pkgs/applications/misc/ikiwiki/default.nix
··· 1 - { lib, stdenv, fetchurl, perlPackages, gettext, makeWrapper, PerlMagick, which, highlight 2 , gitSupport ? false, git ? null 3 , docutilsSupport ? false, python ? null, docutils ? null 4 , monotoneSupport ? false, monotone ? null ··· 32 buildInputs = [ which highlight ] 33 ++ (with perlPackages; [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate 34 TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext 35 - RpcXML XMLSimple PerlMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase 36 NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ]) 37 ++ lib.optionals docutilsSupport [python docutils] 38 ++ lib.optionals gitSupport [git]
··· 1 + { lib, stdenv, fetchurl, perlPackages, gettext, makeWrapper, ImageMagick, which, highlight 2 , gitSupport ? false, git ? null 3 , docutilsSupport ? false, python ? null, docutils ? null 4 , monotoneSupport ? false, monotone ? null ··· 32 buildInputs = [ which highlight ] 33 ++ (with perlPackages; [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate 34 TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext 35 + RpcXML XMLSimple ImageMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase 36 NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ]) 37 ++ lib.optionals docutilsSupport [python docutils] 38 ++ lib.optionals gitSupport [git]
+1 -1
pkgs/applications/science/biology/cd-hit/default.nix
··· 11 sha256 = "032nva6iiwmw59gjipm1mv0xlcckhxsf45mc2qbnv19lbis0q22i"; 12 }; 13 14 - propagatedBuildInputs = [ perl perlPackages.TextNSP perlPackages.PerlMagick ]; 15 16 nativeBuildInputs = [ zlib makeWrapper ]; 17 buildInputs = lib.optional stdenv.cc.isClang openmp;
··· 11 sha256 = "032nva6iiwmw59gjipm1mv0xlcckhxsf45mc2qbnv19lbis0q22i"; 12 }; 13 14 + propagatedBuildInputs = [ perl perlPackages.TextNSP perlPackages.ImageMagick ]; 15 16 nativeBuildInputs = [ zlib makeWrapper ]; 17 buildInputs = lib.optional stdenv.cc.isClang openmp;
+1 -1
pkgs/tools/typesetting/docbook2odf/default.nix
··· 28 29 wrapProgram "$out/bin/docbook2odf" \ 30 --prefix PATH : "${lib.makeBinPath [ zip libxslt ]}" \ 31 - --prefix PERL5PATH : "${perlPackages.makePerlPath [ perlPackages.PerlMagick ]}" 32 ''; 33 34 meta = with lib; {
··· 28 29 wrapProgram "$out/bin/docbook2odf" \ 30 --prefix PATH : "${lib.makeBinPath [ zip libxslt ]}" \ 31 + --prefix PERL5PATH : "${perlPackages.makePerlPath [ perlPackages.ImageMagick ]}" 32 ''; 33 34 meta = with lib; {
+1 -1
pkgs/top-level/all-packages.nix
··· 25044 25045 ikiwiki = callPackage ../applications/misc/ikiwiki { 25046 python = python3; 25047 - inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) PerlMagick; 25048 }; 25049 25050 iksemel = callPackage ../development/libraries/iksemel { };
··· 25044 25045 ikiwiki = callPackage ../applications/misc/ikiwiki { 25046 python = python3; 25047 + inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) ImageMagick; 25048 }; 25049 25050 iksemel = callPackage ../development/libraries/iksemel { };
+8 -12
pkgs/top-level/perl-packages.nix
··· 9246 }; 9247 buildInputs = [ pkgs.gtk3 ]; 9248 propagatedBuildInputs = [ Readonly Gtk3 ]; 9249 - checkInputs = [ TestDifferences PerlMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ]; 9250 checkPhase = '' 9251 ${pkgs.xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \ 9252 make test ··· 11099 sha256 = "0dr69rgl4si9i9ww1r4dc7apgb7y6f7ih808w4g0924cvz823s0x"; 11100 }; 11101 outputs = [ "out" "tex" ]; 11102 - propagatedBuildInputs = [ ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent PerlMagick PodParser TextUnidecode XMLLibXSLT ]; 11103 preCheck = '' 11104 rm t/931_epub.t # epub test fails 11105 ''; ··· 16967 }; 16968 }; 16969 16970 - PerlMagick = buildPerlPackage rec { 16971 - pname = "PerlMagick"; 16972 - version = "7.0.10"; 16973 src = fetchurl { 16974 - url = "mirror://cpan/authors/id/J/JC/JCRISTY/PerlMagick-${version}.tar.gz"; 16975 - sha256 = "1x05hdb3b6qs36x958b4w46qanvkqm6rpc44rlq4rd2w3gbp4lhx"; 16976 }; 16977 buildInputs = [ pkgs.imagemagick ]; 16978 preConfigure = 16979 '' 16980 sed -i -e 's|my \$INC_magick = .*|my $INC_magick = "-I${pkgs.imagemagick.dev}/include/ImageMagick";|' Makefile.PL 16981 - 16982 - # Enable HDRI support to match the native ImageMagick 7 defaults 16983 - # See: https://github.com/ImageMagick/ImageMagick/issues/3402#issuecomment-801195538 16984 - substituteInPlace Makefile.PL \ 16985 - --replace 'MAGICKCORE_HDRI_ENABLE=0' 'MAGICKCORE_HDRI_ENABLE=1' 16986 ''; 16987 }; 16988
··· 9246 }; 9247 buildInputs = [ pkgs.gtk3 ]; 9248 propagatedBuildInputs = [ Readonly Gtk3 ]; 9249 + checkInputs = [ TestDifferences ImageMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ]; 9250 checkPhase = '' 9251 ${pkgs.xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \ 9252 make test ··· 11099 sha256 = "0dr69rgl4si9i9ww1r4dc7apgb7y6f7ih808w4g0924cvz823s0x"; 11100 }; 11101 outputs = [ "out" "tex" ]; 11102 + propagatedBuildInputs = [ ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent ImageMagick PodParser TextUnidecode XMLLibXSLT ]; 11103 preCheck = '' 11104 rm t/931_epub.t # epub test fails 11105 ''; ··· 16967 }; 16968 }; 16969 16970 + PerlMagick = ImageMagick; # added 2021-08-02 16971 + ImageMagick = buildPerlPackage rec { 16972 + pname = "Image-Magick"; 16973 + version = "7.0.11-1"; 16974 src = fetchurl { 16975 + url = "mirror://cpan/authors/id/J/JC/JCRISTY/Image-Magick-${version}.tar.gz"; 16976 + sha256 = "sha256-c0vuFmVq9bypQABBnZElGIQrpkYKwtD/B+PloBAycuI="; 16977 }; 16978 buildInputs = [ pkgs.imagemagick ]; 16979 preConfigure = 16980 '' 16981 sed -i -e 's|my \$INC_magick = .*|my $INC_magick = "-I${pkgs.imagemagick.dev}/include/ImageMagick";|' Makefile.PL 16982 ''; 16983 }; 16984