Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
65a22379
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
12 个月 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
65a22379
编写于
3月 03, 2010
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Bump to version libpng-1.5.0beta11
上级
6c2e919c
变更
50
隐藏空白更改
内联
并排
Showing
50 changed file
with
108 addition
and
165 deletion
+108
-165
CMakeLists.txt
CMakeLists.txt
+1
-1
INSTALL
INSTALL
+2
-2
LICENSE
LICENSE
+2
-2
Makefile.am
Makefile.am
+1
-1
Makefile.in
Makefile.in
+1
-1
README
README
+6
-6
configure
configure
+11
-11
configure.ac
configure.ac
+2
-2
contrib/gregbook/readpng2.c
contrib/gregbook/readpng2.c
+1
-33
contrib/gregbook/rpng-win.c
contrib/gregbook/rpng-win.c
+2
-0
contrib/gregbook/rpng-x.c
contrib/gregbook/rpng-x.c
+2
-0
contrib/gregbook/rpng2-win.c
contrib/gregbook/rpng2-win.c
+3
-1
contrib/gregbook/rpng2-x.c
contrib/gregbook/rpng2-x.c
+2
-0
contrib/gregbook/wpng.c
contrib/gregbook/wpng.c
+2
-0
contrib/gregbook/writepng.c
contrib/gregbook/writepng.c
+1
-36
example.c
example.c
+1
-1
libpng-1.5.0beta11.txt
libpng-1.5.0beta11.txt
+5
-5
libpng.3
libpng.3
+11
-11
libpngpf.3
libpngpf.3
+2
-2
png.5
png.5
+1
-1
png.c
png.c
+4
-4
png.h
png.h
+10
-10
pngerror.c
pngerror.c
+1
-1
pngget.c
pngget.c
+1
-1
pnginfo.h
pnginfo.h
+1
-1
pngmem.c
pngmem.c
+1
-1
pngpread.c
pngpread.c
+1
-1
pngpriv.h
pngpriv.h
+1
-1
pngread.c
pngread.c
+1
-1
pngrio.c
pngrio.c
+1
-1
pngrtran.c
pngrtran.c
+1
-1
pngrutil.c
pngrutil.c
+1
-1
pngset.c
pngset.c
+1
-1
pngstruct.h
pngstruct.h
+1
-1
pngtest.c
pngtest.c
+2
-2
pngtrans.c
pngtrans.c
+1
-1
pngwio.c
pngwio.c
+1
-1
pngwrite.c
pngwrite.c
+1
-1
pngwtran.c
pngwtran.c
+1
-1
pngwutil.c
pngwutil.c
+1
-1
projects/xcode/libpng.xcodeproj/project.pbxproj
projects/xcode/libpng.xcodeproj/project.pbxproj
+2
-2
scripts/README.txt
scripts/README.txt
+6
-6
scripts/libpng-config-head.in
scripts/libpng-config-head.in
+1
-1
scripts/libpng.pc.in
scripts/libpng.pc.in
+1
-1
scripts/makefile.ne12bsd
scripts/makefile.ne12bsd
+1
-1
scripts/makefile.netbsd
scripts/makefile.netbsd
+1
-1
scripts/makefile.openbsd
scripts/makefile.openbsd
+1
-1
scripts/png32ce.def
scripts/png32ce.def
+1
-1
scripts/pngos2.def
scripts/pngos2.def
+1
-1
scripts/pngwin.def
scripts/pngwin.def
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
65a22379
...
@@ -209,7 +209,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libpng-config.in
...
@@ -209,7 +209,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libpng-config.in
# SET UP LINKS
# SET UP LINKS
if
(
PNG_SHARED
)
if
(
PNG_SHARED
)
set_target_properties
(
${
PNG_LIB_NAME
}
PROPERTIES
set_target_properties
(
${
PNG_LIB_NAME
}
PROPERTIES
# VERSION 15.${PNGLIB_RELEASE}.1.5.0beta
09
# VERSION 15.${PNGLIB_RELEASE}.1.5.0beta
11
VERSION 15.
${
PNGLIB_RELEASE
}
.0
VERSION 15.
${
PNGLIB_RELEASE
}
.0
SOVERSION 15
SOVERSION 15
CLEAN_DIRECT_OUTPUT 1
)
CLEAN_DIRECT_OUTPUT 1
)
...
...
INSTALL
浏览文件 @
65a22379
Installing libpng version 1.5.0beta
09 - February 19
, 2010
Installing libpng version 1.5.0beta
11 - March 3
, 2010
On Unix/Linux and similar systems, you can simply type
On Unix/Linux and similar systems, you can simply type
...
@@ -46,7 +46,7 @@ to have access to the zlib.h and zconf.h include files that
...
@@ -46,7 +46,7 @@ to have access to the zlib.h and zconf.h include files that
correspond to the version of zlib that's installed.
correspond to the version of zlib that's installed.
You can rename the directories that you downloaded (they
You can rename the directories that you downloaded (they
might be called "libpng-1.5.0beta
09
" or "libpng15" and "zlib-1.2.3"
might be called "libpng-1.5.0beta
11
" or "libpng15" and "zlib-1.2.3"
or "zlib123") so that you have directories called "zlib" and "libpng".
or "zlib123") so that you have directories called "zlib" and "libpng".
Your directory structure should look like this:
Your directory structure should look like this:
...
...
LICENSE
浏览文件 @
65a22379
...
@@ -10,7 +10,7 @@ this sentence.
...
@@ -10,7 +10,7 @@ this sentence.
This code is released under the libpng license.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
09, February 19
, 2010, are
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
11, March 3
, 2010, are
Copyright (c) 2004, 2006-2007 Glenn Randers-Pehrson, and are
Copyright (c) 2004, 2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
with the following individual added to the list of Contributing Authors
...
@@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
...
@@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
glennrp at users.sourceforge.net
February 19
, 2010
March 3
, 2010
Makefile.am
浏览文件 @
65a22379
...
@@ -73,7 +73,7 @@ EXTRA_DIST= \
...
@@ -73,7 +73,7 @@ EXTRA_DIST= \
${srcdir}
/contrib/pngsuite/
*
\
${srcdir}
/contrib/pngsuite/
*
\
${srcdir}
/contrib/visupng/
*
\
${srcdir}
/contrib/visupng/
*
\
$(TESTS)
\
$(TESTS)
\
example.c libpng-1.5.0beta
09
.txt
example.c libpng-1.5.0beta
11
.txt
CLEANFILES
=
pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers
\
CLEANFILES
=
pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers
\
libpng.sym
libpng.sym
...
...
Makefile.in
浏览文件 @
65a22379
...
@@ -333,7 +333,7 @@ EXTRA_DIST = \
...
@@ -333,7 +333,7 @@ EXTRA_DIST = \
${srcdir}
/contrib/pngsuite/
*
\
${srcdir}
/contrib/pngsuite/
*
\
${srcdir}
/contrib/visupng/
*
\
${srcdir}
/contrib/visupng/
*
\
$(TESTS)
\
$(TESTS)
\
example.c libpng-1.5.0beta
09
.txt
example.c libpng-1.5.0beta
11
.txt
CLEANFILES
=
pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers
\
CLEANFILES
=
pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers
\
libpng.sym
libpng.sym
...
...
README
浏览文件 @
65a22379
README for libpng version 1.5.0beta
09 - February 19
, 2010 (shared library 15.0)
README for libpng version 1.5.0beta
11 - March 3
, 2010 (shared library 15.0)
See the note about version numbers near the top of png.h
See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng.
See INSTALL for instructions on how to install libpng.
...
@@ -185,9 +185,9 @@ Files in this distribution:
...
@@ -185,9 +185,9 @@ Files in this distribution:
makefile.std => Generic UNIX makefile (cc, creates static
makefile.std => Generic UNIX makefile (cc, creates static
libpng.a)
libpng.a)
makefile.elf => Linux/ELF makefile symbol versioning,
makefile.elf => Linux/ELF makefile symbol versioning,
gcc, creates libpng15.so.15.1.5.0beta
09
)
gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.linux => Linux/ELF makefile
makefile.linux => Linux/ELF makefile
(gcc, creates libpng15.so.15.1.5.0beta
09
)
(gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.gcc => Generic makefile (gcc, creates static libpng.a)
makefile.gcc => Generic makefile (gcc, creates static libpng.a)
makefile.knr => Archaic UNIX Makefile that converts files with
makefile.knr => Archaic UNIX Makefile that converts files with
ansi2knr (Requires ansi2knr.c from
ansi2knr (Requires ansi2knr.c from
...
@@ -209,12 +209,12 @@ Files in this distribution:
...
@@ -209,12 +209,12 @@ Files in this distribution:
makefile.openbsd => OpenBSD makefile
makefile.openbsd => OpenBSD makefile
makefile.sgi => Silicon Graphics IRIX (cc, creates static lib)
makefile.sgi => Silicon Graphics IRIX (cc, creates static lib)
makefile.sggcc => Silicon Graphics
makefile.sggcc => Silicon Graphics
(gcc, creates libpng15.so.15.1.5.0beta
09
)
(gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.sunos => Sun makefile
makefile.sunos => Sun makefile
makefile.solaris => Solaris 2.X makefile
makefile.solaris => Solaris 2.X makefile
(gcc, creates libpng15.so.15.1.5.0beta
09
)
(gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.so9 => Solaris 9 makefile
makefile.so9 => Solaris 9 makefile
(gcc, creates libpng15.so.15.1.5.0beta
09
)
(gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.32sunu => Sun Ultra 32-bit makefile
makefile.32sunu => Sun Ultra 32-bit makefile
makefile.64sunu => Sun Ultra 64-bit makefile
makefile.64sunu => Sun Ultra 64-bit makefile
makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
...
...
configure
浏览文件 @
65a22379
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for libpng 1.5.0beta
09
.
# Generated by GNU Autoconf 2.65 for libpng 1.5.0beta
11
.
#
#
# Report bugs to <png-mng-implement@lists.sourceforge.net>.
# Report bugs to <png-mng-implement@lists.sourceforge.net>.
#
#
...
@@ -701,8 +701,8 @@ MAKEFLAGS=
...
@@ -701,8 +701,8 @@ MAKEFLAGS=
# Identity of this package.
# Identity of this package.
PACKAGE_NAME
=
'libpng'
PACKAGE_NAME
=
'libpng'
PACKAGE_TARNAME
=
'libpng'
PACKAGE_TARNAME
=
'libpng'
PACKAGE_VERSION
=
'1.5.0beta
09
'
PACKAGE_VERSION
=
'1.5.0beta
11
'
PACKAGE_STRING
=
'libpng 1.5.0beta
09
'
PACKAGE_STRING
=
'libpng 1.5.0beta
11
'
PACKAGE_BUGREPORT
=
'png-mng-implement@lists.sourceforge.net'
PACKAGE_BUGREPORT
=
'png-mng-implement@lists.sourceforge.net'
PACKAGE_URL
=
''
PACKAGE_URL
=
''
...
@@ -1432,7 +1432,7 @@ if test "$ac_init_help" = "long"; then
...
@@ -1432,7 +1432,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# 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.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
cat
<<
_ACEOF
\`
configure' configures libpng 1.5.0beta
09
to adapt to many kinds of systems.
\`
configure' configures libpng 1.5.0beta
11
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
@@ -1502,7 +1502,7 @@ fi
...
@@ -1502,7 +1502,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of libpng 1.5.0beta
09
:"
;;
short
|
recursive
)
echo
"Configuration of libpng 1.5.0beta
11
:"
;;
esac
esac
cat
<<
\
_ACEOF
cat
<<
\
_ACEOF
...
@@ -1607,7 +1607,7 @@ fi
...
@@ -1607,7 +1607,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
cat
<<
\
_ACEOF
libpng configure 1.5.0beta
09
libpng configure 1.5.0beta
11
generated by GNU Autoconf 2.65
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
Copyright (C) 2009 Free Software Foundation, Inc.
...
@@ -2032,7 +2032,7 @@ cat >config.log <<_ACEOF
...
@@ -2032,7 +2032,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
running configure, to aid debugging if configure makes a mistake.
It was created by libpng
$as_me
1.5.0beta
09
, which was
It was created by libpng
$as_me
1.5.0beta
11
, which was
generated by GNU Autoconf 2.65. Invocation command line was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0
$@
$ $0
$@
...
@@ -2840,7 +2840,7 @@ fi
...
@@ -2840,7 +2840,7 @@ fi
# Define the identity of the package.
# Define the identity of the package.
PACKAGE
=
'libpng'
PACKAGE
=
'libpng'
VERSION
=
'1.5.0beta
09
'
VERSION
=
'1.5.0beta
11
'
cat
>>
confdefs.h
<<
_ACEOF
cat
>>
confdefs.h
<<
_ACEOF
...
@@ -2904,7 +2904,7 @@ fi
...
@@ -2904,7 +2904,7 @@ fi
PNGLIB_VERSION
=
1.5.0beta
09
PNGLIB_VERSION
=
1.5.0beta
11
PNGLIB_MAJOR
=
1
PNGLIB_MAJOR
=
1
PNGLIB_MINOR
=
5
PNGLIB_MINOR
=
5
PNGLIB_RELEASE
=
0
PNGLIB_RELEASE
=
0
...
@@ -12027,7 +12027,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
...
@@ -12027,7 +12027,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
# values after options handling.
ac_log="
ac_log="
This file was extended by libpng
$as_me
1.5.0beta
09
, which was
This file was extended by libpng
$as_me
1.5.0beta
11
, which was
generated by GNU Autoconf 2.65. Invocation command line was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
CONFIG_FILES =
$CONFIG_FILES
...
@@ -12093,7 +12093,7 @@ _ACEOF
...
@@ -12093,7 +12093,7 @@ _ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_version="
\\
ac_cs_version="
\\
libpng config.status 1.5.0beta
09
libpng config.status 1.5.0beta
11
configured by
$0
, generated by GNU Autoconf 2.65,
configured by
$0
, generated by GNU Autoconf 2.65,
with options
\\
"
\$
ac_cs_config
\\
"
with options
\\
"
\$
ac_cs_config
\\
"
...
...
configure.ac
浏览文件 @
65a22379
...
@@ -18,12 +18,12 @@ AC_PREREQ(2.59)
...
@@ -18,12 +18,12 @@ AC_PREREQ(2.59)
dnl Version number stuff here:
dnl Version number stuff here:
AC_INIT([libpng], [1.5.0beta
09
], [png-mng-implement@lists.sourceforge.net])
AC_INIT([libpng], [1.5.0beta
11
], [png-mng-implement@lists.sourceforge.net])
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
dnl stop configure from automagically running automake
dnl stop configure from automagically running automake
AM_MAINTAINER_MODE
AM_MAINTAINER_MODE
PNGLIB_VERSION=1.5.0beta
09
PNGLIB_VERSION=1.5.0beta
11
PNGLIB_MAJOR=1
PNGLIB_MAJOR=1
PNGLIB_MINOR=5
PNGLIB_MINOR=5
PNGLIB_RELEASE=0
PNGLIB_RELEASE=0
...
...
contrib/gregbook/readpng2.c
浏览文件 @
65a22379
...
@@ -66,7 +66,6 @@ static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr);
...
@@ -66,7 +66,6 @@ static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr);
static
void
readpng2_row_callback
(
png_structp
png_ptr
,
png_bytep
new_row
,
static
void
readpng2_row_callback
(
png_structp
png_ptr
,
png_bytep
new_row
,
png_uint_32
row_num
,
int
pass
);
png_uint_32
row_num
,
int
pass
);
static
void
readpng2_end_callback
(
png_structp
png_ptr
,
png_infop
info_ptr
);
static
void
readpng2_end_callback
(
png_structp
png_ptr
,
png_infop
info_ptr
);
static
void
readpng2_error_handler
(
png_structp
png_ptr
,
png_const_charp
msg
);
...
@@ -102,7 +101,7 @@ int readpng2_init(mainprog_info *mainprog_ptr)
...
@@ -102,7 +101,7 @@ int readpng2_init(mainprog_info *mainprog_ptr)
/* could also replace libpng warning-handler (final NULL), but no need: */
/* could also replace libpng warning-handler (final NULL), but no need: */
png_ptr
=
png_create_read_struct
(
PNG_LIBPNG_VER_STRING
,
mainprog_ptr
,
png_ptr
=
png_create_read_struct
(
PNG_LIBPNG_VER_STRING
,
mainprog_ptr
,
readpng2_error_handler
,
NULL
);
NULL
,
NULL
);
if
(
!
png_ptr
)
if
(
!
png_ptr
)
return
4
;
/* out of memory */
return
4
;
/* out of memory */
...
@@ -451,34 +450,3 @@ void readpng2_cleanup(mainprog_info *mainprog_ptr)
...
@@ -451,34 +450,3 @@ void readpng2_cleanup(mainprog_info *mainprog_ptr)
mainprog_ptr
->
png_ptr
=
NULL
;
mainprog_ptr
->
png_ptr
=
NULL
;
mainprog_ptr
->
info_ptr
=
NULL
;
mainprog_ptr
->
info_ptr
=
NULL
;
}
}
static
void
readpng2_error_handler
(
png_structp
png_ptr
,
png_const_charp
msg
)
{
mainprog_info
*
mainprog_ptr
;
/* This function, aside from the extra step of retrieving the "error
* pointer" (below) and the fact that it exists within the application
* rather than within libpng, is essentially identical to libpng's
* default error handler. The second point is critical: since both
* setjmp() and longjmp() are called from the same code, they are
* guaranteed to have compatible notions of how big a jmp_buf is,
* regardless of whether _BSD_SOURCE or anything else has (or has not)
* been defined. */
fprintf
(
stderr
,
"readpng2 libpng error: %s
\n
"
,
msg
);
fflush
(
stderr
);
mainprog_ptr
=
png_get_error_ptr
(
png_ptr
);
if
(
mainprog_ptr
==
NULL
)
{
/* we are completely hosed now */
fprintf
(
stderr
,
"readpng2 severe error: jmpbuf not recoverable; terminating.
\n
"
);
fflush
(
stderr
);
exit
(
99
);
}
png_longjmp
(
png_ptr
,
1
);
}
contrib/gregbook/rpng-win.c
浏览文件 @
65a22379
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
- 1.10: enabled "message window"/console (thanks to David Geldreich)
- 1.10: enabled "message window"/console (thanks to David Geldreich)
- 2.00: dual-licensed (added GNU GPL)
- 2.00: dual-licensed (added GNU GPL)
- 2.01: fixed improper display of usage screen on PNG error(s)
- 2.01: fixed improper display of usage screen on PNG error(s)
- 2.02: removed special error-handling which is no longer needed
because of the new libpng png_longjmp() feature in libpng-1.5.0.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
...
...
contrib/gregbook/rpng-x.c
浏览文件 @
65a22379
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
- 1.14: added support for X resources (thanks to Gerhard Niklasch)
- 1.14: added support for X resources (thanks to Gerhard Niklasch)
- 2.00: dual-licensed (added GNU GPL)
- 2.00: dual-licensed (added GNU GPL)
- 2.01: fixed improper display of usage screen on PNG error(s)
- 2.01: fixed improper display of usage screen on PNG error(s)
- 2.02: removed special error-handling which is no longer needed
because of the new libpng png_longjmp() feature in libpng-1.5.0.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
...
...
contrib/gregbook/rpng2-win.c
浏览文件 @
65a22379
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
- 2.01: fixed 64-bit typo in readpng2.c
- 2.01: fixed 64-bit typo in readpng2.c
- 2.02: fixed improper display of usage screen on PNG error(s); fixed
- 2.02: fixed improper display of usage screen on PNG error(s); fixed
unexpected-EOF and file-read-error cases
unexpected-EOF and file-read-error cases
- 2.03: removed runtime MMX-enabling/disabling and obsolete -mmx* options
- 2.03: removed runtime MMX-enabling/disabling and obsolete -mmx* options;
removed special error-handling which is no longer needed
because of the new libpng png_longjmp() feature in libpng-1.5.0.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
...
...
contrib/gregbook/rpng2-x.c
浏览文件 @
65a22379
...
@@ -41,6 +41,8 @@
...
@@ -41,6 +41,8 @@
unexpected-EOF and file-read-error cases; fixed Trace() cut-and-
unexpected-EOF and file-read-error cases; fixed Trace() cut-and-
paste bugs
paste bugs
- 2.03: deleted runtime MMX-enabling/disabling and obsolete -mmx* options
- 2.03: deleted runtime MMX-enabling/disabling and obsolete -mmx* options
removed special error-handling which is no longer needed
because of the new libpng png_longjmp() feature in libpng-1.5.0.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
...
...
contrib/gregbook/wpng.c
浏览文件 @
65a22379
...
@@ -29,6 +29,8 @@
...
@@ -29,6 +29,8 @@
- 1.04: fixed DOS/OS2/Win32 detection, including partial Cygwin fix
- 1.04: fixed DOS/OS2/Win32 detection, including partial Cygwin fix
(see http://home.att.net/~perlspinr/diffs/GregBook_cygwin.diff)
(see http://home.att.net/~perlspinr/diffs/GregBook_cygwin.diff)
- 2.00: dual-licensed (added GNU GPL)
- 2.00: dual-licensed (added GNU GPL)
- 2.01: removed special error-handling which is no longer needed
because of the new libpng png_longjmp() feature in libpng-1.5.0.
[REPORTED BUG (win32 only): "contrib/gregbook/wpng.c - cmd line
[REPORTED BUG (win32 only): "contrib/gregbook/wpng.c - cmd line
dose not work! In order to do something useful I needed to redirect
dose not work! In order to do something useful I needed to redirect
...
...
contrib/gregbook/writepng.c
浏览文件 @
65a22379
...
@@ -60,10 +60,6 @@
...
@@ -60,10 +60,6 @@
#include "writepng.h"
/* typedefs, common macros, public prototypes */
#include "writepng.h"
/* typedefs, common macros, public prototypes */
/* local prototype */
static
void
writepng_error_handler
(
png_structp
png_ptr
,
png_const_charp
msg
);
void
writepng_version_info
(
void
)
void
writepng_version_info
(
void
)
...
@@ -90,7 +86,7 @@ int writepng_init(mainprog_info *mainprog_ptr)
...
@@ -90,7 +86,7 @@ int writepng_init(mainprog_info *mainprog_ptr)
/* could also replace libpng warning-handler (final NULL), but no need: */
/* could also replace libpng warning-handler (final NULL), but no need: */
png_ptr
=
png_create_write_struct
(
PNG_LIBPNG_VER_STRING
,
mainprog_ptr
,
png_ptr
=
png_create_write_struct
(
PNG_LIBPNG_VER_STRING
,
mainprog_ptr
,
writepng_error_handler
,
NULL
);
NULL
,
NULL
);
if
(
!
png_ptr
)
if
(
!
png_ptr
)
return
4
;
/* out of memory */
return
4
;
/* out of memory */
...
@@ -359,34 +355,3 @@ void writepng_cleanup(mainprog_info *mainprog_ptr)
...
@@ -359,34 +355,3 @@ void writepng_cleanup(mainprog_info *mainprog_ptr)
if
(
png_ptr
&&
info_ptr
)
if
(
png_ptr
&&
info_ptr
)
png_destroy_write_struct
(
&
png_ptr
,
&
info_ptr
);
png_destroy_write_struct
(
&
png_ptr
,
&
info_ptr
);
}
}
static
void
writepng_error_handler
(
png_structp
png_ptr
,
png_const_charp
msg
)
{
mainprog_info
*
mainprog_ptr
;
/* This function, aside from the extra step of retrieving the "error
* pointer" (below) and the fact that it exists within the application
* rather than within libpng, is essentially identical to libpng's
* default error handler. The second point is critical: since both
* setjmp() and longjmp() are called from the same code, they are
* guaranteed to have compatible notions of how big a jmp_buf is,
* regardless of whether _BSD_SOURCE or anything else has (or has not)
* been defined. */
fprintf
(
stderr
,
"writepng libpng error: %s
\n
"
,
msg
);
fflush
(
stderr
);
mainprog_ptr
=
png_get_error_ptr
(
png_ptr
);
if
(
mainprog_ptr
==
NULL
)
{
/* we are completely hosed now */
fprintf
(
stderr
,
"writepng severe error: jmpbuf not recoverable; terminating.
\n
"
);
fflush
(
stderr
);
exit
(
99
);
}
png_longjmp
(
png_ptr
,
1
);
}
example.c
浏览文件 @
65a22379
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#if 0 /* in case someone actually tries to compile this */
#if 0 /* in case someone actually tries to compile this */
/* example.c - an example of using libpng
/* example.c - an example of using libpng
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* This file has been placed in the public domain by the authors.
* This file has been placed in the public domain by the authors.
* Maintained 1998-2010 Glenn Randers-Pehrson
* Maintained 1998-2010 Glenn Randers-Pehrson
* Maintained 1996, 1997 Andreas Dilger)
* Maintained 1996, 1997 Andreas Dilger)
...
...
libpng-1.5.0beta
09
.txt
→
libpng-1.5.0beta
11
.txt
浏览文件 @
65a22379
libpng.txt - A description on how to use and modify libpng
libpng.txt - A description on how to use and modify libpng
libpng version 1.5.0beta
09 - February 19
, 2010
libpng version 1.5.0beta
11 - March 3
, 2010
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
@@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng
...
@@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
Based on:
libpng versions 0.97, January 1998, through 1.5.0beta
09 - February 19
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta
11 - March 3
, 2010
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
@@ -899,7 +899,7 @@ things.
...
@@ -899,7 +899,7 @@ things.
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
added. It expands the sample depth without changing tRNS to alpha.
added. It expands the sample depth without changing tRNS to alpha.
As of libpng version 1.5.0beta
09
, not all possible expansions are supported.
As of libpng version 1.5.0beta
11
, not all possible expansions are supported.
In the following table, the 01 means grayscale with depth<8, 31 means
In the following table, the 01 means grayscale with depth<8, 31 means
indexed with depth<8, other numerals represent the color type, "T" means
indexed with depth<8, other numerals represent the color type, "T" means
...
@@ -3245,13 +3245,13 @@ Other rules can be inferred by inspecting the libpng source.
...
@@ -3245,13 +3245,13 @@ Other rules can be inferred by inspecting the libpng source.
XIII. Y2K Compliance in libpng
XIII. Y2K Compliance in libpng
February 19
, 2010
March 3
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.0beta
09
are Y2K compliant. It is my belief that earlier
upward through 1.5.0beta
11
are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that
Libpng only has three year fields. One is a 2-byte unsigned integer that
...
...
libpng.3
浏览文件 @
65a22379
.TH LIBPNG 3 "
February 19
, 2010"
.TH LIBPNG 3 "
March 3
, 2010"
.SH NAME
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta
09
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta
11
.SH SYNOPSIS
.SH SYNOPSIS
\fI\fB
\fI\fB
...
@@ -789,7 +789,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
...
@@ -789,7 +789,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
.SH LIBPNG.TXT
.SH LIBPNG.TXT
libpng.txt - A description on how to use and modify libpng
libpng.txt - A description on how to use and modify libpng
libpng version 1.5.0beta
09 - February 19
, 2010
libpng version 1.5.0beta
11 - March 3
, 2010
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
@@ -800,7 +800,7 @@ libpng.txt - A description on how to use and modify libpng
...
@@ -800,7 +800,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
Based on:
libpng versions 0.97, January 1998, through 1.5.0beta
09 - February 19
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta
11 - March 3
, 2010
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
@@ -1688,7 +1688,7 @@ things.
...
@@ -1688,7 +1688,7 @@ things.
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
added. It expands the sample depth without changing tRNS to alpha.
added. It expands the sample depth without changing tRNS to alpha.
As of libpng version 1.5.0beta
09
, not all possible expansions are supported.
As of libpng version 1.5.0beta
11
, not all possible expansions are supported.
In the following table, the 01 means grayscale with depth<8, 31 means
In the following table, the 01 means grayscale with depth<8, 31 means
indexed with depth<8, other numerals represent the color type, "T" means
indexed with depth<8, other numerals represent the color type, "T" means
...
@@ -4034,13 +4034,13 @@ Other rules can be inferred by inspecting the libpng source.
...
@@ -4034,13 +4034,13 @@ Other rules can be inferred by inspecting the libpng source.
.SH XIII. Y2K Compliance in libpng
.SH XIII. Y2K Compliance in libpng
February 19
, 2010
March 3
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.0beta
09
are Y2K compliant. It is my belief that earlier
upward through 1.5.0beta
11
are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that
Libpng only has three year fields. One is a 2-byte unsigned integer that
...
@@ -4216,7 +4216,7 @@ the first widely used release:
...
@@ -4216,7 +4216,7 @@ the first widely used release:
1.4.1beta01-03 14 10401 14.so.14.1[.0]
1.4.1beta01-03 14 10401 14.so.14.1[.0]
1.4.1rc01 14 10401 14.so.14.1[.0]
1.4.1rc01 14 10401 14.so.14.1[.0]
1.4.1beta04-12 14 10401 14.so.14.1[.0]
1.4.1beta04-12 14 10401 14.so.14.1[.0]
1.5.0beta01-
09
15 10500 15.so.15.1[.0]
1.5.0beta01-
11
15 10500 15.so.15.1[.0]
Henceforth the source version will match the shared-library minor
Henceforth the source version will match the shared-library minor
and patch numbers; the shared-library major version number will be
and patch numbers; the shared-library major version number will be
...
@@ -4272,7 +4272,7 @@ possible without all of you.
...
@@ -4272,7 +4272,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.5.0beta
09 - February 19
, 2010:
Libpng version 1.5.0beta
11 - March 3
, 2010:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
...
@@ -4295,7 +4295,7 @@ this sentence.
...
@@ -4295,7 +4295,7 @@ this sentence.
This code is released under the libpng license.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
09, February 19
, 2010, are
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
11, March 3
, 2010, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
with the following individual added to the list of Contributing Authors
...
@@ -4394,7 +4394,7 @@ certification mark of the Open Source Initiative.
...
@@ -4394,7 +4394,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
glennrp at users.sourceforge.net
February 19
, 2010
March 3
, 2010
.\" end of man page
.\" end of man page
libpngpf.3
浏览文件 @
65a22379
.TH LIBPNGPF 3 "
February 19
, 2010"
.TH LIBPNGPF 3 "
March 3
, 2010"
.SH NAME
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta
09
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta
11
(private functions)
(private functions)
.SH SYNOPSIS
.SH SYNOPSIS
\fB#include <png.h>\fP
\fB#include <png.h>\fP
...
...
png.5
浏览文件 @
65a22379
.TH PNG 5 "
February 19
, 2010"
.TH PNG 5 "
March 3
, 2010"
.SH NAME
.SH NAME
png \- Portable Network Graphics (PNG) format
png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION
.SH DESCRIPTION
...
...
png.c
浏览文件 @
65a22379
/* png.c - location for general purpose libpng functions
/* png.c - location for general purpose libpng functions
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#include "pngpriv.h"
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
/* Generate a compiler error if there is an old png.h in the search path. */
typedef
version_1_5_0beta
09
Your_png_h_is_not_version_1_5_0beta09
;
typedef
version_1_5_0beta
11
Your_png_h_is_not_version_1_5_0beta11
;
/* Version information for C files. This had better match the version
/* Version information for C files. This had better match the version
* string defined in png.h.
* string defined in png.h.
...
@@ -552,13 +552,13 @@ png_get_copyright(png_structp png_ptr)
...
@@ -552,13 +552,13 @@ png_get_copyright(png_structp png_ptr)
#else
#else
#ifdef __STDC__
#ifdef __STDC__
return
((
png_charp
)
PNG_STRING_NEWLINE
\
return
((
png_charp
)
PNG_STRING_NEWLINE
\
"libpng version 1.5.0beta
09 - February 19
, 2010"
PNG_STRING_NEWLINE
\
"libpng version 1.5.0beta
11 - March 3
, 2010"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2010 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2010 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
PNG_STRING_NEWLINE
);
PNG_STRING_NEWLINE
);
#else
#else
return
((
png_charp
)
"libpng version 1.5.0beta
09 - February 19
, 2010\
return
((
png_charp
)
"libpng version 1.5.0beta
11 - March 3
, 2010\
Copyright (c) 1998-2010 Glenn Randers-Pehrson\
Copyright (c) 1998-2010 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
);
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
);
...
...
png.h
浏览文件 @
65a22379
/* png.h - header file for PNG reference library
/* png.h - header file for PNG reference library
*
*
* libpng version 1.5.0beta
09 - February 19
, 2010
* libpng version 1.5.0beta
11 - March 3
, 2010
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* Authors and maintainers:
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* 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.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.5.0beta
09 - February 19
, 2010: Glenn
* libpng versions 0.97, January 1998, through 1.5.0beta
11 - March 3
, 2010: Glenn
* See also "Contributing Authors", below.
* See also "Contributing Authors", below.
*
*
* Note about libpng version numbers:
* Note about libpng version numbers:
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
* 1.4.1beta01-03 14 10401 14.so.14.1[.0]
* 1.4.1beta01-03 14 10401 14.so.14.1[.0]
* 1.4.1rc01 14 10401 14.so.14.1[.0]
* 1.4.1rc01 14 10401 14.so.14.1[.0]
* 1.4.1beta04-12 14 10401 14.so.14.1[.0]
* 1.4.1beta04-12 14 10401 14.so.14.1[.0]
* 1.5.0beta01-
09
15 10500 15.so.15.0[.0]
* 1.5.0beta01-
11
15 10500 15.so.15.0[.0]
*
*
* Henceforth the source version will match the shared-library major
* Henceforth the source version will match the shared-library major
* and minor numbers; the shared-library major version number will be
* and minor numbers; the shared-library major version number will be
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
*
*
* This code is released under the libpng license.
* This code is released under the libpng license.
*
*
* libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
09, February 19
, 2010, are
* libpng versions 1.2.6, August 15, 2004, through 1.5.0beta
11, March 3
, 2010, are
* Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
* Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5
* distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors:
* with the following individual added to the list of Contributing Authors:
...
@@ -281,13 +281,13 @@
...
@@ -281,13 +281,13 @@
* Y2K compliance in libpng:
* Y2K compliance in libpng:
* =========================
* =========================
*
*
*
February 19
, 2010
*
March 3
, 2010
*
*
* Since the PNG Development group is an ad-hoc body, we can't make
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
* an official declaration.
*
*
* This is your unofficial assurance that libpng from version 0.71 and
* This is your unofficial assurance that libpng from version 0.71 and
* upward through 1.5.0beta
09
are Y2K compliant. It is my belief that earlier
* upward through 1.5.0beta
11
are Y2K compliant. It is my belief that earlier
* versions were also Y2K compliant.
* versions were also Y2K compliant.
*
*
* Libpng only has three year fields. One is a 2-byte unsigned integer
* Libpng only has three year fields. One is a 2-byte unsigned integer
...
@@ -343,9 +343,9 @@
...
@@ -343,9 +343,9 @@
*/
*/
/* Version information for png.h - this should match the version in png.c */
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.5.0beta
09
"
#define PNG_LIBPNG_VER_STRING "1.5.0beta
11
"
#define PNG_HEADER_VERSION_STRING \
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.5.0beta
09 - February 19
, 2010\n"
" libpng version 1.5.0beta
11 - March 3
, 2010\n"
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_DLLNUM 15
#define PNG_LIBPNG_VER_DLLNUM 15
...
@@ -358,7 +358,7 @@
...
@@ -358,7 +358,7 @@
* PNG_LIBPNG_VER_STRING, omitting any leading zero:
* PNG_LIBPNG_VER_STRING, omitting any leading zero:
*/
*/
#define PNG_LIBPNG_VER_BUILD
09
#define PNG_LIBPNG_VER_BUILD
11
/* Release Status */
/* Release Status */
#define PNG_LIBPNG_BUILD_ALPHA 1
#define PNG_LIBPNG_BUILD_ALPHA 1
...
@@ -796,7 +796,7 @@ typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp));
...
@@ -796,7 +796,7 @@ typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp));
/* This triggers a compiler error in png.c, if png.c and png.h
/* This triggers a compiler error in png.c, if png.c and png.h
* do not agree upon the version number.
* do not agree upon the version number.
*/
*/
typedef
png_structp
version_1_5_0beta
09
;
typedef
png_structp
version_1_5_0beta
11
;
typedef
png_struct
FAR
*
FAR
*
png_structpp
;
typedef
png_struct
FAR
*
FAR
*
png_structpp
;
...
...
pngerror.c
浏览文件 @
65a22379
/* pngerror.c - stub functions for i/o and memory allocation
/* pngerror.c - stub functions for i/o and memory allocation
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngget.c
浏览文件 @
65a22379
/* pngget.c - retrieval of values from info struct
/* pngget.c - retrieval of values from info struct
*
*
* Last changed in libpng 1.4.1 [
February 19
, 2010]
* Last changed in libpng 1.4.1 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pnginfo.h
浏览文件 @
65a22379
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
*
* Last changed in libpng version 1.5.0 -
February 19
, 2010
* Last changed in libpng version 1.5.0 -
March 3
, 2010
*
*
* This code is released under the libpng license.
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* For conditions of distribution and use, see the disclaimer
...
...
pngmem.c
浏览文件 @
65a22379
/* pngmem.c - stub functions for memory allocation
/* pngmem.c - stub functions for memory allocation
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngpread.c
浏览文件 @
65a22379
/* pngpread.c - read a png file in push mode
/* pngpread.c - read a png file in push mode
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngpriv.h
浏览文件 @
65a22379
/* pngpriv.h - private declarations for use inside libpng
/* pngpriv.h - private declarations for use inside libpng
*
*
* libpng version 1.5.0beta
09 - February 19
, 2010
* libpng version 1.5.0beta
11 - March 3
, 2010
* For conditions of distribution and use, see copyright notice in png.h
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
...
...
pngread.c
浏览文件 @
65a22379
/* pngread.c - read a PNG file
/* pngread.c - read a PNG file
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngrio.c
浏览文件 @
65a22379
/* pngrio.c - functions for data input
/* pngrio.c - functions for data input
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngrtran.c
浏览文件 @
65a22379
/* pngrtran.c - transforms the data in a row for PNG readers
/* pngrtran.c - transforms the data in a row for PNG readers
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngrutil.c
浏览文件 @
65a22379
/* pngrutil.c - utilities to read a PNG file
/* pngrutil.c - utilities to read a PNG file
*
*
* Last changed in libpng 1.4.1 [
February 19
, 2010]
* Last changed in libpng 1.4.1 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngset.c
浏览文件 @
65a22379
/* pngset.c - storage of image information into info struct
/* pngset.c - storage of image information into info struct
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngstruct.h
浏览文件 @
65a22379
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
*
* Last changed in libpng version 1.5.0 -
February 19
, 2010
* Last changed in libpng version 1.5.0 -
March 3
, 2010
*
*
* This code is released under the libpng license.
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* For conditions of distribution and use, see the disclaimer
...
...
pngtest.c
浏览文件 @
65a22379
/* pngtest.c - a simple test program to test libpng
/* pngtest.c - a simple test program to test libpng
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
@@ -1620,4 +1620,4 @@ main(int argc, char *argv[])
...
@@ -1620,4 +1620,4 @@ main(int argc, char *argv[])
}
}
/* Generate a compiler error if there is an old png.h in the search path. */
/* Generate a compiler error if there is an old png.h in the search path. */
typedef
version_1_5_0beta
09
your_png_h_is_not_version_1_5_0beta09
;
typedef
version_1_5_0beta
11
your_png_h_is_not_version_1_5_0beta11
;
pngtrans.c
浏览文件 @
65a22379
/* pngtrans.c - transforms the data in a row (used by both readers and writers)
/* pngtrans.c - transforms the data in a row (used by both readers and writers)
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwio.c
浏览文件 @
65a22379
/* pngwio.c - functions for data output
/* pngwio.c - functions for data output
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwrite.c
浏览文件 @
65a22379
/* pngwrite.c - general routines to write a PNG file
/* pngwrite.c - general routines to write a PNG file
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwtran.c
浏览文件 @
65a22379
/* pngwtran.c - transforms the data in a row for PNG writers
/* pngwtran.c - transforms the data in a row for PNG writers
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwutil.c
浏览文件 @
65a22379
/* pngwutil.c - utilities to write a PNG file
/* pngwutil.c - utilities to write a PNG file
*
*
* Last changed in libpng 1.5.0 [
February 19
, 2010]
* Last changed in libpng 1.5.0 [
March 3
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
projects/xcode/libpng.xcodeproj/project.pbxproj
浏览文件 @
65a22379
...
@@ -226,7 +226,7 @@
...
@@ -226,7 +226,7 @@
COPY_PHASE_STRIP
=
NO
;
COPY_PHASE_STRIP
=
NO
;
DYLIB_COMPATIBILITY_VERSION
=
15
;
DYLIB_COMPATIBILITY_VERSION
=
15
;
DYLIB_CURRENT_VERSION
=
15
;
DYLIB_CURRENT_VERSION
=
15
;
FRAMEWORK_VERSION
=
1.5.0beta
09
;
FRAMEWORK_VERSION
=
1.5.0beta
11
;
GCC_PRECOMPILE_PREFIX_HEADER
=
NO
;
GCC_PRECOMPILE_PREFIX_HEADER
=
NO
;
GCC_PREFIX_HEADER
=
""
;
GCC_PREFIX_HEADER
=
""
;
INFOPLIST_FILE
=
Info.plist
;
INFOPLIST_FILE
=
Info.plist
;
...
@@ -244,7 +244,7 @@
...
@@ -244,7 +244,7 @@
buildSettings
=
{
buildSettings
=
{
DYLIB_COMPATIBILITY_VERSION
=
15
;
DYLIB_COMPATIBILITY_VERSION
=
15
;
DYLIB_CURRENT_VERSION
=
15
;
DYLIB_CURRENT_VERSION
=
15
;
FRAMEWORK_VERSION
=
1.5.0beta
09
;
FRAMEWORK_VERSION
=
1.5.0beta
11
;
GCC_PRECOMPILE_PREFIX_HEADER
=
NO
;
GCC_PRECOMPILE_PREFIX_HEADER
=
NO
;
GCC_PREFIX_HEADER
=
""
;
GCC_PREFIX_HEADER
=
""
;
INFOPLIST_FILE
=
Info.plist
;
INFOPLIST_FILE
=
Info.plist
;
...
...
scripts/README.txt
浏览文件 @
65a22379
Makefiles for libpng version 1.5.0beta
09 - February 19
, 2010
Makefiles for libpng version 1.5.0beta
11 - March 3
, 2010
makefile.linux => Linux/ELF makefile
makefile.linux => Linux/ELF makefile
(gcc, creates libpng15.so.15.1.5.0beta
09
)
(gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.gcc => Generic makefile (gcc, creates static libpng.a)
makefile.gcc => Generic makefile (gcc, creates static libpng.a)
makefile.knr => Archaic UNIX Makefile that converts files with
makefile.knr => Archaic UNIX Makefile that converts files with
ansi2knr (Requires ansi2knr.c from
ansi2knr (Requires ansi2knr.c from
...
@@ -20,7 +20,7 @@ Makefiles for libpng version 1.5.0beta09 - February 19, 2010
...
@@ -20,7 +20,7 @@ Makefiles for libpng version 1.5.0beta09 - February 19, 2010
makefile.dec => DEC Alpha UNIX makefile
makefile.dec => DEC Alpha UNIX makefile
makefile.dj2 => DJGPP 2 makefile
makefile.dj2 => DJGPP 2 makefile
makefile.elf => Linux/ELF makefile symbol versioning,
makefile.elf => Linux/ELF makefile symbol versioning,
gcc, creates libpng15.so.15.1.5.0beta
09
)
gcc, creates libpng15.so.15.1.5.0beta
11
)
makefile.freebsd => FreeBSD makefile
makefile.freebsd => FreeBSD makefile
makefile.gcc => Generic gcc makefile
makefile.gcc => Generic gcc makefile
makefile.hpgcc => HPUX makefile using gcc
makefile.hpgcc => HPUX makefile using gcc
...
@@ -36,12 +36,12 @@ Makefiles for libpng version 1.5.0beta09 - February 19, 2010
...
@@ -36,12 +36,12 @@ Makefiles for libpng version 1.5.0beta09 - February 19, 2010
makefile.os2 => OS/2 Makefile (gcc and emx, requires pngos2.def)
makefile.os2 => OS/2 Makefile (gcc and emx, requires pngos2.def)
makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
makefile.sggcc => Silicon Graphics (gcc,
makefile.sggcc => Silicon Graphics (gcc,
creates libpng15.so.15.1.5.0beta
09
)
creates libpng15.so.15.1.5.0beta
11
)
makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib)
makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib)
makefile.solaris => Solaris 2.X makefile (gcc,
makefile.solaris => Solaris 2.X makefile (gcc,
creates libpng15.so.15.1.5.0beta
09
)
creates libpng15.so.15.1.5.0beta
11
)
makefile.so9 => Solaris 9 makefile (gcc,
makefile.so9 => Solaris 9 makefile (gcc,
creates libpng15.so.15.1.5.0beta
09
)
creates libpng15.so.15.1.5.0beta
11
)
makefile.std => Generic UNIX makefile (cc, creates static libpng.a)
makefile.std => Generic UNIX makefile (cc, creates static libpng.a)
makefile.sunos => Sun makefile
makefile.sunos => Sun makefile
makefile.32sunu => Sun Ultra 32-bit makefile
makefile.32sunu => Sun Ultra 32-bit makefile
...
...
scripts/libpng-config-head.in
浏览文件 @
65a22379
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
# Modeled after libxml-config.
# Modeled after libxml-config.
version
=
1.5.0beta
09
version
=
1.5.0beta
11
prefix
=
""
prefix
=
""
libdir
=
""
libdir
=
""
libs
=
""
libs
=
""
...
...
scripts/libpng.pc.in
浏览文件 @
65a22379
...
@@ -5,6 +5,6 @@ includedir=@includedir@/libpng15
...
@@ -5,6 +5,6 @@ includedir=@includedir@/libpng15
Name: libpng
Name: libpng
Description: Loads and saves PNG files
Description: Loads and saves PNG files
Version: 1.5.0beta
09
Version: 1.5.0beta
11
Libs: -L${libdir} -lpng15
Libs: -L${libdir} -lpng15
Cflags: -I${includedir}
Cflags: -I${includedir}
scripts/makefile.ne12bsd
浏览文件 @
65a22379
...
@@ -17,7 +17,7 @@ INCSDIR=${LOCALBASE}/include/libpng15
...
@@ -17,7 +17,7 @@ INCSDIR=${LOCALBASE}/include/libpng15
LIB
=
png15
LIB
=
png15
SHLIB_MAJOR
=
0
SHLIB_MAJOR
=
0
SHLIB_MINOR
=
1.5.0beta
09
SHLIB_MINOR
=
1.5.0beta
11
SRCS
=
png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c
\
SRCS
=
png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c
\
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c
\
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c
\
pngwtran.c pngmem.c pngerror.c pngpread.c
pngwtran.c pngmem.c pngerror.c pngpread.c
...
...
scripts/makefile.netbsd
浏览文件 @
65a22379
...
@@ -17,7 +17,7 @@ INCSDIR=${LOCALBASE}/include
...
@@ -17,7 +17,7 @@ INCSDIR=${LOCALBASE}/include
LIB
=
png
LIB
=
png
SHLIB_MAJOR
=
3
SHLIB_MAJOR
=
3
SHLIB_MINOR
=
1.5.0beta
09
SHLIB_MINOR
=
1.5.0beta
11
SRCS
=
png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c
\
SRCS
=
png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c
\
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c
\
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c
\
pngwtran.c pngmem.c pngerror.c pngpread.c
pngwtran.c pngmem.c pngerror.c pngpread.c
...
...
scripts/makefile.openbsd
浏览文件 @
65a22379
...
@@ -11,7 +11,7 @@ LIBDIR= ${PREFIX}/lib
...
@@ -11,7 +11,7 @@ LIBDIR= ${PREFIX}/lib
MANDIR
=
${PREFIX}
/man/cat
MANDIR
=
${PREFIX}
/man/cat
SHLIB_MAJOR
=
0
SHLIB_MAJOR
=
0
SHLIB_MINOR
=
1.5.0beta
09
SHLIB_MINOR
=
1.5.0beta
11
LIB
=
png
LIB
=
png
SRCS
=
png.c pngerror.c pngget.c pngmem.c pngpread.c
\
SRCS
=
png.c pngerror.c pngget.c pngmem.c pngpread.c
\
...
...
scripts/png32ce.def
浏览文件 @
65a22379
...
@@ -15,7 +15,7 @@ LIBRARY lpngce
...
@@ -15,7 +15,7 @@ LIBRARY lpngce
png_get_int_32
png_get_int_32
EXPORTS
EXPORTS
;Version 1.5.0beta
09
;Version 1.5.0beta
11
png_build_grayscale_palette @1
png_build_grayscale_palette @1
; png_check_sig @2
; png_check_sig @2
png_chunk_error @3
png_chunk_error @3
...
...
scripts/pngos2.def
浏览文件 @
65a22379
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
; PNG.LIB module definition file for OS/2
; PNG.LIB module definition file for OS/2
;----------------------------------------
;----------------------------------------
; Version 1.5.0beta
09
; Version 1.5.0beta
11
LIBRARY PNG
LIBRARY PNG
DESCRIPTION "PNG image compression library for OS/2"
DESCRIPTION "PNG image compression library for OS/2"
...
...
scripts/pngwin.def
浏览文件 @
65a22379
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
LIBRARY
LIBRARY
EXPORTS
EXPORTS
;Version 1.5.0beta
09
;Version 1.5.0beta
11
png_build_grayscale_palette
png_build_grayscale_palette
png_chunk_error
png_chunk_error
png_chunk_warning
png_chunk_warning
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录