Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv11461/graphics

Added Files:
        freetype.info freetype219.info freetype219.patch giflib.info 
        giflib.patch imlib2.info imlib2.patch libjpeg.info 
        libjpeg.patch libjpeg8.info libpng14.info libpng3.info 
        libpng3.patch libtiff.info 
Log Message:
builds on 10.7


--- NEW FILE: libjpeg8.info ---
Package: libjpeg8
Version: 8b
Revision: 2
Depends: %N-shlibs (= %v-%r), libjpeg-bin
BuildDepends: fink (>= 0.24.12)
Conflicts: libjpeg
Replaces: libjpeg
Source: http://www.ijg.org/files/jpegsrc.v%v.tar.gz
Source-MD5: e022acbc5b36cd2cb70785f5b575661e
SourceDirectory: jpeg-%v
ConfigureParams: --disable-static
InstallScript: <<
  make install prefix=%i
  mv %i/bin/jpegtran %i/bin/jpegtran.bin
<<
DocFiles: README
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Suggests: libjpeg-bin
  Files: lib/libjpeg.8.dylib
  Shlibs: %p/lib/libjpeg.8.dylib 9.0.0 %n (>= 8-1)
  Description: Shared libraries for libjpeg package
  DocFiles: README
<<
SplitOff2: <<
  Package: libjpeg-bin
  Depends: %N-shlibs (= %v-%r)
  Files:  bin share/man
  Description: Executables for libjpeg package
  DocFiles: README libjpeg.txt structure.txt usage.txt wizard.txt
  PostInstScript: <<
   update-alternatives --install %p/bin/jpegtran jpegtran %p/bin/jpegtran.bin 40
  <<
  PreRmScript: <<
   if [ $1 != "upgrade" ]; then
     update-alternatives --remove jpegtran %p/bin/jpegtran.bin
   fi
  <<
<<
Description: JPEG image format handling library
DescPort: <<
  Earliest versions by Christoph Pfisterer.
<<
Maintainer:  Dave Morrison <d...@finkproject.org>
Homepage: http://www.ijg.org/
License: OSI-Approved

--- NEW FILE: libpng3.info ---
Package: libpng3
Version: 1.2.44
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, libpng14
Replaces: libpng, libpng14
Source: mirror:sourceforge:libpng/libpng-%v.tar.bz2
Source-MD5: e3ac7879d62ad166a6f0c7441390d12b
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 48.0.0 %n (>= 1:1.2.44-1)
    %p/lib/libpng12.0.dylib 45.0.0 %n (>= 1:1.2.44-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 <d...@finkproject.org>

--- NEW FILE: libjpeg.info ---
Package: libjpeg
Version: 6b
Revision: 18
Depends: %N-shlibs (= %v-%r), %N-bin
BuildDepends: fink (>= 0.24.12)
Conflicts: libjpeg8
Replaces: libjpeg8
Source: ftp://ftp.uunet.de/pub/graphics/jpeg/jpegsrc.v%v.tar.gz
Source-MD5: dbd5f3b47ed13132f04c685d608a7547
SourceDirectory: jpeg-%v
PatchFile: %n.patch
PatchFile-MD5: 208caa4948c897b488892724601901f7
UpdateConfigGuess: true
UpdateLibtool: true
ConfigureParams: --enable-shared --enable-static
CompileScript: <<
  ./configure %c
  perl -pi.bak -e 's,-undefined suppress,,g; s,-flat_namespace,,g' libtool
  make
<<
InstallScript: <<
 mkdir -p %i/bin %i/include %i/lib %i/share/man/man1
 make install prefix=%i mandir=%i/share/man/man1
 mv %i/bin/jpegtran %i/bin/jpegtran.bin
<<
DocFiles: README
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Replaces: libjpeg (<< 6b-3)
  Suggests: %N-bin
  Files: lib/libjpeg.62.0.0.dylib lib/libjpeg.62.dylib
  Shlibs: %p/lib/libjpeg.62.dylib 63.0.0 %n (>= 6b-5)
  Description: Shared libraries for libjpeg package
  DocFiles: README
<<
SplitOff2: <<
  Package: %N-bin
  Replaces: libjpeg (<< 6b-3)
  Depends: %N-shlibs (= %v-%r)
  Files:  bin share/man
  Description: Executables for libjpeg package
  DocFiles: README libjpeg.doc structure.doc usage.doc wizard.doc
  PostInstScript: <<
   update-alternatives --install %p/bin/jpegtran jpegtran %p/bin/jpegtran.bin 40
  <<
  PreRmScript: <<
   if [ $1 != "upgrade" ]; then
     update-alternatives --remove jpegtran %p/bin/jpegtran.bin
   fi
  <<
<<
Description: JPEG image format handling library
DescPort: <<
Uses autoconf and libtool. Requires the usual fixes.

As of revision 6, the header file is patched to include a wrapper for use
with C++, thanks to Rob Peters.

Previous versions by Christoph Pfisterer.
<<
Maintainer:  Dave Morrison <d...@finkproject.org>
Homepage: http://www.ijg.org/
License: OSI-Approved

--- NEW FILE: giflib.info ---
Package: giflib
Version: 4.1.6
Revision: 2
Depends: %N-shlibs (= %v-%r), %N-bin (= %v-%r)
BuildDepends: fink (>= 0.28.0-1)
BuildDependsOnly: True
Conflicts: libungif (<< 4.1.6-2)
Replaces: libungif (<< 4.1.6-2)
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 7125644155ae6ad33dbc9fc15a14735f
PatchFile: %n.patch
PatchFile-MD5: 4afe1a9f59418d6aa11b79dc0c82529a

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
InstallScript: <<
#!/bin/sh -ev

        make -j1 install DESTDIR=%d
        pushd %i/lib
                ln -s libgif.dylib libungif.dylib
                ln -s libgif.a libungif.a
        popd

        install -d -m 755 %i/share/doc/installed-packages
        for package in libungif-shlibs libungif-bin; do
                touch %i/share/doc/installed-packages/$package
        done
<<
SplitOff: <<
        Package: %N-shlibs
        Depends: x11
        Conflicts: libungif-shlibs (<< 4.1.6-1)
        Replaces: libungif-shlibs (<< 4.1.6-1), libungif (<< 4.1.6-1), giflib 
(<= 4.1.0-2)
        Files: lib/libgif.*.dylib
        Shlibs: %p/lib/libgif.4.dylib 6.0.0 giflib-shlibs (>= 4.1.6-1)
        DocFiles: README COPYING AUTHORS
<<
SplitOff2: <<
        Package: %N-bin
        Depends: x11, %N-shlibs (= %v-%r)
        Conflicts: libungif-bin (<< 4.1.6-1)
        Replaces: libungif-bin (<< 4.1.6-1), libungif (<< 4.1.6-1), giflib (<= 
4.1.0-2)
        InstallScript: <<
                mkdir -p %i/share/doc/%N
                cp doc/*.txt %i/share/doc/%N/
                mkdir -p %i/share/doc/%N/html
                cp doc/*.png doc/*.html %i/share/doc/%N/html/
        <<
        Files: bin 
        DocFiles: README COPYING AUTHORS
<<
SplitOff4: <<
        Package: libungif-shlibs
        Depends: %N-shlibs (>= %v-%r), fink-obsolete-packages
        Files: share/doc/installed-packages/%n
<<
SplitOff5: <<
        Package: libungif-bin
        Depends: %N-bin (>= %v-%r), fink-obsolete-packages
        Files: share/doc/installed-packages/%n
<<

DocFiles: README COPYING AUTHORS
Description: GIF image format handling library
DescPort: Uses autoconf and libtool. The usual fixes.
License: OSI-Approved
Homepage: http://giflib.sourceforge.net/
Maintainer: Benjamin Reed <gif...@fink.racoonfink.com>

--- NEW FILE: giflib.patch ---
#!/bin/sh /usr/share/dpatch/dpatch-run
## 01-cve.dpatch by Michael Fedrowitz <micha...@debian.org>
##
## DP: Fix CVE-2005-2974 and CVE-2005-3350 (Closes: #337972).

@DPATCH@

diff -Naurp giflib-4.1.6.orig/lib/dgif_lib.c giflib-4.1.6/lib/dgif_lib.c
--- giflib-4.1.6.orig/lib/dgif_lib.c    2007-11-10 22:54:44.000000000 +0000
+++ giflib-4.1.6/lib/dgif_lib.c 2008-03-07 13:45:02.000000000 +0000
@@ -249,6 +249,8 @@ DGifGetScreenDesc(GifFileType * GifFile)
 
     if (READ(GifFile, Buf, 3) != 3) {
         _GifError = D_GIF_ERR_READ_FAILED;
+               FreeMapObject(GifFile->SColorMap);
+                GifFile->SColorMap = NULL;
         return GIF_ERROR;
     }
     GifFile->SColorResolution = (((Buf[0] & 0x70) + 1) >> 4) + 1;
@@ -346,6 +348,8 @@ DGifGetImageDesc(GifFileType * GifFile) 
         return GIF_ERROR;
     if (READ(GifFile, Buf, 1) != 1) {
         _GifError = D_GIF_ERR_READ_FAILED;
+               FreeMapObject(GifFile->Image.ColorMap);
+                GifFile->Image.ColorMap = NULL;
         return GIF_ERROR;
     }
     BitsPerPixel = (Buf[0] & 0x07) + 1;
@@ -994,6 +998,14 @@ DGifBufferedInput(GifFileType * GifFile,
             _GifError = D_GIF_ERR_IMAGE_DEFECT;
             return GIF_ERROR;
         }
+        /* There shouldn't be any empty data blocks here as the LZW spec
+         * says the LZW termination code should come first.  Therefore we
+         * shouldn't be inside this routine at that point.
+         */
+        if (Buf[0] == 0) {
+            _GifError = D_GIF_ERR_IMAGE_DEFECT;
+            return GIF_ERROR;
+        }
         if (READ(GifFile, &Buf[1], Buf[0]) != Buf[0]) {
             _GifError = D_GIF_ERR_READ_FAILED;
             return GIF_ERROR;

--- NEW FILE: imlib2.info ---
Package: imlib2
Version: 1.4.2
Revision: 3
Description: Image handling library for X11
License: BSD
Maintainer: Benjamin Reed <iml...@fink.racoonfink.com>

Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
        bzip2-dev,
        fink (>= 0.28-1),
        freetype219 (>= 2.3.8-2),
        libgettext3-dev,
        gettext-bin,
        gettext-tools,
        giflib,
        libid3tag,
        libiconv-dev,
        libjpeg,
        libpng3,
        libtiff,
        pkgconfig (>= 0.23),
        x11-dev,
        xmkmf (>= 1.0.2-3)
<<
Replaces: %N-shlibs (<< 1.1.0-14)
BuildDependsOnly: true

Source: mirror:sourceforge:enlightenment/%n-%v.tar.bz2
Source-MD5: 9f15568e76ebda9092c571e0df261f54
UpdateLibtoolInDirs: libltdl
PatchFile: %n.patch
PatchFile-MD5: 9ace9f4500ff259e85504952a6803565
PatchScript: <<
        perl -pi -e 's,need_relink=yes,need_relink=no,g; 
s,hardcode_direct=yes,hardcode_direct=no,g; s,-flat_namespace -undefined 
suppress,-undefined dynamic_lookup,g' ltmain.sh configure
        sed -e 's,@FINKPREFIX@,%p,g' < %{PatchFile} | patch -p1
<<

SetCPPFLAGS: -I%p/include -I/usr/X11R6/include
SetLDFLAGS: -L%p/lib -L/usr/X11R6/lib
ConfigureParams: --enable-visibility-hiding --disable-dependency-tracking 
--disable-static

CompileScript: <<
#!/bin/sh -ev
 export PATH=%p/lib/xmkmf/bin:$PATH 
 ./configure %c
 make
<<
InstallScript:  make install DESTDIR=%d
DocFiles: AUTHORS COPYING ChangeLog README TODO doc/*.html doc/*.gif
SplitOff: <<
        Package: %N-shlibs
        Depends: <<
                bzip2-shlibs,
                freetype219-shlibs (>= 2.3.8-2),
                libgettext3-shlibs,
                libiconv,
                libid3tag-shlibs,
                libjpeg-shlibs,
                libpng3-shlibs (>= 1.2.5-4),
                libtiff-shlibs,
                giflib-shlibs,
                x11
        <<
        DocFiles: COPYING
        Files: lib/libImlib2.*.dylib lib/imlib2
        Shlibs: %p/lib/libImlib2.1.dylib 6.0.0 %n (>= 1.4.0-1)
<<

Homepage: http://enlightenment.sourceforge.net/Libraries/Imlib2/
DescDetail: <<
Imlib2 is the successor to Imlib.  It is not just a newer version, it is a
completely new library.  Imlib2 can be installed alongside Imlib 1.x
without any problems since they are effectively different libraries, but
they have very similar functionality.
<<
DescPackaging: <<
        Fix -I ordering (local before global)
<<

--- NEW FILE: libpng14.info ---
Package: libpng14
Version: 1.4.4
Revision: 2
Depends: %N-shlibs (= %v-%r), pkgconfig
BuildDepends: fink (>= 0.24.12-1)
DescPackaging: <<
 Uses pkgconfig, but there are no pkgconfig-related dependencies.
<<
Conflicts: libpng, libpng3, libpng15
Replaces: libpng, libpng3, libpng15
Source: mirror:sourceforge:libpng/libpng-%v.tar.bz2
Source-MD5: e6446d6cc10621ce0ed27ff82a70a7e8
ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking
DocFiles: ANNOUNCE CHANGES INSTALL LICENSE README TODO
BuildDependsOnly: True
InstallScript: <<
 make install prefix=%i
<<
SplitOff: <<
  Package: %N-shlibs
  Files: lib/libpng14.14.dylib
  Shlibs: <<
    %p/lib/libpng14.14.dylib 19.0.0 %n (>= 1.4.4-1)
  <<
  Description: Shared libraries for libpng14 package
  DocFiles: ANNOUNCE CHANGES INSTALL LICENSE README TODO
<<
Description: PNG image format handling library
DescPort: <<
The included Makefile for Darwin which builds dynamic libraries had been 
written by Christoph Pfisterer for the Fink project and accepted by the 
upstream maintainers of libpng.  However, these days we use "configure"
instead.

Previous versions by Christoph Pfisterer.
<<
License: OSI-Approved
Homepage: http://www.libpng.org/pub/png/libpng.html
Maintainer:  Dave Morrison <d...@finkproject.org>

--- NEW FILE: libjpeg.patch ---
diff -ru jpeg-6b/jpeglib.h jpeg-6b-patched/jpeglib.h
--- jpeg-6b/jpeglib.h   Sat Feb 21 14:48:14 1998
+++ jpeg-6b-patched/jpeglib.h   Tue Feb 25 16:49:36 2003
@@ -13,6 +13,10 @@
 #ifndef JPEGLIB_H
 #define JPEGLIB_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * First we include the configuration files that record how this
  * installation of the JPEG library is set up.  jconfig.h can be
@@ -1091,6 +1095,10 @@
 #ifdef JPEG_INTERNALS
 #include "jpegint.h"           /* fetch private declarations */
 #include "jerror.h"            /* fetch error codes too */
+#endif
+
+#ifdef __cplusplus
+}
 #endif
 
 #endif /* JPEGLIB_H */

--- NEW FILE: libtiff.info ---
Package: libtiff
Version: 3.9.4
Revision: 1
Depends: %N-shlibs (= %v-%r), %N-bin
BuildDepends: libjpeg8 (>= 8-2), fink (>= 0.24.12)
Source: http://download.osgeo.org/libtiff/tiff-%v.tar.gz
Source-MD5: 2006c1bdd12644dbf02956955175afd6
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --mandir='${prefix}/share/man' --disable-dependency-tracking 
--with-docdir='${prefix}/share/doc/%n'
GCC: 4.0
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Depends: libjpeg8-shlibs (>= 8-2)
  Replaces: libtiff (<< 3.5.7-5)
  Suggests: %N-bin
  Files: lib/libtiff.3.dylib lib/libtiffxx.3.dylib
  Shlibs: <<
    %p/lib/libtiff.3.dylib 13.0.0 %n (>= 3.9.4-1)
    %p/lib/libtiffxx.3.dylib 13.0.0 %n (>= 3.9.4-1)
  <<
  Description: Shared libraries for libtiff package
  DocFiles: COPYRIGHT README
<<
SplitOff2: <<
  Package: %N-bin
  Depends: libjpeg8-shlibs (>= 8-2), %N-shlibs (= %v-%r)
  Replaces: libtiff (<< 3.5.7-5)
  Files: bin share/man/man1
  Description: Executables for libtiff package
  DocFiles: COPYRIGHT README
<<
Description: TIFF image format library and tools
DescPort: <<
No longer need a DocFiles field in the main package, because "make install"
installs these automatically.

Earliest versions by Christoph Pfisterer.  Thanks also to Blair Zajac and
Tomoaki Okayama for assistance with some previous versions.
<<
License: BSD
Homepage: http://www.remotesensing.org/libtiff/
Maintainer:  Dave Morrison <d...@finkproject.org>

--- NEW FILE: freetype219.patch ---
diff -Nurd -x'*~' freetype-2.3.11.orig/include/freetype/t1tables.h 
freetype-2.3.11/include/freetype/t1tables.h
--- freetype-2.3.11.orig/include/freetype/t1tables.h    2009-07-03 
09:28:24.000000000 -0400
+++ freetype-2.3.11/include/freetype/t1tables.h 2010-01-20 03:11:13.000000000 
-0500
@@ -78,6 +78,15 @@
     FT_Short    underline_position;
     FT_UShort   underline_thickness;
 
+    /*
+      2.3.8 transiently had added:
+    FT_UShort   fs_type;
+      then removed it again in 2.3.9. Field was private(?) but size of
+      struct was public, so this was backard-incompatible ABI break.
+      Fink didn't notice and pushed 2.3.8 widely. So now we add a
+      dummy member to remain at 2.3.8 size and avoid further breakage.
+    */
+    FT_UShort   fink_ABI_shim;
   } PS_FontInfoRec;
 
 
diff -ruN freetype-2.2.1-orig/modules.cfg freetype-2.2.1/modules.cfg
--- freetype-2.2.1-orig/modules.cfg     2006-03-01 02:01:21.000000000 +0900
+++ freetype-2.2.1/modules.cfg  2006-11-19 15:40:45.000000000 +0900
@@ -124,7 +124,7 @@
 
 # OpenType table validation.  Needs ftotval.c below.
 #
-# AUX_MODULES += otvalid
+AUX_MODULES += otvalid
 
 # Auxiliary PostScript driver component to share common code.
 #

--- NEW FILE: freetype219.info ---
Package: freetype219
Version: 2.3.12
Revision: 1
BuildDepends: fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
BuildConflicts: make (<= 3.79.1-3)
Conflicts: freetype219-hinting
Replaces: freetype219-hinting, %N-default
BuildDependsOnly: True
Source: http://download.savannah.gnu.org/releases/freetype/freetype-%v.tar.bz2
Source-MD5: e974a82e5939be8e05ee65f07275d7c5
#Source2: mirror:debian:pool/main/f/freetype/freetype_%v-1.diff.gz
Source2: mirror:debian:pool/main/f/freetype/freetype_2.3.11-1.diff.gz
Source2-MD5: 9bb5270345ee4d1eba0e03802d5051c7
PatchFile: %n.patch
PatchFile-MD5: fe372948993e6f3dc6482de3c7bad923
PatchScript: <<
 %{default_script}
 gzip -dc ../freetype_2.3.11-1.diff.gz | patch -p1
 patch -p0 < debian/patches-freetype/freetype-bytecode-interpreter.patch
 patch -p0 < debian/patches-freetype/freetype-2.1.7-backwards.compat.patch
 patch -p0 < debian/patches-freetype/freetype-bdflib-large-encodings.patch
 patch -p1 < debian/patches-freetype/331-hmtx-no-shorts.diff
 patch -p1 < debian/patches-freetype/enable-full-bytecode-interpreter
<<
NoSetCPPFLAGS: true
CompileScript: <<
#!/bin/sh -ev
        export CPATH=%p/include
        ./configure --prefix=%p/lib/%N --with-old-mac-fonts
        make
<<
InstallScript: <<
#!/bin/sh -ev
        make -j1 install DESTDIR="%d"
        rm -rf %i/lib/%N/share
        install -d -m 755 %i/share/doc/%N
        cp -pR docs/* %i/share/doc/%N/

        # everything is buried in a private hierarchy...
        # now symlink from the default places
        # must not symlink dirs...risk of confusing dpkg

        pushd %i/lib/freetype219

                # 1. clone actual directory structure
                # NB: will fail miserably if space in %i or %p
                # but fink hopelessly can't handle that anyway
                /usr/bin/find . -type d -print0 | /usr/bin/xargs -0 -n 1 -I" " 
mkdir -pv "%i/ "
                # 2. sylink the individual files
                /usr/bin/find . \( -type f -o -type l \) -print0 | 
/usr/bin/xargs -0 -n 1 -I" " ln -sv "%p/lib/freetype219/ " "%i/ "

                # adjust to emit paths pointing to the default places
                #must edit actual files...perl-pie replaces symlink
                #with actual file (!= acting through the symlink)
                perl -pi -e 's,%p/lib/freetype219,%p,g' bin/* lib/pkgconfig/*
                # lib/*.la #Scared of libtool!

        popd

        # only keep the main ld file, not all the underlying pieces
        rm %i/lib/libfreetype.6.*
<<

SplitOff: <<
        Package: %N-shlibs
        Depends: dpkg-base-files
        Replaces:  freetype219-hinting-shlibs, freetype2 (<< 2.0.8-2)
        Conflicts: freetype219-hinting-shlibs
        Files: lib/%N/lib/libfreetype.6*dylib
        Shlibs: %p/lib/%N/lib/libfreetype.6.dylib 11.0.0 %n (>= 2.3.12-1)
        DocFiles: ChangeLog* README docs/LICENSE.TXT
        Description: TrueType font rendering library, shared libs
<<

DocFiles: ChangeLog* README docs/LICENSE.TXT
Description: TrueType font rendering library, headers
DescDetail: <<
FreeType 2 is a library that provides access to and rendering of a
wide range of font file formats, including TrueType, PostScript Type 1,
and several bitmap font formats.
<<
DescUsage: <<
Packages that need freetype2 versions 2.1.8 or higher should
BuildDepend on freetype219 and depend on freetype219-shlibs
and potentially make sure that configure finds the freetype-config
script in %p/lib/freetype219/bin. The headers and libraries needed
at build time are in %p/lib/freetype219/{include,lib}, and also 
(as of 2.3.7-4) in the normal places (%p/{bin,include,lib}).
<<
DescPort: <<
* Previous versions by Christoph Pfisterer
* 2006-08-06 Benjamin Reed <rangerr...@users.sourceforge.net>
  - updated to 2.2.1
  - integrated patches from debian's freetype-2.2.1 for
    backwards-compatibility with 2.1.9 and earlier
* 2006-11-14 Martin Costabel <costa...@users.sourceforge.net>
  - integrated endianness fix from freetype CVS
* 2008-August/September Daniel Macks <dma...@netspace.org>
  - updated from 2.3.5 to 2.3.7
  - implemented symlinking game from compiler-default paths
<<
DescPackaging: <<
        CPPFLAGS gets passed before local -I and we don't use any fink
        headers, so just omit default -I%p/include

        Don't install freetype2.m4 because...that's how we've always
        done it for this package.

        This is lowest-level x11-supplied lib fink overlays, so use
        dpkg-base-files to purify .la to avoid mixing (or at least
        make it easier to be self-consistent) in higher-level pkgs.

        2.3.8 broke ABI (size of a public struct), which we didn't
        catch prior to release. 2.3.9 reverted to 2.3.7 ABI. We patch
        the public struct in 2.3.9+ to have the same size as 2.3.8 to
        avoid further breakage going forward.
#       But forgot to bump c_v for new public functions also. So hack
#       ltmain.sh to append ".0.1" to -compatibility_version so when
#       upstream fixes -version-info triplet x+1.y.z will be higher.
#       See: https://savannah.nongnu.org/bugs/?28483
<<
License: OSI-Approved
Homepage: http://www.freetype.org/
Maintainer: The Gnome Core Team <fink-gnome-c...@lists.sourceforge.net>

--- NEW FILE: freetype.info ---
Package: freetype
Version: 1.3.1
Revision: 12
BuildDepends: libgettext3-dev, gettext-bin, gettext-tools, x11-dev
Depends: %N-shlibs (= %v-%r), %N-bin
BuildDependsOnly: True
Conflicts: freetype-hinting
Replaces: freetype-hinting
Source: mirror:sourceforge:freetype/freetype-%v.tar.gz
UpdateConfigGuess: true
UpdateLibtool: true
SetCFLAGS: -I%p/include
SetLIBS: -L%p/lib
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
PatchScript: <<
 mv INSTALL INSTALL.txt
 perl -pi -e 's|##||g' test/ftdump.c
        sed -i.bak -e 's/Mach-O dynamically linked shared library/dynamically 
linked shared library/g' ltconfig ltmain.sh
<<
ConfigureParams: --includedir=%i/include/freetype1 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
CompileScript: <<
 ./configure %c
 sed -e 's/.*#undef.*TT_CONFIG_OPTION_NO_INTERPRETER.*/#define 
TT_CONFIG_OPTION_NO_INTERPRETER/' <ft_conf.h >ft_conf.h.tmp
 mv -f ft_conf.h.tmp ft_conf.h
 make
<<
InstallScript: <<
 make install prefix=%i
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: x11, libgettext3-shlibs
  Conflicts: freetype-hinting-shlibs
  Replaces: freetype-hinting-shlibs, %N (<= 1.3.1-4), freetype-hinting (<= 
1.3.1-3)
  Files: lib/libttf.2.2.0.dylib lib/libttf.2.dylib
  Shlibs: %p/lib/libttf.2.dylib 5.0.0 %n (>= 1.3.1-6)
  DocFiles: license.txt README PATENTS
<<
SplitOff2: <<
  Package: %N-bin
  Depends: %N-shlibs (= %v-%r)
  Conflicts: freetype-hinting-bin
  Replaces: freetype-hinting-bin, %N (<= 1.3.1-4), freetype-hinting (<= 1.3.1-3)
  InstallScript: <<
    mkdir -p %i/share/doc/%N
    cp -R docs/* %i/share/doc/%N/
  <<
  Files: bin share/locale
  DocFiles: license.txt README PATENTS
<<
DocFiles: license.txt README PATENTS
#
Description: TrueType font rendering library, version 1
DescDetail: <<
This is version 1 of the FreeType font renderer for TrueType fonts. It
is a library used by programs that want to do their own text drawing.

This package has hinting disabled, meaning that some characters will
look _really_ ugly. Some techniques used for hinting are patented by
Apple. This package is for the people who don't have an appropriate
patent license from Apple. If you have one or don't care, use the
freetype-hinting package instead.
<<
DescPort: <<
Uses autoconf and libtool - the usual fixes. We must move the
INSTALL file out of the way so the Makefile will actually do a 'make
install' ...

Uses UpdateConfigGuess/UpdateLibtool, which may still be
newer than the files in the source package.

Libtool is further updated to not break on the output
of 'file' on a 64-bit dylib. Note that it still uses
-undefined dynamic_lookup.
<<
DescUsage: <<
 As of 1.3.1-11, the headers are moved into the freetype1 subdir of 
 %p/include/ so that they are not found by the compiler unless
 explicit an -I flag is passed for them.
<<
License: OSI-Approved
Homepage: http://www.freetype.org/
Maintainer: None <fink-de...@lists.sourceforge.net>
Source-MD5: 9a9e7ad00c1ef6dfbf8f8e19ceefb300

--- NEW FILE: libpng3.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 $@

--- NEW FILE: imlib2.patch ---
diff -Nurd -x'*~' imlib2-1.4.2.orig/src/lib/Makefile.in 
imlib2-1.4.2/src/lib/Makefile.in
--- imlib2-1.4.2.orig/src/lib/Makefile.in       2008-10-20 23:01:59.000000000 
-0400
+++ imlib2-1.4.2/src/lib/Makefile.in    2009-12-18 11:05:07.000000000 -0500
@@ -219,7 +219,7 @@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = 1.4 foreign
 MAINTAINERCLEANFILES = Makefile.in
-INCLUDES = @my_includes@ -I. -I$(top_srcdir)  -I$(top_builddir)  
-DPACKAGE_LIB_DIR=\"$(libdir)\"
+INCLUDES = -I. -I$(top_srcdir)  -I$(top_builddir) @my_includes@ 
-DPACKAGE_LIB_DIR=\"$(libdir)\"
 lib_LTLIBRARIES = libImlib2.la
 include_HEADERS = Imlib2.h
 libImlib2_la_SOURCES = \


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to