diff --git a/ANNOUNCE b/ANNOUNCE index 0aff1280d..0e12e63a9 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.6.9beta04 - January 10, 2014 +Libpng 1.6.9beta04 - January 12, 2014 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -63,7 +63,8 @@ Version 1.6.9beta02 [January 1, 2014] Version 1.6.9beta03 [January 10, 2014] Removed potentially misleading warning from png_check_IHDR(). -Version 1.6.9beta04 [January 10, 2014] +Version 1.6.9beta04 [January 12, 2014] + Updated scripts/makefile.* to use CPPFLAGS (Cosmin) Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index f47c5cc90..f7ae38de9 100644 --- a/CHANGES +++ b/CHANGES @@ -4788,7 +4788,8 @@ Version 1.6.9beta02 [January 1, 2014] Version 1.6.9beta03 [January 10, 2014] Removed potentially misleading warning from png_check_IHDR(). -Version 1.6.9beta04 [January 10, 2014] +Version 1.6.9beta04 [January 12, 2014] + Updated scripts/makefile.* to use CPPFLAGS (Cosmin) Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/LICENSE b/LICENSE index 27583e59d..3459f1cec 100644 --- a/LICENSE +++ b/LICENSE @@ -10,7 +10,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 10, 2014, are +libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 12, 2014, are Copyright (c) 2004, 2006-2014 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors @@ -108,4 +108,4 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -January 10, 2014 +January 12, 2014 diff --git a/README b/README index c69533c37..7100b754d 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -README for libpng version 1.6.9beta04 - January 10, 2014 (shared library 16.0) +README for libpng version 1.6.9beta04 - January 12, 2014 (shared library 16.0) See the note about version numbers near the top of png.h See INSTALL for instructions on how to install libpng. diff --git a/contrib/gregbook/Makefile.mingw32 b/contrib/gregbook/Makefile.mingw32 index e70a59aef..3a3ff607e 100644 --- a/contrib/gregbook/Makefile.mingw32 +++ b/contrib/gregbook/Makefile.mingw32 @@ -47,7 +47,8 @@ CC = gcc #CC = i386-mingw32msvc-gcc # e.g., Linux -> Win32 cross-compilation LD = $(CC) RM = rm -f -CFLAGS = -O -Wall $(INCS) $(MINGW_CCFLAGS) +CPPFLAGS = $(INCS) +CFLAGS = -O -Wall $(MINGW_CCFLAGS) # [note that -Wall is a gcc-specific compilation flag ("most warnings on")] # [-ansi, -pedantic and -W can also be used] LDFLAGS = $(MINGW_LDFLAGS) @@ -85,10 +86,10 @@ EXES = $(STATIC_EXES) $(DYNAMIC_EXES) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< %.pic$(O): %.c - $(CC) -c $(CFLAGS) -DPNG_BUILD_DLL -o $@ $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) -DPNG_BUILD_DLL -o $@ $< # dependencies -------------------------------------------------------------- diff --git a/contrib/gregbook/Makefile.sgi b/contrib/gregbook/Makefile.sgi index 6c3bdf191..94d61b465 100644 --- a/contrib/gregbook/Makefile.sgi +++ b/contrib/gregbook/Makefile.sgi @@ -53,7 +53,8 @@ CC = cc LD = cc RM = rm -f # ABI must be the same as that used to build libpng. -ABI= +ABI = +CPPFLAGS = CFLAGS = $(ABI) -O -fullwarn $(INCS) LDFLAGS = $(ABI) O = .o @@ -73,7 +74,7 @@ EXES = $(RPNG)$(E) $(RPNG2)$(E) $(WPNG)$(E) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies -------------------------------------------------------------- diff --git a/contrib/gregbook/Makefile.unx b/contrib/gregbook/Makefile.unx index d5e4f355a..c8cadf87b 100644 --- a/contrib/gregbook/Makefile.unx +++ b/contrib/gregbook/Makefile.unx @@ -64,7 +64,8 @@ WLIBSs = $(PNGLIBs) $(ZLIBs) CC = gcc LD = gcc RM = rm -f -CFLAGS = -O -Wall $(INCS) -DFEATURE_LOOP +CPPFLAGS = $(INCS) -DFEATURE_LOOP +CFLAGS = -O -Wall # [note that -Wall is a gcc-specific compilation flag ("most warnings on")] # [-ansi, -pedantic and -W can also be used] LDFLAGS = @@ -92,7 +93,7 @@ EXES = $(STATIC_EXES) $(DYNAMIC_EXES) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies -------------------------------------------------------------- diff --git a/contrib/gregbook/Makefile.w32 b/contrib/gregbook/Makefile.w32 index 41cfb231a..ab7dcf7ca 100644 --- a/contrib/gregbook/Makefile.w32 +++ b/contrib/gregbook/Makefile.w32 @@ -53,7 +53,8 @@ WLIBS = $(PNGLIB) $(ZLIB) CC = cl LD = link RM = del -CFLAGS = -nologo -O -W3 $(INCS) $(cvars) +CPPFLAGS = $(INCS) +CFLAGS = -nologo -O -W3 $(cvars) # [note that -W3 is an MSVC-specific compilation flag ("all warnings on")] # [see %devstudio%\vc\include\win32.mak for cvars macro definition] O = .obj @@ -76,7 +77,7 @@ EXES = $(RPNG)$(E) $(RPNG2)$(E) $(WPNG)$(E) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies -------------------------------------------------------------- diff --git a/contrib/pngminim/decoder/makefile b/contrib/pngminim/decoder/makefile index 23e8e5b85..4acf3c177 100644 --- a/contrib/pngminim/decoder/makefile +++ b/contrib/pngminim/decoder/makefile @@ -82,7 +82,7 @@ OBJS = $(PROGOBJS) $(PNGOBJS) $(ZOBJS) # note: dependencies do not work on implicit rule lines .c$(O): - $(CC) $(CPPFLAGS) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies diff --git a/contrib/pngminim/encoder/makefile b/contrib/pngminim/encoder/makefile index ce67a9623..41b205c28 100644 --- a/contrib/pngminim/encoder/makefile +++ b/contrib/pngminim/encoder/makefile @@ -81,7 +81,7 @@ OBJS = $(PROGOBJS) $(PNGOBJS) $(ZOBJS) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) $(CPPFLAGS) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies diff --git a/contrib/pngminim/preader/makefile b/contrib/pngminim/preader/makefile index c6855e8ff..b62519911 100644 --- a/contrib/pngminim/preader/makefile +++ b/contrib/pngminim/preader/makefile @@ -97,7 +97,7 @@ OBJS = $(PROGOBJS) $(PNGOBJS) $(ZOBJS) # implicit make rules ------------------------------------------------------- .c$(O): - $(CC) $(CPPFLAGS) -c $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # dependencies diff --git a/contrib/pngminus/makefile.std b/contrib/pngminus/makefile.std index 30317b77d..14e25cd64 100644 --- a/contrib/pngminus/makefile.std +++ b/contrib/pngminus/makefile.std @@ -23,7 +23,8 @@ ZINC = -I../../../zlib ZLIB = -L../../../zlib -lz ZLIBS = ../../../zlib/libz.a -CFLAGS=$(PNGINC) $(ZINC) +CPPFLAGS=$(PNGINC) $(ZINC) +CFLAGS= LDLIBS=$(PNGLIB) $(ZLIB) LDLIBSS=$(PNGLIBS) $(ZLIBS) C=.c @@ -37,7 +38,7 @@ E= all: png2pnm$(E) pnm2png$(E) png2pnm-static$(E) pnm2png-static$(E) png2pnm$(O): png2pnm$(C) - $(CC) -c $(CFLAGS) png2pnm$(C) + $(CC) -c $(CPPFLAGS) $(CFLAGS) png2pnm$(C) png2pnm$(E): png2pnm$(O) $(LD) $(LDFLAGS) -o png2pnm$(E) png2pnm$(O) $(LDLIBS) -lm @@ -46,7 +47,7 @@ png2pnm-static$(E): png2pnm$(O) $(LD) $(LDFLAGS) -o png2pnm-static$(E) png2pnm$(O) $(LDLIBSS) -lm pnm2png$(O): pnm2png$(C) - $(CC) -c $(CFLAGS) pnm2png$(C) + $(CC) -c $(CPPFLAGS) $(CFLAGS) pnm2png$(C) pnm2png$(E): pnm2png$(O) $(LD) $(LDFLAGS) -o pnm2png$(E) pnm2png$(O) $(LDLIBS) -lm diff --git a/contrib/pngminus/makefile.tc3 b/contrib/pngminus/makefile.tc3 index 404f18d5b..6a2f4b985 100644 --- a/contrib/pngminus/makefile.tc3 +++ b/contrib/pngminus/makefile.tc3 @@ -7,7 +7,8 @@ LB=tlib RM=del CP=copy MODEL=l -CCFLAGS=-O -m$(MODEL) -I..\libpng -I..\zlib +CPPFLAGS=-I..\libpng -I..\zlib +CFLAGS=-O -m$(MODEL) LDFLAGS=-m$(MODEL) -L..\libpng -L..\zlib C=.c O=.obj @@ -19,13 +20,13 @@ E=.exe all: png2pnm$(E) pnm2png$(E) png2pnm$(O): png2pnm$(C) - $(CC) -c $(CCFLAGS) png2pnm$(C) + $(CC) -c $(CPPFLAGS) $(CFLAGS) png2pnm$(C) png2pnm$(E): png2pnm$(O) $(LD) $(LDFLAGS) png2pnm$(O) libpng$(L) zlib$(L) pnm2png$(O): pnm2png$(C) - $(CC) -c $(CCFLAGS) pnm2png$(C) + $(CC) -c $(CPPFLAGS) $(CFLAGS) pnm2png$(C) pnm2png$(E): pnm2png$(O) $(LD) $(LDFLAGS) pnm2png$(O) libpng$(L) zlib$(L) @@ -35,4 +36,3 @@ clean: $(RM) *$(E) # End of makefile for png2pnm / pnm2png - diff --git a/libpng-manual.txt b/libpng-manual.txt index 2b21bfdbf..2c14257d7 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -1,6 +1,6 @@ libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.9beta04 - January 10, 2014 + libpng version 1.6.9beta04 - January 12, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.6.9beta04 - January 10, 2014 + libpng versions 0.97, January 1998, through 1.6.9beta04 - January 12, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -5232,7 +5232,7 @@ Other rules can be inferred by inspecting the libpng source. XVI. Y2K Compliance in libpng -January 10, 2014 +January 12, 2014 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. diff --git a/libpng.3 b/libpng.3 index 861b77c0f..abc4e82de 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "January 10, 2014" +.TH LIBPNG 3 "January 12, 2014" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.6.9beta04 .SH SYNOPSIS @@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng. .SH LIBPNG.TXT libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.9beta04 - January 10, 2014 + libpng version 1.6.9beta04 - January 12, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.6.9beta04 - January 10, 2014 + libpng versions 0.97, January 1998, through 1.6.9beta04 - January 12, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -5737,7 +5737,7 @@ Other rules can be inferred by inspecting the libpng source. .SH XVI. Y2K Compliance in libpng -January 10, 2014 +January 12, 2014 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -6028,7 +6028,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.6.9beta04 - January 10, 2014: +Libpng version 1.6.9beta04 - January 12, 2014: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -6051,7 +6051,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 10, 2014, are +libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 12, 2014, are Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors @@ -6150,7 +6150,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -January 10, 2014 +January 12, 2014 .\" end of man page diff --git a/libpngpf.3 b/libpngpf.3 index f82e47460..a5ec93330 100644 --- a/libpngpf.3 +++ b/libpngpf.3 @@ -1,4 +1,4 @@ -.TH LIBPNGPF 3 "January 10, 2014" +.TH LIBPNGPF 3 "January 12, 2014" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.6.9beta04 (private functions) diff --git a/png.5 b/png.5 index 902ac8f90..53590d2bc 100644 --- a/png.5 +++ b/png.5 @@ -1,4 +1,4 @@ -.TH PNG 5 "January 10, 2014" +.TH PNG 5 "January 12, 2014" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION diff --git a/png.c b/png.c index bdaba77fb..893305079 100644 --- a/png.c +++ b/png.c @@ -773,13 +773,13 @@ png_get_copyright(png_const_structrp png_ptr) #else # ifdef __STDC__ return PNG_STRING_NEWLINE \ - "libpng version 1.6.9beta04 - January 10, 2014" PNG_STRING_NEWLINE \ + "libpng version 1.6.9beta04 - January 12, 2014" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2014 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ PNG_STRING_NEWLINE; # else - return "libpng version 1.6.9beta04 - January 10, 2014\ + return "libpng version 1.6.9beta04 - January 12, 2014\ Copyright (c) 1998-2014 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; diff --git a/png.h b/png.h index 640bc4cfe..8dbbbe311 100644 --- a/png.h +++ b/png.h @@ -1,7 +1,7 @@ /* png.h - header file for PNG reference library * - * libpng version 1.6.9beta04 - January 10, 2014 + * libpng version 1.6.9beta04 - January 12, 2014 * Copyright (c) 1998-2013 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -11,7 +11,7 @@ * Authors and maintainers: * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger - * libpng versions 0.97, January 1998, through 1.6.9beta04 - January 10, 2014: Glenn + * libpng versions 0.97, January 1998, through 1.6.9beta04 - January 12, 2014: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: @@ -221,7 +221,7 @@ * * This code is released under the libpng license. * - * libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 10, 2014, are + * libpng versions 1.2.6, August 15, 2004, through 1.6.9beta04, January 12, 2014, are * Copyright (c) 2004, 2006-2013 Glenn Randers-Pehrson, and are * distributed according to the same disclaimer and license as libpng-1.2.5 * with the following individual added to the list of Contributing Authors: @@ -333,7 +333,7 @@ * Y2K compliance in libpng: * ========================= * - * January 10, 2014 + * January 12, 2014 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. @@ -401,7 +401,7 @@ /* Version information for png.h - this should match the version in png.c */ #define PNG_LIBPNG_VER_STRING "1.6.9beta04" #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.6.9beta04 - January 10, 2014\n" + " libpng version 1.6.9beta04 - January 12, 2014\n" #define PNG_LIBPNG_VER_SONUM 16 #define PNG_LIBPNG_VER_DLLNUM 16 diff --git a/pngconf.h b/pngconf.h index 6d3832c24..b19cdbdd6 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.6.9beta04 - January 10, 2014 + * libpng version 1.6.9beta04 - January 12, 2014 * * Copyright (c) 1998-2013 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/projects/vstudio/readme.txt b/projects/vstudio/readme.txt index 6496f4302..f0ac39e86 100644 --- a/projects/vstudio/readme.txt +++ b/projects/vstudio/readme.txt @@ -1,7 +1,7 @@ VisualStudio instructions -libpng version 1.6.9beta04 - January 10, 2014 +libpng version 1.6.9beta04 - January 12, 2014 Copyright (c) 1998-2010 Glenn Randers-Pehrson diff --git a/projects/vstudio/zlib.props b/projects/vstudio/zlib.props index b1d1a5543..11da5599d 100644 --- a/projects/vstudio/zlib.props +++ b/projects/vstudio/zlib.props @@ -2,7 +2,7 @@