summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2000-03-21 22:07:57 +0000
committertron <tron>2000-03-21 22:07:57 +0000
commit0929340b2458d8c014432df277b05448a4fb2773 (patch)
treebee4287e304f6e13b92f5ce270aab6b0ea1daf10
parenta49f1d4bad59d213a0d0730a06bb2c15ab875101 (diff)
downloadpkgsrc-0929340b2458d8c014432df277b05448a4fb2773.tar.gz
Update "png" package to version 1.0.6. Changes since version 1.0.5:
- Added contrib/pngsuite and contrib/pngminus (Willem van Schaik) - Fixed a typo in the png_set_sRGB() function call in example.c (Jan Nijtmans) - Further optimization and bugfix of pngvcrd.c - Revised pngset.c so that it does not allocate or free memory in the user's text_ptr structure.- Instead, it makes its own copy. - Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak. - Created separate write_end_info_struct in pngtest.c for a more severe test. - Moved PNG_FLAG_HAVE_CHUNK_HEADER, PNG_FLAG_BACKGROUND_IS_GRAY and PNG_FLAG_WROTE_tIME from flags to mode. - Added png_write_info_before_PLTE() function. - Fixed some typecasting in contrib/gregbook/*.c - Updated scripts/makevms.com (Martin Zinser) - Moved png_get_header_version from png.h to png.c, to accomodate ansi2knr. - Removed all global arrays (according to PNG_NO_GLOBAL_ARRAYS macro), to accomodate making DLL's: Moved usr_png_ver from global variable to function png_get_header_ver() in png.c.- Moved png_sig to png_sig_bytes in png.c and eliminated use of png_sig in pngwutil.c.- Moved the various png_CHNK arrays into local arrays.- Eliminated use of global png_pass arrays.- Declared the png_CHNK and png_pass arrays to be "const".- Made the global arrays available to applications when PNG_NO_GLOBAL_ARRAYS is not defined or when PNG_USE_GLOBAL_ARRAYS is defined.- Made available to applications a macro "PNG_USE_LOCAL_ARRAYS". - Changed the PNG_sRGB_INTENT macros in png.h to be consistent with PNG-1.2. - Change PNG_SRGB_INTENT to PNG_sRGB_INTENT in libpng.txt and libpng.3 - Added PNG_EXPORT_VAR macro to accommodate making DLL's. - Refactored the inflate/deflate support to make adding new chunks with trailing compressed parts easier in the future (Eric S. Raymond). - Added iCCP, iTXt, sCAL, and sPLT support; added "lang", "lang_key", and itxt_length" members to the png_text structure (Eric S. Raymond, Glenn R-P) - Changed png_get_oFFs() and png_set_oFFs() to use signed rather than unsigned offsets (Eric S. Raymond). - Combined PNG_READ_cHNK_SUPPORTED and PNG_WRITE_cHNK_SUPPORTED macros into PNG_cHNK_SUPPORTED and combined the three types of PNG_text_SUPPORTED macros, leaving the separate macros also available. - Removed comments on #endifs at the end of many short, non-nested #if-blocks. - Changed makefile.solaris to issue a warning about potential problems when the ucb "ld" is in the path ahead of the ccs "ld". - Removed "- [date]" from the "synopsis" line in libpng.3 and libpngpf.3. - Added code in pngwrite.c to work around a newly discovered zlib bug. - Unknown chunk handling is now supported (Eric S. Raymond). - Option to eliminate all floating point support was added.- Some new fixed-point functions such as png_set_gAMA_fixed() were added. - Added new type "png_fixed_point" for integers that hold float*100000 values - Added many parentheses, e.g., "if (a && b & c)" becomes "if (a && (b & c))" - Added png_handle_as_unknown() - Added chunk_list and num_chunk_list members of png_ptr. - Define png_get_int_32 when oFFs chunk is supported as well as when pCAL is. - Added functions png_set_read_user_chunk_fn() and png_get_user_chunk_ptr() for setting a callback function to handle unknown chunks and for retrieving the associated user pointer (Glenn). - Added png_free_data() function. - Added high-level functions png_read_png() and png_write_png() (ESR). - Renamed pngdll.mak to makefile.bd32 - Cosmetic changes in pngtest.c - Fixed pngvcrd.c bug by pushing/popping registers in mmxsupport (Bruce Oberg) - Revised makefile.gcmmx - Fixed a bug in pngrtran.c that improperly expanded the background color. - Return *num_text=0 from png_get_text() when appropriate, and fix documentation of png_get_text() in libpng.txt/libpng.3. - Added PNG_SETJMP_SUPPORTED, PNG_SETJMP_NOT_SUPPORTED, and PNG_ABORT() and "png_jmpbuf()" macros to pngconf.h, to help people migrate to the new error handler that's planned for the next libpng release, and changed example.c, pngtest.c, and contrib programs to use this macro. - Revised some of the DLL-export macros in pngconf.h (Greg Roelofs) - Fixed some mistakes in the unused and undocumented INCH_CONVERSIONS functions in pngget.c - Updated makefile.linux and makefile.gccmmx to make directories conditionally. - Increased precision of rgb_to_gray calculations from 8 to 15 bits and added png_set_rgb_to_gray_fixed() function. - Added makefile.bc32 (32-bit Borland C++, C mode) - Updated references to the zlib home page, which has moved to freesoftware.com. - Corrected bugs in documentation regarding png_read_row() and png_write_row(). - Renamed makefile.borland,turboc3 back to makefile.bor,tc3 as in version 1.0.3, revised borland makefiles; added makefile.ibmvac3 and makefile.gcc (Cosmin) - Added makefile.sggcc (SGI IRIX with gcc)
-rw-r--r--graphics/png/Makefile7
-rw-r--r--graphics/png/files/md54
-rw-r--r--graphics/png/files/patch-sum4
-rw-r--r--graphics/png/patches/patch-aa4
-rw-r--r--graphics/png/pkg/PLIST4
5 files changed, 11 insertions, 12 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 3de4fcc35ca..73ddb1cc5d0 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2000/02/09 22:13:34 tron Exp $
+# $NetBSD: Makefile,v 1.16 2000/03/21 22:07:57 tron Exp $
# FreeBSD Id: Makefile,v 1.10 1997/07/17 15:12:44 max Exp
-#
-DISTNAME= libpng-1.0.5
-PKGNAME= png-1.0.5
+DISTNAME= libpng-1.0.6
+PKGNAME= png-1.0.6
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/ \
ftp://ftp.fu-berlin.de/unix/graphics/png/src/
diff --git a/graphics/png/files/md5 b/graphics/png/files/md5
index 6282a5cf6a7..e3b068d0fce 100644
--- a/graphics/png/files/md5
+++ b/graphics/png/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.5 2000/02/09 15:46:27 tron Exp $
+$NetBSD: md5,v 1.6 2000/03/21 22:07:59 tron Exp $
-MD5 (libpng-1.0.5.tar.gz) = e8edc8c1ad4cb613f20563acd9112702
+MD5 (libpng-1.0.6.tar.gz) = 687c8a59160c713a0e6fdd7e0a131182
diff --git a/graphics/png/files/patch-sum b/graphics/png/files/patch-sum
index df96d2e8a4b..e100b0d5b2f 100644
--- a/graphics/png/files/patch-sum
+++ b/graphics/png/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.2 2000/02/09 15:46:27 tron Exp $
+$NetBSD: patch-sum,v 1.3 2000/03/21 22:07:59 tron Exp $
-MD5 (patch-aa) = 2817dcd09c36d45540824328e06635d9
+MD5 (patch-aa) = ee9201c51dce6e7898fd167ffaf7cf84
diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa
index 9c671fb5cb3..cde9c214b57 100644
--- a/graphics/png/patches/patch-aa
+++ b/graphics/png/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2000/02/09 15:46:29 tron Exp $
+$NetBSD: patch-aa,v 1.9 2000/03/21 22:07:59 tron Exp $
--- scripts/makefile.std.orig Fri Jul 31 17:15:22 1998
+++ scripts/makefile.std Thu Mar 4 14:15:31 1999
@@ -35,7 +35,7 @@ $NetBSD: patch-aa,v 1.8 2000/02/09 15:46:29 tron Exp $
- ar rc $@ $(OBJS)
- $(RANLIB) $@
+libpng.la: $(OBJS)
-+ ${LIBTOOL} --mode=link cc -o $@ ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:2
++ ${LIBTOOL} --mode=link cc -o $@ ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:3
-pngtest: pngtest.o libpng.a
- $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
diff --git a/graphics/png/pkg/PLIST b/graphics/png/pkg/PLIST
index 59b5e8f42fc..701abad4103 100644
--- a/graphics/png/pkg/PLIST
+++ b/graphics/png/pkg/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2000/02/09 15:46:30 tron Exp $
+@comment $NetBSD: PLIST,v 1.11 2000/03/21 22:07:59 tron Exp $
include/png.h
include/pngconf.h
lib/libpng.a
-lib/libpng.so.1.2
+lib/libpng.so.1.3