Commit graph

110 commits

Author SHA1 Message Date
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
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
jlam
8ca42bcf7c Add buildlink.mk file for use by other package Makefiles. 2001-06-23 19:24:20 +00:00
jlam
7ac386cc9e Add dependency on bzip2 for libbz2.a, needed to support bzip2-compressed
MIFF files.
2001-06-21 22:53:30 +00:00
jlam
9283b87452 Remove changes to remove BZ2_ prefix from bzip2 function calls. bzip2
1.0.1 and up prefix functions with BZ2_ while older versions don't, but
ImageMagick was tested to work with bzip2 1.0.1, so don't change its
expectations.
2001-06-21 01:59:07 +00:00
jlam
b4748402e1 Add back dependency on mpeg2codec that was accidentally removed in last
set of changes.
2001-06-21 01:48:43 +00:00
jlam
af84a04b84 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Allow
finding libbz2 on NetBSD systems by removing BZ2_ prefix from bzip2
function calls.
2001-06-20 22:24:44 +00:00
wiz
26c40c61dd Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
2001-05-22 09:32:18 +00:00
drochner
114ece5630 explicitely pass "--without-wmf" to "configure" to avoid a spurious
warning
2001-05-14 16:34:38 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
wiz
8af3f4d4c6 Move CONFLICT line for pkglint. 2001-04-09 11:59:43 +00:00
jtb
71c404bc4b Both packages conflict -- each has program named 'animate'. Discovered
by Lex Wennmacher's investigations.
2001-03-31 18:40:25 +00:00
tron
5382bbe7c6 Because the minor number of the PNG library was increased packages compiled
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
2001-03-04 09:06:09 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
wiz
a9adf7cebe Make it partially compile on 1.4.2, whose unistd.h doesn't seem to like
this combination of _XOPEN_SOURCE and _POSIX_C_SOURCE.
2001-01-30 13:18:51 +00:00
tron
b57862af7b Update "ImageMagick" package to version 5.2.8. Changes since version 5.2.2:
- URL's are now understood on Win32 (thanks to libXML and William
  Radcliffe).
- ImageMagick defaults to 16-bit per pixel component now.
- Support added for ART images (contributed by Jaroslav Fojtik).
- Added -pause to the animate program.
  You can now specify a minimum/maximum delay for an image sequence.
- Added %c to -format to get the image comment (patch provided by Frank
  Mattern).
- Over compositing is now the Porter-Duff algorithm (inspired by William
  Radcliffe and Alvy Ray Smith).
- You can write SVG output if the input is SVG, MVG, or WMF.
- ImageMagick now can accept AFM, PFB, and PFM fonts.
- The linewidth parameter is deprecated in PerlMagick. Use stroke_width
  instead.
- Digital Applications contributed text stroking code.
- You can now specify Truetype fonts directly. No @ prefix is required
  (e.g. convert -font Arial.ttf ...)
- Digital Applications contributed line cap and dash pattern rendering
  code.
- Added the Multiple composite operator for the creation of drop-shadows
  (patch provided by John Harper).
- Support added for CUT images (contributed by Jaroslav Fojtik).
- Bill Radcliffe contributed fast polygoni rendering code. Parts of the
  rendering algorithm were inspired by libart.
- Support added for BMP images with a 'BA' chunk (contributed by
  Jaroslav Fojtik).
2001-01-29 19:03:23 +00:00
tron
749afb39b4 Update homepage URL. 2001-01-29 17:31:54 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
hubertf
402899809a Replace MIRROR_DISTFILES and NO_CDROM with the more descriptive and
more fine-grained NO_{BIN,SRC}_ON_{FTP,CDROM} definitions.

MIRROR_DISTFILES and NO_CDROM are now dead.
2000-08-18 22:46:29 +00:00
tron
8d8806ed48 Update "ImageMagick" package to version 5.2.2. Changes in version 5.2.2:
- Support added for the Word Perfect Graphics (WPG) file format
  (contributed by Jaroslav Fojtik).
- The pixel 'matte' field is changed to indicate the degree of pixel
  transparency rather than the degree of opacity. This makes the pixels
  compatable with most popular video cards, and many in-memory image
  formats.
  When the pixel quantum size is eight bits, the colormap is restricted
  to 256 colors, but supports up to 65535 colors when the quantum size is
  sixteen bits (when QuantumLeap is defined at compilation time).
- ImageMagick is more memory efficient (by 18%) when the quantum size is
  eight bits, and the image is colormapped.
- ImageMagick is (finally) believed to be thread safe under Windows,
  since it uses the Windows synchronization APIs to lock shared data.
- Under Unix and Windows, dynamically-loaded format coder modules are
  supported. There are currently 72 loadable modules. Support for
  loadable modules allows the user to add or remove formats from
  ImageMagick by simply adding or removing a file. New modules are
  automatically detected so users may add their own modules. This support
  is proven to work for Sun Solaris, Linux, and SGI IRIX. Please let us
  know about other operating systems they work on. Building a modular
  ImageMagick is enabled by specifing the configure options
  --enable-shared --with-modules.
- ImageMagick now has a set of modules for streaming. Here pixels are
  passed to the application as they are available and deleted after use
  ensuring a small memory footprint. This is useful for multi-media
  applications such as MPEG.
- Image format identification (based on the file header) is now
  configured via an external text file. This allows the user to add
  automatic file identification for new formats added via a coder module,
  or via a delegate (external program).
- XML files conforming to the W3C SVG DTD are now rendered directly by
  ImageMagick. The support is incomplete but still useful.
- The Pilot Image Format (PDB) is now supported.
- The drawing primitives have been extended to support drawing bezier
  curves, rounded rectangles, and arcs. There is now support for drawing
  compound objects (a sequence of objects) using drawing paths. The
  concept of a drawing pen has been split into stroke (for the outline)
  and fill (for the objects internal color). If fill is not defined, then
  only the object outline is drawn. This substantial change results in
  the existing drawing commands for filled objects (fillEllipse,
  fillRectangle, fillCircle, and fillPolygon) being deprecated.
- A cache file format is now supported which is a snapshot of an image's
  pixel cache as it appears on disk. Images stored in this format (large)
  may be loaded instantly by ImageMagick since decoding is not required.
  In order to write this format , the argument -cache 0 must be supplied
  (e.g. convert -cache 0 file.jpg file.cache).
- The build environment for Windows NT is entirely re-done. There is now
  a configure program which generates a set of Visual C++ project files
  which satisfy a set of reqirements (e.g. DLL, multi-thread, X11). These
  project files are then used to build ImageMagick.
- The C API is significantly modified in order to provide thread-safe
  operation via function re-entrancy. ImageMagick is believed to be
  thread-safe when used with POSIX threads. It is not yet completely
  thread safe under Windows or the Mac. Errors (of type ExceptionInfo)
  are now reported by a function argument, or via a member of the current
  image.
- The GaussianBlurImage() function (contributed by runger@cs.mcgill.ca)
  supports Gaussian bluring an image.
- Functions (OpenCacheView(), CloseCacheView(), GetCacheView(),
  SetCacheView(), and SyncCacheView()) are provided in order to support
  manipulating multiple pixel views.
2000-08-10 08:59:04 +00:00
tron
97ac006dff Update "ImageMagick" package to version 5.2.2. Changes in version 5.2.2:
- Support added for the Word Perfect Graphics (WPG) file format
  (contributed by Jaroslav Fojtik).
- The pixel 'matte' field is changed to indicate the degree of pixel
  transparency rather than the degree of opacity. This makes the pixels
  compatable with most popular video cards, and many in-memory image
  formats.
  When the pixel quantum size is eight bits, the colormap is restricted
  to 256 colors, but supports up to 65535 colors when the quantum size is
  sixteen bits (when QuantumLeap is defined at compilation time).
- ImageMagick is more memory efficient (by 18%) when the quantum size is
  eight bits, and the image is colormapped.
- ImageMagick is (finally) believed to be thread safe under Windows,
  since it uses the Windows synchronization APIs to lock shared data.
- Under Unix and Windows, dynamically-loaded format coder modules are
  supported. There are currently 72 loadable modules. Support for
  loadable modules allows the user to add or remove formats from
  ImageMagick by simply adding or removing a file. New modules are
  automatically detected so users may add their own modules. This support
  is proven to work for Sun Solaris, Linux, and SGI IRIX. Please let us
  know about other operating systems they work on. Building a modular
  ImageMagick is enabled by specifing the configure options
  --enable-shared --with-modules.
- ImageMagick now has a set of modules for streaming. Here pixels are
  passed to the application as they are available and deleted after use
  ensuring a small memory footprint. This is useful for multi-media
  applications such as MPEG.
- Image format identification (based on the file header) is now
  configured via an external text file. This allows the user to add
  automatic file identification for new formats added via a coder module,
  or via a delegate (external program).
- XML files conforming to the W3C SVG DTD are now rendered directly by
  ImageMagick. The support is incomplete but still useful.
- The Pilot Image Format (PDB) is now supported.
- The drawing primitives have been extended to support drawing bezier
  curves, rounded rectangles, and arcs. There is now support for drawing
  compound objects (a sequence of objects) using drawing paths. The
  concept of a drawing pen has been split into stroke (for the outline)
  and fill (for the objects internal color). If fill is not defined, then
  only the object outline is drawn. This substantial change results in
  the existing drawing commands for filled objects (fillEllipse,
  fillRectangle, fillCircle, and fillPolygon) being deprecated.
- A cache file format is now supported which is a snapshot of an image's
  pixel cache as it appears on disk. Images stored in this format (large)
  may be loaded instantly by ImageMagick since decoding is not required.
  In order to write this format , the argument -cache 0 must be supplied
  (e.g. convert -cache 0 file.jpg file.cache).
- The build environment for Windows NT is entirely re-done. There is now
  a configure program which generates a set of Visual C++ project files
  which satisfy a set of reqirements (e.g. DLL, multi-thread, X11). These
  project files are then used to build ImageMagick.
- The C API is significantly modified in order to provide thread-safe
  operation via function re-entrancy. ImageMagick is believed to be
  thread-safe when used with POSIX threads. It is not yet completely
  thread safe under Windows or the Mac. Errors (of type ExceptionInfo)
  are now reported by a function argument, or via a member of the current
  image.
- The GaussianBlurImage() function (contributed by runger@cs.mcgill.ca)
  supports Gaussian bluring an image.
- Functions (OpenCacheView(), CloseCacheView(), GetCacheView(),
  SetCacheView(), and SyncCacheView()) are provided in order to support
  manipulating multiple pixel views.
2000-08-10 08:57:23 +00:00
jlam
ce52cb9f8c USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 02:45:15 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
tron
82569d216f Update "ImageMagick" package to version 5.1.1. Changes since version 4.2.9:
- ImageMagick has a new logo (contributed by Ofer Tenenbaum).
- Requests for all or part of a pixel row, or multiple complete pixel
  rows, are mapped directly to the underlying image in memory, or memory
  mapped from a disk file, avoiding performance-robbing pixel copying.
  Requested rectangular regions which are narrower than the image width
  must still be copied to a scratch space.
- Support for WBMP, Wireless Bitmap (level 0) images (contributed by
  Milan Votava)
- Image sizes are limited by physical memory plus available disk space on
  the machine, or the file addressing limits of the operating system,
  whichever comes first. This means that if you can figure out how to
  build a big enough machine (and have plenty of time) terabyte images
  can be processed.
- An image cache subsystem and API are provided to map portions (as small
  as one pixel or as large as the entire image) of images into memory and
  to save any updates.
- Memory mapping is used to access files. This is the most efficient
  access mechanism available.
- DirectColor pixels are now stored in an efficient 32-bit structure (or
  64-bit when QuantumLeap is enabled).
- PseudoColor indices are now stored separately from the DirectColor
  pixels (PseudoColor and DirectColor representations are still available
  simultaneously).
- In-memory run-length encoding is eliminated.
- Compressed images are decompressed and compressed incrementally in
  order to limit memory consumption.
- Lots of minor C API fixes and improvements.
- Cache threshold setting for setting the boundary between use of RAM or
  RAM + disk when processing an image:
  - Use the --enable-cache option (e.g. --enable-cache=160) to set the
    compiled-in default when running the configure script.
  - Use -cache for ImageMagick utilities
  - Set the cache_threshold attribute in PerlMagick
  - Set the cacheThreshold attribute in Magick++
- The identify utility now displays precise read-time values.
- The Win32 build environment (now called "VisualMagick") is completely
  re-done and supports building both multi-thread DLL as well as static
  libraries.
2000-03-21 22:18:24 +00:00
tron
e8a1039530 Use "png>=1.0.3" instead of "png-*" in dependence list. 2000-02-09 20:20:52 +00:00
tron
887dfa1b4e Use wildcard dependence for "png" package. 2000-02-09 15:22:26 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
bca2c528b9 Delete erroneous PATCH_FUZZ_FACTOR definition. 1999-11-22 10:38:35 +00:00
agc
a4c1c9a438 Remove fuzz from patch. 1999-11-19 11:53:00 +00:00
jlam
d043b6411c Change to use wildcard dependency on tiff. 1999-10-08 21:12:47 +00:00
tron
8d7d754dfa Remove me as maintainer of those packages. 1999-10-07 17:41:46 +00:00
tron
86ed3049e4 Fix botch in last commit. 1999-09-11 15:04:14 +00:00
tron
5ae9bdcab2 Use only "-O" on "arm32" to avoid egcs bug (see PR bin/7460). 1999-09-11 14:25:44 +00:00
tron
3a0ae6eb9a Update "ImageMagick" package to version 4.2.9. 1999-09-11 00:52:32 +00:00