Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
[libpng15] Imported from libpng-1.5.8beta01.tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Randers-Pehrson committed Jan 15, 2012
1 parent 9287447 commit ea8d0b9
Show file tree
Hide file tree
Showing 29 changed files with 119 additions and 103 deletions.
8 changes: 6 additions & 2 deletions ANNOUNCE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Libpng 1.5.8beta01 - December 21, 2011
Libpng 1.5.8beta01 - January 15, 2012

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.
Expand All @@ -26,9 +26,13 @@ Other information:

Changes since the last public release (1.5.7):

Version 1.5.8beta01 [December 21, 2011]
Version 1.5.8beta01 [January 15, 2012]
Removed '#include config.h"' from contrib/libtests/pngvalid.c. It's not
needed and causes trouble for VPATH building.
Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
location in configure.ac (Gilles Espinasse).
Fix bug in pngerror.c: some long warnings were being improperly truncated
(bug introduced in libpng-1.5.3beta05).

Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
Expand Down
6 changes: 5 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3776,9 +3776,13 @@ Version 1.5.7 [December 15, 2011]
Minor fixes to pngvalid.c for gcc 4.6.2 compatibility to remove warnings
reported by earlier versions.

Version 1.5.8beta01 [December 21, 2011]
Version 1.5.8beta01 [January 15, 2012]
Removed '#include config.h"' from contrib/libtests/pngvalid.c. It's not
needed and causes trouble for VPATH building.
Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
location in configure.ac (Gilles Espinasse).
Fix bug in pngerror.c: some long warnings were being improperly truncated
(bug introduced in libpng-1.5.3beta05).

Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enable_testing()

set(PNGLIB_MAJOR 1)
set(PNGLIB_MINOR 5)
set(PNGLIB_RELEASE 7)
set(PNGLIB_RELEASE 8)
set(PNGLIB_NAME libpng${PNGLIB_MAJOR}${PNGLIB_MINOR})
set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_RELEASE})

Expand Down Expand Up @@ -229,7 +229,7 @@ endif(NOT WIN32 OR CYGWIN OR MINGW)
# SET UP LINKS
if(PNG_SHARED)
set_target_properties(${PNG_LIB_NAME} PROPERTIES
# VERSION 15.${PNGLIB_RELEASE}.1.5.7
# VERSION 15.${PNGLIB_RELEASE}.1.5.8beta01
VERSION 15.${PNGLIB_RELEASE}.0
SOVERSION 15
CLEAN_DIRECT_OUTPUT 1)
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ this sentence.

This code is released under the libpng license.

libpng versions 1.2.6, August 15, 2004, through 1.5.7, December 15, 2011, are
libpng versions 1.2.6, August 15, 2004, through 1.5.8beta01, January 15, 2012, are
Copyright (c) 2004, 2006-2011 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
Expand Down Expand Up @@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.

Glenn Randers-Pehrson
glennrp at users.sourceforge.net
December 15, 2011
January 15, 2012
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README for libpng version 1.5.7 - December 15, 2011 (shared library 15.0)
README for libpng version 1.5.8beta01 - January 15, 2012 (shared library 15.0)
See the note about version numbers near the top of png.h

See INSTALL for instructions on how to install libpng.
Expand Down
24 changes: 12 additions & 12 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for libpng 1.5.7.
# Generated by GNU Autoconf 2.68 for libpng 1.5.8beta01.
#
# Report bugs to <png-mng-implement@lists.sourceforge.net>.
#
Expand Down Expand Up @@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libpng'
PACKAGE_TARNAME='libpng'
PACKAGE_VERSION='1.5.7'
PACKAGE_STRING='libpng 1.5.7'
PACKAGE_VERSION='1.5.8beta01'
PACKAGE_STRING='libpng 1.5.8beta01'
PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
PACKAGE_URL=''

Expand Down Expand Up @@ -1320,7 +1320,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libpng 1.5.7 to adapt to many kinds of systems.
\`configure' configures libpng 1.5.8beta01 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1390,7 +1390,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libpng 1.5.7:";;
short | recursive ) echo "Configuration of libpng 1.5.8beta01:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1501,7 +1501,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libpng configure 1.5.7
libpng configure 1.5.8beta01
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1924,7 +1924,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpng $as_me 1.5.7, which was
It was created by libpng $as_me 1.5.8beta01, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2739,7 +2739,7 @@ fi

# Define the identity of the package.
PACKAGE='libpng'
VERSION='1.5.7'
VERSION='1.5.8beta01'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -2803,10 +2803,10 @@ fi



PNGLIB_VERSION=1.5.7
PNGLIB_VERSION=1.5.8beta01
PNGLIB_MAJOR=1
PNGLIB_MINOR=5
PNGLIB_RELEASE=7
PNGLIB_RELEASE=8



Expand Down Expand Up @@ -13414,7 +13414,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libpng $as_me 1.5.7, which was
This file was extended by libpng $as_me 1.5.8beta01, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -13480,7 +13480,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
libpng config.status 1.5.7
libpng config.status 1.5.8beta01
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down
9 changes: 4 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ AC_PREREQ(2.59)

dnl Version number stuff here:

AC_INIT([libpng], [1.5.7], [png-mng-implement@lists.sourceforge.net])
AC_INIT([libpng], [1.5.8beta01], [png-mng-implement@lists.sourceforge.net])
AM_INIT_AUTOMAKE
dnl stop configure from automagically running automake
AM_MAINTAINER_MODE

PNGLIB_VERSION=1.5.7
PNGLIB_VERSION=1.5.8beta01
PNGLIB_MAJOR=1
PNGLIB_MINOR=5
PNGLIB_RELEASE=7
PNGLIB_RELEASE=8

dnl End of version number stuff

Expand Down Expand Up @@ -101,8 +101,6 @@ LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG
LIBPNG_DEFINES=$LIBPNG_DEFINES
AC_SUBST(LIBPNG_DEFINES)

AC_MSG_CHECKING([if libraries can be versioned])

AC_MSG_CHECKING([if using Solaris linker])
SLD=`$LD --version 2>&1 | grep Solaris`
if test "$SLD"; then
Expand All @@ -114,6 +112,7 @@ else
fi
AM_CONDITIONAL(HAVE_SOLARIS_LD, test "$have_solaris_ld" = "yes")

AC_MSG_CHECKING([if libraries can be versioned])
# Special case for PE/COFF platforms: ld reports
# support for version-script, but doesn't actually
# DO anything with it.
Expand Down
2 changes: 1 addition & 1 deletion contrib/libtests/pngvalid.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* pngvalid.c - validate libpng by constructing then reading png files.
*
* Last changed in libpng 1.5.8 [%RDATE%]
* Copyright (c) 2011 Glenn Randers-Pehrson
* Copyright (c) 2012 Glenn Randers-Pehrson
* Written by John Cunningham Bowler
*
* This code is released under the libpng license.
Expand Down
8 changes: 4 additions & 4 deletions libpng-manual.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libpng-manual.txt - A description on how to use and modify libpng

libpng version 1.5.7 - December 15, 2011
libpng version 1.5.8beta01 - January 15, 2012
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2011 Glenn Randers-Pehrson
Expand All @@ -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.5.7 - December 15, 2011
libpng versions 0.97, January 1998, through 1.5.8beta01 - January 15, 2012
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson

Expand Down Expand Up @@ -4573,13 +4573,13 @@ Other rules can be inferred by inspecting the libpng source.

XIV. Y2K Compliance in libpng

December 15, 2011
January 15, 2012

Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.

This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.7 are Y2K compliant. It is my belief that earlier
upward through 1.5.8beta01 are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.

Libpng only has three year fields. One is a 2-byte unsigned integer that
Expand Down
19 changes: 10 additions & 9 deletions libpng.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH LIBPNG 3 "December 15, 2011"
.TH LIBPNG 3 "January 15, 2012"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.7
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.8beta01
.SH SYNOPSIS
\fI\fB

Expand Down Expand Up @@ -977,7 +977,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.5.7 - December 15, 2011
libpng version 1.5.8beta01 - January 15, 2012
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2011 Glenn Randers-Pehrson
Expand All @@ -988,7 +988,7 @@ libpng-manual.txt - A description on how to use and modify libpng

Based on:

libpng versions 0.97, January 1998, through 1.5.7 - December 15, 2011
libpng versions 0.97, January 1998, through 1.5.8beta01 - January 15, 2012
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson

Expand Down Expand Up @@ -5551,13 +5551,13 @@ Other rules can be inferred by inspecting the libpng source.

.SH XIV. Y2K Compliance in libpng

December 15, 2011
January 15, 2012

Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.

This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.7 are Y2K compliant. It is my belief that earlier
upward through 1.5.8beta01 are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.

Libpng only has three year fields. One is a 2-byte unsigned integer that
Expand Down Expand Up @@ -5762,6 +5762,7 @@ the first widely used release:
1.5.7beta01-05 15 10507 15.so.15.7[.0]
1.5.7rc01-03 15 10507 15.so.15.7[.0]
1.5.7 15 10507 15.so.15.7[.0]
1.5.8beta01 15 10508 15.so.15.8[.0]

Henceforth the source version will match the shared-library minor
and patch numbers; the shared-library major version number will be
Expand Down Expand Up @@ -5818,7 +5819,7 @@ possible without all of you.

Thanks to Frank J. T. Wojcik for helping with the documentation.

Libpng version 1.5.7 - December 15, 2011:
Libpng version 1.5.8beta01 - January 15, 2012:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).

Expand All @@ -5841,7 +5842,7 @@ this sentence.

This code is released under the libpng license.

libpng versions 1.2.6, August 15, 2004, through 1.5.7, December 15, 2011, are
libpng versions 1.2.6, August 15, 2004, through 1.5.8beta01, January 15, 2012, 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
Expand Down Expand Up @@ -5940,7 +5941,7 @@ certification mark of the Open Source Initiative.

Glenn Randers-Pehrson
glennrp at users.sourceforge.net
December 15, 2011
January 15, 2012

.\" end of man page

4 changes: 2 additions & 2 deletions libpngpf.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH LIBPNGPF 3 "December 15, 2011"
.TH LIBPNGPF 3 "January 15, 2012"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.7
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.8beta01
(private functions)
.SH SYNOPSIS
\fB#include \fI"pngpriv.h"
Expand Down
2 changes: 1 addition & 1 deletion png.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PNG 5 "December 15, 2011"
.TH PNG 5 "January 15, 2012"
.SH NAME
png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION
Expand Down
6 changes: 3 additions & 3 deletions png.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "pngpriv.h"

/* Generate a compiler error if there is an old png.h in the search path. */
typedef png_libpng_version_1_5_7 Your_png_h_is_not_version_1_5_7;
typedef png_libpng_version_1_5_8beta01 Your_png_h_is_not_version_1_5_8beta01;

/* Tells libpng that we have already handled the first "num_bytes" bytes
* of the PNG file signature. If the PNG data is embedded into another
Expand Down Expand Up @@ -655,13 +655,13 @@ png_get_copyright(png_const_structp png_ptr)
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
"libpng version 1.5.7 - December 15, 2011" PNG_STRING_NEWLINE \
"libpng version 1.5.8beta01 - January 15, 2012" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2011 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.5.7 - December 15, 2011\
return "libpng version 1.5.8beta01 - January 15, 2012\
Copyright (c) 1998-2011 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
Expand Down
Loading

0 comments on commit ea8d0b9

Please sign in to comment.