mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Minor editing of INSTALL, (whitespace, added copyright line)
This commit is contained in:
parent
6d610b9c4d
commit
b555c55c6d
5
ANNOUNCE
5
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.5.28beta01 - August 2, 2016
|
Libpng 1.5.28beta01 - August 18, 2016
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
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.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -26,12 +26,13 @@ Other information:
|
|||||||
|
|
||||||
Changes since the last public release (1.5.27):
|
Changes since the last public release (1.5.27):
|
||||||
|
|
||||||
version 1.5.28beta01 [August 2, 2016]
|
version 1.5.28beta01 [August 18, 2016]
|
||||||
Merge with current libpng16 pngvalid.c
|
Merge with current libpng16 pngvalid.c
|
||||||
Fixed undefined behavior in png_push_save_buffer(). Do not call
|
Fixed undefined behavior in png_push_save_buffer(). Do not call
|
||||||
memcpy() with a null source, even if count is zero (Leon Scroggins III).
|
memcpy() with a null source, even if count is zero (Leon Scroggins III).
|
||||||
Added "Common linking failures" section to INSTALL.
|
Added "Common linking failures" section to INSTALL.
|
||||||
Merge contrib/pngminim/*/makefile with libpng-1.6.24
|
Merge contrib/pngminim/*/makefile with libpng-1.6.24
|
||||||
|
Minor editing of INSTALL, (whitespace, added copyright line)
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
3
CHANGES
3
CHANGES
@ -4496,12 +4496,13 @@ version 1.5.27rc01 [May 14, 2016]
|
|||||||
version 1.5.27 [May 26, 2016]
|
version 1.5.27 [May 26, 2016]
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
version 1.5.28beta01 [August 2, 2016]
|
version 1.5.28beta01 [August 18, 2016]
|
||||||
Merge with current libpng16 pngvalid.c
|
Merge with current libpng16 pngvalid.c
|
||||||
Fixed undefined behavior in png_push_save_buffer(). Do not call
|
Fixed undefined behavior in png_push_save_buffer(). Do not call
|
||||||
memcpy() with a null source, even if count is zero (Leon Scroggins III).
|
memcpy() with a null source, even if count is zero (Leon Scroggins III).
|
||||||
Added "Common linking failures" section to INSTALL.
|
Added "Common linking failures" section to INSTALL.
|
||||||
Merge contrib/pngminim/*/makefile with libpng-1.6.24
|
Merge contrib/pngminim/*/makefile with libpng-1.6.24
|
||||||
|
Minor editing of INSTALL, (whitespace, added copyright line)
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
87
INSTALL
87
INSTALL
@ -1,25 +1,25 @@
|
|||||||
|
|
||||||
Installing libpng
|
Installing libpng
|
||||||
|
|
||||||
Contents
|
Contents
|
||||||
|
|
||||||
I. Simple installation
|
I. Simple installation
|
||||||
II. Rebuilding the configure scripts
|
II. Rebuilding the configure scripts
|
||||||
III. Using scripts/makefile*
|
III. Using scripts/makefile*
|
||||||
IV. Using cmake
|
IV. Using cmake
|
||||||
V. Directory structure
|
V. Directory structure
|
||||||
VI. Building with project files
|
VI. Building with project files
|
||||||
VII. Building with makefiles
|
VII. Building with makefiles
|
||||||
VIII. Configuring libpng for 16-bit platforms
|
VIII. Configuring libpng for 16-bit platforms
|
||||||
IX. Configuring for DOS
|
IX. Configuring for DOS
|
||||||
X. Configuring for Medium Model
|
X. Configuring for Medium Model
|
||||||
XI. Omitted
|
XI. Omitted
|
||||||
XII. Configuring for compiler xxx:
|
XII. Configuring for compiler xxx:
|
||||||
XIII. Removing unwanted object code
|
XIII. Removing unwanted object code
|
||||||
XIV. Changes to the build and configuration of libpng in libpng-1.5.x
|
XIV. Changes to the build and configuration of libpng in libpng-1.5.x
|
||||||
XV. Setjmp/longjmp issues
|
XV. Setjmp/longjmp issues
|
||||||
XVI. Common linking failures
|
XVI. Common linking failures
|
||||||
XVII. Other sources of information about libpng
|
XVII. Other sources of information about libpng
|
||||||
|
|
||||||
I. Simple installation
|
I. Simple installation
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ Or you can use one of the "projects" in the "projects" directory.
|
|||||||
Before installing libpng, you must first install zlib, if it
|
Before installing libpng, you must first install zlib, if it
|
||||||
is not already on your system. zlib can usually be found
|
is not already on your system. zlib can usually be found
|
||||||
wherever you got libpng; otherwise go to http://zlib.net. You can place
|
wherever you got libpng; otherwise go to http://zlib.net. You can place
|
||||||
zlib in in the same directory as libpng or in another directory.
|
zlib in the same directory as libpng or in another directory.
|
||||||
|
|
||||||
If your system already has a preinstalled zlib you will still need
|
If your system already has a preinstalled zlib you will still need
|
||||||
to have access to the zlib.h and zconf.h include files that
|
to have access to the zlib.h and zconf.h include files that
|
||||||
@ -90,22 +90,24 @@ standard library search path, put ZLIBLIB, ZLIBINC, CPPFLAGS, LDFLAGS,
|
|||||||
and LD_LIBRARY_PATH in your environment before running "make test"
|
and LD_LIBRARY_PATH in your environment before running "make test"
|
||||||
or "make distcheck":
|
or "make distcheck":
|
||||||
|
|
||||||
ZLIBLIB=/path/to/lib export ZLIBLIB
|
ZLIBLIB=/path/to/lib export ZLIBLIB
|
||||||
ZLIBINC=/path/to/include export ZLIBINC
|
ZLIBINC=/path/to/include export ZLIBINC
|
||||||
CPPFLAGS="-I$ZLIBINC" export CPPFLAGS
|
CPPFLAGS="-I$ZLIBINC" export CPPFLAGS
|
||||||
LDFLAGS="-L$ZLIBLIB" export LDFLAGS
|
LDFLAGS="-L$ZLIBLIB" export LDFLAGS
|
||||||
LD_LIBRARY_PATH="$ZLIBLIB:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH
|
LD_LIBRARY_PATH="$ZLIBLIB:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH
|
||||||
|
|
||||||
If you are using one of the makefile scripts, put ZLIBLIB and ZLIBINC
|
If you are using one of the makefile scripts, put ZLIBLIB and ZLIBINC
|
||||||
in your environment and type "make ZLIBLIB=$ZLIBLIB ZLIBINC=$ZLIBINC test".
|
in your environment and type
|
||||||
|
|
||||||
|
make ZLIBLIB=$ZLIBLIB ZLIBINC=$ZLIBINC test
|
||||||
|
|
||||||
IV. Using cmake
|
IV. Using cmake
|
||||||
|
|
||||||
If you want to use "cmake" (see www.cmake.org), type
|
If you want to use "cmake" (see www.cmake.org), type
|
||||||
|
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX=/path
|
cmake . -DCMAKE_INSTALL_PREFIX=/path
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
As when using the simple configure method described above, "/path" points to
|
As when using the simple configure method described above, "/path" points to
|
||||||
the installation directory where you want to put the libpng "lib", "include",
|
the installation directory where you want to put the libpng "lib", "include",
|
||||||
@ -119,7 +121,7 @@ or "zlib128") so that you have directories called "zlib" and "libpng".
|
|||||||
|
|
||||||
Your directory structure should look like this:
|
Your directory structure should look like this:
|
||||||
|
|
||||||
.. (the parent directory)
|
.. (the parent directory)
|
||||||
libpng (this directory)
|
libpng (this directory)
|
||||||
INSTALL (this file)
|
INSTALL (this file)
|
||||||
README
|
README
|
||||||
@ -131,7 +133,8 @@ Your directory structure should look like this:
|
|||||||
libpng-config.in, aclocal.m4, config.h.in, config.sub,
|
libpng-config.in, aclocal.m4, config.h.in, config.sub,
|
||||||
depcomp, install-sh, mkinstalldirs, test-pngtest.sh
|
depcomp, install-sh, mkinstalldirs, test-pngtest.sh
|
||||||
contrib
|
contrib
|
||||||
gregbook, libtests, pngminim, pngminus, pngsuite, visupng
|
gregbook, libtests, pngminim, pngminus, pngsuite, tools,
|
||||||
|
visupng
|
||||||
projects
|
projects
|
||||||
cbuilder5, owatcom, visualc71, vstudio, xcode
|
cbuilder5, owatcom, visualc71, vstudio, xcode
|
||||||
scripts
|
scripts
|
||||||
@ -162,10 +165,15 @@ VII. Building with makefiles
|
|||||||
Copy the file (or files) that you need from the
|
Copy the file (or files) that you need from the
|
||||||
scripts directory into this directory, for example
|
scripts directory into this directory, for example
|
||||||
|
|
||||||
MSDOS example: copy scripts\makefile.msc makefile
|
MSDOS example:
|
||||||
copy scripts\pnglibconf.h.prebuilt pnglibconf.h
|
|
||||||
UNIX example: cp scripts/makefile.std makefile
|
copy scripts\makefile.msc makefile
|
||||||
cp scripts/pnglibconf.h.prebuilt pnglibconf.h
|
copy scripts\pnglibconf.h.prebuilt pnglibconf.h
|
||||||
|
|
||||||
|
UNIX example:
|
||||||
|
|
||||||
|
cp scripts/makefile.std makefile
|
||||||
|
cp scripts/pnglibconf.h.prebuilt pnglibconf.h
|
||||||
|
|
||||||
Read the makefile to see if you need to change any source or
|
Read the makefile to see if you need to change any source or
|
||||||
target directories to match your preferences.
|
target directories to match your preferences.
|
||||||
@ -232,7 +240,7 @@ libpng are compiled. All the defines end in _SUPPORTED. If you are
|
|||||||
never going to use a capability, you can change the #define to #undef
|
never going to use a capability, you can change the #define to #undef
|
||||||
before recompiling libpng and save yourself code and data space, or
|
before recompiling libpng and save yourself code and data space, or
|
||||||
you can turn off individual capabilities with defines that begin with
|
you can turn off individual capabilities with defines that begin with
|
||||||
PNG_NO_.
|
"PNG_NO_".
|
||||||
|
|
||||||
In libpng-1.5.0 and later, the #define's are in pnglibconf.h instead.
|
In libpng-1.5.0 and later, the #define's are in pnglibconf.h instead.
|
||||||
|
|
||||||
@ -300,7 +308,7 @@ only png_longjmp_ptr, which must match the C longjmp function.) The new
|
|||||||
approach is documented in pngconf.h
|
approach is documented in pngconf.h
|
||||||
|
|
||||||
Despite these changes, libpng 1.5.0 only supports the native C function
|
Despite these changes, libpng 1.5.0 only supports the native C function
|
||||||
calling standard on those platforms tested so far (__cdecl on Microsoft
|
calling standard on those platforms tested so far ("__cdecl" on Microsoft
|
||||||
Windows). This is because the support requirements for alternative
|
Windows). This is because the support requirements for alternative
|
||||||
calling conventions seem to no longer exist. Developers who find it
|
calling conventions seem to no longer exist. Developers who find it
|
||||||
necessary to set PNG_API_RULE to 1 should advise the mailing list
|
necessary to set PNG_API_RULE to 1 should advise the mailing list
|
||||||
@ -364,7 +372,7 @@ your application is going to be using multiple threads, you should
|
|||||||
configure libpng with PNG_NO_SETJMP in your pngusr.dfa file, with
|
configure libpng with PNG_NO_SETJMP in your pngusr.dfa file, with
|
||||||
-DPNG_NO_SETJMP on your compile line, or with
|
-DPNG_NO_SETJMP on your compile line, or with
|
||||||
|
|
||||||
#undef PNG_SETJMP_SUPPORTED
|
#undef PNG_SETJMP_SUPPORTED
|
||||||
|
|
||||||
in your pnglibconf.h or pngusr.h.
|
in your pnglibconf.h or pngusr.h.
|
||||||
|
|
||||||
@ -385,3 +393,8 @@ XVII. Other sources of information about libpng:
|
|||||||
Further information can be found in the README and libpng-manual.txt
|
Further information can be found in the README and libpng-manual.txt
|
||||||
files, in the individual makefiles, in png.h, and the manual pages
|
files, in the individual makefiles, in png.h, and the manual pages
|
||||||
libpng.3 and png.5.
|
libpng.3 and png.5.
|
||||||
|
|
||||||
|
Copyright (c) 1998-2002,2006-2016 Glenn Randers-Pehrson
|
||||||
|
This document is released under the libpng license.
|
||||||
|
For conditions of distribution and use, see the disclaimer
|
||||||
|
and license in png.h.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user