Commit graph

325 commits

Author SHA1 Message Date
dholland
967cafd9a8 Add destdir support, mostly from PR 38523 by Aleksey Cheusov. 2008-09-01 09:04:19 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
tnn
5c13124820 Fix more cases of non-chainable PKGSRC_COMPILER tests. 2008-02-08 10:34:19 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
tnn
a6fe439562 use .sl instead of .so on hpux 2007-04-22 09:58:10 +00:00
gdt
ee580fa5d6 Add MAKE_JOBS_SAFE=no (sometimes it builds, sometimes it doesn't). 2007-04-05 19:41:48 +00:00
rillig
a80659b46f Fixed the build on IRIX, which had been broken since about one year,
when the build on Solaris had been fixed, "not affecting other
platforms". ;)
2007-02-19 02:25:19 +00:00
wiz
e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00
dmcmahill
2ade927b56 Use __inline__ instead of __inline. The former works with some non-gcc
compilers as well as gcc.
2007-01-13 01:16:17 +00:00
rillig
fa3ed72de0 Fixed PKGMANDIR. 2006-12-06 23:04:26 +00:00
reed
8936124c2c Use ${MKDIR} instead of "mkdir".
(From revision 1.147 change.)
2006-11-29 22:59:49 +00:00
tron
e9ce827252 Fix non-portable shell script "pcdovtoppm". 2006-11-19 15:50:59 +00:00
rillig
35bc5cddd5 Added some patches for Tru64 support, provided by Hrvoje Habjanic in
http://mail-index.netbsd.org/pkgsrc-users/2006/11/02/0003.html
2006-11-03 07:45:19 +00:00
rillig
d393ac4118 Fixed PKGMANDIR. 2006-10-22 21:11:15 +00:00
rillig
4b9cbf457e Fixed "test ==" and a few pkglint warnings. 2006-10-11 18:44:25 +00:00
schwarz
5d6e0bc093 added missing $NetBSD$ headers 2006-10-03 23:01:25 +00:00
schwarz
a4efb4c0c3 added support for IRIX 5 and in particular the SGI IDO cc.
patches were discussed with Bryan Henderson, maintainer of the netpbm
code.
2006-10-03 22:56:50 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +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
6ec6761023 This is a security update, which fixes a buffer overflow vulnerability.
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-25 06:35:58 +00:00
minskim
25aed54419 Build .dylib instead of .so on Darwin. Bump PKGREVISION. 2006-06-18 16:18:11 +00:00
wiz
00d3efb978 Add patches for some issues from the known-bugs page, including
one that should fix PR 33347 by martijn (build on amd64).

Bump PKGREVISION.
2006-05-14 16:39:05 +00:00
jlam
c501569a32 On FreeBSD 4.x, <netinet/in.h> needs <sys/types.h> to be included first. 2006-05-10 17:19:00 +00:00
wiz
a76c4743d4 Use versioned png library. Bump PKGREVISION. 2006-04-19 20:52:29 +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
adam
2fc4f59354 Changes 10.33:
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-17 08:11:17 +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
tron
6e158978a7 Make last change work with IRIX's old fashioned "find" command. 2006-04-03 16:53:58 +00:00
tron
97e28a668b Make sure all documentation files are installed world readable. Bump
package revision because this change affects the binary package.
2006-04-03 16:46:51 +00:00
tron
ed8c6d4795 Fix bad shell code causing "make" warnings. 2006-04-03 16:39:04 +00:00
schwarz
8729aaecd9 added a workaround for a bug with Apple's gcc-4.0.0 2006-03-11 17:41:59 +00:00
ghen
a527d84ce0 Convert all packages using REPLACE_INTERPRETER to the new variable names
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-11 10:07:49 +00:00
ghen
290ef7d98c Use REPLACE_INTERPRETER instead of SUBST. 2006-03-09 14:05:14 +00:00
adam
0edcdc89c0 Fixed symbolic link to pamdepth 2006-03-02 23:17:36 +00:00
adam
bf1c4d5003 Changes 10.32:
* 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-27 22:01:16 +00:00
wiz
b1c6231f13 Fix bug in xwdtopnm. Patch from Bryan Henderson via Jukka Salmi
on tech-pkg. Bump PKGREVISION.
2006-02-23 17:37:01 +00:00
adam
d2f3dde216 Fix build on FreeBSD 6 (PR-32234) 2006-02-14 21:57:44 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
af46f24af1 Fix build on Solaris. 2006-02-04 12:23:55 +00:00
joerg
71ab31518c Save a bunch of coredump message in my dmesg and allow groff to compile
by fixing pnmtopng's opt parsing. Bump revision.
2006-02-02 17:01:17 +00:00
joerg
a08cf60a6e Regen for patch-ad. 2006-02-02 16:04:35 +00:00
joerg
be8365b843 Fix compilation on DragonFly by reordering includes. 2006-02-02 16:04:13 +00:00
schwarz
ac2dc7fef2 added hack for handling of inttypes.h on IRIX 5.3 2006-01-22 21:36:31 +00:00
adam
034380fe31 Changes 10.31:
* Bug fixes
2006-01-16 15:17:02 +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
9e9c489b88 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".
2005-10-19 09:30:08 +00:00
schmonz
644ab99376 Apply patches for the three 10.29 bugs listed on SourceForge we
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-20 05:04:11 +00:00
pooka
056db14aca fix perl path in ppmquant 2005-09-14 07:38:50 +00:00
reed
d805c8c67e Add patch that fixes
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-31 19:47:53 +00:00
jlam
3bd274e5ab Using the included jasper library is a total crapshoot because netpbm
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-31 08:04:58 +00:00
adam
7697e1866b Changes 10.29:
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-22 11:59:31 +00:00
grant
43ff9bb0b2 fix build on Solaris:
- 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-21 04:47:24 +00:00
salo
4619ac35c7 Update to version 10.28
- 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-08-06 14:07:07 +00:00
adam
811893d278 Changes 10.26.12:
* ppmtompeg: fix uname() rc test (sometimes > 0 is success)
* Fix bytesToWordInt()
2005-07-26 14:34:53 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
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-07-15 20:14:02 +00:00
minskim
98ecdd0e66 Do not build fiasco on Darwin-8.x, where it causes a bus error. This
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-30 15:58:59 +00:00
adam
e8d8220c06 Changes 10.26.11:
* Fixed memory problem in pamcomp
Changes 10.26.10:
* Fixed: jpeg2ktopam, rle_open: ppmtompeg
2005-06-30 14:55:13 +00:00
minskim
6b92d49841 Use the tools framework to pull in dependency on bash.
Bump PKGREVISION due to dependency change on platforms with native bash.
2005-06-24 21:58:47 +00:00
minskim
896ee3ad21 Preserve "!" in shebang lines.
Bump PKGREVISION.
2005-06-24 21:36:10 +00:00
wiz
642318748e Fix pkgsrc path to bash (not old bash2). 2005-06-20 22:39:18 +00:00
jlam
829dde9e0d Several of the netpbm shell scripts use bashisms, so force using bash
for all of the shell scripts.  Bump the PKGREVISION to 1.  This fixes
PR pkg/23636.
2005-06-12 06:37:32 +00:00
adam
20150fe025 Changes 10.26.9:
* 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)
2005-05-24 07:53:54 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
a3b4a3bc24 Changes 10.26.7:
* pnmtopclxl: fix bug with invalid palette in SetColorSpace command
* ppmcolormask: fix segfault with stdin input
* pnmquant: accept -quiet option
2005-04-05 08:09:36 +00:00
adam
951ce47ffd Changes 10.26.6:
* Fixes in pnmquant, pamfunc, pamscale
2005-03-25 10:35:57 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
adam
ba2a6bb79b Changes 10.26.3:
* pnmremap: fix rounding error where map maxval is small
  and unequal to image maxval.
* ppmtompeg: fix compile failures on "no parallel" builds
  and where prototypes don't match definitions in bitio.c.

Changes 10.26.2:
* Build: handle zlib prerequisite of tiff library.
* giftopnm: fix crash with input that has bogus color indices
  in the raster.
* giftopnm: fix crash with input that has a bogus minimum code
  length field.
* pnmtopalm: fix padding with -offset.
* pnmtopalm: fix compressed images.  use 0 compressed size
  field - not totally correct, but passable.
* palmtopnm: fix incorrect handling of some combinations of
  PALM_IS_COMPRESSED flag and compression type field.
* palmtopnm: fix totally broken RLE and scanline compression.
* palmtopnm: fix wrong check for disallowed combination of
  -transparent and -rendition.
2005-02-17 11:36:01 +00:00
tv
ad084207ce Fix build on Interix; also move "special" GCC_REQD to hacks.mk. 2005-01-24 20:48:05 +00:00
adam
4c013029f4 These patches are no longer needed 2005-01-18 14:17:07 +00:00
adam
f381673935 Changes 10.26.1:
* pamcomp: fix bug that duplicates last row of overlay image.
* pamcut: fix bug that fills the rightmost column with black.
* pnmtopalm: fix bug with -offset option.
* ppmforge: fix bug: crash due to wild pointer with -night.

Changes 10.26:
* pnmhistmap: Add -dots, -nmax, -red, -green, -blue, -lval,
  -rval, -height, and -width options.
* pnmnorm: accept -wpercent and -wvalue (or -bpercent and -bvalue)
  together.  Thanks Gregg Townsend <gmt@CS.Arizona.EDU>.
* xwdtopnm: Add -headerdump option.
* pnmtoxwd: Include 256 color color maps in direct color instead
  of zero.  Zero has a weird effect.
* pamtotga: recognize RGB_ALPHA instead of RGBA.
* palmtopnm: fix bug in determination of compression type.
* palmtopnm: fix bug in handling of multi-image streams.
* pnmtopalm: fix bugs in computation of nextDepthOffset.
* pamtotga: fix TGA pixel size for TGA with alpha.  Don't do
  colormap if input has transparency.
* pamtotga: fix crash due to uninitialized "id" field in TGA header.
* pbm_writepbmrow(): Fix bug in MMX/SSE code that causes segmentation fault.
* pnmhistmap: Fix bug: doesn't work with maxval != 255.
* pbmtext: fix crash with code point > 127.
* ppmtompeg: major cleanup.
* pnmtopng: fix "internal error" and crash bug with -transparent.
* pnmtoxwd: fix endianness on littleendian machines.
* pnmtoxwd: fix bug: doesn't work if you specify an option.
* jpegtopnm: fix bug: -dumpexif all wrong.
* jpegtopnm: fix bug: newline written to stdout instead of stderr with -dumpexif.
* Add missing 'col' declaration so -msse compile works.
* pcdovtoppm: fix syntax error
* pnmtojbig/jbigtopnm: add newline to "usage" message.
* pamperspective: fix bugs with -frame_include, etc.
* build: Jeg2k programs build properly with newer Jasper library.
* build: Fix bug: "no rule to build xxx.so" with external
* Jasper or Jbig library.
* Add NAME and DESCRIPTION section to pointer man pages.
2005-01-18 14:16:20 +00:00
adam
3678f256db Changes 10.18.18:
* palmtopnm: fix bug in handling of multi-image streams
* pnmtopalm: fix bugs in computation of nextDepthOffset
* pamtotga: fix crash due to uninitialized "id" field in TGA header
* pamtotga: fix TGA pixel size for TGA with alpha
2005-01-07 13:28:21 +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
adam
3e23a9c5b1 Changes 10.18.17:
* pnmtoxwd: fix endianness on little-endian machines
* pnmtoxwd: include 256 colour map in direct colour instead of zero
* pnmtoxwd: fix bug: doesn't work if you specify an option
2004-12-02 12:35:36 +00:00
minskim
e902b57098 Regen. 2004-10-22 03:59:24 +00:00
tv
6bb8469445 Make this work on Interix. 2004-10-21 20:45:52 +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
adrianp
3a13b2af9c - Add editor/pnmflip to REPLACE_PERL
- Reported by Steven M. Bellovin in PR 27117, thanks Steven !
2004-10-02 19:27:50 +00:00
adam
9bc8ee0555 Changes 10.18.15:
* ppmtowinicon: fix bug: crash on 32 bit images
* Add  makeman to build tools
2004-10-01 12:56:33 +00:00
adam
e25b011172 Changes 10.18.14:
* make error message instaed of invalid output for -plain global option on
  a "pam" program
* pnmtojpeg: fix bug with large exif files (negative malloc)
* ppntowinicon: fix bogus "out of memory" failre
2004-08-06 09:46:19 +00:00
dmcmahill
7674fab75f use gcc3 on alpha to avoid an internal compiler error with gcc-2.95.3 2004-08-04 10:51:58 +00:00
grant
32fb85d783 the "pgmramp" program included in this package needs to be linked
against libm for fabs().

this is the same fix as is already in netpbm-latest.
2004-07-10 13:29:34 +00:00
tron
8f117b9a84 Backou last change. The program with the offending license has been
removed from the distribution in the meantime. Pointed out by
Klaus Klein in PR pkg/21351.
2004-07-06 13:45:14 +00:00
tron
e22f5a3c7e Set the license of this package to "no-commercial-use" because the
included program "hpcdtoppm" has a restrictive license. This fixes
PR pkg/21351 by Klaus Klein.
2004-07-06 10:55:53 +00:00
adam
b37262f331 Changes 10.18.13:
* ppmtompeg: fix crash with input that is not a multiple of 16 pixels high
  and wide
* pamtotga: fix crash due to freeing nonexistent color table
* pamtotga: fix bug: invalid TGA when you use -rgb with a non-color input
* pgmtopbm: fix calculations that divide by maxval+1; should divide by maxval
* pbm_readpbmrowpacked(): Fix bug: ORs bits into return value instead of
  setting them
2004-05-20 08:41:07 +00:00
snj
010675143c No longer used. 2004-05-09 20:19:59 +00:00
fredb
b1a69d0f4f Don't play games with the featureset macros on NetBSD. This patch fixes the
build on NetBSD 2.0E/mac68k, also works fine on NetBSD 1.6.2_STABLE/i386.
2004-05-03 16:42:47 +00:00
adam
15b34f431e Changes 10.18.12:
* Don't try to install pm_gamma (which does not exist in this level)
* pamflip: fix bug with random memory accesses due to signed/unsigned comparison

Changes 10.18.11:
* pnmtopng: fix bug with -transparent

Changes 10.18.10:
* Include pm_system.h, pm_gamma.h in install package
* Fix the ftell/ftello distinction for many platforms
* ppmtogif: Don't violate array bounds when GIF color map is larger
  than internal color map.
* yuvsplittoppm: Fix -ccir601 option
* ppmtomap: Change #/bin/sh to #!/bin/sh

Changes 10.18.9:
* ppmtobmp: Fix bug: Generates invalid bits per pixel (e.g. 3) when input
  image has small number of colors
* pbmtog3: fix buffer overrun when image > 1728 columns
* pnmtotiffcmyk:  Correct abs to fabs so -theta works
* sldtoppm: Correct abs to fabs
* pgmramp: Correct abs to fabs so -rectangle and -ellipse work
* pgmramp: Don't crash with -rectangle and height or width = 1
* pnmtojpeg: interpret "length" field in exif data as unsigned 16 bit
  instead of signed.
* ppmforge: Correct abs to fabs so the planet is more than 2 pixels wide

Changes 10.18.8:
* pnmrotate: fix bug: always crashes in memory free
* pnmrotate: remove debugging messages

Changes 10.18.7:
* ppmshadow: Fix crash in all invocations
* pnmquant: Fix bug wherein all options are rejected

Changes 10.18.6:
* Add default RPATHOPT = rpath setting to Makefile.config.in
* Add stdlib.h and pm_config.h to mallocvar.h
* lib/Makefile: $(LIBNETPBMSUFFIX) instead of .so
* fitstopnm: Don't produce maxval 0

Changes 10.18.5:
* pnmtopng: fix bug with array bounds violation with -alpha
  Usual symptom: "internal inconsistency" message

Changes 10.18.4:
* anytopnm: Remove "function" so it works on FreeBSD

Changes 10.18.3:
* Fix stack corruption in pXm_check() on systems that have both 32 and 64 bit
  file offsets

Changes 10.18.2:
* installnetpbm: don't crash on mkdir on old Perl
* bmptopnm: fix bug with BMPs that end prematurely

Changes 10.11.15:
* Bmptopnm goes into an infinite loop if you give it a BMP file that ends
  prematurely.  The bug is in the way the program interprets the return code
  from fread() in readrow().  You can get the fix from the 10.18.1-10.18.2 diff.
* xwdtopnm: Doesn't work with at least one direct color 24 bits-per-pixel
  xwd generated by Xfree86's Xwd.
* ppmquant does not choose the best set of colors.  pnmquant does, though.
* giftopnm doesn't understand GIFs with the same color both transparent and
  opaque.

pnmtopng -alpha fails with "internal inconsistency detected" message
Changes 10.11.14:
* pstopnm: fix bug in which Standard Input never works
* ppmtobmp: change 'char' to 'unsigned char' to work around a Solaris C library   bug
* ppmtobmp: handle maxval properly for maxval != 256 truecolor BMP

Changes 10.11.13:
* Explicitly set SCRIPTS make variable to null so environment
  variable of the same name doesn't screw things up.
* stamp_date: don't use LOGNAME as a variable (on AIX, you can't).
* configure: put space after -o in test compiles.
* ppmtompeg: adjust header files in parallel.c so it compiles on AIX

Changes 10.11.12:
* pnmpsnr: fix bug: Cr and Cb interchanged
* Fix crash in pnmstitch

Changes 10.11.10:
* Declare internal subroutines in pgmabel as 'static' so they don't conflict
  with some C libraries

Changes 10.11.9:
* pstopnm: fix bug: encapsulated postscript confused with regular postscript,
  so all pages get overlaid as one page
2004-04-29 08:02:39 +00:00
wiz
5d908a3ef0 Add a patch that disables optimization for one file; otherwise
an ICE would result with gcc-3.3.x on sparc64.  See PR 23124.
Patch from jdc@.
2004-03-22 15:52:35 +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
grant
57e3987d78 USE_GNU_TOOLS+=lex instead of .if OPSYS || OPSYS .. and simplify
passing the socket libraries on Solaris.
2004-02-13 10:53:09 +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
tron
03742b48cf Unify "flex" build dependence handling. 2004-01-26 09:54:43 +00:00
tron
ee5ff7b622 Use find(1) with "-print" option because IRIX's "find" will otherwise
not print out anything. Noted by Georh Schwarz in private e-mail.
2004-01-26 07:03:15 +00:00
tron
1ef26d4f9c Let build depend on "flex" package as suggested by Georg Schwarz on
the "tech-pkg" mailing list.
2004-01-25 15:47:18 +00:00
grant
59daad6697 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:46:42 +00:00
kristerw
1a45c9e3c5 Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-24 12:59:50 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
70e04b8ec9 buildlink3.mk file for netpbm 2004-01-22 11:02:01 +00:00
jlam
27aa545ae5 bl3ify 2004-01-22 10:59:39 +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
jmmv
24fa2e6f99 Pass -pppm to pax, so that we preserve file modes (as we did in the previous
call with tar's -p) and modification times are discarded (to get print-PLIST
working).
2003-09-25 19:06:54 +00:00
reed
2d2c8fb160 Use pax instead of tar to copy files. (Okay'd by tron.)
In some cases, gtar had problems, like:
/bin/tar: share/doc/netpbm: Cannot unlink: Directory not empty
/bin/tar: share/netpbm: Cannot unlink: Directory not empty
2003-09-25 18:55:58 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
jschauma
c4a4a453fe Make this compile on Irix.
(use 'ar rs' instead of ranlib on Irix, don't use '-fPIC', make sure
strdup is properly prototyped)
2003-09-07 17:22:15 +00:00
cjep
0174216952 whitespace fixes 2003-09-01 10:13:08 +00:00
wiz
47c5a535f3 On Linux systems without flex, build_depend on flex. From Soren Jacobsen in PR 22541. 2003-08-23 23:07:12 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wulf
1739777cef Added manweb to REPLACE_PERL fixing incorrect path to perl 2003-07-13 14:16:10 +00:00
fredb
39cfe91bd1 Unbundle tars bundled options, to make this work on NetBSD 1.6U. Should
fix PR pkg/22117.
2003-07-11 00:21:45 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
wiz
5daaad6900 Remove useless "No newline at end of file" chunk that is bound to make trouble. 2003-06-11 07:10:46 +00:00
tron
3003a3f5ef Fix build problems under Mac OS X. The patch was contributed by
Richard Grace in private e-mail.
2003-06-11 06:59:26 +00:00
tron
bd90c42bcc Make arguments to "${RM}" consistent in all make targets. 2003-04-28 16:27:40 +00:00
tron
c4fab8c379 Update "netpbm" package to version 10.11.8. Change since version 10.11.6:
- pbmtoepsi: fix bug: non six-digit lines between
  %%BeginPreview: ... and %%EndImage .
- pnmtops: fix bug: 1 bit per sample output when maxval is 2 or 3.
  Should be 4 bits per sample.
- pnmtops: fix bug: everything too dark when input maxval less
  than Postscript maxval.
This fixes PR pkg/21271 by Dave Camp.
2003-04-28 16:24:32 +00:00
cjep
3c5a0f9e3a Remove last hunk of patch-aa to fix build problem on 1.5.2. 2003-04-11 22:45:56 +00:00
salo
4b041343c9 Don't shoot itself in the foot, STAGEDIR is removed in pre-install, no need to
remove it in post-install while CWD is still in STAGEDIR.
Noted by Will Partain on tech-pkg.
2003-04-11 18:56:44 +00:00
grant
7219a9452a revert previous; I had netpbm-9.25 and BUILDLINK_DEPENDS was
still >=9.24, causing this breakage.

bump BUILDLINK_DEPENDS to 10.11.6.
2003-04-08 13:17:10 +00:00
grant
853def732a update to reflect libs installed by netpbm-10.11.6 (hi tron!).
noted by pooka.
2003-04-08 13:02:28 +00:00
wiz
92445eb1ed Remove superfluous whitespace. 2003-03-28 20:28:56 +00:00
tron
93f5c1d229 Fix "zlib" configuration in "Makefile.common" so that PNG tools get built.
Bump package revision to reflect this change. This patch was contributed
by Christopher Richards in PR pkg/20809.
2003-03-21 08:30:48 +00:00
tron
43dfa732c6 Update "netpbm" package to latest stable version 10.11.6. Numerous bugs
have been fixed and a lot of features have been added since version 9.25.
2003-03-18 12:11:55 +00:00
wiz
788727dadf post-patch -> pre-configure. By Greg A. Woods in PR 18718. 2002-10-20 00:33:50 +00:00
wiz
030b919263 Unused. 2002-10-09 14:42:41 +00:00
jlam
c1b754c28f Typo 2002-09-23 23:08:08 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
wiz
84108f34ab Add devel/flex to BUILD_DEPENDS for SunOS, per pkg/17770 by
Valeriy E. Ushakov.
2002-07-30 22:30:05 +00:00
kristerw
c8c8ec2172 Make this build on NetBSD-1.4 a.out. 2002-07-02 01:47:52 +00:00
yyamano
f36670bf22 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-05-28 15:01:22 +00:00
tron
45e2108b39 Fix build problems on older "a.out" system. Based on patches supplied by
Greg A. Woods in PR pkg/16030.
2002-05-14 18:03:17 +00:00
tron
6d7c885cd1 Fix build problems under Solaris. The necessary patches were contributed
by Lubomir Sedlacik in PR pkg/16554.
2002-05-06 11:46:21 +00:00
jlam
5ff54abf32 Add missing pgmoil symlink. 2002-04-09 06:33:10 +00:00
wiz
b61c185faa Fix compilation on 1.4.x, and remove a patch that was still referencing
libtool.
2002-03-20 12:42:11 +00:00
wiz
85e59f5123 Update to 9.25:
Changes since 9.24:
Add pamdice, pnmnorm (replacing ppmnorm and pgmnorm), convert bmptoppm
to bmptopnm, and some bug fixes and enhancements.
2002-03-15 11:04:29 +00:00
wiz
fbb2503ad9 Update to 9.24.
pkgsrc changes:
Don't use libtool any longer to reduce patches.
Add USE_PERL, since 4 scripts depend on it.
program changes:
Lots of new converters/modification programs and scripts, e.g. pbmtonokia,
ppmtolj, and pnmtopalm. Better alpha support.
Also, lots of bug fixes.
2002-03-14 22:21:42 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +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
jlam
4406fa2e10 Move inclusion of buildlink.mk files to end of Makefile. 2001-07-14 16:19:08 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
263cd7fd21 Mark as USE_BUILDLINK_ONLY. 2001-06-19 04:22:08 +00:00
jlam
17d8e3bfa1 Regen. 2001-06-19 04:21:32 +00:00