Author: ranger Date: Mon Aug 7 04:18:42 2006 New Revision: 288 URL: <http://svn.finkproject.org/websvn/listing.php?sc=1&rev=288&repname=user%3a+ranger> Log: test this
Added: trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.info trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.patch Added: trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.info URL: <http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.info&rev=288&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.info (added) +++ trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.info Mon Aug 7 04:18:42 2006 @@ -1,0 +1,54 @@ +Package: libpng3 +Version: 1.2.12 +Revision: 4 +Epoch: 1 +Depends: %N-shlibs (= %e:%v-%r), pkgconfig +BuildDepends: fink (>= 0.9.9-1) +DescPackaging: << + Uses pkgconfig, but there are no pkgconfig-related dependencies. + + The Epoch was introduced when a bug in 1.2.6 forced us to revert to 1.2.5. + Versions 1:1.2.5-1 and later include the August 2004 security patches. + + Had to change png_read_destroy and png_write_destroy to be exported + because gimp2 (and potentially other things) fail otherwise +<< +Conflicts: libpng +Replaces: libpng +Source: mirror:sourceforge:libpng/libpng-%v.tar.bz2 +Source-MD5: 2287cfaad53a714acdf6eb75a7c1d15f +Patch: %n.patch +ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking +DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG +BuildDependsOnly: True +SplitOff: << + Package: %N-shlibs + Files: lib/libpng12.0.12.0.dylib lib/libpng12.0.dylib lib/libpng.3.12.0.dylib lib/libpng.3.dylib + Shlibs: << + %p/lib/libpng.3.dylib 16.0.0 %n (>= 1.2.12-3) + %p/lib/libpng12.0.dylib 13.0.0 %n (>= 1.2.12-3) + << + Description: Shared libraries for libpng3 package + DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG +<< +Description: PNG image format handling library +DescPort: << +Now uses autoconf. + +Formerly, we used the included Makefile for Darwin, which builds dynamic +libraries (the OS X Makefile only builds static libraries). This +Makefile had been written by Christoph Pfisterer for the Fink project and +accepted by the upstream maintainers of libpng. + +Previous versions by Christoph Pfisterer. + +This package is named libpng3 because in version 1.2.1 the major version +number was set to 3. The major version number was changed again in 1.2.2, +and the library renamed to libpng12, but this was intended as a backward- +compatible change to 1.2.1. Since the upstream makefiles include symlinks +for backward compatibility, we have not changed the name of the Fink package, +which was established as libpng3 at version 1.2.1. +<< +License: OSI-Approved +Homepage: http://www.libpng.org/pub/png/libpng.html +Maintainer: Dave Morrison <[EMAIL PROTECTED]> Added: trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.patch URL: <http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.patch&rev=288&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.patch (added) +++ trunk/experimental/3rdparty/common/main/finkinfo/graphics/libpng3.patch Mon Aug 7 04:18:42 2006 @@ -1,0 +1,21 @@ +diff -uNr libpng-1.2.12/png.h libpng-1.2.12-new/png.h +--- libpng-1.2.12/png.h 2006-06-27 16:22:34.000000000 -0400 ++++ libpng-1.2.12-new/png.h 2006-08-06 22:17:13.000000000 -0400 +@@ -1707,7 +1707,7 @@ + png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr)); + + /* free all memory used by the read (old method - NOT DLL EXPORTED) */ +-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr, ++extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr, png_infop info_ptr, + png_infop end_info_ptr)); + + /* free any memory associated with the png_struct and the png_info_structs */ +@@ -1715,7 +1715,7 @@ + PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)); + + /* free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */ +-extern void png_write_destroy PNGARG((png_structp png_ptr)); ++extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr)); + + /* set the libpng method of handling chunk CRC errors */ + extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr, ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits