Subject: CVS commit: pkgsrc/graphics/netpbm
To: None <pkgsrc-changes@NetBSD.org>
From: Adam Ciarcinski <adam@netbsd.org>
List: pkgsrc-changes
Date: 10/19/2005 09:30:09
Module Name:	pkgsrc
Committed By:	adam
Date:		Wed Oct 19 09:30:09 UTC 2005

Modified Files:
	pkgsrc/graphics/netpbm: Makefile distinfo
	pkgsrc/graphics/netpbm/patches: patch-aa patch-ah
Removed Files:
	pkgsrc/graphics/netpbm/patches: patch-ad patch-ag patch-aj patch-ak

Log Message:
Changes 10.30:
Add pambayer.

Add pamrgbatopng.

Add pamtilt.  Thanks Gregg Townsend <gmt@cs.arizona.edu>.

pamtotiff: create from pnmtotiff.

pamtofits: create from pnmtofits.

pamaddnoise: crate from pnmaddnoise.

pamarith: Add -divide.

pammasksharpen: Add -sharpness.

pnmtopng: add -comp_mem_level, -comp_strategy, -comp_method,
-comp_window_bits, -comp_buffer_size.

pnmtopng: use Shhopt command line processor; replace
-chroma with -rgb, -phys with -size, -time with -modtime.

pnmremap: Handle multiple image stream.

xpmtoppm: Expand capacity from 2K character input lines to
8K character input lines.

libnetpbm: improved messages for "color xxx cannot be
represented precisely with maxval M"

libnetpbm color specification parsing:  Improve warning message
about rounding.

libnetpbm/everything: speed up ppm_writeppmrow() and
pgm_writepgmrow() by doing one fwrite per row instead of
a pgm_writerawsample() per sample.

pnmtopng: fix "meaningful bits" optimization of PGM so it
optimizes all the way instead of stopping at 4 bits.

pnmtopng: fix crash when no -alpha option, due to dereferencing
of undefined alpha_mask.

pnmtopng: fix bug: arbitrary color made transparent in
paletted PNG when nothing should be transparent.

pnmtops: bug: selects wrong Postscript level.

bmptopnm: Don't crash on BMP with no color map.

bmptopnm: Fix wrong file name in error messages.

ppmtowinicon: use REALLOCARRAY instead of arithmetic-overflowing
realloc().

anytopnm: fix bug: fails when 'file' database doesn't
have mime type but does have human-readable type.

manweb: recognize directory as not executable in search of PATH.

pgm_allocrow(), ppm_allocrow(), pnm_allocrow(): cure
arithmetic overflow.

libnetpbm: On plain formats, check for sample value exceeding
maxval.

libnetpbm: reject maxval > 65535 in "pam" functions.

pamarith: Use normalized libnetpbm facilities to get
proper accuracy.  Thanks Thomas Henlich
<http://sourceforge.net/users/thenlich/>.

pamarith: fix bug: shift functions don't work when maxvals
are not identical.

pamarith: fix rounding error on multiply.

pgmtexture: correct calculation of normalizing constants
for d > 1.  Thanks Marc Breithecker
<Marc.Breithecker@informatik.uni-erlangen.de>.

pnmnorm: fix divide by zero crash.

pnmnorm: fix bug that doesn't let you specify
-luminosity, -colorvalue, or -saturation.

ilbmtoppm: fix variable used before set.

pnmtofits: fix 16 bit sample values > 2**15.

pnmtopsnr: minor adjustments to messages.

pnmnorm: don't crash when wvalue == bvalue.  Thanks Thomas
<http://sourceforge.net/users/thenlich/>.

pnmnorm: fix rounding of output values.  Thanks Thomas
<http://sourceforge.net/users/thenlich/>.

pnmhisteq: Fix external map to have width maxval + 1 instead
of maxval, so full intensity input pixels map properly.

pnmhisteq: Fix -rmap.

Fix typos in error messages in various programs.

pgmmedian: change syntax to Netpbm standard.

pammasksharpen: fix signedness bug that caused random bright
pixels at edges.

pammasksharpen: fix bug with maxval != 255.

Clean up a bunch of function prototypes so some broken
compilers don't complain about missing "const" in them.

Remove dependency of pnmtops on basename().  It isn't in
some C libraries and we don't want to mess with linking
extra libraries.

Build of ppmsvgalib: work properly when LINUXSVGALIB is
a "default path" value such as "libvga.so".


To generate a diff of this commit:
cvs rdiff -r1.125 -r1.126 pkgsrc/graphics/netpbm/Makefile
cvs rdiff -r1.44 -r1.45 pkgsrc/graphics/netpbm/distinfo
cvs rdiff -r1.32 -r1.33 pkgsrc/graphics/netpbm/patches/patch-aa
cvs rdiff -r1.18 -r0 pkgsrc/graphics/netpbm/patches/patch-ad
cvs rdiff -r1.10 -r0 pkgsrc/graphics/netpbm/patches/patch-ag
cvs rdiff -r1.7 -r1.8 pkgsrc/graphics/netpbm/patches/patch-ah
cvs rdiff -r1.7 -r0 pkgsrc/graphics/netpbm/patches/patch-aj
cvs rdiff -r1.5 -r0 pkgsrc/graphics/netpbm/patches/patch-ak

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.