summaryrefslogtreecommitdiff
path: root/graphics/netpbm
AgeCommit message (Collapse)AuthorFilesLines
2006-10-22Fixed PKGMANDIR.rillig1-2/+3
2006-10-11Fixed "test ==" and a few pkglint warnings.rillig3-4/+18
2006-10-03added missing $NetBSD$ headersschwarz3-3/+7
2006-10-03added support for IRIX 5 and in particular the SGI IDO cc.schwarz19-2/+358
patches were discussed with Bryan Henderson, maintainer of the netpbm code.
2006-09-09Rename variable MAKEFILE to MAKE_FILE.obache1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-25This is a security update, which fixes a buffer overflow vulnerability.adam8-97/+25
Changes 10.34: * Add pamthreshold, pamx, pamtoxvmini. * pammasksharpen: Add -threshold. * pnmtopng: make "N colors found" message verbose-only. * pnmtopng: make "no room in palette" message non-verbose. * picttoppm: Tolerate various PICT file corruptions. * picttoppm: Don't issue warning message when file named 'fontdir' doesn't exist. * libnetpbm: Add ppmd_fill_path(). * ppmtobmp: Fix for PBM input. * bmptopnm: Don't crash on BMP with no color map. * bmptopnm: Fix wrong file name in error messages. * ppmtogif: fix bug: always produces garbage output. * ppmtompeg: fix input from Standard Input. * pnmflip: fix bug: -rotate90, -rotate180, and -rotate270 (and synonyms) don't work when followed by other rotation options. * ppmtoilbm: Fig bug: generates more planes than necessary. * pamtofits: fix buffer overflow in asembling header. * picttoppm: fix bug - interprets some images wrong because of bogus "rowBytes" value. * Redo asprintfN(), etc. so as not to use va_list in a way that doesn't work on some machines. * cameratopam: remove definition of memmem() so it doesn't collide with same in some C libraries. Add memmemN() and MEMEQ to libnetpbm. * Fix build of filename.o.
2006-06-18Build .dylib instead of .so on Darwin. Bump PKGREVISION.minskim3-15/+40
2006-05-14Add patches for some issues from the known-bugs page, includingwiz5-3/+56
one that should fix PR 33347 by martijn (build on amd64). Bump PKGREVISION.
2006-05-10On FreeBSD 4.x, <netinet/in.h> needs <sys/types.h> to be included first.jlam2-1/+14
2006-04-19Use versioned png library. Bump PKGREVISION.wiz3-6/+11
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz2-3/+4
2006-04-17Changes 10.33:adam3-23/+9
Add pamtosvg. g3topbm: Add -width, -paper_size. libnetpbm / most newer programs: Fix bug that produces plain format output when it should be raw because pnm_readpaminit() does not set 'plainformat' and most programs just copy the input pam to the output pam. pamflip: fix bug with left/right flip of PBM that has width an even multiple of 8 plus something less than 8. pnmquant: turn on autoflush when creating seekable file. install: fix symbolic link pnmdepth -> pamdepth. build: fix some importinc dependencies.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
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-03Make last change work with IRIX's old fashioned "find" command.tron1-2/+3
2006-04-03Make sure all documentation files are installed world readable. Bumptron1-1/+3
package revision because this change affects the binary package.
2006-04-03Fix bad shell code causing "make" warnings.tron1-3/+3
2006-03-11added a workaround for a bug with Apple's gcc-4.0.0schwarz1-1/+18
2006-03-11Convert all packages using REPLACE_INTERPRETER to the new variable namesghen1-12/+12
without underscores (REPLACE.*.old, REPLACE.*.new, and REPLACE_FILES.*). Also convert REPLACE.*.new= ${SH:Q} back to ${SH}, as it should not be quoted here, if at all. Ok with rillig.
2006-03-09Use REPLACE_INTERPRETER instead of SUBST.ghen1-11/+13
2006-03-02Fixed symbolic link to pamdepthadam2-1/+14
2006-02-27Changes 10.32:adam6-66/+28
* Add rlatopam. * Add pgmmake. * bmptopnm: Understands RLE4/RLE8 compressed BMP. * pnmgamma: Add -bt709tosrgb -srgbtobt709, -bt709tolinear, -lineartobt709, -gamma, -rgamma, -ggamma, -bgamma (gammma values were formerly specified as parameters). * pnmgamma: Rename -cieramp to -bt709ramp. * ppmdraw: work on multi-image streams. * anytopnm: add mime time image/x-ms-bmp for BMP * pamchannel: works on multi-image streams. * pamstack: works on multi-image streams. * Convert pnmdepth to pamdepth. Add multi-image stream capability. * pamcut: works on multi-image streams. * pnmtops: allow -flate and -rle together. * pnmtops: overhaul of -psfilter output. * pnmrotate: fine adjustment to arithmetic (rounding, pixel quantization). * pbmtopsg3: Put currentfile ... in exec block. * pbmtopsg3: Add missing /EndOfBlock. * pnmtops: Don't claim EPSF if using setpagedevice. * giftopnm: do "reading image sequence N" message only if being verbose. * ppmtobmp, bmptopnm: major speed improvement for PBM. * other
2006-02-23Fix bug in xwdtopnm. Patch from Bryan Henderson via Jukka Salmiwiz3-3/+17
on tech-pkg. Bump PKGREVISION.
2006-02-14Fix build on FreeBSD 6 (PR-32234)adam3-9/+11
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-4/+4
2006-02-04Fix build on Solaris.markd2-5/+13
2006-02-02Save a bunch of coredump message in my dmesg and allow groff to compilejoerg3-2/+26
by fixing pnmtopng's opt parsing. Bump revision.
2006-02-02Regen for patch-ad.joerg1-1/+2
2006-02-02Fix compilation on DragonFly by reordering includes.joerg1-0/+20
2006-01-22added hack for handling of inttypes.h on IRIX 5.3schwarz1-1/+12
2006-01-16Changes 10.31:adam6-50/+29
* Bug fixes
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig2-8/+8
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-10-19Changes 10.30:adam8-230/+28
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".
2005-09-20Apply patches for the three 10.29 bugs listed on SourceForge weschmonz5-3/+58
hadn't already fixed. The list: http://sourceforge.net/project/shownotes.php?group_id=5128&release_id=349291 The problems fixed in this PKGREVISION bump: * pnmtopng: can crash due to wild pointer if you don't use the -alpha option. * pammasksharpen: Multiple bugs cause it to produce incorrect output. * pnmhisteq: -rmap doesn't work. Addresses my own PR pkg/31314, with thanks to Nathan Arthur for bringing these patches to my attention.
2005-09-14fix perl path in ppmquantpooka1-3/+3
2005-08-31Add patch that fixesreed2-1/+139
error: invalid lvalue in assignment in editor/pnmaddnoise.c. This was noticed on DragonFly with gcc 3.4.5. Found idea from DarwinPorts. Also tested on NetBSD 2.0.2 (gcc 3.3.3) and Linux (gcc 3.3.5). I do not know if this is improved in netpbm upstream yet. Okay'ed by maintainer.
2005-08-31Using the included jasper library is a total crapshoot because netpbmjlam3-17/+22
strips out the logic that determines which integer types are available, and yet building the jasper library relies on those integer types to be correctly provided. Just punt on the whole thing and use the graphics/jasper dependency instead. This fixes building netpbm on Solaris and older versions of FreeBSD. Bump the PKGREVISION to 1. The jasper library is only linked into two executables, so there is no need to do a recursive PKGREVISION bump.
2005-08-22Changes 10.29:adam6-41/+20
Add ppmdraw. Add pammixinterlace. Thanks Bruce Guenter <bruceg@em.ca>. Add pgmmedian. Add pnmaddnoise. pnmtopclxl: add -rendergray option. pnmtopclxl: add -jobsetup option. pstopnm: add -dSAFER Ghostscript option. pnmcrop: add -margin option. pnmcrop: add -borderfile option. pnmnorm: add -luminosity (which was already default), -colorvalue, and -saturation. pnmtopng: Don't include any alpha info if supplied alpha mask is all opaque. ppmcie: Make white point mark more visible. pamdice: Remove restriction of 100 slices in each direction. pnmtopng: Fix bug: erroneous transparent pixels when supplied alpha mask is all opaque. Fix bytesToWordInt(): converts incorrectly on a machine that has pointer size != word size and uses the general case code. libnetpbm: fix basic pm_readlittleshort() bug introduced in 10.27. Affects mdatopbm, rawtopgm, lispmtopgm, pcxtoppm, winicontoppm, bmptopnm, sirtopnm, xwdtopnm, cameratopam. pamlookup: fix universal crash. Thanks "Colley, Anthony W." <Anthony.Colley@ngc.com> pbmtolj: fix bug from 10.28: crashes with a line which is a multiple of 8 plus 7 pixels wide not counting white right margin. ppmtompeg: fix uname() rc test (sometimes > 0 is success).
2005-08-21fix build on Solaris:grant5-16/+73
- use graphics/jasper instead of built-in jasper which has little hope of building on Solaris - use putenv() instead of setenv() - fix abuse of _XOPEN_SOURCE no PKGREVISION bump as no dependency change except on Solaris, where this didn't build before.
2005-08-06Update to version 10.28salo5-8/+52
- security fix for SA16184, patch from Debian Changes: - ppmtompeg: fix insecure temp file creation - jpeg2000: don't do unsafe temporary files - add cameratopam (Dave Coffin's dcraw) - various other bugfixes
2005-07-26Changes 10.26.12:adam2-6/+6
* ppmtompeg: fix uname() rc test (sometimes > 0 is success) * Fix bytesToWordInt()
2005-07-15Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify ajlam1-4/+2
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier to the tool name, e.g., USE_TOOLS+= perl:run Tools without modifiers or with an explicit ":build" modifier will cause build dependencies (BUILD_DEPENDS) on those tools to be added. This makes the notation a bit more compact.
2005-06-30Do not build fiasco on Darwin-8.x, where it causes a bus error. Thisminskim3-5/+21
should be OK since the netpbm Makefile has the following: # Fiasco has some special requirements that make it fail to compile on # some systems, and since it isn't very important, just set this to "N" # and skip it on those systems unless you want to debug it and fix it. BUILD_FIASCO = Y
2005-06-30Changes 10.26.11:adam3-22/+7
* Fixed memory problem in pamcomp Changes 10.26.10: * Fixed: jpeg2ktopam, rle_open: ppmtompeg
2005-06-24Use the tools framework to pull in dependency on bash.minskim1-6/+6
Bump PKGREVISION due to dependency change on platforms with native bash.
2005-06-24Preserve "!" in shebang lines.minskim1-3/+3
Bump PKGREVISION.
2005-06-20Fix pkgsrc path to bash (not old bash2).wiz1-2/+2
2005-06-12Several of the netpbm shell scripts use bashisms, so force using bashjlam1-3/+20
for all of the shell scripts. Bump the PKGREVISION to 1. This fixes PR pkg/23636.
2005-05-24Changes 10.26.9:adam3-6/+19
* libnetpbm: fix crash with -builtin=fixed * pbmtoppa: fix floating point exception Changes 10.26.8: * pnmgamma: Correct math in -srgbramp * ppmshadow: fix blurring Pkgsrc: * fixed problem on DragonFly (courtesy of Joerg Sonnenberger)