Tue May 3 09:07:35 2011 UTC ()
Update to 1.5.3beta04 to fix a regression reported on tech-pkg (see beta03,
last entry).

Version 1.5.3beta01 [April 1, 2011]
  Re-initialize the zlib compressor before compressing non-IDAT chunks.
  Added API functions to set parameters for zlib compression of non-IDAT
    chunks.

Version 1.5.3beta02 [April 3, 2011]
  Updated scripts/symbols.def with new API functions.
  Only compile the new zlib re-initializing code when text or iCCP is
    supported, using PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
  Improved the optimization of the zlib CMF byte (see libpng-1.2.6beta03).
  Optimize the zlib CMF byte in non-IDAT compressed chunks

Version 1.5.3beta03 [April 16, 2011]
  Fixed gcc -ansi -pedantic compile. A strict ANSI system does not have
    snprintf, and the "__STRICT_ANSI__" detects that condition more reliably
    than __STDC__ (John Bowler).
  Removed the PNG_PTR_NORETURN attribute because it too dangerous. It tells
    the compiler that a user supplied callback (the error handler) does not
    return, yet there is no guarantee in practice that the application code
    will correctly implement the error handler because the compiler only
    issues a warning if there is a mistake (John Bowler).
  Removed the no-longer-used PNG_DEPSTRUCT macro.
  Updated the zlib version to 1.2.5 in the VStudio project.
  Fixed 64-bit builds where png_uint_32 is smaller than png_size_t in
    pngwutil.c (John Bowler).
  Fixed bug with stripping the filler or alpha channel when writing, that
    was introduced in libpng-1.5.2beta01 (bug report by Andrew Church).

Version 1.5.3beta04 [April 27, 2011]
  Updated pngtest.png with the new zlib CMF optimization.
  Cleaned up conditional compilation code and of background/gamma handling
    Internal changes only except a new option to avoid compiling the
    png_build_grayscale_palette API (which is not used at all internally.)
    The main change is to move the transform tests (READ_TRANSFORMS,
    WRITE_TRANSFORMS) up one level to the caller of the APIs.  This avoids
    calls to spurious functions if all transforms are disabled and slightly
    simplifies those functions.  Pngvalid modified to handle this.
    A minor change is to stop the strip_16 and expand_16 interfaces from
    disabling each other; this allows the future alpha premultiplication
    code to use 16-bit intermediate values while still producing 8-bit output.
    png_do_background and png_do_gamma have been simplified to take a single
    pointer to the png_struct rather than pointers to every item required
    from the png_struct. This makes no practical difference to the internal
    code.
  A serious bug in the pngvalid internal routine 'standard_display_init' has
    been fixed - this failed to initialize the red channel and accidentally
    initialized the alpha channel twice.
  Changed png_struct jmp_buf member name from png_jmpbuf to tmp_jmpbuf to
    avoid a clash with the png_jmpbuf macro on some platforms.


(wiz)
diff -r1.132 -r1.133 pkgsrc/graphics/png/Makefile
diff -r1.78 -r1.79 pkgsrc/graphics/png/distinfo

cvs diff -r1.132 -r1.133 pkgsrc/graphics/png/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/png/Makefile 2011/04/05 12:47:56 1.132
+++ pkgsrc/graphics/png/Makefile 2011/05/03 09:07:35 1.133
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.132 2011/04/05 12:47:56 wiz Exp $ 1# $NetBSD: Makefile,v 1.133 2011/05/03 09:07:35 wiz Exp $
2 2
3DISTNAME= libpng-1.5.2 3DISTNAME= libpng-1.5.3beta04
4PKGNAME= ${DISTNAME:S/lib//} 4PKGNAME= ${DISTNAME:S/lib//}
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \ 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
7 ftp://ftp.fu-berlin.de/unix/graphics/png/src/ 7 ftp://ftp.fu-berlin.de/unix/graphics/png/src/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= wiz@NetBSD.org 10MAINTAINER= wiz@NetBSD.org
11HOMEPAGE= http://www.libpng.org/pub/png/libpng.html 11HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
12COMMENT= Library for manipulating PNG images 12COMMENT= Library for manipulating PNG images
13LICENSE= png-license 13LICENSE= png-license
14 14
15PKG_INSTALLATION_TYPES= overwrite pkgviews 15PKG_INSTALLATION_TYPES= overwrite pkgviews
16PKG_DESTDIR_SUPPORT= user-destdir 16PKG_DESTDIR_SUPPORT= user-destdir

cvs diff -r1.78 -r1.79 pkgsrc/graphics/png/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/png/distinfo 2011/04/05 12:47:56 1.78
+++ pkgsrc/graphics/png/distinfo 2011/05/03 09:07:35 1.79
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.78 2011/04/05 12:47:56 wiz Exp $ 1$NetBSD: distinfo,v 1.79 2011/05/03 09:07:35 wiz Exp $
2 2
3SHA1 (libpng-1.5.2.tar.bz2) = db9658b1c7fcf65769bb01e773a703ce56389be5 3SHA1 (libpng-1.5.3beta04.tar.bz2) = f6695ddc81c6c3a1a49142adf478753f117fba0b
4RMD160 (libpng-1.5.2.tar.bz2) = 8cf3f2add769bbb1170af7ad6ba5c6bd9a3efec8 4RMD160 (libpng-1.5.3beta04.tar.bz2) = 0cb187dd84a4234593f993bd42d1a295accd3351
5Size (libpng-1.5.2.tar.bz2) = 790523 bytes 5Size (libpng-1.5.3beta04.tar.bz2) = 792619 bytes
6SHA1 (patch-aa) = 0c4f4e594798384079a0ce2ee5d7a45e16366b12 6SHA1 (patch-aa) = 0c4f4e594798384079a0ce2ee5d7a45e16366b12