Commit ddb2fa15 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

removed existing library

parent c52a4204
Loading
Loading
Loading
Loading
+0 −0

File moved.

src/libpng/ANNOUNCE

deleted100644 → 0
+0 −32
Original line number Diff line number Diff line

Libpng 1.2.8 - December 3, 2004

This is a public release of libpng, intended for use in production codes.

Changes since the last public release (1.2.7):

  Fixed bug in png_text_compress() that would fail to complete a large block.
  Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during
    strip alpha operation in png_do_strip_filler().
  Added PNG_1_2_X definition in pngconf.h
  #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0)
  Reduce color_type to a nonalpha type after strip alpha operation in
    png_do_strip_filler().
  Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM
  Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin).
  Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin).
  Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
    of data type in deflate (Cosmin).
  Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
  Despammed mailing addresses by masking "@" with "at".
  Added scripts/makefile.elf with supporting code in pngconf.h for symbol
    versioning (John Bowler).
  Added projects/visualc71 (Simon-pierre).

Send comments/corrections/commendations to
png-implement at ccrc.wustl.edu (subscription required; write to
majordomo at ccrc.wustl.edu with "subscribe png-implement" in the message)
or to glennrp at users.sourceforge.net

Glenn R-P

src/libpng/CHANGES

deleted100644 → 0
+0 −1419

File deleted.

Preview size limit exceeded, changes collapsed.

src/libpng/LICENSE

deleted100644 → 0
+0 −109
Original line number Diff line number Diff line

This copy of the libpng notices is provided for your convenience.  In case of
any discrepancy between this copy and the notices in the file png.h that is
included in the libpng distribution, the latter shall prevail.

COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:

If you modify libpng you may insert additional notices immediately following
this sentence.

libpng version 1.2.6, December 3, 2004, is
Copyright (c) 2004 Glenn Randers-Pehrson, and is
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors

   Cosmin Truta

libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.0.6
with the following individuals added to the list of Contributing Authors

   Simon-Pierre Cadieux
   Eric S. Raymond
   Gilles Vollant

and with the following additions to the disclaimer:

   There is no warranty against interference with your enjoyment of the
   library or against infringement.  There is no warranty that our
   efforts or the library will fulfill any of your particular purposes
   or needs.  This library is provided with all faults, and the entire
   risk of satisfactory quality, performance, accuracy, and effort is with
   the user.

libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-0.96,
with the following individuals added to the list of Contributing Authors:

   Tom Lane
   Glenn Randers-Pehrson
   Willem van Schaik

libpng versions 0.89, June 1996, through 0.96, May 1997, are
Copyright (c) 1996, 1997 Andreas Dilger
Distributed according to the same disclaimer and license as libpng-0.88,
with the following individuals added to the list of Contributing Authors:

   John Bowler
   Kevin Bracey
   Sam Bushell
   Magnus Holmgren
   Greg Roelofs
   Tom Tanner

libpng versions 0.5, May 1995, through 0.88, January 1996, are
Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.

For the purposes of this copyright and license, "Contributing Authors"
is defined as the following set of individuals:

   Andreas Dilger
   Dave Martindale
   Guy Eric Schalnat
   Paul Schmidt
   Tim Wegner

The PNG Reference Library is supplied "AS IS".  The Contributing Authors
and Group 42, Inc. disclaim all warranties, expressed or implied,
including, without limitation, the warranties of merchantability and of
fitness for any purpose.  The Contributing Authors and Group 42, Inc.
assume no liability for direct, indirect, incidental, special, exemplary,
or consequential damages, which may result from the use of the PNG
Reference Library, even if advised of the possibility of such damage.

Permission is hereby granted to use, copy, modify, and distribute this
source code, or portions hereof, for any purpose, without fee, subject
to the following restrictions:

1. The origin of this source code must not be misrepresented.

2. Altered versions must be plainly marked as such and must not
   be misrepresented as being the original source.

3. This Copyright notice may not be removed or altered from any
   source or altered source distribution.

The Contributing Authors and Group 42, Inc. specifically permit, without
fee, and encourage the use of this source code as a component to
supporting the PNG file format in commercial products.  If you use this
source code in a product, acknowledgment is not required but would be
appreciated.


A "png_get_copyright" function is available, for convenient use in "about"
boxes and the like:

   printf("%s",png_get_copyright(NULL));

Also, the PNG logo (in PNG format, of course) is supplied in the
files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).

Libpng is OSI Certified Open Source Software.  OSI Certified Open Source is a
certification mark of the Open Source Initiative.

Glenn Randers-Pehrson
glennrp at users.sourceforge.net
December 3, 2004

src/libpng/Makefile

deleted100644 → 0
+0 −103
Original line number Diff line number Diff line
AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis

# makefile for libpng using gcc (generic, static library)
# Copyright (C) 2000 Cosmin Truta
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
# For conditions of distribution and use, see copyright notice in png.h

# Location of the zlib library and include files
ZLIBINC = ../zlib
ZLIBLIB = ../zlib
INCDIR    = $(AXIS_KERNEL_DIR)/include

INSTDIR   = $(prefix)/usr/local/bin
INSTMODE  = 0755
INSTDOCMODE  = 0644

INSTOWNER = root
INSTGROUP = root



# Compiler, linker, lib and other tools
# CC = gcc
LD = $(CC)
LN= $(CC)
AR = ar rcs
RANLIB = ranlib
RM = rm -f

CDEBUG = -g -DPNG_DEBUG=5
LDDEBUG =
CRELEASE = -O2
LDRELEASE = -s
#CFLAGS = -I$(INCDIR) -I$(ZLIBINC) -Wall $(CRELEASE)
#LDFLAGS = -L. -L$(ZLIBLIB) -lpng -lz -lm $(LDRELEASE)

CFLAGS   += -Wall -g -I$(INCDIR) -I$(ZLIBINC) -I$(AXIS_KERNEL_DIR)/include $(CRELEASE)
LDFLAGS  += -L. -L$(ZLIBLIB) -L$(LIBDIR) -lpng -lz -lm $(LDRELEASE)

ifndef UCLIBC
# -lm - to use math library
LDLIBS = -lcrypt -lm
endif


# Variables
PROGS=pngtest
DOCS=pngtest.png
SRCS = png.c pngerror.c pngget.c pngmem.c pngpread.c \
	pngread.c pngrio.c pngrtran.c pngrutil.c pngset.c \
	pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c pngtest.c
OBJS = png.o pngerror.o pngget.o pngmem.o pngpread.o \
	pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \
	pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o

# Targets
all: dependency libpng.a pngtest

libpng.a: $(OBJS)
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

#test: pngtest
#	./pngtest
aaa:
	echo $(CFLAGS)
pngtest: pngtest.o libpng.a
#	$(LD) -o $@ pngtest.o $(LDFLAGS)
	$(LD) $^ $(LDLIBS) -o $@ $(LDFLAGS)
	cris-strip -s $@
install: $(LIBS)
	$(INSTALL) -d $(INSTDIR)
	$(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR)
	$(INSTALL) -m $(INSTDOCMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(DOCS) $(INSTDIR)

clean:
	$(RM) *.o libpng.a pngtest pngout.png

dependency:
	make depend
depend:
	makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
	touch dependency

# DO NOT DELETE THIS LINE -- make depend depends on it.

png.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngerror.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngget.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngmem.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngpread.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngread.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngrio.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngrtran.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngrutil.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngset.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngtrans.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngwio.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngwrite.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngwtran.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngwutil.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
pngtest.o: png.h ../zlib/zlib.h ../zlib/zconf.h pngconf.h
Loading