Commit graph

124 commits

Author SHA1 Message Date
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
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