38 |
Summary: An X application for displaying and manipulating images |
Summary: An X application for displaying and manipulating images |
39 |
Name: imagemagick |
Name: imagemagick |
40 |
Version: %{rversion}.%{minor_rev} |
Version: %{rversion}.%{minor_rev} |
41 |
Release: %mkrel 2 |
Release: %mkrel 3 |
42 |
License: BSD-like |
License: BSD-like |
43 |
Group: Graphics/Editors and Converters |
Group: Graphics/Editors and Converters |
44 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
50 |
Source12: magick-icon_48x48.png |
Source12: magick-icon_48x48.png |
51 |
Source13: magick-icon_64x64.png |
Source13: magick-icon_64x64.png |
52 |
Patch0: imagemagick-docdir.diff |
Patch0: imagemagick-docdir.diff |
|
#gw fix format strings, but it doesn't work for the perl-Magick |
|
|
Patch1: ImageMagick-6.4.8-9-format-strings.patch |
|
53 |
Patch2: ImageMagick-6.7.4-force-so.patch |
Patch2: ImageMagick-6.7.4-force-so.patch |
54 |
Patch7: imagemagick-urw.diff |
Patch7: imagemagick-urw.diff |
55 |
Patch17: imagemagick-fpx.diff |
Patch17: imagemagick-fpx.diff |
57 |
Patch20: ImageMagick-6.7.7-9-fix-montageimages-test.patch |
Patch20: ImageMagick-6.7.7-9-fix-montageimages-test.patch |
58 |
Patch21: imagemagick-CVE-2014-8716.patch |
Patch21: imagemagick-CVE-2014-8716.patch |
59 |
|
|
60 |
|
Patch101: 0001-Avoid-an-infinite-loop.patch |
61 |
|
Patch102: 0002-Quit-earlier-in-case-of-corrupted-pnm-image.patch |
62 |
|
Patch103: 0003-Added-missing-calls-to-RelinquishUniqueFileResource.patch |
63 |
|
Patch104: 0004-Fix-a-double-free-in-pdb-coder.patch |
64 |
|
Patch105: 0005-Fix-handling-of-corrupted-dpc-and-xwd-image.patch |
65 |
|
Patch106: 0006-Bail-out-early-in-case-of-malformed-dpx-file.patch |
66 |
|
Patch107: 0007-Avoid-SEGV-in-malformed-xwd-file.patch |
67 |
|
Patch108: 0008-Avoid-a-NULL-dereference-in-ps-handling.patch |
68 |
|
Patch109: 0009-Avoid-out-of-bound-access-in-xwd-file-handling.patch |
69 |
|
Patch110: 0010-Fix-a-SEGV-with-corrupted-viff-image.patch |
70 |
|
Patch111: 0011-Fix-a-null-pointer-dereference-in-wpg-file-handling.patch |
71 |
|
Patch112: 0012-Do-not-continue-on-corrupted-wpg-file.patch |
72 |
|
Patch113: 0013-Avoid-a-out-of-bound-acess-in-viff-image.patch |
73 |
|
Patch114: 0014-Avoid-a-heap-buffer-overflow-in-pdb-file-handling.patch |
74 |
|
Patch115: 0015-Avoid-an-out-of-bound-acess-on-malformed-sun-file.patch |
75 |
|
Patch116: 0016-Avoid-heap-overflow-in-palm-pnm-and-xpm-files.patch |
76 |
|
Patch117: 0017-Fix-heap-overflow-in-quantum.c-palm-image-handling-a.patch |
77 |
|
Patch118: 0018-Fix-compile-problem-due-to-previous-patch.patch |
78 |
|
Patch119: 0019-Do-not-try-to-read-corrupted-sun-image.patch |
79 |
|
Patch120: 0020-Fix-handling-of-corrupted-of-psd-sun-and-xpm-file.patch |
80 |
|
Patch121: 0021-Fix-corrupted-too-many-colors-psd-file.patch |
81 |
|
Patch122: 0022-Fix-out-of-bound-access-in-sun-image-handling.patch |
82 |
|
Patch123: 0023-Fix-ImageMagick-crashes-while-read-EXIF-from-TIFF.patch |
83 |
|
Patch124: 0024-Fix-handling-of-corrupted-sun-and-wpg-file.patch |
84 |
|
Patch125: 0025-Fix-heap-overflow-in-pcx-file-psd-pict-and-wpf-files.patch |
85 |
|
Patch126: 0026-Fix-compile-error-in-previous-fix-of-sun-file.patch |
86 |
|
Patch127: 0027-Additional-PNM-sanity-checks.patch |
87 |
|
Patch128: 0028-Robustify-xmp-and-pnm-reader.patch |
88 |
|
Patch129: 0029-Detect-allocation-error-earlier.patch |
89 |
|
Patch130: 0030-Avoid-a-crash-in-coders-rle.c.patch |
90 |
|
Patch131: 0031-Avoid-an-overflow-in-ConstrainColormapIndex.patch |
91 |
|
Patch132: 0032-Avoid-an-out-of-bound-access-in-palm-file.patch |
92 |
|
Patch133: 0033-Fix-another-crash-in-pnm-and-xpm-parser.patch |
93 |
|
Patch134: 0034-Fixed-throwing-of-exceptions-in-psd-handling-and-fix.patch |
94 |
|
Patch135: 0035-Fixed-boundary-checks-in-DecodePSDPixels.patch |
95 |
|
Patch136: 0036-Fix-another-out-of-bound-problem-in-rle-file.patch |
96 |
|
Patch137: 0037-Fix-crash-due-to-corrupted-dib-file.patch |
97 |
|
Patch138: 0038-Added-checks-to-prevent-overflow-in-rle-file.patch |
98 |
|
Patch139: 0039-Impose-a-limit-of-10-million-columns-or-rows-in-an-i.patch |
99 |
|
Patch140: 0040-Avoid-heap-overflow-in-rle-file.patch |
100 |
|
Patch141: 0041-Don-t-try-to-handle-a-previous-image-in-the-JNG-deco.patch |
101 |
|
Patch142: 0042-Avoid-a-memory-leak-in-quantum-management.patch |
102 |
|
Patch143: 0043-Avoid-a-crash-in-png-coder.patch |
103 |
|
Patch144: 0044-Avoid-heap-overflow.patch |
104 |
|
Patch145: 0045-Thread-limit-should-be-at-least-1.patch |
105 |
|
Patch146: 0046-Fixed-parsing-resource-block.patch |
106 |
|
Patch147: 0047-Fixed-usage-of-object-after-it-has-been-destroyed-an.patch |
107 |
|
Patch148: 0048-Create-IsValidColormapIndex-function.patch |
108 |
|
Patch149: 0049-Replaced-calls-to-ConstrainColormapIndex-with-IsVali.patch |
109 |
|
Patch150: 0050-During-identification-of-image-do-not-fill-memory.patch |
110 |
|
|
111 |
|
|
112 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
113 |
Provides: ImageMagick = %{version}-%{release} |
Provides: ImageMagick = %{version}-%{release} |
114 |
|
|
236 |
|
|
237 |
%prep |
%prep |
238 |
|
|
239 |
%setup -q -n ImageMagick-%{rversion}-%minor_rev |
%setup -q -n ImageMagick-%{rversion}-%{minor_rev} |
240 |
|
%apply_patches |
|
%patch0 -p1 -b .docdir |
|
|
%patch2 -p0 -b .so |
|
|
%patch7 -p0 -b .urw |
|
|
%patch17 -p0 -b .fpx |
|
|
%patch19 -p1 -b .libpath |
|
|
%patch20 -p1 -b .ppc |
|
|
%patch21 -p1 -b .CVE-2014-8716 |
|
241 |
|
|
242 |
bzcat %{SOURCE1} > ImageMagick.pdf |
bzcat %{SOURCE1} > ImageMagick.pdf |
243 |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |