libpng.patch.tar.gz = http://www.mediafire.com/?thnjzwlm5y3
libjpeg.patch.tar.gz = http://www.mediafire.com/?mrnkmrijzj4
zlib-destdir.patch.tar.gz = http://www.mediafire.com/?zmrwkj0umyv
libpng:
Code: Select all
cd to ps2sdk-ports/libpng
svn delete makefile
svn commit -m "Remove old makefile"
svn delete libpng.txt
svn commit -m "Remove old libpng.txt"
Apply libpng.patch
This adds libpng-1.2.33.txt, and Y2KINFO from the official libpng-1.2.33 source. This also creates a new Makefile. You might need to 'svn add' them for versioning control, after applying the patch.
Code: Select all
cd to ps2sdk-ports/libjpeg/src
svn delete *.c *.h
svn commit -m "Remove old source"
cd to ps2sdk-ports/libjpeg
Apply libjpeg.patch from:
This adds include/libjpg.h and src/libjpg.c, the libjpg interface functions needed for gsKit, and adds DESTDIR support for the Makefile. You might need to 'svn add' the previous two files to put them under svn control.
Code: Select all
cd to ps2sdk-ports (directory above zlib)
Apply zlib-destdir.patch
It doesn't add any files, just modifies its Makefile
The libjpg.c/libjpg.h are from the svntrunk/ps2/libjpg port plus the changes made by dlanor and Polo. If anyone could help update the sources, I'd appreciate it, :D.