mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[devel] Imported from libpng-1.4.0beta102.tar
This commit is contained in:
		
							parent
							
								
									9d27a1becf
								
							
						
					
					
						commit
						cd7d63a805
					
				
							
								
								
									
										4
									
								
								ANNOUNCE
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								ANNOUNCE
									
									
									
									
									
								
							| @ -1,5 +1,5 @@ | ||||
| 
 | ||||
| Libpng 1.4.0beta102 - November 15, 2009 | ||||
| Libpng 1.4.0beta102 - November 18, 2009 | ||||
| 
 | ||||
| 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. | ||||
| @ -685,7 +685,7 @@ version 1.4.0beta101 [November 14, 2009] | ||||
|     accidentally deleted from the zip and 7z distributions when the xcode | ||||
|     project was added. | ||||
| 
 | ||||
| version 1.4.0beta102 [November 15, 2009] | ||||
| version 1.4.0beta102 [November 18, 2009] | ||||
|   Added libpng-config.in and libpng-pc.in to the zip and 7z distributions. | ||||
|   Fixed a typo in projects/visualc6/pngtest.dsp, introduced in beta100. | ||||
|   Moved descriptions of makefiles and other scripts out of INSTALL into | ||||
|  | ||||
							
								
								
									
										2
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								CHANGES
									
									
									
									
									
								
							| @ -2372,7 +2372,7 @@ version 1.4.0beta101 [November 14, 2009] | ||||
|     accidentally deleted from the zip and 7z distributions when the xcode | ||||
|     project was added. | ||||
| 
 | ||||
| version 1.4.0beta102 [November 15, 2009] | ||||
| version 1.4.0beta102 [November 18, 2009] | ||||
|   Added libpng-config.in and libpng-pc.in to the zip and 7z distributions. | ||||
|   Fixed a typo in projects/visualc6/pngtest.dsp, introduced in beta100. | ||||
|   Moved descriptions of makefiles and other scripts out of INSTALL into | ||||
|  | ||||
							
								
								
									
										8
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								INSTALL
									
									
									
									
									
								
							| @ -1,5 +1,5 @@ | ||||
| 
 | ||||
| Installing libpng version 1.4.0beta102 - November 15, 2009 | ||||
| Installing libpng version 1.4.0beta102 - November 18, 2009 | ||||
| 
 | ||||
| On Unix/Linux and similar systems, you can simply type | ||||
| 
 | ||||
| @ -60,8 +60,10 @@ Your directory structure should look like this: | ||||
|           CMakeLists.txt    =>  "cmake" script | ||||
|           configuration files: | ||||
|              configure.ac, configure, Makefile.am, Makefile.in, | ||||
|              autogen.sh, config.guess, ltmain.sh, missing, libpng-pc.in, | ||||
|              libpng-config.in, aclocal.m4, config.h.in, config.sub, | ||||
| %12-%             autogen.sh, config.guess, ltmain.sh, missing, | ||||
| %12-%             aclocal.m4, config.h.in, config.sub, | ||||
| %14+%             autogen.sh, config.guess, ltmain.sh, missing, libpng-pc.in, | ||||
| %14+%             libpng-config.in, aclocal.m4, config.h.in, config.sub, | ||||
|              depcomp, install-sh, mkinstalldirs, test-pngtest.sh | ||||
|           contrib | ||||
|              gregbook | ||||
|  | ||||
							
								
								
									
										20
									
								
								INSTALL1
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								INSTALL1
									
									
									
									
									
								
							| @ -1,20 +0,0 @@ | ||||
| 
 | ||||
| Using the ./configure script -- 16 December 2002. | ||||
| ================================================= | ||||
| 
 | ||||
| The ./configure script should work compatibly with what scripts/makefile.* | ||||
| did, however there are some options you might need to add to configure | ||||
| explicitly, which previously was done semi-automatically (if you didn't edit | ||||
| scripts/makefile.* yourself, that is) | ||||
| 
 | ||||
| CFLAGS="-Wall -O -funroll-loops \ | ||||
| -malign-loops=2 -malign-functions=2" ./configure --prefix=/usr/include \ | ||||
| --with-pkgconfigdir=/usr/lib/pkgconfig --includedir=/usr/include | ||||
| 
 | ||||
| You can alternatively specify --includedir=/usr/include, /usr/local/include, | ||||
| /usr/include/libpng14, or whatever. | ||||
| 
 | ||||
| If you find that the configure script is out-of-date or is not supporting | ||||
| your platform properly, try running autogen.sh to regenerate "configure", | ||||
| "Makefile.in", and the other configuration files. Then try configure again. | ||||
| 
 | ||||
							
								
								
									
										4
									
								
								LICENSE
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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.4.0beta102, November 15, 2009, are | ||||
| libpng versions 1.2.6, August 15, 2004, through 1.4.0beta102, November 18, 2009, 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 | ||||
| @ -108,4 +108,4 @@ certification mark of the Open Source Initiative. | ||||
| 
 | ||||
| Glenn Randers-Pehrson | ||||
| glennrp at users.sourceforge.net | ||||
| November 15, 2009 | ||||
| November 18, 2009 | ||||
|  | ||||
							
								
								
									
										2
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								README
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| README for libpng version 1.4.0beta102 - November 15, 2009 (shared library 14.0) | ||||
| README for libpng version 1.4.0beta102 - November 18, 2009 (shared library 14.0) | ||||
| See the note about version numbers near the top of png.h | ||||
| 
 | ||||
| See INSTALL for instructions on how to install libpng. | ||||
|  | ||||
| @ -2,7 +2,7 @@ | ||||
| #if 0 /* in case someone actually tries to compile this */
 | ||||
| 
 | ||||
| /* example.c - an example of using libpng
 | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * This file has been placed in the public domain by the authors. | ||||
|  * Maintained 1998-2009 Glenn Randers-Pehrson | ||||
|  * Maintained 1996, 1997 Andreas Dilger) | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| libpng.txt - A description on how to use and modify libpng | ||||
| 
 | ||||
|  libpng version 1.4.0beta102 - November 15, 2009 | ||||
|  libpng version 1.4.0beta102 - November 18, 2009 | ||||
|  Updated and distributed by Glenn Randers-Pehrson | ||||
|  <glennrp at users.sourceforge.net> | ||||
|  Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
| @ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng | ||||
| 
 | ||||
|  Based on: | ||||
| 
 | ||||
|  libpng versions 0.97, January 1998, through 1.4.0beta102 - November 15, 2009 | ||||
|  libpng versions 0.97, January 1998, through 1.4.0beta102 - November 18, 2009 | ||||
|  Updated and distributed by Glenn Randers-Pehrson | ||||
|  Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
| 
 | ||||
| @ -3225,7 +3225,7 @@ Other rules can be inferred by inspecting the libpng source. | ||||
| 
 | ||||
| XIII. Y2K Compliance in libpng | ||||
| 
 | ||||
| November 15, 2009 | ||||
| November 18, 2009 | ||||
| 
 | ||||
| Since the PNG Development group is an ad-hoc body, we can't make | ||||
| an official declaration. | ||||
|  | ||||
							
								
								
									
										14
									
								
								libpng.3
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								libpng.3
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| .TH LIBPNG 3 "November 15, 2009" | ||||
| .TH LIBPNG 3 "November 18, 2009" | ||||
| .SH NAME | ||||
| libpng \- Portable Network Graphics (PNG) Reference Library 1.4.0beta102 | ||||
| .SH SYNOPSIS | ||||
| @ -777,7 +777,7 @@ Following is a copy of the libpng.txt file that accompanies libpng. | ||||
| .SH LIBPNG.TXT | ||||
| libpng.txt - A description on how to use and modify libpng | ||||
| 
 | ||||
|  libpng version 1.4.0beta102 - November 15, 2009 | ||||
|  libpng version 1.4.0beta102 - November 18, 2009 | ||||
|  Updated and distributed by Glenn Randers-Pehrson | ||||
|  <glennrp at users.sourceforge.net> | ||||
|  Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
| @ -788,7 +788,7 @@ libpng.txt - A description on how to use and modify libpng | ||||
| 
 | ||||
|  Based on: | ||||
| 
 | ||||
|  libpng versions 0.97, January 1998, through 1.4.0beta102 - November 15, 2009 | ||||
|  libpng versions 0.97, January 1998, through 1.4.0beta102 - November 18, 2009 | ||||
|  Updated and distributed by Glenn Randers-Pehrson | ||||
|  Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
| 
 | ||||
| @ -4002,7 +4002,7 @@ Other rules can be inferred by inspecting the libpng source. | ||||
| 
 | ||||
| .SH XIII. Y2K Compliance in libpng | ||||
| 
 | ||||
| November 15, 2009 | ||||
| November 18, 2009 | ||||
| 
 | ||||
| Since the PNG Development group is an ad-hoc body, we can't make | ||||
| an official declaration. | ||||
| @ -4234,7 +4234,7 @@ possible without all of you. | ||||
| 
 | ||||
| Thanks to Frank J. T. Wojcik for helping with the documentation. | ||||
| 
 | ||||
| Libpng version 1.4.0beta102 - November 15, 2009: | ||||
| Libpng version 1.4.0beta102 - November 18, 2009: | ||||
| Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. | ||||
| Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). | ||||
| 
 | ||||
| @ -4257,7 +4257,7 @@ this sentence. | ||||
| 
 | ||||
| This code is released under the libpng license. | ||||
| 
 | ||||
| libpng versions 1.2.6, August 15, 2004, through 1.4.0beta102, November 15, 2009, are | ||||
| libpng versions 1.2.6, August 15, 2004, through 1.4.0beta102, November 18, 2009, 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 | ||||
| @ -4356,7 +4356,7 @@ certification mark of the Open Source Initiative. | ||||
| 
 | ||||
| Glenn Randers-Pehrson | ||||
| glennrp at users.sourceforge.net | ||||
| November 15, 2009 | ||||
| November 18, 2009 | ||||
| 
 | ||||
| .\" end of man page | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| .TH LIBPNGPF 3 "November 15, 2009" | ||||
| .TH LIBPNGPF 3 "November 18, 2009" | ||||
| .SH NAME | ||||
| libpng \- Portable Network Graphics (PNG) Reference Library 1.4.0beta102 | ||||
| (private functions) | ||||
|  | ||||
							
								
								
									
										2
									
								
								png.5
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								png.5
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| .TH PNG 5 "November 15, 2009" | ||||
| .TH PNG 5 "November 18, 2009" | ||||
| .SH NAME | ||||
| png \- Portable Network Graphics (PNG) format | ||||
| .SH DESCRIPTION | ||||
|  | ||||
							
								
								
									
										6
									
								
								png.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								png.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* png.c - location for general purpose libpng functions
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
| @ -547,13 +547,13 @@ png_get_copyright(png_structp png_ptr) | ||||
| #else | ||||
| #ifdef __STDC__ | ||||
|    return ((png_charp) PNG_STRING_NEWLINE \ | ||||
|      "libpng version 1.4.0beta102 - November 15, 2009" PNG_STRING_NEWLINE \ | ||||
|      "libpng version 1.4.0beta102 - November 18, 2009" PNG_STRING_NEWLINE \ | ||||
|      "Copyright (c) 1998-2009 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 ((png_charp) "libpng version 1.4.0beta102 - November 15, 2009\
 | ||||
|       return ((png_charp) "libpng version 1.4.0beta102 - November 18, 2009\
 | ||||
|       Copyright (c) 1998-2009 Glenn Randers-Pehrson\ | ||||
|       Copyright (c) 1996-1997 Andreas Dilger\ | ||||
|       Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."); | ||||
|  | ||||
							
								
								
									
										8
									
								
								png.h
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								png.h
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* png.h - header file for PNG reference library
 | ||||
|  * | ||||
|  * libpng version 1.4.0beta102 - November 15, 2009 | ||||
|  * libpng version 1.4.0beta102 - November 18, 2009 | ||||
|  * Copyright (c) 1998-2009 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.4.0beta102 - November 15, 2009: Glenn | ||||
|  *  libpng versions 0.97, January 1998, through 1.4.0beta102 - November 18, 2009: Glenn | ||||
|  *  See also "Contributing Authors", below. | ||||
|  * | ||||
|  * Note about libpng version numbers: | ||||
| @ -163,7 +163,7 @@ | ||||
|  * | ||||
|  * This code is released under the libpng license. | ||||
|  * | ||||
|  * libpng versions 1.2.6, August 15, 2004, through 1.4.0beta102, November 15, 2009, are | ||||
|  * libpng versions 1.2.6, August 15, 2004, through 1.4.0beta102, November 18, 2009, 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: | ||||
| @ -339,7 +339,7 @@ | ||||
| /* Version information for png.h - this should match the version in png.c */ | ||||
| #define PNG_LIBPNG_VER_STRING "1.4.0beta102" | ||||
| #define PNG_HEADER_VERSION_STRING \ | ||||
|    " libpng version 1.4.0beta102 - November 15, 2009\n" | ||||
|    " libpng version 1.4.0beta102 - November 18, 2009\n" | ||||
| 
 | ||||
| #define PNG_LIBPNG_VER_SONUM   14 | ||||
| #define PNG_LIBPNG_VER_DLLNUM  14 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngconf.h - machine configurable file for libpng
 | ||||
|  * | ||||
|  * libpng version 1.4.0beta102 - November 15, 2009 | ||||
|  * libpng version 1.4.0beta102 - November 18, 2009 | ||||
|  * For conditions of distribution and use, see copyright notice in png.h | ||||
|  * Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
|  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngerror.c - stub functions for i/o and memory allocation
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
							
								
								
									
										2
									
								
								pngget.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pngget.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngget.c - retrieval of values from info struct
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
							
								
								
									
										2
									
								
								pngmem.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pngmem.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngmem.c - stub functions for memory allocation
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngpread.c - read a png file in push mode
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngpriv.h - private declarations for use inside libpng
 | ||||
|  * | ||||
|  * libpng version 1.4.0beta102 - November 15, 2009 | ||||
|  * libpng version 1.4.0beta102 - November 18, 2009 | ||||
|  * For conditions of distribution and use, see copyright notice in png.h | ||||
|  * Copyright (c) 1998-2009 Glenn Randers-Pehrson | ||||
|  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngread.c - read a PNG file
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
							
								
								
									
										2
									
								
								pngrio.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pngrio.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngrio.c - functions for data input
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngrtran.c - transforms the data in a row for PNG readers
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngrutil.c - utilities to read a PNG file
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
							
								
								
									
										2
									
								
								pngset.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pngset.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngset.c - storage of image information into info struct
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngtest.c - a simple test program to test libpng
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngtrans.c - transforms the data in a row (used by both readers and writers)
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
							
								
								
									
										2
									
								
								pngwio.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pngwio.c
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngwio.c - functions for data output
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngwrite.c - general routines to write a PNG file
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngwtran.c - transforms the data in a row for PNG writers
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| /* pngwutil.c - utilities to write a PNG file
 | ||||
|  * | ||||
|  * Last changed in libpng 1.4.0 [November 15, 2009] | ||||
|  * Last changed in libpng 1.4.0 [November 18, 2009] | ||||
|  * Copyright (c) 1998-2009 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.) | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| 
 | ||||
| Makefiles for  libpng version 1.4.0beta102 - November 15, 2009 | ||||
| Makefiles for  libpng version 1.4.0beta102 - November 18, 2009 | ||||
| 
 | ||||
|  makefile.linux    =>  Linux/ELF makefile | ||||
|                        (gcc, creates libpng14.so.14.1.4.0beta102) | ||||
| @ -59,7 +59,7 @@ Other supporting scripts: | ||||
|  libpng-config-head.in => used by several makefiles to create libpng-config | ||||
|  libpng.pc.in      =>  Used by several makefiles to create libpng.pc | ||||
|  pngos2.def        =>  OS/2 module definition file used by makefile.os2 | ||||
|  pngwin.def        =>  Module definition file for makefile.cygwin and mingw | ||||
|  pngwin.def        =>  Module definitions for makefile.cygwin and mingw | ||||
|  png32ce.def       =>  Module definition file used by makefile.cegcc | ||||
|  pngwin.rc         =>  Used by the visualc6 and visualc71 projects. | ||||
|  SCOPTIONS.ppc     =>  Used with smakefile.ppc | ||||
|  | ||||
							
								
								
									
										251
									
								
								scripts/makefile.solaris-x86
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										251
									
								
								scripts/makefile.solaris-x86
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,251 @@ | ||||
| # makefile for libpng on Solaris 2.x with gcc | ||||
| # Copyright (C) 2004, 2006-2008 Glenn Randers-Pehrson | ||||
| # Contributed by William L. Sebok, based on makefile.linux | ||||
| # Copyright (C) 1998 Greg Roelofs | ||||
| # Copyright (C) 1996, 1997 Andreas Dilger | ||||
| 
 | ||||
| # This code is released under the libpng license. | ||||
| # For conditions of distribution and use, see the disclaimer | ||||
| # and license in png.h | ||||
| 
 | ||||
| # Library name: | ||||
| LIBNAME = libpng14 | ||||
| PNGMAJ = 14 | ||||
| PNGMIN = 1.4.0beta102 | ||||
| PNGVER = $(PNGMAJ).$(PNGMIN) | ||||
| 
 | ||||
| # Shared library names: | ||||
| LIBSO=$(LIBNAME).so | ||||
| LIBSOMAJ=$(LIBNAME).so.$(PNGMAJ) | ||||
| LIBSOVER=$(LIBNAME).so.$(PNGVER) | ||||
| OLDSO=libpng.so | ||||
| OLDSOMAJ=libpng.so.14 | ||||
| OLDSOVER=libpng.so.14.$(PNGMIN) | ||||
| 
 | ||||
| # Utilities: | ||||
| AR_RC=ar rc | ||||
| CC=gcc | ||||
| MKDIR_P=mkdir -p | ||||
| LN_SF=ln -f -s | ||||
| RANLIB=echo | ||||
| RM_F=/bin/rm -f | ||||
| 
 | ||||
| # Where make install puts libpng.a, libpng14.so*, and png.h | ||||
| prefix=/usr/local | ||||
| exec_prefix=$(prefix) | ||||
| 
 | ||||
| # Where the zlib library and include files are located | ||||
| # Changing these to ../zlib poses a security risk.  If you want | ||||
| # to have zlib in an adjacent directory, specify the full path instead of "..". | ||||
| #ZLIBLIB=../zlib | ||||
| #ZLIBINC=../zlib | ||||
| 
 | ||||
| ZLIBLIB=/usr/local/lib | ||||
| ZLIBINC=/usr/local/include | ||||
| 
 | ||||
| WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \ | ||||
| 	-Wmissing-declarations -Wtraditional -Wcast-align \ | ||||
| 	-Wstrict-prototypes -Wmissing-prototypes #-Wconversion | ||||
| CFLAGS=-I$(ZLIBINC) -W -Wall -O \ | ||||
| 	# $(WARNMORE) -g -DPNG_DEBUG=5 | ||||
| LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng14 -lz -lm | ||||
| 
 | ||||
| INCPATH=$(prefix)/include | ||||
| LIBPATH=$(exec_prefix)/lib | ||||
| MANPATH=$(prefix)/man | ||||
| BINPATH=$(exec_prefix)/bin | ||||
| 
 | ||||
| # override DESTDIR= on the make install command line to easily support | ||||
| # installing into a temporary location.  Example: | ||||
| # | ||||
| #    make install DESTDIR=/tmp/build/libpng | ||||
| # | ||||
| # If you're going to install into a temporary location | ||||
| # via DESTDIR, $(DESTDIR)$(prefix) must already exist before | ||||
| # you execute make install. | ||||
| DESTDIR= | ||||
| 
 | ||||
| DB=$(DESTDIR)$(BINPATH) | ||||
| DI=$(DESTDIR)$(INCPATH) | ||||
| DL=$(DESTDIR)$(LIBPATH) | ||||
| DM=$(DESTDIR)$(MANPATH) | ||||
| 
 | ||||
| OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ | ||||
| 	pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ | ||||
| 	pngwtran.o pngmem.o pngerror.o pngpread.o | ||||
| 
 | ||||
| OBJSDLL = $(OBJS:.o=.pic.o) | ||||
| 
 | ||||
| .SUFFIXES:      .c .o .pic.o | ||||
| 
 | ||||
| .c.pic.o: | ||||
| 	$(CC) -c $(CFLAGS) -fPIC -o $@ $*.c | ||||
| 
 | ||||
| all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config | ||||
| 
 | ||||
| libpng.a: $(OBJS) | ||||
| 	$(AR_RC) $@ $(OBJS) | ||||
| 	$(RANLIB) $@ | ||||
| 
 | ||||
| libpng.pc: | ||||
| 	cat scripts/libpng.pc.in | sed -e s!@prefix@!$(prefix)! \ | ||||
| 	-e s!@exec_prefix@!$(exec_prefix)! \ | ||||
| 	-e s!@libdir@!$(LIBPATH)! \ | ||||
| 	-e s!@includedir@!$(INCPATH)! \ | ||||
| 	-e s!-lpng14!-lpng14\ -lz\ -lm! > libpng.pc | ||||
| 
 | ||||
| libpng-config: | ||||
| 	( cat scripts/libpng-config-head.in; \ | ||||
| 	echo prefix=\"$(prefix)\"; \ | ||||
| 	echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \ | ||||
| 	echo cppflags=\""; \ | ||||
| 	echo L_opts=\"-L$(LIBPATH)\"; \ | ||||
| 	echo R_opts=\"-R$(LIBPATH)\"; \ | ||||
| 	echo libs=\"-lpng14 -lz -lm\"; \ | ||||
| 	cat scripts/libpng-config-body.in ) > libpng-config | ||||
| 	chmod +x libpng-config | ||||
| 
 | ||||
| $(LIBSO): $(LIBSOMAJ) | ||||
| 	$(LN_SF) $(LIBSOMAJ) $(LIBSO) | ||||
| 
 | ||||
| $(LIBSOMAJ): $(LIBSOVER) | ||||
| 	$(LN_SF) $(LIBSOVER) $(LIBSOMAJ) | ||||
| 
 | ||||
| $(LIBSOVER): $(OBJSDLL) | ||||
| 	@case "`type ld`" in *ucb*) \ | ||||
| 	echo; \ | ||||
| 	echo '## WARNING:'; \ | ||||
| 	echo '## The commands "CC" and "LD" must NOT refer to /usr/ucb/cc'; \ | ||||
| 	echo '## and /usr/ucb/ld.  If they do, you need to adjust your PATH'; \ | ||||
| 	echo '## environment variable to put /usr/ccs/bin ahead of /usr/ucb.'; \ | ||||
| 	echo '## The environment variable LD_LIBRARY_PATH should not be set'; \ | ||||
| 	echo '## at all.  If it is, things are likely to break because of'; \ | ||||
| 	echo '## the libucb dependency that is created.'; \ | ||||
| 	echo; \ | ||||
| 	;; \ | ||||
| 	esac | ||||
| 	$(LD) -G -h $(LIBSOMAJ) \ | ||||
| 	 -o $(LIBSOVER) $(OBJSDLL) | ||||
| 
 | ||||
| $(OLDSOVER): $(OBJS) | ||||
| 	$(LD) -G -h $(OLDSOMAJ) \ | ||||
| 	 -o $(OLDSOVER) $(OBJSDLL) | ||||
| 
 | ||||
| pngtest: pngtest.o $(LIBSO) | ||||
| 	$(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) | ||||
| 
 | ||||
| test: pngtest | ||||
| 	./pngtest | ||||
| 
 | ||||
| install-headers: png.h pngconf.h | ||||
| 	-@if [ ! -d $(DI) ]; then $(MKDIR_P) $(DI); fi | ||||
| 	-@if [ ! -d $(DI)/$(LIBNAME) ]; then $(MKDIR_P) $(DI)/$(LIBNAME); fi | ||||
| 	cp png.h pngconf.h $(DI)/$(LIBNAME) | ||||
| 	chmod 644 $(DI)/$(LIBNAME)/png.h $(DI)/$(LIBNAME)/pngconf.h | ||||
| 	-@$(RM_F) $(DI)/png.h $(DI)/pngconf.h | ||||
| 	-@$(RM_F) $(DI)/libpng | ||||
| 	(cd $(DI); $(LN_SF) $(LIBNAME) libpng; $(LN_SF) $(LIBNAME)/* .) | ||||
| 
 | ||||
| install-static: install-headers libpng.a | ||||
| 	-@if [ ! -d $(DL) ]; then $(MKDIR_P) $(DL); fi | ||||
| 	cp libpng.a $(DL)/$(LIBNAME).a | ||||
| 	chmod 644 $(DL)/$(LIBNAME).a | ||||
| 	-@$(RM_F) $(DL)/libpng.a | ||||
| 	(cd $(DL); $(LN_SF) $(LIBNAME).a libpng.a) | ||||
| 
 | ||||
| install-shared: install-headers $(LIBSOVER) libpng.pc \ | ||||
| 	$(OLDSOVER) | ||||
| 	-@if [ ! -d $(DL) ]; then $(MKDIR_P) $(DL); fi | ||||
| 	-@$(RM_F) $(DL)/$(LIBSOVER)* $(DL)/$(LIBSO) | ||||
| 	-@$(RM_F) $(DL)/$(LIBSOMAJ) | ||||
| 	-@$(RM_F) $(DL)/$(OLDSO) | ||||
| 	-@$(RM_F) $(DL)/$(OLDSOMAJ) | ||||
| 	-@$(RM_F) $(DL)/$(OLDSOVER)* | ||||
| 	cp $(LIBSOVER) $(DL) | ||||
| 	cp $(OLDSOVER) $(DL) | ||||
| 	chmod 755 $(DL)/$(LIBSOVER) | ||||
| 	chmod 755 $(DL)/$(OLDSOVER) | ||||
| 	(cd $(DL); \ | ||||
| 	$(LN_SF) $(OLDSOVER) $(OLDSOMAJ); \ | ||||
| 	$(LN_SF) $(OLDSOMAJ) $(OLDSO); \ | ||||
| 	$(LN_SF) $(LIBSOVER) $(LIBSO); \ | ||||
| 	$(LN_SF) $(LIBSOVER) $(LIBSOMAJ)) | ||||
| 	-@if [ ! -d $(DL)/pkgconfig ]; then $(MKDIR_P) $(DL)/pkgconfig; fi | ||||
| 	-@$(RM_F) $(DL)/pkgconfig/$(LIBNAME).pc | ||||
| 	-@$(RM_F) $(DL)/pkgconfig/libpng.pc | ||||
| 	cp libpng.pc $(DL)/pkgconfig/$(LIBNAME).pc | ||||
| 	chmod 644 $(DL)/pkgconfig/$(LIBNAME).pc | ||||
| 	(cd $(DL)/pkgconfig; $(LN_SF) $(LIBNAME).pc libpng.pc) | ||||
| 
 | ||||
| install-man: libpng.3 libpngpf.3 png.5 | ||||
| 	-@if [ ! -d $(DM) ]; then $(MKDIR_P) $(DM); fi | ||||
| 	-@if [ ! -d $(DM)/man3 ]; then $(MKDIR_P) $(DM)/man3; fi | ||||
| 	-@$(RM_F) $(DM)/man3/libpng.3 | ||||
| 	-@$(RM_F) $(DM)/man3/libpngpf.3 | ||||
| 	cp libpng.3 $(DM)/man3 | ||||
| 	cp libpngpf.3 $(DM)/man3 | ||||
| 	-@if [ ! -d $(DM)/man5 ]; then $(MKDIR_P) $(DM)/man5; fi | ||||
| 	-@$(RM_F) $(DM)/man5/png.5 | ||||
| 	cp png.5 $(DM)/man5 | ||||
| 
 | ||||
| install-config: libpng-config | ||||
| 	-@if [ ! -d $(DB) ]; then $(MKDIR_P) $(DB); fi | ||||
| 	-@$(RM_F) $(DB)/libpng-config | ||||
| 	-@$(RM_F) $(DB)/$(LIBNAME)-config | ||||
| 	cp libpng-config $(DB)/$(LIBNAME)-config | ||||
| 	chmod 755 $(DB)/$(LIBNAME)-config | ||||
| 	(cd $(DB); $(LN_SF) $(LIBNAME)-config libpng-config) | ||||
| 
 | ||||
| install: install-static install-shared install-man install-config | ||||
| 
 | ||||
| # If you installed in $(DESTDIR), test-installed won't work until you | ||||
| # move the library to its final location.  Use test-dd to test it | ||||
| # before then. | ||||
| 
 | ||||
| test-dd: | ||||
| 	echo | ||||
| 	echo Testing installed dynamic shared library in $(DL). | ||||
| 	$(CC) -I$(DI) -I$(ZLIBINC) \ | ||||
| 	   `$(BINPATH)/$(LIBNAME)-config --cflags` pngtest.c \ | ||||
| 	   -o pngtestd `$(BINPATH)/$(LIBNAME)-config --ldflags` \ | ||||
| 	   -L$(DL) -L$(ZLIBLIB) -R$(ZLIBLIB) -R$(DL) | ||||
| 	./pngtestd pngtest.png | ||||
| 
 | ||||
| test-installed: | ||||
| 	echo | ||||
| 	echo Testing installed dynamic shared library. | ||||
| 	$(CC) -I$(ZLIBINC) \ | ||||
| 	   `$(BINPATH)/$(LIBNAME)-config --cflags` pngtest.c \ | ||||
| 	   -o pngtesti `$(BINPATH)/$(LIBNAME)-config --ldflags` \ | ||||
| 	   -L$(ZLIBLIB) -R$(ZLIBLIB) | ||||
| 	./pngtesti pngtest.png | ||||
| 
 | ||||
| clean: | ||||
| 	$(RM_F) *.o libpng.a pngtest pngtesti pngout.png \ | ||||
| 	libpng-config $(LIBSO) $(LIBSOMAJ)* \ | ||||
| 	$(OLDSOVER) \ | ||||
| 	libpng.pc | ||||
| 
 | ||||
| DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO | ||||
| writelock: | ||||
| 	chmod a-w *.[ch35] $(DOCS) scripts/* | ||||
| 
 | ||||
| # DO NOT DELETE THIS LINE -- make depend depends on it. | ||||
| 
 | ||||
| png.o png.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngerror.o pngerror.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngrio.o pngrio.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngwio.o pngwio.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngmem.o pngmem.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngset.o pngset.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngget.o pngget.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngread.o pngread.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngrtran.o pngrtran.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngrutil.o pngrutil.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngtrans.o pngtrans.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngwrite.o pngwrite.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngwtran.o pngwtran.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngwutil.o pngwutil.pic.o: png.h pngconf.h pngpriv.h | ||||
| pngpread.o pngpread.pic.o: png.h pngconf.h pngpriv.h | ||||
| 
 | ||||
| pngtest.o: png.h pngconf.h | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Glenn Randers-Pehrson
						Glenn Randers-Pehrson