head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.34 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.32 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.30 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.28 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.26 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.24 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.22 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.20 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.18 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.16 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.14 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.12 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.10 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.8 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.6 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.4 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.2 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.6.0.12 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.10 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.4.0.2 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2006.04.16.23.19.15; author wiz; state dead; branches; next 1.7; 1.7 date 2006.04.16.19.39.46; author wiz; state Exp; branches; next 1.6; 1.6 date 2004.12.05.11.17.12; author wiz; state Exp; branches; next 1.5; 1.5 date 2004.10.15.12.33.21; author adam; state Exp; branches; next 1.4; 1.4 date 2004.08.17.09.54.30; author drochner; state Exp; branches; next 1.3; 1.3 date 2004.08.09.07.37.35; author recht; state Exp; branches; next 1.2; 1.2 date 2004.08.06.09.25.18; author drochner; state Exp; branches; next 1.1; 1.1 date 2004.03.29.16.02.08; author ben; state Exp; branches; next ; desc @@ 1.8 log @Update to 1.2.9nb1: . pngconf.h included "config.h" if HAVE_CONFIG_H is defined -- really not a good idea, patch it out. broke at least libwmf, reported by veego@@ . install some libpng12 files -- IIUC, libpng12* is the future and libpng* is becoming obsolete -- at least according to the wishes of the authors. Don't follow this completely yet, but still patch the pkg-config file to link against -lpng instead of -lpng12, which would require a recursive PKGREVISION bump. We should probably do this at some future time. . switch pkgconfig file to look for headers in include/libpng12 -- the headers still exist in include/ for backwards compatibility. . switch to using GNU_CONFIGURE and the included libtool handling instead of patching in our own into a Makefile. Gets rid of patches and pkgsrc Makefile code. @ text @$NetBSD: patch-ad,v 1.7 2006/04/16 19:39:46 wiz Exp $ --- scripts/libpng.pc.in.orig 2006-03-03 02:48:03.000000000 +0000 +++ scripts/libpng.pc.in @@@@ -1,10 +1,10 @@@@ prefix=@@prefix@@ exec_prefix=@@exec_prefix@@ libdir=@@libdir@@ -includedir=@@includedir@@/libpng@@PNGLIB_MAJOR@@ +includedir=@@includedir@@ Name: libpng Description: Loads and saves PNG files Version: @@PNGLIB_VERSION@@ -Libs: -L${libdir} -lpng@@PNGLIB_MAJOR@@ +Libs: -L${libdir} -lpng Cflags: -I${includedir} @ 1.7 log @Update to 1.2.9: Changes since the last public release (1.2.8): version 1.2.9 [April 14, 2006] Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints Fixed an incorrect typecast in pngrutil.c Added PNG_NO_READ_SUPPORTED conditionals for making a write-only library. Added PNG_NO_WRITE_INTERLACING_SUPPORTED conditional. Optimized alpha-inversion loops in pngwtran.c Moved test for nonzero gamma outside of png_build_gamma_table() in pngrtran.c Make sure num_trans is <= 256 before copying data in png_set_tRNS(). Make sure num_palette is <= 256 before copying data in png_set_PLTE(). Interchanged order of write_swap_alpha and write_invert_alpha transforms. Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin). Exported png_get_uint_32, png_save_uint_32, png_get_uint_16, png_save_uint_16, png_get_int_32, png_save_int_32, png_get_uint_31 (Cosmin). Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin). Added type cast (png_byte) in png_write_sCAL() (Cosmin). Fixed scripts/makefile.cygwin (Cosmin). Updated scripts/makefile.bc32 for Borland C++ 5.6 (Cosmin). Updated scripts/pngos2.def, scripts/pngw32.def (Cosmin). Updated references to png-mng-implement mailing list. Revised man page and libpng.txt to make it clear that one should not call png_read_end or png_write_end after png_read_png or png_write_png. Optimized zlib window flag (CINFO) in contrib/pngsuite/*.png (Cosmin). Check for png_rgb_to_gray and png_gray_to_rgb read transformations before checking for png_read_dither in pngrtran.c Revise checking of chromaticity limits to accommodate extended RGB colorspace (John Denker). Changed line endings in some of the project files to CRLF, even in the "Unix" tar distributions (Cosmin). Make png_get_int_32 and png_save_int_32 always available (Cosmin). Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def with the newly exported functions. Eliminated distributions without the "configure" script. Updated INSTALL instructions. Make libpng.pc respect EXEC_PREFIX (D.P.Kreil) Remove reference to pngasmrd.h from Makefile.am Change definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac Removed newline from the end of some error and warning messages. Removed test for sqrt() from configure.ac and configure. Made swap tables in pngtrans.c PNG_CONST (Carlo Bramix). Added "OS2" to list of systems that don't need underscores, in pnggccrd.c Removed libpng version and date from *.c files. Removed trailing blanks from source files. Put version and date of latest change in each source file, and changed copyright year accordingly. Restored scripts/makefile.elf which was inadvertently deleted. Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s() in png.h. Updated makefile.elf as suggested by debian. Added LN_SF, MKDIR_P, and other macros to some of the makefiles. Made some makefiles accept "exec_prefix". Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros. Fixed some "#ifdef defined (..." which should be "#ifdef defined(..." Bug introduced in libpng-1.2.8. Fixed inconsistency in definition of png_default_read_data() Revised calculation of "current" and "major" for irix in ltmain.sh Separated PNG_EXPAND and PNG_EXPAND_tRNS. Added png_set_expand_gray_1_2_4_to_8() and deprecated png_set_gray_1_2_4_to_8() which also expands tRNS to alpha. Include "config.h" in pngconf.h when available. Added some checks for NULL png_ptr or NULL info_ptr (Coverity) Made pnggccrd.c PIC-compliant (Christian Aichinger). Added makefile.mingw (Wolfgang Glas) Revised pngconf.h MMX checking. Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin). Removed nonsensical assertion check from pngtest.c (Cosmin). Revised makefile.beos and added "none" selector in ltmain.sh @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.6 2004/12/05 11:17:12 wiz Exp $ @ 1.6 log @Update to 1.2.8: Changes since the last public release (1.2.7): Fixed bug in png_text_compress() that would fail to complete a large block. Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during strip alpha operation in png_do_strip_filler(). Added PNG_1_2_X definition in pngconf.h #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0) Reduce color_type to a nonalpha type after strip alpha operation in png_do_strip_filler(). Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin). Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin). Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection of data type in deflate (Cosmin). Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING. Despammed mailing addresses by masking "@@" with "at". Added scripts/makefile.elf with supporting code in pngconf.h for symbol versioning (John Bowler). Added projects/visualc71 (Simon-pierre). @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.5 2004/10/15 12:33:21 adam Exp $ d3 1 a3 1 --- scripts/libpng.pc.in.orig 2004-12-03 01:14:31.000000000 +0100 d5 8 a12 2 @@@@ -7,5 +7,5 @@@@ includedir=${exec_prefix}/include Name: libpng12 d14 4 a17 5 Version: 1.2.8 -Libs: -L${libdir} -lpng12 -lz -lm -Cflags: -I${includedir}/libpng12 +Libs: -L${libdir} -lpng -lz -lm +Cflags: -I${includedir} @ 1.5 log @Changes 1.2.7: * Removed unused pngasmrd.h file. * Removed references to uu.net for archived files. Added references to PNG Spec (second edition) and the PNG ISO/IEC Standard. * Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR. * Fixed bug with "optimized window size" in the IDAT datastream, that causes libpng to write PNG files with incorrect zlib header bytes. * Fixed bug with sCAL chunk and big-endian machines (David Munro). * Undid new code added in 1.2.6rc2 to update the color_type in png_set_filler(). * Added png_set_add_alpha() that updates color type. * Revised png_set_strip_filler() to not remove alpha if color_type has alpha. * Added makefile.hp64 * Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- scripts/libpng.pc.in.orig 2004-09-12 02:19:36.000000000 +0000 d8 1 a8 1 Version: 1.2.7 @ 1.4 log @update to 1.2.6 (first official release after the recent security fixes) changes: version 1.2.6rc3 [August 9, 2004] Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid trouble with some 64-bit compilers. Created PNG_OUT_OF_RANGE() macro. Revised documentation of png_set_keep_unknown_chunks(). Check handle_as_unknown status in pngpread.c, as in pngread.c previously. Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c version 1.2.6rc4 [August 10, 2004] Fixed mistake in pngtest.c introduced in 1.2.6rc2 (declaration of "pinfo" was out of place). version 1.2.6rc5 [August 10, 2004] Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED section of png.h where they were inadvertently placed in version rc3. version 1.2.6rc6 [August 15, 2004] Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1. @ text @d3 1 a3 1 --- scripts/libpng.pc.in.orig 2004-08-15 14:15:22.000000000 +0200 d8 1 a8 1 Version: 1.2.6 @ 1.3 log @update to libpng-1.2.6rc2 changes: version 1.2.6rc2 [August 8, 2004] Revised makefile.darwin and makefile.solaris. Removed makefile.macosx. Revised pngtest's png_debug_malloc() to use png_malloc() instead of png_malloc_default() which is not supposed to be exported. Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in pngpread.c. Bug was introduced in 1.2.6rc1. Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1. Fixed old bug in RGB to Gray transformation. Fixed problem with 64-bit compilers by casting arguments to abs() to png_int_32. Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9). Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin) Added "-@@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles. Added code to update the row_info->colortype in png_do_read_filler() (MSB). @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2004/08/06 09:25:18 drochner Exp $ d3 3 a5 3 --- scripts/libpng.pc.in.orig 2004-08-08 04:42:48.000000000 +0200 +++ scripts/libpng.pc.in 2004-08-08 12:29:46.000000000 +0200 @@@@ -7,5 +7,5 @@@@ d8 1 a8 1 Version: 1.2.6rc2 @ 1.2 log @update to 1.2.6rc1, fixes some security issues, see http://scary.beasts.org/security/CESA-2004-001.txt @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- scripts/libpng.pc.in.orig 2004-08-04 13:34:51.000000000 +0200 +++ scripts/libpng.pc.in @@@@ -7,5 +7,5 @@@@ includedir=${exec_prefix}/include d8 1 a8 1 Version: 1.2.6rc1 @ 1.1 log @Install lib/pkgconfig/libpng12.pc, otherwise "pkg-config --list-all" will fail with an error if imlib2 is installed. @ text @d3 1 a3 1 --- scripts/libpng.pc.in.orig Thu Oct 3 04:32:33 2002 d8 1 a8 1 Version: 1.2.5 @