Commit graph

345 commits

Author SHA1 Message Date
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
ghen
f5338972e9 Update graphics/ImageMagick and graphics/p5-PerlMagick to 6.2.6.8.
Changes to 6.2.8-8:
  * 'convert existing-image.png -background' no longer generates a fault.
  * -define pdf:use-cropbox=true actually works now.
  * Slight mods to magick/xwindow.c to compile under BEOS (path provided by
    henrimoi@hotma...).
  * #000000 improperly set the opacity channel (bug report and patch from
    digipete@shaw....).
  * Patch for OpenVMS compile support.

Changes to 6.2.6-7:
  * Added the 'Dispose' layers function to return the 'GIF dispose' images of
    an animation.
  * File is already closed, do not call fclose() on it in magick/blob.c.
  * PS3/EPS3 now writes a proper image mask when compression is None.
  * Patch to properly read interlaced GIF's.
  * DestroyMagick() is not always reliably available when atexit() unwinds.
2006-04-04 22:30:50 +00:00
tv
0a5d9471b8 Make the notice about p5-PerlMagick a lot louder. 2006-04-04 18:51:14 +00:00
ghen
7547c3d0f4 Update to ImageMagick 6.2.6-6, as the 6.2.6-4 distfile is already not available
anymore (noted by tron).

2006-03-26  6.2.6-6  Cristy  <stentz@image...>
  * Specify '-depth 32 -define quantum:format=floating-point' to read/write
   single precision floating point TIFF and raw formats.
  * Specify '-depth 64 -define quantum:format=floating-point' to read/write
   double precision floating point TIFF and raw formats.
  * If you overlaying an image with a negative offset, the image is no
    longer wrapped around the left and right edges of the canvas.

2006-03-20  6.2.6-5  Cristy  <stentz@image...>
  * Fix Group4-compression in the PDF writer.
2006-03-30 09:56:12 +00:00
ghen
8ebf0d81e1 Update ImageMagick to 6.2.6-4. Ok with adam.
2006-03-06  6.2.6-4  Cristy  <stentz@image...>
  * Read image filenames that start with a dash (e.g. display -- -logo.png).
  * Do not set the image opacity when reading a PSD colormap index (reference
    http://redux.imagemagick.org/discussion-server/viewtopic.php?p=18026).
  * By default, ImageMagick sets the page size to the MediaBox. Some
    PDF files, however, have a CropBox that is smaller than the MediaBox and
    may include white space, registration or cutting marks outside the CropBox.
    To force ImageMagick to use the CropBox rather than the MediaBox, use
    -define (e.g. -define pdf:use-cropbox=true).
  * RGB to CMYK color conversion is now scaled properly.
2006-03-29 21:32:35 +00:00
tv
a256140b03 The last update missed resetting PKGREVISION in p5-PerlMagick; too late
to fix it now.  Add comment above version number to remind the updater to
reset PKGREVISION in both ImageMagick and p5-PerlMagick.
2006-03-08 16:46:34 +00:00
adam
f39d2d0f01 Distribution file has changed: only HTML documentation. 2006-03-06 20:04:28 +00:00
adam
82320dd49f Changes 6.2.6.3:
* The command line utilities properly returns a non-zero status when an
    exception is thrown.

Changes 6.2.6.2
  * Fix a memory leak in each of CompositeImageCommand() and CompositeImage()
  * Add new options -layers compare-any, -layers compare-clear,
    -layers compare-overlay, and -layers optimize.
  * Draw last dash in a dashed polyline.
  * Add %D to -format to return the image disposal method.
  * ncorrect handling of file:// URIs causes data loss (patch from Daniel
    Kobras).
  * Set default BMP resolution units to PixelsPerCentimeter (problem report
    from digipete@shaw...).
2006-03-05 21:25:48 +00:00
tv
7133f1e3f8 Um, depend on mpeg2codec>=1.2, not mpeg2codec-1.2. Otherwise a PKGREVISION
bump on mpeg2codec makes it incompatible.

Bump PKGREVISION.
2006-02-08 12:19:38 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
salo
5c81dfe171 Security fixes for CVE-2006-0082 and Debian bug #345595:
"Format string vulnerabilities in ImageMagick allow user-complicit attackers
 to cause a denial of service (crash) and possibly execute arbitrary code via
 a numeric format string specifier such as %d in the file name, a variant of
 CVE-2005-0397, and as demonstrated using the convert program."

Patches from Debian.

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0082
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345876
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345595
2006-01-28 02:36:55 +00:00
adam
2c80f0f586 Changes 6.2.6.0:
* Bug fixes
2006-01-26 20:38:18 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jschauma
6e353a6a3d make this compile on IRIX by passing '-c99' to the mipspro compiler 2006-01-12 04:01:14 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
adam
4c4155995f Changes 6.2.5.5:
* SetImageType(): monochrome images are not required to be colormapped
* Initialize blob->mapped to MagickFalse in AttachBlob()
* Use painters algorithm for the -draw point primitive
* NormalizeImage() now normalizes the opacity channel correctly
* QueryFontMetrics() now accounts for the font stroke width
2005-11-29 08:51:17 +00:00
adam
2b8f3a28d4 Changes 6.2.5.0:
* bug-fixes
* improvements
2005-10-03 13:57:40 +00:00
adam
d1ab6360c2 Changes 6.2.3.6:
* Minor bug fixes and improvements
2005-08-08 09:18:09 +00:00
tron
00c972c69c Backout changes from package revision 1. It turns out that the original
checksum and size were correct and I managed to download the outdated
version from two different hosts. Must be Monday ...
Oh yes, bump the package revision again.
2005-07-25 11:30:17 +00:00
tron
d53d0c2338 The new distribution file causes package list changes unfortunately.
So bump the package revision.
2005-07-25 10:23:09 +00:00
tron
c49d12e49c Correct checksum (the usual ImageMagick problem). 2005-07-25 09:58:56 +00:00
adam
fb2fb4cf3b Changes 6.2.3.5:
* Bug fixes
2005-07-25 08:01:51 +00:00
adam
17b8498c38 Changes 6.2.3.3:
* Bug fixes
2005-07-14 08:58:46 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
salo
f1900090e8 Bump BUILDLINK_RECOMMENDED after latest update with security fixes. (hi adam!) 2005-05-26 13:37:32 +00:00
adam
fda3be0bb1 Changes 6.2.3.0:
* Bug fixes
2005-05-25 10:32:33 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
salo
ff1af8fc96 Bump BUILDLINK_RECOMMENDED after latest update with security fixes. 2005-05-11 13:22:15 +00:00
adam
e6f74b43c8 Changes 6.2.2.0:
* Bug-fixes
2005-04-26 08:08:01 +00:00
adam
b090872ea4 Changes 6.2.1.6:
* Bug fixes?
2005-04-19 15:43:13 +00:00
adam
8538dfe86f Changes 6.2.1-3:
* Bug fixes
2005-04-13 08:10:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
2b9fa01c81 Changes 6.2.1-0:
* Bug fixes, clean ups, and improvements
2005-03-29 14:31:52 +00:00
adam
697d338235 Changes 6.2.0-8:
* Bug fixes
2005-03-22 15:10:39 +00:00
drochner
07140539b7 Update to 6.2.0-4. Didn't find a useful changelog, but at least a format
string problem is fixed which might be a security problem. See
http://studio.imagemagick.org/magick/viewtopic.php?t=3774
(according to Ubuntu Security Notice USN-90-1, CAN-2005-0397 was assigned)
2005-03-03 15:33:22 +00:00
adam
aa16cd994b Chanes 6.2.0-2:
* The Tru64 UNIX 4.0D/5.1 C++ compiler doesn't support ios::binary.
  There is an #ifdef for this, MISSING_STD_IOS_BINARY, but nothing sets
  it in configure.ac. So, I whipped up something to test it. I've tested
  this with the Sun, HP, IBM, SGI, and GNU C++ compilers.
* Bitmaps in wmf files which are drawed via ipa_bmp_draw (in coders/wmf.c)
  are not scaled to the output size, but drawn with the original size.
* Shear no longer produces artifacts for a 0 y-shear (e.g. 60x0).
* The PerlMagick memory, disk, etc., limits were not being set for values
  other than unlimited.
* Not all memory allocated in GetTransformTokens & GetStyleTokens are freed
  in SVG parsing.
2005-02-27 12:37:30 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
jklos
0b3e2701a1 Bumped PKGREVISION due to change in libwmf. 2005-02-05 18:16:15 +00:00
adam
72ab2eec94 Changes 6.1.9-4:
* Bug fixes
2005-01-27 13:51:39 +00:00
dsainty
3147605a74 Provide the option of an HTTP download site, as listed on the ImageMagick download web page 2005-01-23 04:09:05 +00:00
jdolecek
8675567d66 Update ImageMagick to 6.9.1-1. List of changes not available, but 6.9.1-0
doesn't appear to be available on the master server anymore
2005-01-22 08:37:38 +00:00
adam
0980ae0bc5 Changes 6.1.9-0:
* Improvements, bug fixes, and all the other more or less imporant changes
2005-01-21 11:08:38 +00:00
drochner
007e74ec86 update to 6.1.8-8, fixes a security problem, see
http://www.idefense.com/application/poi/display?id=184&type=vulnerabilities
2005-01-18 11:22:10 +00:00
adam
d54fd6408d Changes 6.1.8-6:
* Bug fixes and improvements
2005-01-14 12:41:06 +00:00
adam
6934a3c290 Changes 6.1.7:
* ReadPALMImage() now produces a proper RGB image
* Added the -shadow option to simulate an image shadow
* Fix file leak in ImageToBlob() method
2005-01-05 09:25:18 +00:00
reed
e117eda090 Bump PKGREVISIONs due to libtiff update.
Some BUILDLINK_RECOMMENDED bumps done also.

(If I missed any, please let me know -- and let me know a good
way to automate this.)
2004-12-28 23:18:15 +00:00
tv
3a5e9351e6 Allow building without X11 support with "PKG_OPTIONS.ImageMagick=-x11".
Idea inspired by post to tech-pkg from <imil@home.imil.net>.
2004-12-24 23:42:49 +00:00
adam
f68ac179bb Changes 6.1.6-0:
* The -channel option is operational again.
  * The black channel offset was incorrectly computed when compositing causing
    a seg-fault (bug report from Arfune).
  * Under extremely rare conditions the GIF coder had a memory leak.
  * Moved image list advancement to after the progress monitor call in
    QuantizeImages() (bug report by Tim Hunter).
2004-12-05 09:42:11 +00:00
adam
006075cc76 Chamges 6.1.5-7:
* The black channel offset was incorrectly computed when compositing causing
  a seg-fault (bug report from Arfune).
* Under extremely rare conditions the GIF coder had a memory leak.
* Moved image list advancement to after the progress monitor call in
  QuantizeImages() (bug report by Tim Hunter).
* The display program no longer exits after the first image.
* The JP2 coders no longer interprets the first channel as an opacity channel.
* The VID coder no longer generates a fault (bug report from Arfune).
* CMYK Postscript with a subimage specification no longer returns a grayscale
  image (bug report from Arfune).
* Handle image settings with MogrifyImageInfo() method.
* GNS contributed QueryMultilineTypeMetrics().  Its like QueryTypeMetrics()
  but returns the maximum text width and height for multiple lines of text.
* Treat -channel as a setting in the command line programs.
2004-11-29 09:05:46 +00:00
adam
8d9d0e2837 Changes 6.1.5-2:
* The black channel offset was incorrectly computed when compositing causing
    a seg-fault (bug report from Arfune).
  * Under extremely rare conditions the GIF coder had a memory leak.
  * Moved image list advancement to after the progress monitor call in
    QuantizeImages() (bug report by Tim Hunter).
2004-11-22 16:28:24 +00:00
adam
8a4cc46ef1 Bumped to -3, since -1 is no longer available 2004-11-16 09:39:51 +00:00
adam
7e83517673 Changes 6.1.4-1:
* Bug-fixes and improvemens [as usually]
2004-11-15 11:14:15 +00:00
adam
b05ee9e4b9 Changes 6.1.2: bug fixes and improvements 2004-10-28 14:34:17 +00:00
kristerw
5d90438f93 This pkg fails to build with make from NetBSD-1.6.2. Use the GNU make
instead.
2004-10-10 11:20:08 +00:00
reed
899d5d73d0 Update patch so it works with bash too.
No change to actual configuration.

Maintainer, adam@, says this patch is used to prevent
installing/overwriting libltdl.
2004-10-05 22:12:00 +00:00
adam
eac24c06c1 Changes 6.1.0-2:
* Bug-fix release
2004-10-05 12:07:31 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adam
4697278406 Use libwmf anyway 2004-09-28 11:00:47 +00:00
adam
cd37768361 Changes 6.0.8-3:
* Fix to enable reading Photoshop images with a group of layers.
  * other bug fixes
2004-09-27 11:04:24 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
adam
f00fcb7d73 Changes 6.0.7-1:
* Bug fixes
2004-09-06 13:09:43 +00:00
adam
096728bc5c Changes 6.0.5-2:
* Bug-fix release
2004-08-19 15:27:24 +00:00
adam
ed6a617d82 Changes 6.0.4-3
* PNG vulnerability fix.
  * Added YCbCr coder for raw Y, Cb, and Cr samples.
  * Fixed the -fx option operator precendence problem (+ and - should be the
    same precendence).
  * Rare memory corruption due to a JPEG comment (bug report by
    brundlefly76@hotma...).
  * The PerlMagick Evaluate() method no longer fails with an assertion error.
  * Restore -dSAFER for a more secure Ghostscript invocation.  The downside is
    we must copy the Postscript file to a temporary file otherwise we get a
    the ocassional invalidfileaccess fom Ghostscript.
  * Do not report image depth unless the -verbose or -format %z option is used
    with the identify program.
  * Center gravity now works when cropping by percent (e.g. -crop 75%).
  * Small memory leak on exception in the ImageToBlob() method.
  * %@ returns the image bounding box (e.g. identify -format %@ logo:).
  * Sync pixel cache when cloning an image-- just in case someone clones
    an image clone and accesses pixels with AcquireImagePixel() instead of
    GetImagePixels().
2004-08-09 11:50:08 +00:00
adam
120d4a5681 Changes 6.0.3-1:
* bug fixes
2004-07-08 11:50:25 +00:00
xtraeme
2396acc57e Update graphics/ImageMagick to 6.0.2.7.
Changes:

  Bug fixes:
    * Fixed problem with relative filename wildcards (e.g.
      identify images/*.jpg)
    * DrawSetStrokeDashArray() now respects the number_elements argument.

  Performance improvements:
    * Don't open a loadable module if its already open.
    * Added anonymous memory-mapping to the pixel cache.  This makes it
      possible for memory to be returned to the system after the image is
      destroyed.

  Utilities enhancements:
    * The display program now composites any transparent images on top of a
      checkered background to assist in visualizing any partial transparent
      pixels.

  Coder additions/improvments:
    * When an unknown property is encountered in the XCF coder, it enters a
      bogus loop that never terminates.

  Code/structure enhancements:
    * Introduce MagickBooleanType and MagickStatusType types of unsigned int.
      These types are 100% compatible with the existing API but removes
      ambiguity.  Previously we got complaints that users did not realize that a
      return value of unsigned int in most cases meant a binary value (0/1).
      MagickStatusType is used for methods that return a bit mask.
    * Introduce MagickFalse and MagickTrue while we deprecate True/False.

And more...
2004-06-23 00:59:19 +00:00
adam
da08eef2c2 Changes 6.0.1-3:
* DrawSetStrokeDashArray() now respects the number_elements argument
* Since the WMF coder has Wand dependancies we only enable this coder when
  both WMF is available and module support enabled
* Some XCF tiles were not being read properly
* Fixed memory leak in EPT coder
* Fixed memory leak in DestroyImage()
* Close Windows registry when no longer needed
* RelinquishUniqueFileResource() was not freeing file resource properly
* Free the ImageInfo structure allocated by CloneImageInfo() in the
  WriteImages() method
* EPT images cannot support blobs
* Fixed temporary file resource limit leak in RelinquishUniqueFileResource()
* ConvolveImageChannel() incorrectly initialized non-selected channels to 0
* Added Cisco IP phone image format (write only)
2004-05-19 14:11:28 +00:00
minskim
740398d074 Enable pkgviews installation. 2004-04-25 05:12:27 +00:00
reed
4d238202dd Prepend shell command to remove share directory with a "-"
(to ignore any errors).

This is so in the rare case that you already have files from an
old install that it won't fail to install new package.

This was discussed with maintainer, tron@, in March.
2004-04-24 04:39:30 +00:00
adam
ecefab57e3 Changes 6.0.0:
* MagickWand API, a higher level C interface to the ImageMagick methods.
    * Increased stability.  The library was checked and cross-checked with
      splint and valgrind to eliminate security vulnerabilities and common
      programming mistakes as well as ensure no memory leaks.
    * A new -fx option to apply a mathematical expression to an image list from
      the command line.
    * Algorithms were improved to reduce processing requirements resulting in a
      significant speed-up over previous releases.
    * All regression tests pass at Q8, Q16, and Q32 on a variety of platforms
      including Linux, Solaris, FreeBSD, Mac OS X, and Windows.
    * The composite methods have been corrected to precisely conform to the
      SVG standard.
    * New image comparison utility, `compare'.
    * Better support for CMYK image workflow.
    * New string handling methods to help prevent potential buffer overflow
      problems.
    * Error reporting has more detail to help identify the cause of a
      particular problem.
    * Bug fixes
2004-04-21 13:49:09 +00:00
tron
a4a18612a3 Remove me as maintainer of this package. I did none of the last three
updates anyway.
2004-03-23 19:53:33 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
heinz
1e3527af1b ImageMagick does not build with jasper 1.600.0 anymore. Demand jasper 1.701.0 2004-03-02 21:01:17 +00:00
adam
8f4d84f55c Changes 5.7.7-17:
* Bug fixes (memory leaks)
2004-03-02 10:31:48 +00:00
grant
d8094a0f2e bump PKGREVISION due to PLIST change. 2004-02-27 08:51:44 +00:00
grant
c3cfc834b1 fix ${MKDIR} of the modules directory, which was missed in a
previous commit.
2004-02-27 08:51:15 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
abs
58c62974b1 USE_LANGUAGES= c c++ 2004-02-13 23:43:19 +00:00
xtraeme
3f3e4601a4 bl3ify 2004-02-11 08:55:58 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
tron
8ab658b157 Remove package revision after package has been updated. 2003-09-30 21:17:38 +00:00
mycroft
5d42c0bd0a The checksum for 5.5.7-10 changed. Update to 5.5.7-11 while I'm here.
ChangeLogs?  We don't need no shtinking ChangeLogs!  (AFAICT, there is a
single bug fix to the MPEG code.)
2003-09-30 18:20:01 +00:00
recht
4235ecb8a4 Add missing PKGCONFIG_OVERRIDE.
Bump PKGREVISION because of the changed *.pc files.
2003-09-26 20:21:25 +00:00
grant
436e000995 style/quoting nit 2003-09-17 19:51:35 +00:00
grant
d6539e99dd require gcc3 on NetBSD/sparc64 2003-09-17 19:51:09 +00:00
grant
3ed95f6974 no need include compiler.mk 2003-09-17 19:49:24 +00:00
wiz
5329a24ecd Update for distfile change:
205a206
>   image->storage_class=DirectClass;
1179a1181,1182
>   if (!image->matte)
>         SetImageOpacity(image,OpaqueOpacity);
diff -r a/ImageMagick-5.5.7/magick/log.c b/ImageMagick-5.5.7/magick/log.c
503c503
<       count=0;
---
>       (void) MagickSeek(file,0,SEEK_SET);
diff -r a/ImageMagick-5.5.7/magick/version.h b/ImageMagick-5.5.7/magick/version.h
28c28
< #define MagickReleaseDate  "08/07/03"
---
> #define MagickReleaseDate  "09/09/03"

Closes PR 22767 by Ben Collver.
2003-09-12 22:10:45 +00:00
recht
2596582f25 gcc.buildlink2.mk is no more. So, include compiler.mk instead. 2003-09-12 17:55:51 +00:00
adam
2552c5da92 Bug-fix release; shared library major version is now 6 (not 0) 2003-09-03 11:59:20 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
kleink
9cf12ae35e Remove duplicate master site. 2003-07-06 13:45:51 +00:00
jschauma
72dd0fdb1c Conflict only with geomview<1.8.1nb2 2003-07-03 17:41:51 +00:00
tron
105ee220ed Update "ImageMagick" and "p5-PerlMagick" packages to version 5.5.7.9.
Changes since version 5.5.6:
- File descriptor leak prevented temporary disk pixel cache from being
  removed under Windows.
- Color profile patches provided by (dge at softec.st).
- West/East geometry was computed with image width rather than height.
- The MNG encoder failed to set the JNG bit in the simplicity profile.
- The MNG encoder failed to write FRAM chunks when all images were JNG.
- The JNG encoder wrote the wrong alpha_sample_depth for opaque images.
- Fixed JPEG EXIF problem.
- Added -thumbnail as an option to the utilities.
- No TIFF preview was written on EPT write (patch provided by
  Lars Ruben Skyum).
- NegateImage() now negates the K channel of a CMYK image (patch provided
  by Lars Ruben Skyum).
- Parameter 'elevation' misspeclled for PerlMagick Shape() method.
- A number of minor leak/unitialzed memory problems fixed.
- Allocate free nodes from the heap in QuantizeImage().
- Magick-config --version returned gibberish.
- Adopted Bob Friesenhahn's patterns-- use as filename pattern:checkboard,
  pattern:bricks, etc.
- We cannot reliably auto rotate PDF files so this feature was removed.
- The conjure program did not correctly handle the gravity attribute.
- The persistent cache reference count was not properly incremented.
- Added $image->Describe() method to PerlMagick to interface to the
  DescribeImage() C API method.
- Added support for the EXIF Tag Parsing Library.  Currently we simply
  display the tags when calling DescribeImage().  In the near future
  there will be support for modifying or adding tags.
- Added Bob Friesenhahn's updated Windows installation instructions.
- Interfaced the drawing routines with the new MagickWand API.
  MagickWand will be the primary public C interface to ImageMagick in
  the near future.
- magick/effect.c: RandomChannelThresholdImage was not handling
  PseudoColor, non-gray images correctly.
- png.c would not compile with libpng versions older than libpng-0.95,
  due to bugs introduced in ImageMagick version 5.5.2.
- Implemented -random-threshold and -ordered-dither options.
- The locale messaging system now uses a hash for fast lookup.
- Updated libtool to the new released version, 1.5.
- Fixed bug with decoding grayscale PNG images and JNG alpha channel
  at Q:32.
- Now recognize 32-bit hex color specifications, patches provided by
  Bob Friesenhahn.
- Started API wrappers based on Bob Friesenhahn's method suggestions.
- Text annotations that started with '\n' were not rendered correctly.
- Removed artifacts from images rotated with a small number of degrees.
- Minor bug fix in the ParseGeometry() method.
- Modified the non-public inline AlphaComposite() to use a PixelPacket
  pointer; previously it returned a PixelPacket structure.
- You can now specify an image geometry as an image file (e.g. -geometry
  image.jpg).
- Use new temporary file manager for JNG components.
- Added support for 12-bit TIFF images.
- Added improved locale message subsystem (contributed by Kyle Shorter).
- Removed a bias from SampleImage() and DrawAffineImage() (bug report
  by Glenn Randers-Pehrson).
- PerlMagick now recognizes percent values for fuzz or opacity.
- Not enough memory allocated for reading PCX (bug report by Trevor
  Willis).
- There were artifacts when using the Bessel function for resizing
  (bug report by Bob Friesenhahn).
- Added -resample to convert to change the resolution of an image.
- Added a temporary file manager that prevents race conditions and
  removes any remaining files on exit.
- Prepped ImageMagick to work with Visual C++ 7.0 under Windows.
  The Windows configure patches came from William Radcliffe.
- The refresh of the display image window no longer lags when the
  magnify window overlay it.
- Numerous code clean-up and minor speed ups based on problem areas
  identified in the Graphics-Magick ChangeLog.
2003-06-30 06:45:01 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
mjl
3fe37772f3 Implement suggestion from last commit: Split out common part of
p5-PerlMagick and ImageMagick into Makefile.common.
2003-04-16 13:27:21 +00:00
mjl
6a1591d9bb Update ImageMagick and p5-PerlMagick to 5.5.6.
Changes are lots of bug fixes and minor enhancements (several pages
worth of it).

XXX Those two should probably be using a Makefile.common instead
XXX of just copying the appropriate bits.
2003-04-15 11:11:50 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
salo
b13b7447bb Remove the arm32 optimization workaround as it applies to egcs
only and at least GCC 2.95.3 is required by the package.

Tested by martin on shark.
2003-01-26 17:45:28 +00:00
hubertf
c0f0e89f4f Implement last change to require newer gcc different,
hinted at by wiz.
2003-01-25 17:30:03 +00:00
hubertf
dc8bc2f162 This pkg needs a newer gcc than what comes with NetBSD for 1.[543]*
Tested on 1.5.1/cobalt.
2003-01-25 06:45:48 +00:00
hubertf
9b3abb1066 When compiling on cobalt, this spins when compiling one .c file with optimisation turned on. Reduce optimisation for mipsel. 2003-01-24 20:13:42 +00:00
wiz
544917950e Update to 5.5.3.2. Changes include lots of bugfixes and some enhancements,
in particular JNG support.
2003-01-03 23:04:35 +00:00
wiz
6cef299f3c Depend on 5.5.1.6nb1. 2002-11-13 19:17:46 +00:00
wiz
3fe2a0fbf7 According to the ImageMagick developers, it is uncommon for any two
libMagick.so libraries to be API compatible, and they don't want to
handle proper ELF versioning, but have the "real" version number in
the library. To spare us the pkgsrc maintenance nightmare, follow their
example. Bump PKGREVISION.
2002-11-13 19:17:18 +00:00
wiz
374aeda764 Fix DEPENDS line (5.5.1.6 instead of 5.5.6.1, oops). 2002-11-13 14:14:27 +00:00
wiz
a35c786e99 Depend on latest, and add jasper buildlink2. 2002-11-13 14:01:20 +00:00
wiz
e3e667da4d Update to 5.5.1-6.
Changes:
  * Verify sanity of sysconf(_SC_PAGE_SIZE) and sysconf(_SC_PHYS_PAGES)
    before using their values.
  * Corrected bug in image geometry height calculation.
  * PingBlob() improperly set the length memory of BlobInfo to zero.
  * Fixed Ping() memory leak in PerlMagick.
  * Fixed -map problem in convert/mogrify utilities.
  * -border with a single value now produces correct results
    (e.g. -border 10).
  * Set locale type LC_NUMERIC to "C".
  * Bug fix for PS2 encoder.
  * Added PS-Adobe preamble to PS3 encoder.
  * Use ImageMagick release number to allow multiple ImageMagick releases
    to co-exist without interference on the same machine.
  * Decided that DrawGet functions should return by value.
  * Added detailed logging to BMP, PNG, and JPEG codecs, including JPEG
    quality estimate.
  * Added draw.h "DrawGet" equivalents to most of the "DrawSet" functions.
  * Added an array size argument to DrawSetDashPattern and got rid of
    the zero-termination garbage.
  o Remove 'Set' from the names of draw.h functions which update the
    current affine transformation array (e.g. DrawSetRotate becomes
    DrawRotate).
  * Under Windows, a DllMain function which automatically initializes
    ImageMagick (when ImageMagick is built using DLLs) may be added by
    defining ProvideDllMain in magick_config.h
  * Added resource consumption methods, see magick/resource.c.
  * Replaced underscores in commandline options with hyphens.  For backward
    compatibility, underscores will continue to be recognized.
  * Added -blue-primary, -green-primary, -red-primary, -white-point options.
  * Added BMP2 and BMP3 output formats.
  * Changed chromaticity primary.z from 1.0 to 1.0-(primary.x+primary.y)
    in the PNG and PCD codecs.
  * Added 'exception' parameter to the ImageMagick progress monitor API.
  * Added enumerated types for the dispose member of the Image structure.
  * Added -version option to commandline utilities.
  * The xcf decoder would sometimes create artifacts when reading RLE-encoded
    grayscale images, due to the green and blue samples not being defined.
  * Added logging capabilities to the CORE API.  This facility is useful
    for debugging.  Added "events" parameter to the -debug commandline option.
  * AcquireImagePixels() did not always return the same pixel values
    for virtual pixels when the cache was stored on disk (very rare).
  * new -virtual-pixel command line option.
  * new PerlMagick virtual-pixel image attribute.
2002-11-13 13:44:42 +00:00
wiz
c0cd2110d2 Unused. 2002-10-05 04:08:51 +00:00
jlam
3841dca038 buildlink1 -> buildlink2 2002-09-12 08:29:46 +00:00
markd
7b12c05212 Explicitly disable lcms to stop it being half found on Solaris.
Also Solaris needs the configure script run under bash as well.
2002-09-09 22:07:21 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
tron
f53ae645aa Update "ImageMagick" and "p5-PerlMagick" packages to version 5.4.8.2.
Many bugs were fixed since the release of version 5.3.9 and lots of new
features like 32-Bit QuantumDepth support added.
2002-08-22 08:06:11 +00:00
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
abs
cde39f3085 Switch a 'long' to int32_t to work correctly on BE-LP64 platforms.
Mark NOT_FOR_PLATFORM = NetBSD-*-sparc64 as c++ still broken
2002-02-10 12:50:59 +00:00
lukem
df302d528b - Some operations that worked in-place on some format (e.g,
"mogrify -rotate 90 foo.tiff") used to leave the result in
  /tmp/magickXXXXXXX with an in-file image comment of
  /tmp/magickXXXXXXX.mgk.
  Now it writes back to foo.tiff and the in-file comment is correct.
  For some reason, working on jpg's didn't exhibit this problem

- Some operations that generate new files from some formats (e.g,
  "mogrify -format jpg -rotate 90 foo.tiff") used to leave the result
  in /tmp/magickXXXXXXX.jpg.
  Now foo.jpg is generated.
  For some reason, converting jpg->tiff didn't exhibit this problem.
2001-11-27 01:26:49 +00:00
lukem
4733418156 remove incorrect assert in delegate.c::GetDelegateCommand(), which
resulted in
	convert foo.jpg foo.tiff.gz
(or any other conversions involving an encode compression) dumping core.
2001-11-24 01:42:00 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
tron
c3aaaea285 Update "ImageMagick" and "p5-PerlMagick" packages to version 5.3.9.
A complete list of changes is not available unfortunately. Recent
changes are:
- Text drawing now handles UTF8-encoding.
- Off-by-one GetImagePixels() fix in draw.c
- PingImage() now reports attributes for all images an image sequence.
- magick/image.h: Rename QuantumLeap define to QuantumDepth.
  QuantumDepth is set to the values 8 or 16, depend
  configuration option.
- Updated PerlMagick signatures to signature algorithm.
- ImageMagick defaults to 16-bit quantum. Set QuantumMagick for 8-bit.
- Changed image->blob from BlobInfo to BlobInfo- so the Image
  structure size is not dependent on the large-file defines.
- Added -background to convert prog
- DispatchImage() now properly handles grayscale images.
2001-09-17 15:17:31 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
15df0dd0ca Add wrappers for Magick-config and Magick++-config. 2001-08-23 21:32:32 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
zuntum
98b7813db0 ImageMagick's dependencies should be listed in its buildlink.mk file too,
so packages that include ImageMagick's buildlink.mk get proper dependencies
2001-07-09 18:24:09 +00:00
jlam
306421ef82 Move inclusion of buildlink.mk files to end of Makefile. Also patch
configure script to not add -L${PREFIX}/lib, -I${PREFIX}/include to
LDFLAGS, CFLAGS to encapsulate build.
2001-07-02 16:48:31 +00:00