Commit graph

40 commits

Author SHA1 Message Date
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
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
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
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
cjep
3c5a0f9e3a Remove last hunk of patch-aa to fix build problem on 1.5.2. 2003-04-11 22:45: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
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
kristerw
c8c8ec2172 Make this build on NetBSD-1.4 a.out. 2002-07-02 01:47:52 +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
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
jlam
d2193b82a7 It's ${BUILDLINK_DIR}/lib, not ${BUILDLINK_LIBDIR}. 2001-06-19 04:21:04 +00:00
jlam
0f5b5101f4 Convrt to use buildlink.mk. 2001-06-16 19:50:57 +00:00
tron
614061be69 Make this package work under Solaris. 2001-01-14 13:17:55 +00:00
bad
eba074d322 The fiasco libraries need to be ranlib'ed. 2001-01-10 14:07:21 +00:00
wiz
01b0a7102d Update to 9.7.
Changes: Many bugfixes, new pam file format.
2000-08-10 10:44:09 +00:00
wiz
8b4fe32349 Update to netpbm-9.5.
Fixes pkg/8949.
Changes:
o Extend formats to allow multiple images per file.  Add -allimages
  option to pnmfile.  Add pnmsplit.  Extend pnmtops.
o Add pbmtowbmp, wbmptopbm.  Thanks Terje Sannum.
o ppmtobmp: Add 24 bit (truecolor) capability.
o pnmcut: easier, more expressive syntax for specifying what to cut.
o pnminterp: handle maxval != 255, convert to use Netpbm libraries.
o Translate pstopnm from Csh to C, eliminate dependency on the 'bc'
  program.
o Fix bug in tiff library build which caused null soname.
o Add optParseopt2() to shhopt.a so you can use long options with one
  hyphen instead of two.
o giftopnm: fix bug with variable used before set.  Fix bug (coding
  error -- 0=>i).  Unknown impact.
o bmptoppm: fix bug with 24 bit (truecolor) Windows BMPs.
o xwdtopnm: fix one more bug with bits_per_item <> bits_per_pixel.
o Fix ppmtompeg build bug with static libraries.
o Make build clean with gcc -ansi (albeit with some files that need
  extensions declaring the _BSD_SOURCE etc.).
o Rebase pnmtopng, pngtopnm on Pnmtopng 2.37.4.
o pbmtolj: fix bug where blank lines get discarded.  Thanks Charles
  Howes.
o ppmtompeg: fix bug with "PNM" format files with maxval != 255. Get
  rid of built-in PPM file parsing.
o Fix 'make install' where mkinstalldirs is not found.
o Fix bug where rle_global.c would not compile with GNU C Library 2.
2000-07-10 11:12:09 +00:00
dmcmahill
052b7407d2 forgot to cvs add this file before previous commit... 2000-06-24 01:49:03 +00:00
hubertf
dc05682873 * Set LIBOPT to something really existing (${ECHO} is a shell builtin
now, and as such can't be used as a file dependency in make(1)).
 * Don't force anyone to have "." in his $PATH
2000-06-05 01:13:34 +00:00
wiz
8448a0b5b4 Update to 9.3.
Use USE_LIBTOOL instead of USE_PKGLIBTOOL.
Changes since 9.2:
o pnmfile: check for file size error.
o ppmhist: handle larger maxvals, image sizes
o xwdtopnm: Use color map with DirectColor to fix wrong color bug on
  some DirectColor xwds.
o xwdtopnm: Correct bug with 24/32 DirectColor LSBfirst xwds.
o Add pXmcheck() library function.
o Add leaftoppm and ppmtoleaf.  Thanks Bill O'Donnell.
o Add winicontoppm and ppmtowinicon.  Thanks Lee Benfield.
o Add pgmslice.  Thanks to Jos Dingjan.
o Include subset of RLE library in the package.
o stamp-date doesn't rely on whoami.
o Make file fixes to accomodate more install programs.
o Replace tmpnam() with mkstemp().
o Add pXm_init() into all programs that didn't have it.
2000-06-05 00:36:30 +00:00
tron
e8caa7879c Update "netpbm" package to version 9.2. There are too many changes and
bug fixes to list here. Main new features are shared libraries, JPEG
and JBIG support.
2000-05-17 10:13:19 +00:00
jlam
b827288b1d * Remove redundant dependency on jpeg
* Update dependency on tiff
* Fixes for paths to find libraries and includes
1999-10-08 21:18:32 +00:00
tron
04e96e931d Fix run time library path. Patches supplied by Dave Huang in PR pkg/8071. 1999-07-25 21:17:32 +00:00
christos
363a613d4f This has been broken forever. In order to compile other pbm programs
using the includes and the libraries in the pkg you need to include
pbmplus.h... fix the Makefile to install it and add it to the plist.
1999-06-03 20:55:55 +00:00
tron
f9cc3e2fe3 Major cleanup of "netpbm" package based on patches supply by
John F. Woods in PR pkg/6763 and Rob Windsor in PR pkg/6779.
1999-01-10 23:52:15 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
tron
90af7c496c Add well known fixes for "netpbm-1mar1994" supplied by John F. Woods
in PR pkg/5723.
1998-07-15 19:52:55 +00:00
tron
529ac36ae5 Add patches to make this package build on alpha supplied by Tim Rightnour
in PR pkg/5630.
1998-06-21 21:08:22 +00:00
agc
5f37824414 Don't hardcode /usr/pkg in the Makefile - use the value of ${LOCALBASE},
passed through the environment.  Pointed out by Manuel Bouyer.
1998-05-19 13:13:45 +00:00
tron
856c65e117 Install manual pages with reasonable permissions. 1998-02-25 01:40:47 +00:00
hubertf
493fbbf291 Update to more current version;
fixes PR 4737 by Matthias Scheler <tron@lyssa.owl.de>.
1997-12-31 03:34:45 +00:00
agc
85fe2d3925 Add definition for COMPRESSMANCMD which is in the X11 tree for FreeBSD.
Add a pre-process stage (at pre-configure time) to change hard-coded
/usr/local into ${PREFIX}.  Revert the patches I'd previously changed
to the default ${PREFIX} to be /usr/local once again, so that the
pre-processing will work.
1997-10-15 17:11:46 +00:00
agc
0b0db52e6a /usr/local -> /usr/pkg (like the amanda package, we need to preprocess
this).

NetBSD defines sys_errlist in <errno.h>, so include this file if we're
on NetBSD.
1997-10-15 15:42:54 +00:00
agc
14ca5ed644 Initial import of FreeBSD's netpbm port into the NetBSD
packages system.
1997-10-15 15:12:12 +00:00