libpng3 stable port information

Package: libpng3
Version: 1.2.29
Revision: 1
Epoch: 1
Depends: %N-shlibs (= %e:%v-%r), pkgconfig
PatchFile: %n.patch
PatchFile-MD5: 4ebd6011e47f9a94917eb5c38e23388c
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: f588cb4ee39e3a333604096f937ea157
ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG
BuildDependsOnly: True
InstallScript: <<
make install prefix=%i
<<
SplitOff: <<
Package: %N-shlibs
Files: lib/libpng12.0.dylib lib/libpng.3.dylib
Shlibs: <<
%p/lib/libpng.3.dylib 33.0.0 %n (>= 1:1.2.29-1)
%p/lib/libpng12.0.dylib 30.0.0 %n (>= 1:1.2.29-1)
<<
Description: Shared libraries for libpng3 package
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG
<<
Description: PNG image format handling library
DescPort: <<
In version 1.2.18, we modified the libpng.dylib symlink during installation;
in verstion 1.2.27 this is no longer necessary. 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.

Version 1.2.27 addresses a security issue: CVE-2008-1382.
<<
License: OSI-Approved
Homepage: http://www.libpng.org/pub/png/libpng.html
Maintainer: Dave Morrison

libpng3 stable port .patch

diff -ruN libpng-1.2.27/Makefile.in libpng-1.2.27-patched/Makefile.in
--- libpng-1.2.27/Makefile.in 2008-04-28 17:38:48.000000000 -0700
+++ libpng-1.2.27-patched/Makefile.in 2008-04-28 19:44:37.000000000 -0700
@@ -46,7 +46,7 @@
host_triplet = @host@
check_PROGRAMS = pngtest$(EXEEXT)
@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=libpng.vers
-@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
+#@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
subdir = .
DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \
$(pkginclude_HEADERS) $(srcdir)/Makefile.am \
@@ -305,7 +305,7 @@
libpng_la_LDFLAGS = -rpath '$(libdir)' -no-undefined -export-dynamic \
-version-number 3:@PNGLIB_RELEASE@:0

-@HAVE_LD_VERSION_SCRIPT_FALSE@libpng12_la_DEPENDENCIES = libpng.sym
+#@HAVE_LD_VERSION_SCRIPT_FALSE@libpng12_la_DEPENDENCIES = libpng.sym
@HAVE_LD_VERSION_SCRIPT_TRUE@libpng12_la_DEPENDENCIES = libpng.vers
libpng_la_DEPENDENCIES = $(libpng12_la_DEPENDENCIES)

@@ -1247,7 +1247,7 @@


@HAVE_LD_VERSION_SCRIPT_TRUE@ # Versioned symbols and restricted exports
-@HAVE_LD_VERSION_SCRIPT_FALSE@ # Only restricted exports when possible
+#@HAVE_LD_VERSION_SCRIPT_FALSE@ # Only restricted exports when possible

$(PNGLIB_BASENAME).pc: libpng.pc
cp libpng.pc $@

libpng3 _unstable_ port information

Package: libpng3
Version: 1.2.31
Revision: 1
Epoch: 1
Depends: %N-shlibs (= %e:%v-%r), pkgconfig
PatchFile: %n.patch
PatchFile-MD5: 4ebd6011e47f9a94917eb5c38e23388c
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: 78d2f8c4e0d64f8948819563587302d3
ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG
BuildDependsOnly: True
InstallScript: <<
make install prefix=%i
<<
SplitOff: <<
Package: %N-shlibs
Files: lib/libpng12.0.dylib lib/libpng.3.dylib
Shlibs: <<
%p/lib/libpng.3.dylib 35.0.0 %n (>= 1:1.2.31-1)
%p/lib/libpng12.0.dylib 32.0.0 %n (>= 1:1.2.31-1)
<<
Description: Shared libraries for libpng3 package
DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG
<<
Description: PNG image format handling library
DescPort: <<
In version 1.2.18, we modified the libpng.dylib symlink during installation;
in verstion 1.2.27 this is no longer necessary. 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.

Version 1.2.27 addresses a security issue: CVE-2008-1382.
<<
License: OSI-Approved
Homepage: http://www.libpng.org/pub/png/libpng.html
Maintainer: Dave Morrison

libpng3 _unstable_ port .patch

diff -ruN libpng-1.2.27/Makefile.in libpng-1.2.27-patched/Makefile.in
--- libpng-1.2.27/Makefile.in 2008-04-28 17:38:48.000000000 -0700
+++ libpng-1.2.27-patched/Makefile.in 2008-04-28 19:44:37.000000000 -0700
@@ -46,7 +46,7 @@
host_triplet = @host@
check_PROGRAMS = pngtest$(EXEEXT)
@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=libpng.vers
-@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
+#@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
subdir = .
DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \
$(pkginclude_HEADERS) $(srcdir)/Makefile.am \
@@ -305,7 +305,7 @@
libpng_la_LDFLAGS = -rpath '$(libdir)' -no-undefined -export-dynamic \
-version-number 3:@PNGLIB_RELEASE@:0

-@HAVE_LD_VERSION_SCRIPT_FALSE@libpng12_la_DEPENDENCIES = libpng.sym
+#@HAVE_LD_VERSION_SCRIPT_FALSE@libpng12_la_DEPENDENCIES = libpng.sym
@HAVE_LD_VERSION_SCRIPT_TRUE@libpng12_la_DEPENDENCIES = libpng.vers
libpng_la_DEPENDENCIES = $(libpng12_la_DEPENDENCIES)

@@ -1247,7 +1247,7 @@


@HAVE_LD_VERSION_SCRIPT_TRUE@ # Versioned symbols and restricted exports
-@HAVE_LD_VERSION_SCRIPT_FALSE@ # Only restricted exports when possible
+#@HAVE_LD_VERSION_SCRIPT_FALSE@ # Only restricted exports when possible

$(PNGLIB_BASENAME).pc: libpng.pc
cp libpng.pc $@