Commit graph

291 commits

Author SHA1 Message Date
alnsn
ff0da5f263 Add CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for MKPIE build. 2016-04-09 20:08:53 +00:00
jperkin
a9e20b5660 Remove manual addition of MAKE_FLAGS to OPSYSVARS, it's now in by default. 2016-02-26 11:40:29 +00:00
jperkin
6672c3b915 Use OPSYSVARS. 2016-02-25 13:37:46 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
tnn
6d6d8ea5b3 simplify PKGMANDIR fix 2015-03-12 12:35:42 +00:00
tnn
1a8a485bc5 honour PKGMANDIR 2015-03-11 23:19:58 +00:00
tnn
c2a85022f2 missing INSTALLATION_DIRS for man3 & man5 2015-03-11 23:02:50 +00:00
jperkin
72b1c967c2 Fix "giftopnm.c:368: error: incompatible types in assignment". 2015-01-25 15:01:48 +00:00
jdc
7ca43c7e4b Update for build fix for big-endian hosts patch. 2015-01-23 11:28:41 +00:00
jdc
2e362c70f7 Add build fix for big-endian hosts (sent upstream). 2015-01-23 11:26:40 +00:00
is
48e4ca6afd forgot to bump revision 2015-01-12 11:47:59 +00:00
is
f5d6768de0 new rgb.txt location finding code requires new SUBST.
This is incomplete in that the X11 locations should probably be patched,
too; OTOH, the netpbm rgb.txt is found now, and the environment variable
RGBDEF works also.
2015-01-12 11:44:09 +00:00
wiz
69d200847c Update to 10.68.02. Remove XOPEN_SOURCE SUBST now that it was
fixed upstream.

14.11.23 BJH  Release 10.68.02

              pambackground: fix bug: segfault or incorrect results in most
              cases.  Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de).
              Introduced in Netpbm 10.37 (December 2006).

14.09.28 BJH  Release 10.68.01

              Windows build: fix universal build failure with "No rule to make
              ...icon.netpbm.oLINKERISCOMPILER...".  Broken in Netpbm 10.67
              (June 2014).

14.09.26 BJH  Release 10.68.00

              Split pgmcrater into pamcrater and pamshadedrelief.

              pnmconvol: add -bias .

              Remove pnmcomp, install a pnmcomp symlink for pamcomp.

              Fix incorrect option parsing when there are multiple common
              options (e.g. -plain -quiet).  Always broken.  (Possibility of
              specifying multiple common options that don't cause the program
              to ignore every other option (like -version) was new in Netpbm
              10.10 (October 2002).

              cameratopam: fix buffer overflow.  Always present.  (cameratopam
              was new in Netpbm 10.28 (June 2005)).

              cameratopam: fix incorrect output introduced in Netpbm 10.51
              (June 2010).

              ppmtopict: Fix unconditional crash.  Introduced in
              Netpbm 10.52 (September 2010).

              pcdovtoppm: Fix crash due to invalid operator == on some
              systems.  Always broken (pcdovtoppm was new sometime between
              Netpbm 9.25 (March 2002) and Netpbm 10.11 (Februrary 2010)).

              Build: change _XOPEN_SOURCE from 600 back to 500 in 7 files.  It
              was changed from 500 to 600 in Subversion revision 1731 in
              Netpbm 10.60 (September 2012) because that made a similar
              version of Netpbm compile on Mac OSX.  Without it, strdup did
              not get defined.  But this is apparently a bug in Mac OSX, since
              X/Open 500 does have strdup.  Furthermore, many other Netpbm
              files use strdup and apparently compile OK on Mac OSX without
              600.  Finally, we see today that Illumos system header files
              deliberately kill the compilation if the compiler is pre-C99 and
              _XOPEN_SOURCE is 600.  So we go back to 500 and if the problem
              on Mac OSX gets reported again, we will look more deeply.

              Build: change _XOPEN_SOURCE from 600 back to 500 in
              jpeg2ktopam.c and pamtojpeg2k.c.  It was changed from 500 to 600
              in Netpbm 10.41 (December 2007), reportedly to get int_fast32_t,
              etc. defined on AIX, but other files that use int_fast32_t
              don't have it today, so that must be wrong.  See above for the
              drawback of 600.

              Build: fix undefined symbols in fiasco converters with
              static libraries.

              Build: provide means of setting the default search path for
              rgb.txt color database via config.mk.

              Build: fix bug which prevents JBIG converters from building with
              internal JBIG library.  Introduced in 10.67.00.

              Build: fix bug which makes build of Ppmsvga fail (which is
              attempted only on a system with libvga).  Introduced in Netpbm
              10.63 (June 2013)

              Build: fix build failure in an environment that does not have
              __inline .  Introduced some time between Netpbm 10.26
              (January 2005) and Netpbm 10.35 (August 2006).

              Build: fix build failure on SCO OpenServer due to SIGURG not
              existing.  Broken in Netpbm 10.49 (December 2009).

              Build: Declare _XOPEN_SOURCE >= 500 in source files that use
              strdup.

              Build: fix compile failure due to use of reserved word
              'stdout'.

              Build with 'installosf': Fix crash due to invalid operator ==
              on some systems.
2014-11-23 16:12:10 +00:00
gson
aeea9ee8b6 Use the libc vasprintf() on NetBSD. This fixes a bug where a warning
message from pnmtops would say "rescaling to g", with the letter "g"
appearing in place of a floating point value.  Bump PKGREVISION.
2014-11-23 14:38:34 +00:00
fhajny
eeebcae8ae Simplify default install target. Bump PKGREVISION (symlink changes). 2014-10-23 23:41:32 +00:00
gson
4c9111e086 Configure netpbm with tiff and zlib support so that pamtotiff,
pnmtotiff, pnmtotiffcmyk, and tifftopnm once again get built.
They have been temporarily absent since the update to 10.67.03.
2014-10-09 18:58:18 +00:00
gson
2f287ba315 Revert the shell used to run netpbm commands implemented as shell
scripts from bash to sh, to limit exposure to any still-unfixed or
still-undiscovered bash vulnerabilities.

A quick review of the shell scripts did not turn up any obvious
bashishms.  Hopefully they have all been fixed already, but if not,
I'd still rather have one or two scripts be broken (and volunteer to
fix any breakage reported) than have all of them be vulnerable to bash
bugs.

Approved by agc.
2014-09-29 18:16:41 +00:00
wiz
c64f17444b Add jpeg dependency and enable it.
Adds jpegto* and *tojpeg again, needed e.g. by avr-libc (reported by joerg).
Bump PKGREVISION.
2014-09-19 08:42:47 +00:00
jperkin
8461f05168 Downgrade _XOPEN_SOURCE=600 back to 500 on SunOS, you can't mix and match
due to conflicting C99 requirements, and we don't need XPG6 for strdup().

Fixes build on SunOS.
2014-09-10 10:54:49 +00:00
wiz
a05f31e6e7 Update to 10.67.05:
14.09.08 BJH  Release 10.67.05

              cameratopam: fix buffer overflow.  Always present.  (cameratopam
              was new in Netpbm 10.28 (June 2005)).

              Build: fix universal build failure introduced in 10.67.04.
2014-09-08 21:55:04 +00:00
wiz
f189b5ecd7 Update to 10.67.04, integrating last two pkgsrc patches.
Add a second tarball consisting of the html-to-man converted documenation,
and overwrite dummy man pages with those.

Changes in 10.67.04:

14.09.04 BJH  Release 10.67.04

              pcdovtoppm: Fix crash due to invalid operator == on some
              systems.  Always broken (pcdovtoppm was new sometime between
              Netpbm 9.25 (March 2002) and Netpbm 10.11 (Februrary 2010)).

              Build: fix compile failure due to use of reserved word
              'stdout'.

              Build with 'installosf': Fix crash due to invalid operator ==
              on some systems.

              Build: fix undefined symbols in fiasco converters with
              static libraries.

              Build: provide means of setting the default search path for
              rgb.txt color database via config.mk.
2014-09-08 21:51:25 +00:00
wiz
a6b7945dc8 Update to 10.67.03. This is the current release of the Advanced
branch of netpbm. Lots and lots of changes since our Super Stable
release version.
2014-09-08 21:22:28 +00:00
wiz
20b5f3808e Bump PKGREVISION for two removed patches, just to be on the safe side. 2014-08-25 10:01:43 +00:00
wiz
7a9b0016b9 Remove two patches/chunks for ancient problems.
Update patch status for the ones that are in upstream releases/will be
included soon.
2014-08-25 08:23:22 +00:00
wiz
4acc35825d Update to 10.35.93:
14.06.29 BJH  Release 10.35.93

              pamsharpness: put primary output on Standard Output instead of
              on Standard Error as a Netpbm message.

              jpegtopnm -dumpexif: fix incorrect display of resolution.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              jpegtopnm -dumpexif: fix truncated make, model, or datetime.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              jpegtopnm -dumpexif: fix wild pointer with invalid EXIF data.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              Build: fix dependencies in .deb package so they work with Debian
              6 at least.  Always broken (.deb capability was new in 10.35.92).
2014-08-21 21:01:58 +00:00
wiz
d5cf0124a4 Update to 10.35.92:
14.03.29 BJH  Release 10.35.92

              ppmrelief: fix out-of-bound values in output.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              ppmrelief: fix crash when input image is too small.  Always
              broken.  Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pgmtexture: fix buffer overflow.  Always broken.  (Program
              was added in primordial Netpbm in 1991).

              pamdeinterlace: fix incorrect output with -takeodd and image has
              only one row.  Always broken (pamdeinterlace was introduced in
              Netpbm 9.21 (January 2001)).  Thanks Prophet of the Way
              <afu@wta.att.ne.jp>.

13.12.24 BJH  Release 10.35.91

              pbmtoepsi: fix handling of all-white image.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pbmtoepsi: fix excessively long raster line.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pnmshear: fix incorrect determination of background color.
              Always broken.

              ppmpat: fix crash with -squig with aspect ratio < 1:25 or
              > 25:1. Thanks Prophet of the Way <afu@wta.att.ne.jp>.
              Always broken.

              pamgauss: Fix typo in message.

13.09.26 BJH  Release 10.35.90

              ppmtoxpm: fix bug: ignores inability to open the specified color
              dictionary file (-rgb) and just doesn't use color names.
              Introduced in Netpbm 10.15 (April 2003).

              ppmforge. fix crash when -mesh is 1 or less.  Always broken
              (program was added in Pbmplus (October 1991).  Thanks Prophet of
              the Way <afu@wta.att.ne.jp>.

              ppmforge: fix array bounds violation.  Always broken (program
              was added in Pbmplus (October 1991).  Thanks Prophet of the Way
              <afu@wta.att.ne.jp>.

13.05.03 BJH  Release 10.35.89

              ppmtowinicon: fix bug: sometimes creates image truncated in the
              middle of the AND mask.  Always broken (program was new in
              Netpbm 9.3 (June 2000)).

              pamtilt: fix bug: incorrect output or invalid memory access
              crash.  Always broken (program was new in Neptbm 10.30
              (October 2005)).

13.02.20 BJH  Release 10.35.88

              ppmpat: fix wrong output with -poles.

              Windows build: fix compile error on urt/rle_open_f.c due to
              Unix process management stuff.

              leaftoppm: fix incorrect determination of whether input is
              Interleaf on 64 bit systems.  Always broken.

              cmuwmtopbm: fix incorrect determination of whether input is
              a CMU window manager bitmap on 64 bit systems.  Always broken.

12.12.05 BJH  Release 10.35.87

              pamtotiff: fix bug: XRESOLUTION, YRESOLUTION, and RESOLUTIONUNIT
              not allowed in -tags.  Broken at least since 10.35.00.

              pnmmontage: fix random stuff placed in unoccupied space in the
              output image.  Always broken (program was new in 9.10 (January
              2001).

              pnmpsnr: fix crash when invoked (invalidly) with only one
              argument.  Always broken.

              pampick: fix wild pointer in command line parsing.  Bug has
              always been there.

              pamgauss: Fix bug: erroneously says -maxval is too big.
              Always broken (Pamgauss was added in 10.23 (July 2004).

12.07.23 BJH  Release 10.35.86

              ppmtobmp: fix failure with "internal error" message on all
              uses.  Broken in 10.35.78.

              Build: rename getline() in xpmtoppm.c to avoid collision
              with some libc.  Always broken.

12.06.21 BJH  Release 10.35.85

              configure: work around Perl bug that causes 'configure' to
              falsely conclude Svgalib is installed.

              Build: move -lm to end of -l's.  Broken at least since 10.35.

12.02.14 BJH  Release 10.35.84

              pamscale: fix all black output with resampling.  Always broken.

              pgmtexture: fix integer overflow in difference variance.
              Always broken.

              pgmtexture: fix array bounds violations in various calculations.
              Always broken.

              Build: always put Netpbm header files before external library
              header files in search path.

11.11.25 BJH  Release 10.35.83

              pngtopnm: fix crash with invalid tIME chunk.  Always broken.

11.09.25 BJH  Release 10.35.82

              pnmtopng: fix bug: with -alpha specifying a mask which contains
              no fully transparent area, output PNG is fully opaque.
              Introduced in 10.29.

              pnmquant: work with older Perl that doesn't have 3-argument open.

              pnmtops: fix message: says "from top edge" where it means
              "from bottom edge."

11.07.10 BJH  Release 10.35.81

              pgmtexture: fix wrong sum variance result.  Wrong since the
              beginning.  Thanks Francois P. S. Luus <fpsluus@gmail.com>.
2014-08-21 20:58:23 +00:00
ryoon
5c52d25e56 Fix build under SCO OpenServer 5.0.7/3.2. 2014-07-17 15:52:25 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
ryoon
44178627c3 Fix OpenBSD build 2014-05-16 12:43:52 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
wiz
0602d449ce Recursive bump for png-1.6. 2013-02-16 11:17:56 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
jperkin
ac6dd50509 Remove SunOS patch, the ld(1) options are actively harmful and cause
R_AMD64_32 relocation errors in 64-bit mode.  The default options should
work fine.

Bump PKGREVISION.
2012-07-25 14:42:02 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
is
b439f3caba Fix build problem on IRIX (missing strdup prototype). Reported in
PR 45766, patch from there.
2012-01-19 20:17:47 +00:00
tron
23d843320e Re-add "MAKE_JOBS_SAFE=no" as the build breaks on an 8 core machine. 2011-04-05 11:43:08 +00:00
adam
edb75fbbeb Changes 10.35.80:
* asciitopgm: fix bug: memory corruption on too-long lines.
* asciitopgm: fix bug: improper handling of blank lines.

Changes 10.35.79:
* configure: don't default to /usr/X11R6/lib/libX11.so just because
  /usr/X11R6 exists.  /usr/X11R6/lib must exist.
* pngtopnm: fix bug: -verbose reports history chunk present when
  it's really a palette.
2011-04-04 09:17:24 +00:00
tron
cd109a3c3a Update "netpbm" package to version 10.35.78. Changes since 10.35.77:
- bmptopnm: Don't crash on invalid zero value of image height in
  the BMP header of a compressed file.  Always broken.
- bmptopnm: don't crash on large invalid value of 'colorsused' in
  the BMP header.
- ilbmtoppm: Don't crash on image that has a transparent color
  index, but no color map.

"pkgsrc" changes:
- Add a lot of patches written by Thomas Klausner and me to make this
  compile with PNG 1.5.
2011-01-15 18:37:46 +00:00
tron
893bd5b8db Fix bug in patch for "pnmtopng" reported by Thomas Klausner in private
e-mail. No package revision bump as the package didn't build before
and still doesn't until "pngtopnm" gets fixed as well.
2011-01-15 08:15:47 +00:00
tron
ffd0a4db26 Get "pnmtopng" to build with new "png" package. "pngtopnm" still fails. 2011-01-14 21:51:58 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
adam
fee2f17fac Fix problem finding rgb.txt, PR#43934 2010-11-04 10:57:50 +00:00
adam
dd92c89ea7 Pass LDFLAGS when building progs; required e.g. for -isysroot on MacOSX 2010-10-28 07:09:13 +00:00
tron
1378198155 Update "netpbm" package to version 10.35.77.
Changes since version 10.35.76:
- ppmtompeg: fix crash with free of unallocated memory.
- Build: don't expect snprintf() to exist.
- Build: don't use <strings.h> or bzero().
2010-09-23 09:09:20 +00:00
dholland
988a6a2af5 Arrange conditional PLIST for the "fiasco" converters since they're
disabled on MacOS. From Edgar Fuss in PR 43464.
2010-07-14 02:39:17 +00:00