- Drop patches not meintioned in the changelog ever:
* GraphicsMagick-debian-fixed.patch
* GraphicsMagick-include.patch
* GraphicsMagick-perl-link.patch
* The package builds just fine without them and there is no
refference explaining it
- Convert the deps to pkgconfig variants where possible.
- Version update to 1.3.26:
* DPX: Fix excessive use of memory (DOS issue) due to file header
claiming large image dimensions but insufficient backing
data. (CVE-2017-10799 bsc#1047054).
* JNG: Fix memory leak when reading invalid JNG image (CVE-2017-8350).
* MAT: Fix excessive use of memory (DOS issue) due to continuing
processing with insufficient data and claimed large image
size. Verify each file extent to make sure that it is within range
of file size. (CVE-2017-10800 bsc#1047044).
* META: Fix heap overflow while parsing 8BIM chunk (CVE-2016-7800).
* PCX: Fix denial of service issue.
* RLE: Fix abnomally slow operation (denial of service issue) with
intentionally corrupt colormapped file.
* PICT: Fix possible buffer overflow vulnerability given suitably
truncated input file.
* PNG: Enforce spec requirement that the dimensions of the JPEG
embedded in a JDAT chunk must match the JHDR dimensions
(CVE-2016-9830).
* PNG: Avoid NULL dereference when MAGN chunk processing fails.
* SCT: Fix stack-buffer read overflow (underflow?) while reading SCT
header.
* SGI: Fix denial of service issues. Delay large memory allocations
OBS-URL: https://build.opensuse.org/request/show/511776
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=73
* EscapeParenthesis(): I was notified by Gustavo Grieco of a heap
overflow in EscapeParenthesis() used in the text annotation code.
While not being able to reproduce the issue, the implementation of
this function is completely redone.
* Utah RLE: Reject truncated/absurd files which caused huge memory
allocations and/or consumed huge CPU. Problem was reported by
Agostino Sarubbo based on testing with AFL.
* SVG/MVG: Fix another case of CVE-2016-2317 (heap buffer overflow) in
the MVG rendering code (also impacts SVG).
* TIFF: Fix heap buffer read overflow while copying sized TIFF
attributes. Problem was reported by Agostino Sarubbo based on
testing with AFL.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=68
* EPT: Fix crash observed when Ghostscript fails to produce useful
output. This was particularly noticeable when Ghostscript was not
installed. This crash could be used to cause denial of service.
* PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a
"known incorrect ICC profile". This crash could be used to cause
denial of service.
* etc. see NEWS.txt
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=43
* Due to `GCC bug 53967`_, several key agorithms (e.g. convolution)
may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is
enabled for floating point math (`-mfpmath=sse`) if the GCC option
`-frename-registers` is used. Default 32-bit builds do not
experience the problem since they use '387 math. It is not clear
in what version of GCC this problem started but it was not noticed
by the developers until the GCC 4.6 timeframe. Other compilers do
not suffer from this bug.
* Fixed bug with format substitutions if input string ends with a
single '%'.
* BMP: Fixed an old bug with decoding chromaticity primaries.
* PNG: Fixed reading of interlaced images. Fix reading of sub-8-bit
palette and grayscale images. Some PNG sub-formats were written
incorrectly. Fix crash in PNG8 writer if image colors happened to
be non-zero but image was not actually colormapped.
* PNG: Configure script now also searches for libpng versions 16 and
17.
* TIFF: Fix a crash which was noticed when writing RGBA separated
(planar) format.
* `--enable-symbol-prefix` was not prefixing all of the C
symbols. Some core C library functions were not prefixed. This
option applies to the Wand library API as well now.
* C API: When input is from a user-provided file descriptor, the
file position is restored after reading the file header bytes.
Previously the file position was rewound to the beginning of the
file. This allows reading embedded image data from the current
offset in a file, and allows continuing to use the stream after
GraphicsMagick has returned the image.
* C API: It is now possible to invoke CloseBlob() multiple times.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=39
* PNG: Fix for CVE-2012-3438. The Magick_png_malloc function in
coders/png.c in GraphicsMagick 6.7.8-6 does not use the proper
variable type for the allocation size, which might allow remote
attackers to cause a denial of service (crash) via a crafted PNG
file that triggers incorrect memory allocation.
* PNG: Reading sub-8-bit palette images is fixed (images looked
stretched).
* SVG: Fixed bug which allowed MVG and SVG files with long vector
paths to crash the software.
* SVG: Ignore XML headers rather than rendering them as text.
* MVG/SVG/WMF/-draw: It is now possible to draw a plain ','
character.
* etc., see NEWS.txt
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=37
Security Fixes:
* Don't translate 'comment' and 'label' attributes if the request is
made while a file is being read. Only translate such attributes
if they come from the command line or API user.
Bug fixes:
* SWT: SWT reader suffered from a number of implementation errors
which caused it not to work any more. Works again.
* XBM: Fix memory leak observed when reading file in 'ping' mode.
* Support -trim on images which use a consistent (single color)
transparent background. In this case, trim is done based on
opacity rather than foreground color.
* Include <sys/types.h> in order to assure that 'size_t' and
'ssize_t' are declared. This is necessary since
MagickExtentImage() uses these types as part of its definition.
* +repage was not working because parser was insisting that it
should include an argument.
(i.e. multiplying rather than dividing).
* PerlMagick: Fix compilation with Perl 5.16.
* PingBlob(): PingBlob was not working for all cases. Is now based
on BlobToImage() for assured reliability.
Feature improvements:
* MAT: Animated movies inside 4D matrices are loaded now.
* PDF: File base name is used as the document title.
* PNG: Fix issues observed specifically with libpng 1.5.10.
Performance Improvements:
* Pixel iterators should be more efficient now if the image uses a
file-backed cache.
* Motion blur algorithm does scale well as cores are added so
include OpenMP support for it by default.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=35
Bug fixes:
* PNG - fixed problem with bit depth when the encoder decides to
write RGBA instead of indexed PNG.
* Fixed some temporary file leaks which were caused by the temporary
file name being automatically extended to include a scene number,
and therefore fail to be deleted.
New Features:
* Added '+noise random' and '-operator noise-random' to 'convert'
and 'mogrify'. This modulates the existing image data with
uniformely random noise.
* Added -strip option in composite, convert, mogrify, and montage to
remove all profiles and text attributes from the image.
* Added -repage option to composite, convert, mogrify, and montage
subcommands to reset or adjust the current image page offsets
based on a provided geometry specification.
* New C function StripImage() to remove all profiles and text
attributes from the image.
* New C function ResetImagePage() to adjust the current image page
canvas and position based on a relative page specification.
* C functions GenerateDifferentialNoise(), AddNoiseImageChannel(),
QuantumOperatorRegionImage(), AddNoiseImage() updated to support
RandomNoise enumeration.
* New C++ Image method strip(), and unary function stripImage() to
remove all profiles and text attributes from the image.
* XCF format now respects image subimage and subrange members so
that returned image layers may be selected.
* The INFO coder (e.g. output file "info:-") now respects the
-format option so that its output may be adjusted identically to
how -format works for 'identify'.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=31
Bug fixes:
* TGA format: Assume that 32-bit TGA files have an alpha channel,
even if they are not marked as such.
* XCF format: Fix reading XCF which is comprised of different sized
layers.
* JPEG & CineonLog: Convert RGB-compatible colorspaces
(e.g. CineonLog) to RGB by default since that was the case prior
to release 1.3.13.
* RAW formats: Small memory leak in dcraw module was fixed.
* Resize: ResizeImage() was ignoring its resize filter argument and
was using the filter setting from the Image structure instead.
* The mirror virtual pixel method was broken.
New Features:
* Open64 Compiler Suite: Version 5.0 is fully supported.
* Wand API: Added MagickExtentImage().
* MEF RAW: Mamiya Photo RAW "MEF" format is now supported.
Feature improvements:
* DPX format: Original file endianness is preserved by default.
Performance Improvements:
* Despeckle algorithm (-despeckle) is many times faster.
Behavior Changes:
* DPX format: Original file endianness is preserved by default.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=29
* In I/O blob, don't rewind already open file handle passed to
OpenBlob() since we don't know the intended state of this file
handle, and because it prevents appending to an existing file.
* In AppendImageProfile(), don't leak profile buffer while appending
a chunk to an existing profile.
* Fix deadlock in ClonePixelCache() which was caused by using the
same semaphore pointer in the source and destination images.
* etc. see NEWS.txt
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=24
* Filter mode (write to stdout) was completely broken.
* Should now compile with libpng 1.4.
* DCX output format is only written on request. Previously the PCX
coder would automatically switch to DCX format if multiple frames
would be written.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=16
* Fixed array underflow on systems using signed char
which could result in a program crash due to extended
characters in filenames or in certain file formats.
* Fixed array underflow on systems using signed char
which could result in a program crash due to extended
characters in filenames or in certain file formats.
* Added a -thumbnail command to 'convert' and 'mogrify'.
This is a faster way to scale down the image when
speed is a primary concern.
* Added a -extent command to 'convert' and 'mogrify'
which composites the image on top of a backing
canvas image of solid color.
* Added support for -compose to the 'convert' and
'mogrify', which were documented to support it
(but did not).
* Requests for 'Over' and 'Atop' composition are
converted to a request for the (faster) 'Copy'
composition when both images are opaque.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=14
* +adjoin was not working correctly for the case when only one image
frame is present. With +adjoin and writing one frame to
"foo%d.jpg" it was outputting "foo%d.jpg" rather than "foo0.jpg".
* When drawing paths, memory allocation for the points was much
larger than it needed to be (patch by Vladimir Lukianov).
* To reiterate the change which first appeared in 1.3.9, there is no
longer an implicit +adjoin if the output file name happens to
contain a %d sequence, or there are multiple frames and the output
file format only supports storing one frame. Specify +adjoin if
scene number substition is desired in the output file names.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=11
* There is no longer an implicit 'adjoin' if an output filename
contains an apparent scene specification (e.g. foo%02d.tiff) and
multiple files are not needed to save the image.. It is necessary
to use +adjoin. For example ``gm convert foo.pdf +adjoin
%02d.tiff``.
* For formats which support multiple frames, output with +adjoing to
filenames containing a scene specification (e.g. foo%02d.tiff) was
resulting in wrong output file names.
* -flatten now applies the image background color under the first
image in the list if it is not already opaque.
* Fix "double free" error when using gm import -frame.
* XPM does not support RGBA color syntax, so return RGB instead.
* The display '-update' option was only working in conjunction with
the '-delay' option with a delay setting of 2 or greater.
* -convolve was crashing rather than reporting an error.
* Fixed crash if the number of OpenMP threads was reduced from the
original value via '-limit threads' or omp_set_num_threads().
* -blur was not blurring the opacity channel for solid-color images.
* Several deleted global string constants are restored with
deprecated status in order to assure that symbols are not removed
from the ABI.
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=10
Security Fixes:
* Fix for CVE-2009-1882 "Integer overflow in the XMakeImage
function".
* Fix lockup due to hanging in loop while parsing malformed
sub-image specification (SourceForge issue 2886560).
* Libltdl: Updated libtool to 2.2.6b in order to fix security issue.
Resolves CVE-2009-3736 as it pertains to GraphicsMagick.
Bug fixes:
* -convolve, -recolor: Validate that user-provided matrix is square
when parsing -convolve and -recolor commands in order to avoid a
core dump.
* CALS: Reading images taller than the image width resulted in a
failure.
* ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
transparency and 'O' should indicate opacity. Behavior was
inconsistent. In some cases 'O' meant transparency while in other
cases it meant opacity. Also, in a few cases, matte was not
getting enabled in the image as it should.
* DCRAW: Module name was not registered so modules based builds were
not supporting formats provided via 'dcraw'.
* GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(): In the Q32
build, convolution kernel size was estimated incorrectly for large
sigmas on 32-bit systems due to arithmetic overflow. This could
cause wrong results for -convolve, -blur, -sharpen, and other
algorithms which use these functions.
etc., see NEWS.txt
OBS-URL: https://build.opensuse.org/package/show/graphics/GraphicsMagick?expand=0&rev=8