commit ImageMagick.3212 for openSUSE:12.3:Update
Hello community, here is the log from the commit of package ImageMagick.3212 for openSUSE:12.3:Update checked in at 2014-11-25 09:11:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/ImageMagick.3212 (Old) and /work/SRC/openSUSE:12.3:Update/.ImageMagick.3212.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ImageMagick.3212" Changes: -------- New Changes file: --- /dev/null 2014-11-17 01:44:14.624034255 +0100 +++ /work/SRC/openSUSE:12.3:Update/.ImageMagick.3212.new/ImageMagick.changes 2014-11-25 09:11:09.000000000 +0100 @@ -0,0 +1,1398 @@ +------------------------------------------------------------------- +Thu Nov 13 14:41:53 UTC 2014 - pgajdos@suse.com + +- security update CVE-2014-8716 [bnc#905260] + * ImageMagick-CVE-2014-8716.patch + +------------------------------------------------------------------- +Tue Nov 4 10:26:38 UTC 2014 - pgajdos@suse.com + +- security update: CVE-2014-8354, CVE-2014-8355, CVE-2014-8562 + * ImageMagick-CVE-2014-8354.patch [bnc#903204] + * ImageMagick-CVE-2014-8355.patch [bnc#903216] + * ImageMagick-CVE-2014-8562.patch [bnc#903638] + +------------------------------------------------------------------- +Tue Feb 18 15:31:13 UTC 2014 - pgajdos@suse.com + +- security update, fixes [bnc#863838] +- added patches: + * ImageMagick-6.7.8.8-CVE-2014-2030.patch + * ImageMagick-6.7.8.8-CVE-2014-1958.patch + +------------------------------------------------------------------- +Mon Mar 18 16:16:43 UTC 2013 - meissner@suse.com + +- disable test suite on ppc and ppc64 + +------------------------------------------------------------------- +Tue Jan 15 17:34:50 UTC 2013 - pgajdos@suse.com + +- fix wrong mean-error output: + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22586 + * dropped disable-matlab-test.patch + * added ImageMagick-uninitialized-memory.patch + +------------------------------------------------------------------- +Thu Jan 10 16:24:43 UTC 2013 - meissner@suse.com + +- do not disable checking altogether. +- disable-matlab-test.patch: disable the 1 MATLAB testcase that fails. + +------------------------------------------------------------------- +Thu Jan 10 05:32:13 UTC 2013 - mrdocs@opensuse.org + +- disable check for the moment, it breaks on Factory and 12.1, but + 12.2 + +------------------------------------------------------------------- +Tue Jan 8 11:14:12 UTC 2013 - schuetzm@gmx.net + +- enable support for Pango markup + * this allows rendering formatted text with the pango:"..." syntax + see http://www.imagemagick.org/Usage/text/#pango for details + * to actually use this, libpango needs to be installed + +------------------------------------------------------------------- +Tue Aug 7 13:06:22 UTC 2012 - pgajdos@suse.com + +- updated to 6.7.8.8: + * Added 2d named convolution kernel Binomial (for Fred Wienhaus) + * Clean up sigmoidal-contrast. + * Use ConcatenateString() for multi-block GIF comments. + * Caption no longer chops off text (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=21558). + * Support LUV colorspace. + * Support HCL colorspace. + * Don't transform the composite image colorspace, set it instead. + * Interpret -border 5% as 5% of width and 5% of height (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=21537). + * Don't normalize zero-sum kernels (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=21584). + * Transform grayscale to linear RGB if fill color is non-gray (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=21586). + etc. see ChangeLog + +------------------------------------------------------------------- +Wed May 16 09:48:34 UTC 2012 - pgajdos@suse.com + +- updated to 6.7.6.9: + * Don't write an invalid PNG sRGB chunk when rendering intent is undefined. + * EXR images are in the linear RGB colorspace with a gamma of 1.0. + * Correct annotation offset for right-to-left labels. + * The -level 100x0% now produces the equivalent of -negate. + * etc., see ChangeLog + +------------------------------------------------------------------- +Tue Mar 27 16:20:53 UTC 2012 - pgajdos@suse.com + +- cleanup the package +- updated to 6.7.6.1: fixes + * CVE-2012-0247 [bnc#746880] + * CVE-2012-0248 [bnc#746880] + * CVE-2012-1185 [bnc#752879] + * CVE-2012-1186 [bnc#752879] + +------------------------------------------------------------------- +Fri Mar 9 9:4:11 UTC 2012 - giecrilj@stegny.2a.pl + +- moved the libtool archives to the main package +- separated the bulk documentation +- added a regression %check for the locale comma crash + +------------------------------------------------------------------- +Tue Feb 14 09:02:14 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-ImageMagick + Use SUSE- proprietary prefix until SPDX upstream accepts ImageMagick as + license (e.g. like Fedora) + +------------------------------------------------------------------- +Thu Jan 19 15:29:00 UTC 2012 - pgajdos@suse.com + +- ImageMagick-devel requires libbz2-devel [bnc#741947] + +------------------------------------------------------------------- +Thu Jan 19 11:09:44 UTC 2012 - pgajdos@suse.com + +- update to 6.7.4.7: + * Fixed -black-threshold and -white-threshold so they work properly with + the -channels option + * Promote image depths 9-15 to 16 to avoid crashing in the PNG + encoder + * Fix problems with JNG encoder "quality" + * Fix memory leak in JP2 coder + * Use maximum bounds when rendering PDF + * etc. see ChangeLog + +------------------------------------------------------------------- +Tue Jan 17 19:42:15 UTC 2012 - crrodriguez@opensuse.org + +- Add explicit libbz2-devel BuildRequires +- Support LZMA +- Use libcms2 now. +- Cleanup huge dependency bloat in -devel package, this + will likely cause build fails on dependant packages + the solution is to fix your BuildRequires. + +------------------------------------------------------------------- +Mon Oct 31 13:51:57 UTC 2011 - pgajdos@suse.com + +- update to 6.7.3.3: + * removed upstreamed scene.patch + +------------------------------------------------------------------- +Tue Oct 18 14:23:33 UTC 2011 - pgajdos@suse.com + +- build against librsvg as recommended upstream [bnc#724222] + +------------------------------------------------------------------- +Sat Oct 15 04:47:13 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to make the spec file more reliable + +------------------------------------------------------------------- +Thu Oct 6 12:47:38 UTC 2011 - pgajdos@suse.com + +- fixed [bnc#717871] -- imagemagick display wrong order + * scene.patch + +------------------------------------------------------------------- +Tue Sep 20 13:22:37 UTC 2011 - pgajdos@suse.com + +- update to 6.7.2.7: + * Fix memory leak in text annotation. + * The "-strip" option was excluding the PNG tRNS chunk. + * Caption now wraps properly for Chinese text. + * The PNG encoder would sometimes fail to respect the -define + PNG:color-type option when the incoming image was PseudoClass. + * Properly handled continued JPEG embedded profiles. + * Revert -colorspace sRGB option patch. + * Revert -type PaletteMatte option patch. + * etc. see ChangeLog. +- obsoletes reason-error-message.patch + +------------------------------------------------------------------- +Sat Sep 17 09:36:34 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + +------------------------------------------------------------------- +Fri Sep 16 17:34:10 UTC 2011 - jengelh@medozas.de + +- Fix baselibs: add missing requires to ImageMagick-devel +- Remove redundant tags/sections + +------------------------------------------------------------------- +Wed Sep 7 08:53:45 UTC 2011 - pgajdos@suse.com + +- fixed wrong error messages [bnc#673303] + +------------------------------------------------------------------- +Fri Jul 29 07:07:44 UTC 2011 - pgajdos@novell.com + +- update to 6.7.1.0: + * Defend against corrupt PSD resource blocks. + * Properly allocate points when render text with large font size. + * Added support for Z_RLE strategy in the png compressor, using ++++ 1201 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.ImageMagick.3212.new/ImageMagick.changes New: ---- ImageMagick-6.6.8.9-doc.patch ImageMagick-6.6.8.9-examples.patch ImageMagick-6.7.6.1-no-dist-lzip.patch ImageMagick-6.7.8-8.tar.bz2 ImageMagick-6.7.8.8-CVE-2014-1958.patch ImageMagick-6.7.8.8-CVE-2014-2030.patch ImageMagick-CVE-2014-8354.patch ImageMagick-CVE-2014-8355.patch ImageMagick-CVE-2014-8562.patch ImageMagick-CVE-2014-8716.patch ImageMagick-uninitialized-memory.patch ImageMagick.changes ImageMagick.spec baselibs.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ImageMagick.spec ++++++ # # spec file for package ImageMagick # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ImageMagick BuildRequires: dcraw BuildRequires: fdupes BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: ghostscript-fonts-other BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-library BuildRequires: libbz2-devel BuildRequires: libdjvulibre-devel BuildRequires: libexif-devel BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: librsvg-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: libwebp-devel BuildRequires: libwmf-devel BuildRequires: libxml2-devel BuildRequires: lzma-devel BuildRequires: pango-devel BuildRequires: pkgconfig %define mfr_version 6.7.8 %define mfr_revision 8 %define source_version %{mfr_version}-%{mfr_revision} Version: %{mfr_version}.%{mfr_revision} Release: 0 %define libver 5 Summary: Viewer and Converter for Images License: SUSE-ImageMagick Group: Productivity/Graphics/Other Url: http://www.imagemagick.org Source: ImageMagick-%{source_version}.tar.bz2 # To get mtime of file Source1: ImageMagick.changes Source2: baselibs.conf Patch1: ImageMagick-6.6.8.9-examples.patch Patch2: ImageMagick-6.6.8.9-doc.patch Patch3: ImageMagick-6.7.6.1-no-dist-lzip.patch # will be upstreamed: # http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22586 Patch4: ImageMagick-uninitialized-memory.patch Patch5: ImageMagick-6.7.8.8-CVE-2014-2030.patch Patch6: ImageMagick-6.7.8.8-CVE-2014-1958.patch Patch7: ImageMagick-CVE-2014-8562.patch Patch8: ImageMagick-CVE-2014-8355.patch Patch9: ImageMagick-CVE-2014-8354.patch Patch10: ImageMagick-CVE-2014-8716.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n perl-PerlMagick Requires: ImageMagick = %{version} Requires: libMagickCore%{libver} = %{version} Requires: perl = %{perl_version} Summary: Perl interface for ImageMagick Group: Development/Libraries/Perl %package devel Requires: ImageMagick = %{version} Requires: libMagickCore%{libver} = %{version} Requires: libMagickWand%{libver} = %{version} Summary: Include Files and Libraries Mandatory for Development Group: Development/Libraries/C and C++ Requires: glibc-devel # bnc#741947: Requires: libbz2-devel %package extra Requires: ImageMagick = %{version} Requires: libMagickCore%{libver} = %{version} Summary: Viewer and Converter for Images - extra codecs Group: Productivity/Graphics/Other #delegates configured in delegates.xml that imagemagick can use Recommends: autotrace dcraw transfig ghostscript_any hp2xx netpbm ghostpcl libwmf %package -n libMagickCore%{libver} Summary: Viewer and Converter for Images - runtime library Group: Productivity/Graphics/Other Suggests: ImageMagick-extra = %{version} %package -n libMagickWand%{libver} Summary: Viewer and Converter for Images - runtime library Group: Productivity/Graphics/Other %package -n libMagick++%{libver} Requires: ImageMagick Summary: C++ Interface for ImageMagick - runtime library Group: Development/Libraries/C and C++ %package -n libMagick++-devel Requires: ImageMagick-devel = %{version} Requires: libMagick++%{libver} = %{version} Requires: libstdc++-devel Summary: C++ Interface for ImageMagick - files mandatory for development Group: Development/Libraries/C and C++ %package doc Summary: Document Files for ImageMagick Library Group: Development/Libraries/C and C++ %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %prep %setup -n ImageMagick-%{source_version} %patch1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="-L%{_libdir}" CHANGES=`stat --format="%y" %SOURCE1|cut --characters=1-10` # Use mtime of .changes for build time sed -i -e "s|^PACKAGE_RELEASE_DATE.*$|PACKAGE_RELEASE_DATE=\"$CHANGES\"|" version.sh autoreconf --force --install -v %configure --with-pic \ --enable-shared \ --without-frozenpaths \ --with-magick_plus_plus \ --with-modules \ --with-threads \ --without-perl \ --disable-static \ --with-djvu=yes \ --with-wmf=yes make %{?_smp_mflags} all cd PerlMagick perl Makefile.PL make %{?_smp_mflags} LD_RUN_PATH="%{_libdir}:%{_prefix}/X11R6/%{_lib}" %check export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/magick/.libs:$PWD/wand/.libs export MAGICK_CODER_MODULE_PATH=$PWD/coders/.libs export MAGICK_CODER_FILTER_PATH=$PWD/filters/.libs export MAGICK_CONFIGURE_PATH=$PWD/config cd PerlMagick %ifnarch ppc ppc64 make test %endif %install %{__install} -d "${RPM_BUILD_ROOT%}"'{_defaultdocdir}/%{name}/images' %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ pkgdocdir=%{_defaultdocdir}/%{name}/ cd PerlMagick %{__make} "DESTDIR=${RPM_BUILD_ROOT}" 'LD_RUN_PATH=%{_libdir}:%{_prefix}/X11R6/%{_lib}' install_vendor %perl_process_packlist cd '../Magick++' %{__rm} -rf demo/{.deps,.libs,*.C,*.o,Makefile*,run_demos.bat} PATH='/bin:/usr/bin' find demo -type f -perm +111 -execdir %{__rm} -rf '{}' ';' %{__mv} demo/makefile.2 demo/Makefile cd .. %{__mv} -t "${RPM_BUILD_ROOT}"'%{_sysconfdir}'/%{name}* "${RPM_BUILD_ROOT}"'%{_datadir}'/%{name}*/*.xml %{__cp} -a -t "${RPM_BUILD_ROOT}"'%{_defaultdocdir}/%{name}/' scenes PATH='/bin:/usr/bin' find "${RPM_BUILD_ROOT}/%{_libdir}" -name "*.la" ! -empty \ -execdir %{__sed} -i -e 's@ -L/usr/src[^ ]*@@g' -e 's@ /usr/lib/libltdl.la@@g' '{}' ';' %{__rm} -f "${RPM_BUILD_ROOT}"'%{_libdir}'/libltdl.* %{__rm} -f "${RPM_BUILD_ROOT}"'%{_libdir}'/*.la echo>'%{buildroot}%{_includedir}/%{name}/wand.h' '#include "wand/MagickWand.h"' %if 0%{?suse_version} > 1020 %fdupes $RPM_BUILD_ROOT%{_includedir}/%{name}/wand %fdupes $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/www/api %endif rm -rf %{buildroot}/%{_datadir}/doc/%{name} %post -n libMagickCore%{libver} -p /sbin/ldconfig %postun -n libMagickCore%{libver} -p /sbin/ldconfig %post -n libMagickWand%{libver} -p /sbin/ldconfig %postun -n libMagickWand%{libver} -p /sbin/ldconfig %post -n libMagick++%{libver} -p /sbin/ldconfig %postun -n libMagick++%{libver} -p /sbin/ldconfig %files %defattr(-,root,root) %docdir %{_docdir}/%{name} %doc QuickStart.txt README.txt NEWS.txt ChangeLog LICENSE %{_bindir}/[^MW]* %doc %{_mandir}/man1/* %exclude %{_mandir}/man1/*-config.1.gz %files -n libMagickCore%{libver} %defattr(-,root,root) %doc LICENSE %dir %{_sysconfdir}/ImageMagick* %config %{_sysconfdir}/ImageMagick*/* %{_libdir}/libMagickCore.so.%{libver}* %dir %{_libdir}/ImageMagick* %dir %{_libdir}/ImageMagick*/modules* %dir %{_libdir}/ImageMagick*/modules*/* %{_libdir}/ImageMagick*/config %exclude %{_libdir}/ImageMagick*/modules*/*/wmf.* %exclude %{_libdir}/ImageMagick*/modules*/*/jp2.* %exclude %{_libdir}/ImageMagick*/modules*/*/djvu.* %{_libdir}/ImageMagick*/modules*/*/*.so # don't remove la files, see bnc#579798 %{_libdir}/ImageMagick*/modules*/*/*.la %files -n libMagickWand%{libver} %defattr(-,root,root) %doc LICENSE %{_libdir}/libMagickWand.so.%{libver}* %files extra %defattr(-,root,root) %doc LICENSE %{_libdir}/ImageMagick*/modules*/*/wmf.so # don't remove la files, see bnc#579798 %{_libdir}/ImageMagick*/modules*/*/wmf.la %{_libdir}/ImageMagick*/modules*/*/jp2.so %{_libdir}/ImageMagick*/modules*/*/jp2.la %{_libdir}/ImageMagick*/modules*/*/djvu.so %{_libdir}/ImageMagick*/modules*/*/djvu.la %files devel %defattr(-,root,root) %doc LICENSE %{_libdir}/libMagickCore.so %{_libdir}/libMagickWand.so %dir %{_includedir}/ImageMagick %{_includedir}/ImageMagick/magick %{_includedir}/ImageMagick/wand %{_includedir}/ImageMagick/wand.h %{_bindir}/MagickCore-config %{_bindir}/MagickWand-config %{_bindir}/Magick-config %{_bindir}/Wand-config %{_libdir}/pkgconfig/ImageMagick.pc %{_libdir}/pkgconfig/Wand.pc %{_libdir}/pkgconfig/MagickCore.pc %{_libdir}/pkgconfig/MagickWand.pc %doc %{_mandir}/man1/*-config.1.gz %exclude %{_mandir}/man1/Magick++-config.1.gz %files -n perl-PerlMagick %defattr(-,root,root) %doc LICENSE %doc PerlMagick/README.txt %doc PerlMagick/demo %doc %{_mandir}/man3/Image::Magick.3pm* %{perl_vendorarch}/auto/Image %{perl_vendorarch}/Image %files -n libMagick++%{libver} %defattr(-,root,root) %doc LICENSE %{_libdir}/libMagick++.so.%{libver}* %files -n libMagick++-devel %defattr(-,root,root) %doc LICENSE %doc Magick++/demo %doc Magick++/NEWS Magick++/README Magick++/AUTHORS %{_libdir}/libMagick++.so %{_includedir}/ImageMagick/Magick++.h %{_includedir}/ImageMagick/Magick++ %{_bindir}/Magick++-config %{_libdir}/pkgconfig/ImageMagick++.pc %{_libdir}/pkgconfig/Magick++.pc %doc %{_mandir}/man1/Magick++-config.1.gz %files doc %defattr(-,root,root) %dir %{_docdir}/%{name} %description ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats, including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick, you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color-reduce, or add special effects to an image and save your completed work in many different image formats. Image processing operations are available from the command line as well as through C, C++, and PERL-based programming interfaces. %description devel ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats, including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick, you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color-reduce, or add special effects to an image and save your completed work in many different image formats. Image processing operations are available from the command line as well as through C, C++, and PERL-based programming interfaces. %description extra This package adds support for djvu, wmf and jpeg2000 formats and installs optional helper applications. ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats, including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick, you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color-reduce, or add special effects to an image and save your completed work in many different image formats. Image processing operations are available from the command line as well as through C, C++, and PERL-based programming interfaces. %description -n libMagickCore%{libver} ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats, including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick, you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color-reduce, or add special effects to an image and save your completed work in many different image formats. Image processing operations are available from the command line as well as through C, C++, and PERL-based programming interfaces. %description -n libMagickWand%{libver} ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats, including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick, you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color-reduce, or add special effects to an image and save your completed work in many different image formats. Image processing operations are available from the command line as well as through C, C++, and PERL-based programming interfaces. %description -n perl-PerlMagick PerlMagick is an objected-oriented Perl interface to ImageMagick. Use the module to read, manipulate, or write an image or image sequence from within a Perl script. This makes it suitable for Web CGI scripts. %description -n libMagick++%{libver} This is Magick++, the object-oriented C++ API for the ImageMagick image-processing library. Magick++ supports an object model inspired by PerlMagick. Magick++ should be faster than PerlMagick since it is written in a compiled language which is not parsed at run-time. This makes it suitable for Web CGI programs. Images support implicit reference counting so that copy constructors and assignment incur almost no cost. The cost of actually copying an image (if necessary) is done just before modification and this copy is managed automatically by Magick++. De-referenced copies are automatically deleted. The image objects support value (rather than pointer) semantics so it is trivial to support multiple generations of an image in memory at one time. %description -n libMagick++-devel This is Magick++, the object-oriented C++ API for the ImageMagick image-processing library. Magick++ supports an object model inspired by PerlMagick. Magick++ should be faster than PerlMagick since it is written in a compiled language which is not parsed at run-time. This makes it suitable for Web CGI programs. Images support implicit reference counting so that copy constructors and assignment incur almost no cost. The cost of actually copying an image (if necessary) is done just before modification and this copy is managed automatically by Magick++. De-referenced copies are automatically deleted. The image objects support value (rather than pointer) semantics so it is trivial to support multiple generations of an image in memory at one time. %description doc HTML documentation for ImageMagick library and scene examples. %changelog ++++++ ImageMagick-6.6.8.9-doc.patch ++++++ Index: configure.ac =================================================================== --- configure.ac.orig +++ configure.ac @@ -2973,7 +2973,7 @@ AC_SUBST(FILTER_PATH) # # Path to ImageMagick documentation files -DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_VERSION}" +DOCUMENTATION_RELATIVE_PATH="packages/${PACKAGE_NAME}" DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}" DEFINE_DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}/" case "${build_os}" in ++++++ ImageMagick-6.6.8.9-examples.patch ++++++ --- Magick++/demo/makefile.2 +++ Magick++/demo/makefile.2 @@ -0,0 +1,8 @@ +LDFLAGS= $(shell Magick-config --ldflags) +LOADLIBES=-lMagick++ $(shell Magick-config --libs) +CPPFLAGS=$(shell Magick-config --cflags) $(shell Magick-config --cppflags) + +all: button demo detrans flip shapes + + + ++++++ ImageMagick-6.7.6.1-no-dist-lzip.patch ++++++ Index: ImageMagick-6.7.6-1/configure.ac =================================================================== --- ImageMagick-6.7.6-1.orig/configure.ac +++ ImageMagick-6.7.6-1/configure.ac @@ -128,7 +128,7 @@ AC_SUBST(PACKAGE_VERSION_ADDENDUM)dnl # Ensure that make can run correctly AM_SANITY_CHECK -AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-lzip dist-xz dist-zip]) +AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-xz dist-zip]) # Enable support for silent build rules m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) ++++++ ImageMagick-6.7.8.8-CVE-2014-1958.patch ++++++ http://trac.imagemagick.org/changeset/14801 Index: coders/psd.c =================================================================== --- coders/psd.c +++ coders/psd.c @@ -330,5 +330,5 @@ for (i=0; (packets > 1) && (i < (ssize_t) number_pixels); ) { - length=(*compact_pixels++); + length=(size_t) (*compact_pixels++); packets--; if (length == 128) @@ -337,4 +337,6 @@ { length=256-length+1; + if ((ssize_t) length + i > (ssize_t) number_pixels) + length=number_pixels-(size_t) i; pixel=(*compact_pixels++); packets--; @@ -383,4 +385,6 @@ } length++; + if ((ssize_t) length + i > (ssize_t) number_pixels) + length=number_pixels-(size_t) i; for (j=0; j < (ssize_t) length; j++) { ++++++ ImageMagick-6.7.8.8-CVE-2014-2030.patch ++++++ http://trac.imagemagick.org/changeset/13736 Index: coders/psd.c =================================================================== --- coders/psd.c.orig 2013-08-08 16:24:43.000000000 +0200 +++ coders/psd.c 2014-02-18 14:43:36.398197304 +0100 @@ -2112,7 +2112,7 @@ *bim_profile; unsigned char - layer_name[4]; + layer_name[MaxTextExtent]; /* Open image file. ++++++ ImageMagick-CVE-2014-8354.patch ++++++ http://trac.imagemagick.org/changeset/16765 Index: magick/resize.c =================================================================== --- magick/resize.c.orig 2012-07-30 14:28:56.000000000 +0200 +++ magick/resize.c 2014-11-04 11:20:39.848251946 +0100 @@ -2254,6 +2254,8 @@ ((MagickRealType) (start+n)-bisect+0.5)); density+=contribution[n].weight; } + if (n == 0) + continue; if ((density != 0.0) && (density != 1.0)) { register ssize_t @@ -2494,6 +2496,8 @@ ((MagickRealType) (start+n)-bisect+0.5)); density+=contribution[n].weight; } + if (n == 0) + continue; if ((density != 0.0) && (density != 1.0)) { register ssize_t ++++++ ImageMagick-CVE-2014-8355.patch ++++++ http://trac.imagemagick.org/changeset/16773 Index: coders/pcx.c =================================================================== --- coders/pcx.c.orig 2012-06-26 15:37:51.000000000 +0200 +++ coders/pcx.c 2014-11-04 11:05:35.058220408 +0100 @@ -265,7 +272,7 @@ unsigned char packet, - *pcx_colormap, + pcx_colormap[768], *pcx_pixels, *scanline; @@ -318,7 +325,6 @@ if (offset < 0) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); } - pcx_colormap=(unsigned char *) NULL; count=ReadBlob(image,1,&pcx_info.identifier); for (id=1; id < 1024; id++) { @@ -351,10 +357,6 @@ image->x_resolution=(double) pcx_info.horizontal_resolution; image->y_resolution=(double) pcx_info.vertical_resolution; image->colors=16; - pcx_colormap=(unsigned char *) AcquireQuantumMemory(256UL, - 3*sizeof(*pcx_colormap)); - if (pcx_colormap == (unsigned char *) NULL) - ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); count=ReadBlob(image,3*image->colors,pcx_colormap); pcx_info.reserved=(unsigned char) ReadBlobByte(image); pcx_info.planes=(unsigned char) ReadBlobByte(image); @@ -387,6 +389,9 @@ */ pcx_packets=(size_t) image->rows*pcx_info.bytes_per_line* pcx_info.planes; + if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) > + (pcx_packets*8U)) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); pcx_pixels=(unsigned char *) AcquireQuantumMemory(pcx_packets, sizeof(*pcx_pixels)); scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, @@ -470,7 +475,6 @@ image->colormap[i].blue=ScaleCharToQuantum(*p++); } } - pcx_colormap=(unsigned char *) RelinquishMagickMemory(pcx_colormap); } /* Convert PCX raster image to pixel packets. @@ -627,8 +631,6 @@ if (image->storage_class == PseudoClass) (void) SyncImage(image); scanline=(unsigned char *) RelinquishMagickMemory(scanline); - if (pcx_colormap != (unsigned char *) NULL) - pcx_colormap=(unsigned char *) RelinquishMagickMemory(pcx_colormap); pcx_pixels=(unsigned char *) RelinquishMagickMemory(pcx_pixels); if (EOFBlob(image) != MagickFalse) { ++++++ ImageMagick-CVE-2014-8562.patch ++++++ http://trac.imagemagick.org/changeset/16795 Index: coders/dcm.c =================================================================== --- coders/dcm.c.orig 2013-04-26 15:46:00.000000000 +0200 +++ coders/dcm.c 2014-11-04 10:15:48.055946808 +0100 @@ -2611,7 +2611,7 @@ { 0xfffe, 0xe000, "!!", "Item" }, { 0xfffe, 0xe00d, "!!", "Item Delimitation Item" }, { 0xfffe, 0xe0dd, "!!", "Sequence Delimitation Item" }, - { 0xffff, 0xffff, "xs", "" } + { 0xffff, 0xffff, "xs", (char *) NULL } }; /* @@ -3408,6 +3408,8 @@ if ((group == (ssize_t) dicom_info[i].group) && (element == (ssize_t) dicom_info[i].element)) break; + if (dicom_info[i].description != (char *) NULL) + { attribute=AcquireString("dcm:"); (void) ConcatenateString(&attribute,dicom_info[i].description); for (i=0; i < (ssize_t) MagickMax(length,4); i++) @@ -3419,6 +3421,7 @@ (void) SetImageProperty(image,attribute,(char *) data); } attribute=DestroyString(attribute); + } } if (image_info->verbose != MagickFalse) { ++++++ ImageMagick-CVE-2014-8716.patch ++++++ Index: magick/property.c =================================================================== --- magick/property.c.orig 2014-09-20 20:03:42.000000000 +0200 +++ magick/property.c 2014-11-13 12:53:26.515985542 +0100 @@ -1321,6 +1321,8 @@ The directory entry contains an offset. */ offset=(ssize_t) ((int) ReadPropertyLong(endian,q+8)); + if ((offset < 0) || (size_t) offset >= length) + continue; if ((ssize_t) (offset+number_bytes) < offset) continue; /* prevent overflow */ if ((size_t) (offset+number_bytes) > length) ++++++ ImageMagick-uninitialized-memory.patch ++++++ http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22586 Index: ImageMagick-6.7.8-8/coders/mat.c =================================================================== --- ImageMagick-6.7.8-8.orig/coders/mat.c +++ ImageMagick-6.7.8-8/coders/mat.c @@ -897,7 +897,7 @@ NEXT_FRAME: { for (i = 0; i < (ssize_t) MATLAB_HDR.SizeY; i++) { - q=QueueAuthenticPixels(image,0,MATLAB_HDR.SizeY-i-1,image->columns,1,exception); + q=GetAuthenticPixels(image,0,MATLAB_HDR.SizeY-i-1,image->columns,1,exception); if (q == (PixelPacket *)NULL) { if (logging) (void)LogMagickEvent(CoderEvent,GetMagickModule(), Index: ImageMagick-6.7.8-8/magick/quantum-import.c =================================================================== --- ImageMagick-6.7.8-8.orig/magick/quantum-import.c +++ ImageMagick-6.7.8-8/magick/quantum-import.c @@ -1032,62 +1032,86 @@ static void ImportBlueQuantum(const Imag switch (quantum_info->depth) { - case 10: + case 8: { - Quantum - cbcr[4]; + unsigned char + pixel; - pixel=0; - if (quantum_info->pack == MagickFalse) - { - register ssize_t - i; + for (x=0; x < (ssize_t) number_pixels; x++) + { + p=PushCharPixel(p,&pixel); + SetPixelBlue(q,ScaleCharToQuantum(pixel)); + p+=quantum_info->pad; + q++; + } + break; + } + case 16: + { + unsigned short + pixel; - size_t - quantum; + if (quantum_info->format == FloatingPointQuantumFormat) + { + for (x=0; x < (ssize_t) number_pixels; x++) + { + p=PushShortPixel(quantum_info->endian,p,&pixel); + SetPixelBlue(q,ClampToQuantum((MagickRealType) + QuantumRange*HalfToSinglePrecision(pixel))); + p+=quantum_info->pad; + q++; + } + break; + } + for (x=0; x < (ssize_t) number_pixels; x++) + { + p=PushShortPixel(quantum_info->endian,p,&pixel); + SetPixelBlue(q,ScaleShortToQuantum(pixel)); + p+=quantum_info->pad; + q++; + } + break; + } + case 32: + { + unsigned int + pixel; - ssize_t - n; + if (quantum_info->format == FloatingPointQuantumFormat) + { + float + pixel; - n=0; - quantum=0; - for (x=0; x < (ssize_t) number_pixels; x+=2) + for (x=0; x < (ssize_t) number_pixels; x++) { - for (i=0; i < 4; i++) - { - switch (n % 3) - { - case 0: - { - p=PushLongPixel(quantum_info->endian,p,&pixel); - quantum=(size_t) (ScaleShortToQuantum((unsigned short) - (((pixel >> 22) & 0x3ff) << 6))); - break; - } - case 1: - { - quantum=(size_t) (ScaleShortToQuantum((unsigned short) - (((pixel >> 12) & 0x3ff) << 6))); - break; - } - case 2: - { - quantum=(size_t) (ScaleShortToQuantum((unsigned short) - (((pixel >> 2) & 0x3ff) << 6))); - break; - } - } - cbcr[i]=(Quantum) (quantum); - n++; - } + p=PushFloatPixel(quantum_info,p,&pixel); + SetPixelBlue(q,ClampToQuantum(pixel)); p+=quantum_info->pad; - SetPixelRed(q,cbcr[1]); - SetPixelGreen(q,cbcr[0]); - SetPixelBlue(q,cbcr[2]); q++; - SetPixelRed(q,cbcr[3]); - SetPixelGreen(q,cbcr[0]); - SetPixelBlue(q,cbcr[2]); + } + break; + } + for (x=0; x < (ssize_t) number_pixels; x++) + { + p=PushLongPixel(quantum_info->endian,p,&pixel); + SetPixelBlue(q,ScaleLongToQuantum(pixel)); + p+=quantum_info->pad; + q++; + } + break; + } + case 64: + { + if (quantum_info->format == FloatingPointQuantumFormat) + { + double + pixel; + + for (x=0; x < (ssize_t) number_pixels; x++) + { + p=PushDoublePixel(quantum_info,p,&pixel); + SetPixelBlue(q,ClampToQuantum(pixel)); + p+=quantum_info->pad; q++; } break; @@ -1102,9 +1126,8 @@ static void ImportBlueQuantum(const Imag for (x=0; x < (ssize_t) number_pixels; x++) { p=PushQuantumPixel(quantum_info,p,&pixel); - SetPixelRed(q,ScaleAnyToQuantum(pixel,range)); - p=PushQuantumPixel(quantum_info,p,&pixel); - SetPixelGreen(q,ScaleAnyToQuantum(pixel,range)); + SetPixelBlue(q,ScaleAnyToQuantum(pixel,range)); + p+=quantum_info->pad; q++; } break; ++++++ baselibs.conf ++++++ libMagickCore5 libMagickWand5 ImageMagick-devel requires -ImageMagick-<targettype> requires "libMagickCore5-<targettype> = <version>" requires "libMagickWand5-<targettype> = <version>"
participants (1)
-
root@hilbert.suse.de