Commit graph

222 commits

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