summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick
AgeCommit message (Collapse)AuthorFilesLines
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin2-4/+4
2016-01-06Revbump after updating graphics/libwebpadam1-2/+2
2015-12-13Add libwebp dependency and bump PKGREVISION accordingly.richard2-2/+5
2015-11-25Remove mk/find-prefix.mk usage from the graphics category.jperkin1-5/+2
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-17Changes 1.3.23:adam2-7/+7
Special Issues: * 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. Please lobby the GCC project to fix this embarrassing performance bug. Security Fixes: * ScaleImage(): While not strictly a security issue, requesting to scale an image while retaining the original number of rows will lead to a program crash or memory corruption due to double-free. Bug fixes: * ScaleImage(): Fix problem with new width/height match original (regression added by 1.3.22). * ScaleImage(): Fix double-free when new rows matches original rows (regression added by 1.3.22). * MinGW build fix related to eliminating a sleep() macro which conflicts with a MinGW-provided inline sleep() function. * PNG: Issue a warning instead of an error when attempting to read a PNG file containing a zero-length profile. This allows the file to be read. * identify: Fix problem in that identify -format "%A" (to test if transparency is supported in image) does not always produce the correct results.
2015-11-03Add SHA512 digests for distfiles for graphics categoryagc1-1/+2
Problems found with existing digests: Package fotoxx distfile fotoxx-14.03.1.tar.gz ac2033f87de2c23941261f7c50160cddf872c110 [recorded] 118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated] Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz 34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb Package pgraf: missing distfile pgraf-20010131.tar.gz Package qvplay: missing distfile qvplay-0.95.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-06Changes 1.3.22:adam3-9/+8
Special Issues: * 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. Please lobby the GCC project to fix this embarrassing performance bug. * Magick++: Any libraries or applications using Magick++ should be rebuilt in order to use this new release. Libraries and applications will be able to continue to use prior versions of Magick++ without being re-built, while benefiting from updated C libraries, provided that the system supports library versioning. Security Fixes: * General Coverity fixes. Some might have security consequences. * Ghostscript options concatenation is more secure against buffer overflow. * Windows: Built-in random number generator is now salted using CryptGenRandom(). This improves the robustness of the temporary file allocator. Bug fixes: * ...
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-03-02Changes 1.3.21:adam3-8/+8
Security Fixes: --------------- Annotate: Some requestable text-subsitution attributes caused a crash. All formats: Image dimensions are checked to assure that they are within limits before proceeding to read the image. BMP: Fix hang (endless loop) for certain files. DCM: Fix crash as well as small heap over-write. DPX: Fix crash due to DPX file reporting more elements than it has. MNG: Validate MHDR chunk length to avoid huge memory allocation and DOS. PCX: Fix for CVE-2014-8355. Validate file header in order to avoid buffer overun later. PDB: Detect arithmetic overflows when calculating buffer sizes. Fix crash in writer when image width is not even multiple of 16. Fix buffer overrun with 2 and 4-bit PDB image files. PNM: Validate PGM, PPM, and PAM header MaxValue parameter to avoid crash on poorly-formed input. PNG: Impose a 10-million limit on dimensions when reading a PNG file to avoid denial of service. PSD: Avoid problems caused by huge PSD colormap size. PSD: Fix small stack over-write if more than 99 layers are written to PSD format. PSD: Returns immediately if pixel limit was exceeded. RLE: URT RLE reader is now more robust with errant files. SUN: Header validation is now made fully robust, and arithmetic overflows in buffer-size calculations are detected to avoid heap overwrite. TIFF: Fix crashes for photometrics which may delivery one or three samples per pixel (was assuming always three). VIFF: Fixes to prevent buffer overflow. Validate colormap indexes. Windows delegates: Fix unexpected argument splitting when invoking an external delegate program via delegates.mgk. WPG: Fix use of NULL pointers. Fix buffer overflows. XPM: Detect truncated row and quit with error rather than over-running a buffer. XWD: Improve header validation. Added to UnstableCoderClass since the reader for this format should not be entrusted with untrustworthy input. Bug fixes: ---------- CIN: Fix problem with text attribute values which are not NULL terminated. Validate sizes claimed by Cineon header. Coverity: Fixes for many issues detected by Coverity scan (see ChangeLog). DPX: Fix problem with text attribute values which are not NULL terminated. DPX: Fix severe corruption of little-endian 32-bit packed output. Corruption was severe enough that it would have been noticed immediately. Delegates: Fix possible memory leaks when invoking external application. FITS: Properly validate values provided by file header. GIF: Fix use of uninitialized data. JBIG: Fix memory leaks. JNG: Fix double-free error in error path. JPEG: Verify the number of output components before attempting to decode the image. Magick++: Image resolutionUnits() was not always returning correct value. Magick++: Locking has not been working properly since the code was written in 1998. Apparently the issue has not been significant enough to cause run-time issues. ICO: Windows icon reader is now much more robust. MIFF: Reader now quits with an error if zip or bzip2 stream is corrupted. MAT: Fix memory leaks. PALM: Reader now reads various input formats (up to version 2) correctly whereas it was crashing or otherwise malfunctioning before. More work remains, particularly in the writer. PCX: Eliminate memory leaks in error paths. PDB: In PDB writer, void possible under-allocation due to arthimetic overflow when allocating packets. PICT: Fix PICT reader crash with corrupted file. PNG: Fix double-free error in error path. PNG: Fixed handling of transparency when writing indexed PNG. PNG: Avoid reading beyond the end of a tEXt keyword. PSD: Fix error when reading PSDs files which have no layers. RLA: Fix possible crash due to file header. Signal Handling: Signal handling is now more robust and handles SIGSEGV and other critical signals. The sole purpose of the default signal handling is to remove any temporary files and quit. An informative message is printed for signals other than SIGINT. SUN: Sun raster reader was not completely robust. Now it is. SWF: Fix pixel cache access errors in 'ping' mode. Text annotation: An empty text string is no longer treated as an error. Text annotation: Fix regression added in 1.3.19 which caused spurious drawing errors to be produced while rendering with text when all of the text is off the left-hand side of the image. TIFF: Fix unreliable reading JBIG compressed files by forcing use of strip reader rather than sometimes using scanline reader (which libtiff's JBIG codec does not support). TIFF: Fix reading or writing planar min-is-white or min-is-black images with an associated alpha channel. WebP: WebP writer now writes truely lossless output when requested. identify / GetImageStatistics(): Failed to compute statistics for the Black channel of CMYK image files. VICAR: Fix problem with continuing to "read" data when there is no more data left to read. WMF: Fix memory leaks. WPG: Fix potential DOS due to long reads during an error condition. XPM: Avoid strncpy() of overlapping memory. Fixed memory leaks in error paths. Fixed bad memory access caused by empty file. New Features: ------------- compose: Supports composite operator names similar to the major *Magick brand, without losing any any compatibility with previous naming. ICO: Windows ICO reader now supports reading PNG-encoded files. Magick++ Geometry: New methods limitPixels() and fillArea() to support '@' and '^' geometry qualifiers. This enancement breaks the ABI due to previous use of inline methods and no place to put the new flags. Magick++ Image::extent(): New method to place image on sized canvas of constant color using gravity. Magick++ Image::formatExpression(): New method format a string based on a format similar to command-line -format. Magick++ Image::resize(): New method to resize image specifying geometry, filter, and blur. Magick++ STL extentImage: New New function object to invoke image extent method. Magick++ Image::quiet(). New method which blocks (ignores) warning exceptions when passed a 'true' argument. Resource limits: Added support for image Width and Height limits. Default image Width and Height limits are based on the range of a 32-bit signed integer, even for 64-bit builds which may have sufficient numeric range to image an entire galaxy. Limits may be increased as desired. TIFF: Use define tiff:ignore-tags to ignore tags in 'corrupted' files with unknown and invalid tags. Use to read TIFF files which otherwise can not be read due to errors. TIFF: Use '-define tiff:report-warnings=true' to enable that warnings reported by libtiff are thrown as warning exceptions so that they may be caught or will be reported at the gm command-line. Windows Exceptions: A handler is registered (due to calling InitializeMagick()) to capture Windows Exceptions in a similar manner to the existing POSIX signal handler. If an application is using the library and wants to provide it own Windows exception handling, then it should make any changes after invoking InitializeMagick(). Windows Delegate Updates/Additions: ----------------------------------- PNG: Update bundled libpng to 1.6.16. Resolves known security issues. FreeType: Update bundled Freetype to 2.5.4. Resolves known security issues. WebP: Update bundled WebP to 0.4.2 release. WebP is auto-linked in Visual Studio. Build Changes: WebP is not included in the build when building with Visual Studio 6 (1998 vintage compiler!) since it requires more modern C. Behavior Changes: ----------------- AVI: Support for this format is removed since the implementation was worthless. TIFF: Now uses YCbCr encoding when JPEG compression is requested for an RGB image.
2014-08-18Changes 1.3.20:adam4-10/+11
Special Issues: 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. Please lobby the GCC project to fix this embarrassing performance bug. Bug fixes: Compilation: No longer undefine __attribute__ since this may be used by system or compiler headers and cause problems. BMP: Alpha channel from BMP3 format was inverted. PNG: Fix round-trip repeatability issue (due to rounding algorithm) with modern versions of libpng. Prefer the less accurate method which does not alter the image. PNG: Fix some memory leaks in error-handling paths. PNM: Scaling of alpha in sub-ranged pixels is fixed. Wand API: Removed development debug fprintf which causes each drawing primitive to be printed to stderr. PS, PS2, PS3, PDF: Only use resolution from image or -density if units was properly specified. Without units, resolution is worthless. PS, PS2, PS3, PDF: Use resolution from image if it appears to be valid. WebP: Fix inverted return status which caused failure to be reported instead of success. Rotation clipping/shearing errors for short wide images at some angles is fixed. -geometry: Deal with resize geometry missing width or height (e.g. '640x' or 'x480') by substituting the missing value with one which preserves the image aspect ratio. This has been documented to be supported since almost the dawn of GraphicsMagick but was not actually supported until now. -geometry: Support '>' and '<' qualifiers with '@' qualifier to specify if image should be resized if larger or lesser than given area specification. New Features: Wand API: MagickSetImageGravity() - New function to set image gravity. Wand API: MagickGetImageGravity() - New function to get image gravity. Wand API: MagickSetImageMatte() - New function to set the image matte channel enable flag. Wand API: MagickGetImageMatte() - New function to read the image matte channel enable flag. Wand API: MagickSetImageGeometry() - New function to set the image geometry string. Wand API: MagickGetImageGeometry() - New function to get the image geometry string. Wand API: MagickOperatorImageChannel() - New function to apply an operator to an image channel. Magick++ API: New Image::thumbnail() method for fast image resizing, particularly to make thumbnails. Core C API: Added SetLogMethod() to allow an application/library to specify a function to be called for logging. Clang/LLVM: Provide support for clang/llvm attribute and builtin specifiers similar to that provided for GCC. OpenMP: OpenMP native locking and thread specific data is supported via a configuration option (is not the default). This offers a "pure" OpenMP compilation mode. No real value for this compilation mode has been observed yet but it seems worthy to support. Coders: Added BrokenCoderClass to mark coders which often malfunction or are not very useful in their current condition. Composition: Added HardLight composition operator, which is now used by PSD and XCF formats, and available via command line, Magick++ API, PerlMagick API, and Wand API. Composition: Added ScreenCompositePixels composition operator. Composition: Added missing Photoshop separable compositing operations, Overlay, Exclusion, ColorBurn, ColorDodge, SoftLight, LinearBurn, LinearDodge, LinearLight, VividLight, PinLight, HardMix. +set: Command line utilities now support +set to remove an existing image attribute. -format: Support additional format specifiers 'g', 'A', 'C', 'D', 'G', 'H', 'M', 'O', 'P', 'Q', 'T', 'U', 'W', 'X', and '@', similar to the major brand. -operator: New quantum operators ThresholdBlackNegateQuantumOp and ThresholdWhiteNegateQuantumOp These correspond to -operator "Threshold-Black-Negate" and "Threshold-White-Negate". TIFF: Now support setting the TIFF "Software" tag for users who do not want to admit to using GraphicsMagick. WebP: All of the WebP encoder encoder options are now supported by -define arguments. Feature improvements: Pixel interpolation quality is greatly improved, with minimal impact on performance. Pixel interpolation now also works well given an alpha channel. WebP: WebP support is now prepared to compile with most WebP library versions and supports all features except for those pertaining to "RIFF" container support. Performance Improvements: Non-integral image rotation performance has been improved by about 40%, with lower memory usage as well. GradientImage: Update image is_grayscale and is_monochrome flags based on gradient color properties. Windows Delegate Updates/Additions: PNG: Libpng 1.6.12 - June 12, 2014. JPEG: libjpeg 9a of January 19, 2014. FreeType: FreeType 2.5.3 of March 6, 2014. WebP: webp 0.4.0 of January 20, 2013. zlib: zlib 1.2.8 of April 28, 2013. Build Changes: --without-threads no longer disables use of OpenMP. Use the already existing option --disable-openmp to disable OpenMP. Makefiles: Include paths are now exceedingly pedantic to make sure that only the required directories are included. VisualMagick configure: Improve configure program so that it is possible to select QuantumDepth, OpenMP, and 64-bit build via configure dialog boxes as well as options on the command line. Also automatically detects and deals with similarly named files in subdirectories so that WebP support can now build successfully. Behavior Changes: MultiplyCompositePixels: Multiply composition now uses SVG interpretation of how alpha should be handled. No longer does a simple multiply of alpha channel. Composition: The Difference, Darken, Lighten, and HardLight composition operators were modified to support alpha in their computations. PNG: Using -optimize no longer triggers palette and depth optimizations since their implementations have been problematic.
2014-08-14Move GCC optimisation bug workaround to hacks.mkjperkin2-8/+15
2014-08-14On the suggestion of Bob Friesenhahn (GraphicsMagick maintainer) via privatejperkin1-2/+9
mail, add -frename-registers to CFLAGS when building with GCC 4.* on x86_64 to work around GCC bug 53967 and gain a 2-3X speedup in certain sections. Bump PKGREVISION.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron2-3/+5
2014-01-01Changes 1.3.19:adam3-8/+7
Security Fixes: 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. Bug fixes: Build: Fix cross-compilation for MinGW64 on Linux build machine. Build: configure FreeType test no longer insists that <freetype/freetype.h> can be included. CMS profile: Only delete the CMS transform if it is non-null. Fixes assersion observed when lcms returned a null profile and GraphicsMagick attempted to deallocate it. Drawing: Improve error handling logic so that drawing returns quickly on pixel access errors rather than plowing on ahead. This avoids problems with SVGs which take seemingly forever to render. Drawing via C/C++ APIs: BevelJoin no longer causes a MVG parsing error. EPT: Fix crash observed when Ghostscript fails to produce useful output. This was particularly noticeable when Ghostscript was not installed. OpenMP: Revert use of omp_set_dynamic() since it caused performance issues when using GCC's GOMP implementation and the number of threads to use is specified. EXIF profile: Support the SubjectArea EXIF tag. MIFF writer: PseudoClass format was written incorrectly for depth greater than 8. MIFF writer: RLE compressed format used inverted alpha from the other subformats and contrary to the MIFF specification. MIFF reader: Fixes Fixes to be able to read MIFF written by ImageMagick 6.X, including DirectClass grayscale images (except for RLE compressed). Mosaic: Fixed unsigned underflow problem with -mosaic when page offset is negative and exceeds image width or height, resulting in assertions, out of memory errors, or pixel cache limit errors. PDF: Consistently initialize Image page width and height to image width and height. While general to all of GraphicsMagick, this change is to assure that the PDF writer computes page dimensioning consistently. PDF page dimensioning was wrong if the image had been resized with -geometry "100%". PAM: Fix MAXVAL scaling when reading PAM images. PAM was only working correctly for images with 256 or 64k levels. PNM: PGM "P2" format writer wrote bad output for 8-bit depth. PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a "known incorrect ICC profile". PNG: Q8 GM build now correctly reads 16-bit PNG files. TIFF writer: Try to avoid writing more than 32k strips per image by increasing rows-per-strip since some programs fail to read images with more than 32k strips per image. TIM reader: PSX TIM reports 8-bit depth (rather than 16). TTF font rendering: Improve FreeType rendering error logic so that rendering returns immediately on pixel access errors rather than plowing on ahead. TTF font rendering: Support rendering UTF-8 up to 21-bit code points. Was only supporting 16-bit code points. Wand API: DrawSetStrokeDashArray() / DrawGetStrokeDashArray(), fix failure to work properly due to this code path never being tested. Windows Ghostscript: 64-bit GraphicsMagick no longer requires both 32-bit and 64-bit builds of Ghostscript to be installed in order to read Postscript and PDF formats. XPM reader: Reported depth now depends on the colormap rather than always claiming to be 16-bit. New Features: JPEG: Add support for writing 'XMP' profile. PNM: As a simple non-standard extension to the standard PNM and PAM formats, support writing and reading 32-bit sample depth. Writing such files is only supported by the Q32 build although they may be read by any build. WebP: Now supports reading and writing Google's WebP format. This feature is not currently supported by the Windows Visual Studio build.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron2-4/+4
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz2-4/+4
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-04-25For all packages include ghostscript.buildlink3.mk:sbd3-6/+6
s/ghostscript.buildlink3.mk/buildlink3.mk/ Bump PKGREVISIONs
2013-04-24Revbump for all packages that have USE_TOOLS+=gssbd1-2/+2
2013-03-16Update ghostscript depends.dholland3-5/+6
2013-03-11patches are no longer requiredadam1-15/+0
2013-03-11Changes 1.3.18:adam4-12/+15
Special Issues: 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. Security Fixes: None. Bug fixes: 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. display: Display was supposed to respond to +/-usePixmap, but was not. It was responding to +/-use_pixmap. Now it responds to both. Windows/VisualMagick: Fix building GraphicsMagick with Intel ICC compiler driven by Visual Studio Professional 2012. Windows: Avoid a crash and produce a useful diagnostic if Ghostscript is needed but not yet installed. New Features: GM utility: New 'batch' command was contributed by Kenneth Xu which supports executing any number of other GM utility sub-commands in a single invokation in a sort of "batch" script. Input may be piped from standard input, from a specified file, or from a 'GM >' command prompt. This utilities front-end allows any other program/script to drive 'gm' using a co-process model and speeds up execution by eliminating utility start-up/shut-down time. WIN64 (64-bit Windows): Windows 64-bit is now officially supported. convert/mogrify: Now support -auto-orient to automatically rotate the image upright for viewing based on its current orientation setting. Also support -orient to support setting the current image orientation. Please note that the orientation property of EXIF profiles is not yet updated so the EXIF profile will be wrong after using -auto-orient. C API: AutoOrientImage(), new New function to automatically orient the image so that it is upright for normal viewing. Wand API: MagickGetImagePage()/MagickSetImagePage(), new functions to support getting and setting the image page size and offsets. PNG: Added PNG48 and PNG64 support. Added PNG00 support (png encoder that inherits its color-type and bit-depth from the input, if the input was a PNG datastream). Feature improvements: GraphicsMagick TAP tests may now be run stand-alone using Perl's 'prove' TAP test driver. Performance Improvements: Detection of glob specifications in file names is more efficient. Windows Delegate Updates: None. Behavior Changes: ltdl: Libltdl is no longer bundled. Libltdl must be previously installed on the system in order to build the modules configuration. AppendImages() now converts subsequent images to the colorspace of the first image, and no longer converts the first image to RGB. Instead, it is assumed the user knows what she is doing. SetImageColorRegion() no longer automatically converts the image to RGB. The user is responsible for assuring that the provided color is in the same colorspace as the image.
2013-02-19Bump PKGREVISION for png detection fix.wiz1-2/+2
2013-02-19Detect png-1.6 and 1.7, while we're here.wiz2-1/+17
2013-02-16Recursive bump for png-1.6.wiz2-4/+4
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin2-4/+4
2013-01-26Revbump after graphics/jpeg and textproc/icuadam2-3/+5
2012-11-03Changes 1.3.17:adam6-82/+30
Security Fixes: * 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. * Automake (derived): Fix for CVE-2012-3386: The "make distcheck" rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants world-writable permissions to the extraction directory, which introduces a race condition that allows local users to execute arbitrary code via unspecified vectors. Bug fixes: * 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. * WMF: Fixed a bug which caused wrong centered-text placement. * import: Return status was inverted. * configure: Don't force that liblzma is used just because libtiff is used. New Features: * The configure script now supports a --enable-quantum-library-names option to enable that shared library name includes quantum depth to allow shared libraries with different quantum depths to co-exist in same directory (only one can be used for development). * JNX: Support is added for reading the Garmin proprietary Image Format. * BMP: Support an alpha channel in uncompressed 32-bit BMP. Feature improvements: * -lat: The adaptive threshold algorithm is replaced with a new algorithm which scales linearly (rather than quadratically) with area size. * Tests: Test suite is re-written to use TAP-based tests. * GIF: Reader tries to be better at detecting and reporting failures. Performance Improvements: * -lat: Adaptive threshold is much faster with large area sizes. Windows Delegate Updates: * Dcraw 9.16 is now included in the build (with JPEG and JPEG2000 support). * Libxml2 is updated to the 2.9.0 release. * Libtiff is updated to the 4.0.3 release. * Lcms2 is updated to the 2.4 release. * Libpng is updated to the 1.5.13 release. Behavior Changes: * Loading modules is only supported for the modules build. Previously any build using shared libraries could load modules. * Bundled libltdl is now configured as 'installable' rather than 'convenience'. * -enhance: Only filter based on color channels (ignore opacity). * BrowseDelegate: Web browser (for viewing help information) now defaults to 'xdg-open', but if it is not found, then configure will search for firefox, google-chrome, mozilla (in that order).
2012-10-23Remove xextproto/buildlink3.mk in most cases where it occurs withwiz1-2/+1
libXext/buildlink3.mk, now that it is included there. Leave the places where its API version is set or variables from it are used directly (about 3 packages).
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2012-07-30Fix possible security problem. Bump PKGREVISION.wiz3-2/+49
2012-06-24Update GraphicsMagick to 1.3.16.obache3-8/+7
1.3.16 (June 24, 2012) ========================== 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. * -units was scaling existing resolution the wrong way around (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. New Features: None 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. Windows Delegate Updates: * JPEG: Updated to IJG 8d release. * PNG: Updated to 1.5.11 release * TIFF: Updated to 4.0.2 release. * Zlib: Updated to 1.2.7 release. * libxml2: Updated to 2.8.0 release. Behavior Changes: None
2012-06-14Recursive PKGREVISION bump for libxml2 buildlink addition.sbd1-1/+2
2012-05-07Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)dholland1-2/+2
It turns out there were a lot of these.
2012-04-29Update GraphicsMagick to 1.3.15.obache2-6/+6
1.3.15 (April 28, 2012) ========================== Security Fixes: * Libpng in Windows build is updated to 1.5.10 release. Provides a fix for CVE-2011-3048. 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'. * TclMagick now supports Random noise. Feature improvements: * C function ThumbnailImage() now allows the user to override the filter used, but still defaults to using the box filter. Performance Improvements: * None Behavior Changes: * No longer add a printf-style scene formatting specification to filenames which do not have one and no longer automatically operate in 'adjoin' mode in such cases. If multiple numbered files are intended to be output, then add +adjoin to the command line and use an output filename specification similar to "image-%d.jpg". Output files are now completely specified and predictable but this may break some existing usages which anticipate the automatic file numbering.
2012-02-26reset PKGREVISION.obache1-3/+1
2012-02-26Update GraphicsMagick to 1.3.14.obache3-8/+9
1.3.14 (February 25, 2012) ========================== Security Fixes: * Windows bundled libpng updated to the 1.5.9 release, which fixes the dire CVE-2011-3026 buffer overrun bug. Bug fixes: * EMF format : Fixed wrong module mapping which caused EMF reading to not work under Windows. * 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. * PNG library: Updated libpng to 1.5.9 release. * TIFF library: Updated libtiff to 4.0.1 release. * Zlib library: Updated to zlib 1.2.6 release. Performance Improvements: * Despeckle algorithm (-despeckle) is many times faster. Behavior Changes: * DPX format: Original file endianness is preserved by default.
2012-02-06Revbump forwiz2-3/+6
a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
2012-01-08Update GraphicsMagick to 1.3.13.obache7-2001/+33
While here, remove unwanted buildlink and add lzma option. 1.3.13 (December 24, 2011) ========================== Security Fixes: None Bug fixes: * 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. * Removed bogus SyncBlob() code which sometimes caused a crash and was not useful. * Fixed crash or hang which occured when the user entered CONTROL-C while threaded code was being executed. * Fix core dump in AcquireOneCacheViewPixelInlined() when the image is in CMYK space. * In MontageImages (montage), fix crash observed with "-geometry x+0+0". * The TIFF reader was crashing for images which use the TIFFTAG_OPIIMAGEID tag. * AppendImages() (-append) was failing when only one image was provided. * The `animate`, `display`, and `identify` commands now report any error only once, and then proceed to the next file name rather than quitting. * Don't change the locale settings in InitializeMagick() since this may cause problems for international users. API users are still responsible for assuring that locale settings don't break floating point parsing and output (i.e. floating point decimal needs to be '.' rather than ','). * RPM build is fixed (PerlMagick build was broken). * RPM build installs documentation to expected places on Red Hat type systems. * Fixes for usage with OpenSolaris. * DESTDIR is supported by PerlMagick build. * The matte channel was not being properly enabled or respected for TXT images. * InitializeMagick() and DestroyMagick() are now fully thread safe. * When a shear angle was as zero, the shear request was being ignored entirely. * In DispatchImage(), the `K` channel was always output as black for "CMYK" specification unless the image matte flag was True. * MATLAB fixes. * PNG fixes. * PCL fixes for printing bi-level image on Konica-Minolta printers. * EPT error handling fixes. * JPEG reader was sometimes truncating large IPTC profiles. * JPEG writer now handles errors properly rather than allowing libjpeg to exit the program (or hanging if driven by Magick++). * JPEG reader now treats an unhandled EXP marker as a warning rather than a hard error. * File open errors are now reliably reported. * Improved rendering precision when using the drawing APIs. * For the Magick++ Image backgroundColor(), borderColor(), and matteColor() methods, preserve the opacity part of the user-specified color. New Features: * Add support for drawing text using a bitmap font. * benchmark command supports a -stepthreads option to execute the specified command with an increasing number of threads to measure how an algorithm benefits from threading. This mode includes a column to show the speedup compared with one thread, and the Karp-Flatt metric * Added Add support for invoking "gs-cmyk" and "gs-cmyka" entries in delegates.mgk when ColorSeparationType or ColorSeparationMatteType is requested. These cause Ghostscript to always output CMYK PAM format (even if the input file was not in CMYK format). * EXIF profiles are preserved when writing JPEG files. * The -mosaic command now respects the composition option specified by -compose as well as the image background color specified by -background. * The TXT coder now supports multiple image frames. * For image normalization (-normalize), add support for histogram-threshold setting to specify the percentage of the histogram to discard when computing image normalization parameters (default is 0.1%). For example `-set histogram-threshold 0.01 -normalize`. * Added an `INFO` coder which produces textual image description output similar to `identify` but may be used with convert like "gm convert myfile info:-". * Support application of the PDF crop box via '-define pdf:use-cropbox=true'. * For PCL printer output, define pcl:fit-to-page in order for the printer to scale the image to fit the page. * Added order dither 5x5, 6x6, and 7x7 circular dither patterns to create a halftone effect. * PNM subformats are now reported as the specific subformat rather than just "PNM". * NetPBM's PAM format is now supported. * MacPaint image format reader is added. * Added TIFF LZMA compressor support. * Added TIFF support for a tiff:group-three-options define to allow power-users to set the value of the GROUP3OPTIONS tag. * New core C API function SetImageColorRegion() to set the constant pixel color for a specified region of the image. * New Wand C API function MagickWriteImagesFile() to append images to a provided file handle. * New Wand C API function MagickSetImageSavedType() to allow specifying the storage type used when saving the file (rather than changing the current image characteristics). * In Wand C API, the functions NewPixelWand(), NewDrawingWand(), and NewMagickWand() invoke InitializeMagick() automatically in case user forgets to do so. * New Wand C API function MagickSetFormat() to allow setting the file or blob format before it has been read. * New Wand C API function MagickSetDepth() to set the depth used when reading from an image format which requires that the depth be specified in advance. Feature improvements: * Now compiles properly with libpng 1.4.X and 1.5.X. * Lcms 2.X is supported. Performance Improvements: * TGA read performance improved. * PNM read/write performance improved. * Convolution (-convolve, -sharpen, -guassian, etc.) is faster. * Adaptive threshold image (-lat) is faster. * Image trimming (-trim) is faster. Behavior Changes: * For DPX format and packed 10 bits, datums are now represented in the same (reversed) order for all RGB and YCbCr formats. Previously YCbCr 4:4:4 formats were not swapping the word datums because the only real-world files encountered did not swap the word datums. * The -colors, -map, and -monochrome options now take effect immediately rather than at the end of all other processing. * Removed non-standard multi-frame extension for SGI format. * Windows install footprint is more consistent between DLL and static builds. * LZMA compressed tarball is in 'xz' format rather than deprecated 'lzma' format.
2011-12-29fixes last commit (variable name changes).obache1-2/+2
2011-12-26Need to use PKG_BUILD_OPTIONS for conditional buildlink.obache1-2/+2
2011-11-01Recursive bump for graphics/freetype2 buildlink addition.sbd2-3/+4
2011-05-18Moudulalize GraphicsMagick, for let PerlMagick to lightweight.obache5-34/+115
Bump PKGREVISION. It introduce bump PKGREVISION of p5-GraphicsMagick. While here, * move distinfo and patches location to Makefile.common. * let to exactly linked against installed GraphicsMagick.
2011-05-17out of my control anymore...obache1-2/+2
2011-05-17fixes buildlink with pre x11 option GraphicsMagick.obache1-2/+11
2011-05-16repair PKGREVISION which was messed up in the previous commitdmcmahill1-2/+2
2011-05-16Add options.mk for GraphicsMagic and add options for building without Xdmcmahill4-21/+89
or a few other dependencies. This is part of PR pkg/43929 from Edgar Fuß
2011-04-22recursive bump from gettext-lib shlib bump.obache2-4/+4