libpng-1.2.33 update

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
ragnarok2040
Posts: 202
Joined: Wed Aug 09, 2006 1:00 am

libpng-1.2.33 update

Post by ragnarok2040 »

I've updated the libpng port to 1.2.33. I uploaded a tarball of the source and a patch to update the current port to 1.2.33 to http://homebrew.thewaffleiron.net/ragnarok2040. The tests in pngtest.c passed and gsKit's png-texture example worked fine. You should make sure previous header and library versions of libpng aren't installed otherwise it might get linked in when building pngtest.c.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Are you sure you made the patch files properly? I'm having problems applying the libpng and zlib patches to the versions currently in the repository.
ragnarok2040
Posts: 202
Joined: Wed Aug 09, 2006 1:00 am

Post by ragnarok2040 »

The libpng patch applied cleanly to a freshly checked out source from the subversion repository but the zlib patch didn't. Which is weird since I hadn't edited my local copy. I rechecked out the source for zlib and made a new patch. I also created two diffs using 'svn diff' that can be used for patching as well. Probably the way I should have done it in the first place :D. It's been a long while since I've needed to create a patch.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Duh, this is where I get to realize these were for the PS2, not the PSP. :)
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Code: Select all

Sending        libjpeg/include/jconfig.h
Sending        libjpeg/include/jmorecfg.h
Sending        libjpeg/include/jpeglib.h
Sending        libpng/ANNOUNCE
Sending        libpng/CHANGES
Sending        libpng/INSTALL
Sending        libpng/KNOWNBUG
Sending        libpng/LICENSE
Sending        libpng/README
Sending        libpng/example.c
Sending        libpng/include/png.h
Sending        libpng/include/pngconf.h
Sending        libpng/png.c
Sending        libpng/pngerror.c
Sending        libpng/pnggccrd.c
Sending        libpng/pngget.c
Sending        libpng/pngmem.c
Sending        libpng/pngpread.c
Sending        libpng/pngread.c
Sending        libpng/pngrio.c
Sending        libpng/pngrtran.c
Sending        libpng/pngrutil.c
Sending        libpng/pngset.c
Sending        libpng/pngtest.c
Sending        libpng/pngtrans.c
Sending        libpng/pngvcrd.c
Sending        libpng/pngwio.c
Sending        libpng/pngwrite.c
Sending        libpng/pngwtran.c
Sending        libpng/pngwutil.c
Sending        zlib/include/zconf.h
Sending        zlib/include/zlib.h
Sending        zlib/src/adler32.c
Sending        zlib/src/compress.c
Sending        zlib/src/crc32.c
Sending        zlib/src/deflate.c
Sending        zlib/src/deflate.h
Sending        zlib/src/gzio.c
Sending        zlib/src/infback.c
Sending        zlib/src/inffast.c
Sending        zlib/src/inflate.c
Sending        zlib/src/inflate.h
Sending        zlib/src/inftrees.c
Sending        zlib/src/inftrees.h
Sending        zlib/src/trees.c
Sending        zlib/src/zutil.c
Sending        zlib/src/zutil.h
Sending        zlib/test/Makefile
Sending        zlib/test/example.c
Sending        zlib/test/minigzip.c
Transmitting file data ..................................................
Committed revision 1465.
Committed to the repository.

I noticed patches for gsKit and ps2sdk, can you explain what these do before I add them?
Post Reply