Commit graph

279 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
9b4e7be43b Also need to buildlink freetype2 and libxml2, Magick-config --libs show ups
those libraries.
2009-01-13 12:55:30 +00:00
obache
2c1b56196c jasper and wmf support was split up into individual options. 2009-01-13 11:52:30 +00:00
tron
0189ac3d1c Disable OpenMP support. It is randomly detected under Mac OS X Leopard
with the latest version of Xcode Tools which breaks the build, probably
because "buildlink3" doesn't allow to pick up the library.
2009-01-08 14:29:18 +00:00
adam
062459d47d Changes 6.4.8-3:
* Reverse argument and option in Throw*InvalidArgumentException()
  macro for proper exception message.
* Recognize negative geometries for -shear and -annotate (.e.g. 45x-30).
* Fix Y shear angle for -shear option.

Changes 6.4.8-2:
* Use GetImageArtifact() to retrieve -attentuate option value for +noise.
* Support reading FITS test files.
* Replace input.ttf with the public domain Tuffy.ttf font.
* MagickNewImage() no longer faults when parameters are incorrect (reference
* Allocate strings returned by XGetResourceInstance().
* The -append gravity is relative to the container.

Changes 6.4.8-1:
* Reference cache rather than acquiring when cloning an image.

Changes 6.4.8-0:
* Cross-compilation failure using MinGW on Linux for ImageMagick trunk
* Add -interword-spacing option to convert.
* Initialize the black channel when testing the CMY colorspace.
* remove calls to exit() in MagickWand.
* Validate -affine arguments.
* Accept -attentuate as an option for convert.
* Properly create RGBA image if colormapped image has transparency.
* Support X11 geometry like this: +-4+-4;  wierd but X11 supports it.
2009-01-07 08:58:07 +00:00
adam
a225ead252 Changes 6.4.6.0:
* Fixed bug for RGBO image @ line, plane and partition interlace.
* Deprecate pixel methods: AcquireImagePixels(), GetImagePixels(), etc.
* New pixel methods: GetVirtualPixels(), GetAuthenticPixels(), etc.
* GPS and multivalued EXIF properties support
* Add TransparentPaintImageChroma() to MagickCore and transparentChroma()
  to Magick++.
* Correct DPX frame position property label
* Textures are no longer painted as the background color.
* Update both fields of an EXIF resolution.
* Support query-font-metrics MSL tag.
* Do not set image colorspace for the MSL modulate tag.
* Off by one error when computing affine in DrawAffineImage()
* Fixed local adaptive thresholding  when using an offset
* Set SetImagePixels() rather than SyncImagePixelCache() to update
  the pixel cache morphology.
* Set explicit image format for BlobToImage()
* p_thread_t is an aggregate under MinGW.
2008-11-21 17:13:43 +00:00
drochner
dc2c59c61c propagate the new dependency on libltdl, fixes build issues 2008-11-20 21:45:07 +00:00
adam
6e64547656 Changes 6.4.5.0:
* Bug fixes and improvements.
2008-10-28 10:42:02 +00:00
adam
af7ca56910 Fix PNG support when building without x11 (PR#37594) 2007-12-26 19:00:02 +00:00
adam
4d4d40f641 Changes 6.3.6-1:
* Speed up the Fx interpreter.
* Use ULL not ui64 for MinGW 64-bit constants.
* Call SyncCacheView() instead of SyncImagePixels() in WaveImage().
* Close all references to a pixel cache on disk before removing the temporary
  file as required under Windows.

Changes 6.3.6-0:
* Added Scaling 'derivitives' to -distort Arc, so image arcing is now
  sharp and clear as you approach the center of the distort.
* Added  " -set option:distort:viewport 'geometry' " special option
  that can be used to override the output image size and offset.
* Fixed experimental use of -filter and -support in Resampling (more later).
* Changed order for coordinate arguments in -distort (for leastsq addition)
2007-10-13 18:13:31 +00:00
tron
ce5935cd26 Update ImageMagick and p5-PerlMagick packages to version 6.3.5.10.
The new version provides a lot of bug fixes and small enhancements and
fixes four security vulnerabilites found by iDefense (CVE-4985, CVE-4986,
CVE-4987 and CVE-4988). Approved by wiz@.
2007-09-24 08:03:23 +00:00
heinz
ef3b8cfdee Updated to version 6.3.4.9 (approved by adam@).
Pkgsrc changes:
  - http://www.imagemagick.org/ is the HOMEPAGE now.
  - The package supports installation to DESTDIR.
  - Removed patch-ab because it was unclear why we would not want to have
    Magick++-config.1.

Changes since version 6.3.3.6:
==============================
2007-06-11  6.3.4-9 Cristy  <quetzlzacatenango@image...>
  * Converting a jpg to pdf is creating an empty pdf object (reference
          http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8954).
  * Respect the '-set type:hinting off option' (bug report from Richard
    Jones).
  * WritePSDImage vulnerable to exploitable heap corruption (reference
          http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8967).

2007-06-09  6.3.4-8 Cristy  <quetzlzacatenango@image...>
  * SetMagickRegistry() post-increment the value 'id' (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8944).

2007-06-02  6.3.4-6 Cristy  <quetzlzacatenango@image...>
  * Read/write 10 & 12-bit packed DPX images.
  * Reduce stack requirements for messaging system.
  * Small memory leak for raw profiles in the PNG coder.

2007-06-01  6.3.4-5 Glenn <glennrp@image...>
  * Added GIF, JPEG, and PNG interlace types.  For backward compatibility,
    you can continue to use "-interlace Plane" to request these.

2007-04-30  6.3.4-0 Anthony  <anthony@griffith...>
  * Fixed minor bug in the 'curl' for Polaroid of very non-square images.

2007-06-01  6.3.4-5 Cristy  <quetzlzacatenango@image...>
  * Set min-is-white for Group4-compressed PDF.
  * Add PaintFloodfillImage() method.

2007-05-30  6.3.4-4 Cristy  <quetzlzacatenango@image...>
  * Add MEPP metric to compare program.  Returns the mean error per pixel
    along with the normalize mean and maximum error.
  * Attach an XMP profile to an image (e.g.
    convert input.tif -profile xmp:metadata.xmp output.tif).

2007-05-22  6.3.4-3 Cristy  <quetzlzacatenango@image...>
  * Fixed mogrify conversions with -format and -path (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=9127).

2007-05-15  6.3.4-2 Cristy  <quetzlzacatenango@image...>
  * SVG style element was not always parsed properly.
  * Do not dither when the number of unique colors is already less than the
    maximum.
  * Return normalized PAE metric (compare utility).

2007-05-03  6.3.4-1 Cristy  <quetzlzacatenango@image...>
  * Add support for PFM images.
  * Check for corrupt EXIF image profiles.
  * Writing JPEG YCbCr TIFF images no longer faults (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8896).

2007-04-30  6.3.4-0 Anthony  <anthony@griffith...>
  * Fixed minor bug for crop missed images and 'background' GIF disposal.

2007-04-28  6.3.4-0 Glenn  <glennrp@image...>
  * Added profile support to the GIF decoder/encoder.  They are stored
    as GIF Application Extensions.  Known extensions include existing ICCRGB1
    (for ICC profiles) and new MGKIPTC0 and MGK8BIM0 (for IPTC and 8BIM
    profiles).  Unknown extensions found in GIF files are read as gifappNNN.

2007-04-28  6.3.4-0 Anthony  <anthony@griffith...>
  * Invert Opacity change for user defined ordered dither threshold maps,
    so that 'off' map is transparent, and 'on' is opaque.

2007-04-24  6.3.4-0 Anthony  <anthony@griffith...>
  * Added an initial Coalesce Images, and a final +map local colortable
    optimization to the -layers Optimize method, for a simple to use
    GIF optimization operation.  (more work to come)

2007-04-22  6.3.4-0 Cristy  <quetzlzacatenango@image...>
  * Properly set the virtual canvas of a multi-frame GIF image sequence.
  * Add AcquireOneVirtualPixel() method.
  * Set Log colorspace properly when writing DPX images.
  * Add -tile-offset option.
  * Add support for the EXR image format.
  * Improve support for DPX images.
  * Add --enable-hdri option to the configure script.
  * Add support for high dynamic-range images (HDRI).

2007-04-20  6.3.3-9 Peter Hull  <peterhull90@gmail...>
  * Improve support for writing multiple image icons.

2007-04-18  6.3.3-9 Anthony  <anthony@griffith...>
  * Separated -layers Optimize from -layers OptimizeFrame to allow
    the former expansion into a general (multiple method) optimizer
    of GIF animations
  * merged -layers OptimizeTransparency into -layers Optimize method

2007-04-12  6.3.3-8 Chris Madison  <madisonblu@hotma...>
  * Fix fault whem comparing a colormapped image with a non-colormapped one.
  * Fix race condition when spawning delegate programs.
  * TIFF JPEG now respects the -quality comptression setting.
  * The -fx option now properly groks the logical and operator.
  * DPX tilestamp property should be timestamp.

2007-04-13  6.3.3-7 Anthony  <anthony@griffith...>
  * Added GravityAdjustGeometry() to "geometry.c" to adjust geometry settings
    according to given gravity and canvas area it applies to. This is for
    code simplification thoughout MagickCore.
2007-06-16 21:58:08 +00:00
drochner
8dc2501215 update to 6.3.3-6
This fixes security vulnerabilities in the DCM and XWD read functions,
see CVE-2007-1797.
For other changes, see the ChangeLog file.
2007-04-18 22:44:22 +00:00
adam
89a1da3f1c Changes 6.3.2.9:
* Bug fixes
* Improvements
2007-03-17 22:01:54 +00:00
dmcmahill
5101bfd049 Fix DIST_SUBDIR so that it can work both with ImageMagick and p5-PerlMagick
p5-PerlMagick was broken by the previous commit.
2007-03-02 02:08:03 +00:00
adam
ae9a056c8c Distfile has changed with minor updates. 2007-02-22 13:34:01 +00:00
adam
dae80d0122 Changes 6.3.2.8:
* Bug fixes and improvements
2007-02-20 08:17:58 +00:00
adam
6080dba7d6 Changes 6.3.2.4:
* Bug fixes and improvements
2007-02-15 08:05:52 +00:00
adam
97933558a6 Distribution file change 2007-02-08 17:56:19 +00:00
adam
3f5cba69c7 Changes 6.3.2.3:
* Added thumbnail format to write EXIF thumbnails.
* Move EXIF properties to the EXIF namespace (e.g. exif:XResolution).
* Add interpolate and background options to PerlMagick's AffineTransform().
* Revert to Postscript rendering if Freetype delegate library is not
  available.
2007-02-06 14:52:46 +00:00
wiz
e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00
abs
dd2565be8c fix build with modular X11 2007-01-10 10:00:47 +00:00
adam
4fb3be0b64 Changes 6.3.1.6:
* Bug fixes and improvements
2007-01-09 09:52:33 +00:00
adam
0f5ef34609 Changes 6.3.1.0:
* Bug fixes
2006-12-09 10:57:49 +00:00
jschauma
721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00
joerg
0cd1a19f9c Remove comma at end of enum in magick/options.h, making it parseable by
C++ compilers. Bump revision.
2006-11-30 22:55:31 +00:00
adam
cf69f3137e Changes 6.3.0-0:
* Destroy MagickCore API environment when END{} is called in PerlMagick
  * Support -fx conditionals (e.g. x ? y : z), assignment (e.g. zz=3.1), and
    statement separators (e.g. zz=2.1; zz).
  * Add new pixel: attribute (e.g. -format '%[pixel:s]').
  * Add support for Supplementary Plane Unicode characters

Changes 6.2.9-8:
  * The plasma: coder is once again opaque.
  * Bogus relinquish in rare circustances produced incorrect resource
    utilization statistics.

Changes 6.2.9-7:
  * Add CMYK support to the PAM image format.
  * Do not write PDF soft mask if image is PaletteMatteType.
  * Patches from Sven Koehler to improve PerlMagick's build script.

Changes 6.2.9-7:
  * Add additional ordered-dithering options.

Changes 6.2.9-6:
  * Ensure cache_resources in magick/cache.c is a valid splay-tree before we
    add/remove nodes to/from it.
  * Automatically threshold the alpha channel at 50% when color reducing an
    image.
  * Make ParseMagickOptions() more robust to handle ordered dither options.
2006-10-22 21:03:14 +00:00
rillig
a28c1c2518 Fixed "test ==". 2006-10-10 19:43:32 +00:00
adam
40a10569c7 Changes 6.2.9-3:
* Add -clip-mask option to clip as defined by an image mask.

Changes 6.2.9-2:
* Add >>, <<, >=, and <= operators to -fx.
2006-09-06 20:15:57 +00:00
adam
7b7577b9f9 Changes 6.2.9.1:
* Bug fixes
2006-08-23 21:06:00 +00:00
abs
3ae7855bee Update graphics/ImageMagick from 6.2.8.8 to 6.2.9.0
* Add -adaptive-resize option.
  * Permit x100 as a geometry in Magick++.
  * Respect width/height for image MVG element.
2006-08-15 12:20:12 +00:00
tv
27f09a5e40 Finally, update path in the checksup to match DIST_SUBDIR. 2006-08-07 15:39:12 +00:00
tv
c1193a4054 Make a DIST_SUBDIR with datestamp to put the modified-checksum distfile in.
Noticed by salo.

Avoided using PKGNAME (with nbX revision) in the dir name, as PKGREVISION
can be bumped for other reasons.)
2006-08-07 15:27:49 +00:00
tv
bf992f5e69 #@$^@#$%&!#$%@#%&@#$%@#%&@$^%!#@$^@#$%^ CHECKSUM CHANGED AGAIN!
Don't these people know what RESPONSIBLE software development is?

Bump to nb1 just in case something changed, because I have no way to be sure.
2006-08-07 14:54:53 +00:00
perry
e22ac67afa Update to 6.2.8-8 -- -7 is no longer available on most ImageMagick
mirrors.

The ChangeLog between -7 and -8 says:

  * Add -unique-colors to discard all but one of any pixel color.
  * The montage program properly parses the -channel option.
  * Make -colors work consistently as an image operator.
  * Some DPX images do not contain a television header.
  * Restore ability to read 10-bit grayscale Cineon images.
  * Improve handling of corrupt GIF images.
2006-08-07 01:08:04 +00:00
adam
d69af65dac Changes 6.2.8.7:
* Bug fixes
2006-07-31 14:55:36 +00:00
adam
924742bf7b Changes 6.2.8-4:
* Add IsImageSimiliar() method to MagickCore API.
  * Improve color reduction algorithm for images with transparency.

Changes 6.2.8-3:
  * The -page A4 option no longer returns a width/height of 0.
  * GetMagickModulePath() at line 803 in magick/module.c the variable 'home'
    is not freed before returning.
  * Magick::throwException should not call MagickLib::GetException().

Changes 6.2.8-2:
  * The DPX orientation header elements are 8 not 16.
  * Fix the ImageMagick web pages so they render properly.

Changes  6.2.8-1:
  * Fix off-by-one error in DrawAffineImage().
  * Set the offset to layer 2 of XCF images.
  * Set proper precendence so -fx 'p{u[1]*w,u[2]*h}' parses properly (bug
2006-07-17 16:01:36 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
ef144e53d9 Changes 6.2.8.0:
* Bug fixes and improvements
2006-06-12 09:13:27 +00:00
adam
b3814216cf Changes 6.2.7.7:
* Don't fault when processing bad TIFF profiles (4 characters or less).
  * Masks are now read properly for 16-bit DIB's.
  * The pixel cache file descriptor limit code failed because the pixel cache
    timestamp was not always being set properly.
  * Fixed a small memory leak in IsGrayImage().
  * Fixed Cineon writing bug for very long filenames in 6.2.7 (reference
    http://redux.imagemagick.org/discussion-server/viewtopic.php?t=6590)
  * Begin the long journey of enhancing the conjure utility to support
    all options that are supported by the convert utility and PerlMagick
    (e.g. border, guassian-blur, etc.).
2006-05-22 11:30:19 +00:00
joerg
c7a1606067 Disable WMF build for now, since it creates unresolved symbols in
libMagick, which in turn breaks many configure scripts and other
attempts at linking it. Making libMagick depend on libWand is not a
good idea either. Bump revision.
2006-05-15 21:32:08 +00:00
tonio
98e7abe8e8 Update graphics/ImageMagick to 6.2.7.5, as the 6.2.7.4 distfile is not available
Changelog:
  * Default quantum scale to QuantumRange/(maximum-minimum) in magick/quantum.c.

Also remove two files from PLIST, as they are no more present
2006-05-10 12:47:01 +00:00
adam
17263e6c1c Changes 6.2.7.3:
* Add -adaptive-sharpen to the convert and mogrify programs.

Changes 6.2.7.2:
 * Generate proper image filenames when filename has more than one embedded
   period (e.g. image.gif.eps becomes image.gif-0.eps, image.gif-1.eps,
   etc.).
 * CompositeImage() is now thread-safe.
2006-05-08 11:39:07 +00:00
wiz
bf77321daf Fix some ifdef'd png code, using patch provided by Mathieu in PR 33325.
Build fix for some cases.
2006-05-03 22:57:22 +00:00
adam
9feeced14e Changes 6.2.7.1:
* Bug fixes and improvements (see ChangeLog for details)
2006-04-30 17:55:12 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
heinz
5851e5bff0 Added appropriate TEST_TARGET. 2006-04-14 18:14:34 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00