Package: libpng3 Version: 1.2.18 Revision: 1 Epoch: 1 Depends: %N-shlibs (= %e:%v-%r), pkgconfig PatchFile: %n.patch PatchFile-MD5: f8830168b3dac98630ade2b583d033e2 BuildDepends: fink (>= 0.24.12-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. << Conflicts: libpng Replaces: libpng Source: mirror:sourceforge:libpng/libpng-%v.tar.bz2 Source-MD5: 25a7f2f101eaaf2eb18c4987e0fbe39d ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG BuildDependsOnly: True InstallScript: << make install prefix=%i rm %i/lib/libpng.dylib ln -s libpng12.dylib %i/lib/libpng.dylib << SplitOff: << Package: %N-shlibs Files: lib/libpng12.0.18.0.dylib lib/libpng12.0.dylib lib/libpng.3.18.0.dylib lib/libpng.3.dylib Shlibs: << %p/lib/libpng.3.dylib 22.0.0 %n (>= 1:1.2.18-1) %p/lib/libpng12.0.dylib 19.0.0 %n (>= 1:1.2.18-1) << Description: Shared libraries for libpng3 package DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG << Description: PNG image format handling library DescPort: << Effective with version 1.2.18, we modify the libpng.dylib symlink during installation. The "libpng.3.dylib" version of the library is present only for backwards compatibility; the recommended library to use is "libpng12.0.dylib". Both libpng.la and libpng.a are symlinks to the corresponding libpng12.la and libpng12.a files; we now make the parallel symlink of libpng.dylib to libpng12.dylib. Note that we must still include libpng.3.dylib in the -shlibs splitoff for backwards compatibility (to be used by any package which has something compiled against it), but going forwards, there should be no new links to libpng.3.dylib. Now uses autoconf/automake. However, the current autoconf Makefile makes many symbols private which were previously public (including some which are declared in png.h), so for backwards compatibility and to ensure that all declared symbols are public, we patch the Makefile to disable the privatization of symbols. 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