diff options
author | wiz <wiz> | 2011-11-06 23:53:46 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-11-06 23:53:46 +0000 |
commit | 396ca8bb4019635e7f493b0b1a8e9b1fb540f10b (patch) | |
tree | a18aab5ab144ed6a2e3eea6d77ab92ff0a2752e5 /graphics/png | |
parent | 1176e4b51d0ae95ee0fec3201ba2d3f083335544 (diff) | |
download | pkgsrc-396ca8bb4019635e7f493b0b1a8e9b1fb540f10b.tar.gz |
Update to 1.5.6, which integrated part of patch-aa (see beta04).
Version 1.5.6beta01 [September 22, 2011]
Fixed some 64-bit type conversion warnings in pngrtran.c
Moved row_info from png_struct to a local variable.
The various interlace mask arrays have been made into arrays of
bytes and made PNG_CONST and static (previously some arrays were
marked PNG_CONST and some weren't).
Additional checks have been added to the transform code to validate the
pixel depths after the transforms on both read and write.
Removed some redundant code from pngwrite.c, in png_destroy_write_struct().
Changed chunk reading/writing code to use png_uint_32 instead of png_byte[4].
This removes the need to allocate temporary strings for chunk names on
the stack in the read/write code. Unknown chunk handling still uses the
string form because this is exposed in the API.
Version 1.5.6beta02 [September 26, 2011]
Added a note in the manual the png_read_update_info() must be called only
once with a particular info_ptr.
Fixed a typo in the definition of the new PNG_STRING_FROM_CHUNK(s,c) macro.
Version 1.5.6beta03 [September 28, 2011]
Revised test-pngtest.sh to report FAIL when pngtest fails.
Added "--strict" option to pngtest, to report FAIL when the failure is
only because the resulting valid files are different.
Revised CMakeLists.txt to work with mingw and removed some material from
CMakeLists.txt that is no longer useful in libpng-1.5.
Version 1.5.6beta04 [October 5, 2011]
Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
Version 1.5.6beta05 [October 12, 2011]
Speed up png_combine_row() for interlaced images. This reduces the generality
of the code, allowing it to be optimized for Adam7 interlace. The masks
passed to png_combine_row() are now generated internally, avoiding
some code duplication and localizing the interlace handling somewhat.
Align png_struct::row_buf - previously it was always unaligned, caused by
a bug in the code that attempted to align it; the code needs to subtract
one from the pointer to take account of the filter byte prepended to
each row.
Optimized png_combine_row() when rows are aligned. This gains a small
percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned.
Fixed bug in png_write_chunk_header() debug print, introduced in 1.5.6beta01.
Version 1.5.6beta06 [October 17, 2011]
Removed two redundant tests for unitialized row.
Fixed a relatively harmless memory overwrite in compressed text writing
with a 1 byte zlib buffer.
Add ability to call png_read_update_info multiple times to pngvalid.c.
Fixes for multiple calls to png_read_update_info. These fixes attend to
most of the errors revealed in pngvalid, however doing the gamma work
twice results in inaccuracies that can't be easily fixed. There is now
a warning in the code if this is going to happen.
Turned on multiple png_read_update_info in pngvalid transform tests.
Prevent libpng from overwriting unused bits at the end of the image when
it is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
overwrite the partial byte at the end of each row if the row width was not
an exact multiple of 8 bits and the image is not interlaced.
Version 1.5.6beta07 [October 21, 2011]
Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
(Mans Rullgard).
Version 1.5.6rc01 [October 26, 2011]
Changed misleading "Missing PLTE before cHRM" warning to "Out of place cHRM"
Version 1.5.6rc02 [October 27, 2011]
Added LSR() macro to defend against buggy compilers that evaluate non-taken
code branches and complain about out-of-range shifts.
Version 1.5.6rc03 [October 28, 2011]
Renamed the LSR() macro to PNG_LSR() and added PNG_LSL() macro.
Fixed compiler warnings with Intel and MSYS compilers. The logical shift
fix for Microsoft Visual C is required by other compilers, so this
enables that fix for all compilers when using compile-time constants.
Under MSYS 'byte' is a name declared in a system header file, so we
changed the name of a local variable to avoid the warnings that result.
Added #define PNG_ALIGN_TYPE PNG_ALIGN_NONE to contrib/pngminim/*/pngusr.h
Version 1.5.6 [November 3, 2011]
No changes.
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 4 | ||||
-rw-r--r-- | graphics/png/distinfo | 10 | ||||
-rw-r--r-- | graphics/png/patches/patch-aa | 17 |
3 files changed, 10 insertions, 21 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index ea36d40fd6f..53ac1f4e5fb 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.139 2011/09/28 05:34:08 wiz Exp $ +# $NetBSD: Makefile,v 1.140 2011/11/06 23:53:46 wiz Exp $ -DISTNAME= libpng-1.5.5 +DISTNAME= libpng-1.5.6 PKGNAME= ${DISTNAME:S/lib//} CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \ diff --git a/graphics/png/distinfo b/graphics/png/distinfo index ec579d46528..13fbb14f0d7 100644 --- a/graphics/png/distinfo +++ b/graphics/png/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.87 2011/10/05 16:23:39 hans Exp $ +$NetBSD: distinfo,v 1.88 2011/11/06 23:53:46 wiz Exp $ -SHA1 (libpng-1.5.5.tar.bz2) = be63517aa20e8539f0be07706326f5cb53c42e13 -RMD160 (libpng-1.5.5.tar.bz2) = 9dcacbf5038c444289d03fb66436168c07298c45 -Size (libpng-1.5.5.tar.bz2) = 836444 bytes -SHA1 (patch-aa) = ede62be2f7df4e17162520156c66ac1a9c537e4e +SHA1 (libpng-1.5.6.tar.bz2) = e0a24cc51ebc68939a5027ea4874d5f351a52647 +RMD160 (libpng-1.5.6.tar.bz2) = 0902feebcc2a61ecf13625f1c71f0bb25b197b36 +Size (libpng-1.5.6.tar.bz2) = 858341 bytes +SHA1 (patch-aa) = aaf79ebb8a18448c096c17ae9b02da02bc537db2 diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa index cfecac9359d..a164d3271dd 100644 --- a/graphics/png/patches/patch-aa +++ b/graphics/png/patches/patch-aa @@ -1,23 +1,12 @@ -$NetBSD: patch-aa,v 1.31 2011/10/05 16:23:39 hans Exp $ - -It's -Wl, not Wl. +$NetBSD: patch-aa,v 1.32 2011/11/06 23:53:46 wiz Exp $ Don't install compat links to libpng. Programs should use the pkg-config or libpng-config scripts to get the correct png library name. ---- Makefile.in.orig 2011-01-06 13:02:45.000000000 +0000 +--- Makefile.in.orig 2011-11-03 03:43:00.000000000 +0000 +++ Makefile.in -@@ -43,7 +43,7 @@ host_triplet = @host@ - check_PROGRAMS = pngtest$(EXEEXT) pngvalid$(EXEEXT) - - # Versioned symbols and restricted exports --@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_1 = -Wl,-M Wl,libpng.vers -+@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_1 = -Wl,-M -Wl,libpng.vers - @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_2 = -Wl,--version-script=libpng.vers - # Only restricted exports when possible - @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_3 = -export-symbols libpng.sym -@@ -1342,14 +1342,6 @@ install-data-hook: +@@ -1356,14 +1356,6 @@ install-data-hook: install-exec-hook: cd $(DESTDIR)$(bindir); rm -f libpng-config cd $(DESTDIR)$(bindir); $(LN_S) $(PNGLIB_BASENAME)-config libpng-config |