Update of /cvsroot/fink/experimental/jfmertens/main/finkinfo/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19798

Added Files:
        freetype2.info freetype2.patch 
Removed Files:
        freetype2-hinting.info freetype2-hinting.patch 
Log Message:
mozilla here was built with this freetype2-hinting.
Shouldn't matter _ but just to be sure.
BTW, this is a vers 2.1.7, which I'm using w/o problems since about 1 year.
Does anybody know of a pkg in fink that requires a lower version ?

--- freetype2-hinting.info DELETED ---

--- NEW FILE: freetype2.patch ---
--- freetype-2.1.3/builds/unix/freetype-config.in~      Tue Dec 16 18:58:35 2003
+++ freetype-2.1.3/builds/unix/freetype-config.in       Tue Dec 16 19:00:47 2003
@@ -1,6 +1,6 @@
 #! /bin/sh
 
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@/lib/freetype2
 [EMAIL PROTECTED]@
 
 usage()
diff -Naur freetype-2.1.3.old/builds/unix/freetype-config.in 
freetype-2.1.3.new/builds/unix/freetype-config.in
diff -Naur freetype-2.1.3.old/builds/unix/ltmain.sh 
freetype-2.1.3.new/builds/unix/ltmain.sh
--- freetype-2.1.3.old/builds/unix/ltmain.sh    Tue Mar  5 10:09:59 2002
+++ freetype-2.1.3.new/builds/unix/ltmain.sh    Fri Mar 28 13:26:18 2003
@@ -2894,6 +2894,11 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
+         if test "x$verstring" = "x0.0"; then
+           tmp_verstring=
+         else
+           tmp_verstring="$verstring"
+         fi
          eval cmds=\"$archive_cmds\"
        fi
        save_ifs="$IFS"; IFS='~'
diff -Naur freetype-2.1.3.old/src/base/ftobjs.c 
freetype-2.1.3.new/src/base/ftobjs.c
--- freetype-2.1.3.old/src/base/ftobjs.c        Thu Oct 31 03:29:32 2002
+++ freetype-2.1.3.new/src/base/ftobjs.c        Fri Mar 28 13:26:18 2003
@@ -798,7 +798,7 @@
   /* there's a Mac-specific extended implementation of FT_New_Face() */
   /* in src/base/ftmac.c                                             */
 
-#ifndef FT_MACINTOSH
+/*#ifndef FT_MACINTOSH*/
 
   /* documentation is in freetype.h */
 
@@ -821,7 +821,7 @@
     return FT_Open_Face( library, &args, face_index, aface );
   }
 
-#endif  /* !FT_MACINTOSH */
+/*#endif  !FT_MACINTOSH */

--- NEW FILE: freetype2.info ---
Info2: <<
Package: freetype2%type_pkg[-hinting]
Type: -hinting (boolean)
Version: 2.1.7
Revision: 22
Depends: %N-shlibs (= %v-%r)
Conflicts: %{Ni}, %{Ni}-hinting
Replaces: %{Ni}, %{Ni}-hinting
Provides: (%type_raw[-hinting] = -hinting) %{Ni}
BuildDependsOnly: True
Source: mirror:sourceforge:freetype/freetype-%v.tar.gz
Source-MD5: 6069d86220290d7c0d6cf1d2447254dd
Patch: %{Ni}.patch
PatchScript: <<
#!/bin/sh -ev
 mv docs/reference/* docs
 rm -fR docs/reference
 perl -pi.bak -e 's,/hurd/auth\),/hurd/auth\) \\\n\t\t     \$\(wildcard 
/sbin/launchd\),' builds/unix/detect.mk
 perl -pi.bak -e 's/.*(#define.*SYSTEM_ZLIB).*/\1/; 
s/.*(#define.*INCREMENTAL).*/\1/' include/freetype/config/ftoption.h
 if [ "%type_raw[-hinting]" = "-hinting" ] ; then
     perl -pi -e 's/.*(#define.*BYTECODE_INTERPRETER).*/\1/' 
include/freetype/config/ftoption.h
 fi
<<
CompileScript: <<
 make setup CFG="--prefix=%p"
 perl -pi.bak -e 's/^allow_undefined_flag.*/allow_undefined_flag=\"\"/' 
builds/unix/libtool
 make
<<
InstallScript: <<
#!/bin/sh -ev
 make install prefix=%i
 install -d -m 755 %i/lib/%{Ni}/lib
 mv %i/bin %i/lib/%{Ni}
 mv %i/lib/libfreetype.a %i/lib/%{Ni}/lib
 mv %i/lib/libfreetype.dylib %i/lib/%{Ni}/lib
 ln -sf %p/lib/libfreetype.6.dylib %i/lib/%{Ni}/lib/libfreetype.dylib
 perl -p -e 's,%p/lib,%p/lib/%{Ni}/lib,g' %i/lib/libfreetype.la > 
%i/lib/%{Ni}/lib/libfreetype.la
 rm -f %i/lib/libfreetype.la
 mv %i/include %i/lib/%{Ni}
 mkdir -p %i/lib/%{Ni}/lib/pkgconfig
 sed '/^prefix/c\
prefix=%p/lib/%{Ni}' < %i/lib/pkgconfig/%{Ni}.pc > 
%i/lib/%{Ni}/lib/pkgconfig/%{Ni}.pc
 rm -fR %i/lib/pkgconfig
 for file in %i/lib/libfreetype*.dylib; do
   REALFILE=`echo "$file" | sed -e 's,^%d,,'`
   ln -sf "$REALFILE" %i/lib/%{Ni}/lib/
 done
<<
SplitOff: <<
  Package: %N-shlibs
  Replaces: %{Ni}-shlibs, %{Ni}-hinting-shlibs, %{Ni} (<< 2.0.8-2)
  Conflicts: %{Ni}-shlibs, %{Ni}-hinting-shlibs
  Provides: (%type_raw[-hinting] = -hinting) %{Ni}-shlibs
  Files: lib/libfreetype.6*dylib
  Shlibs: %p/lib/libfreetype.6.dylib 10.0.0 %n (>= 2.0.9-1)
  DocFiles: <<
    README docs/* src/autohint/CatharonLicense.txt
    src/pcf/readme:README.pcf
  <<
  Description: TrueType font rendering library, v. 2, shlibs
<<
SplitOff2: <<
  Package: %N-dev
  Depends: %N-shlibs (=%v-%r)
  Replaces: %{Ni}-dev, %{Ni}-hinting-dev
  Conflicts: %{Ni}-dev, %{Ni}-hinting-dev
  Provides: (%type_raw[-hinting] = -hinting) %{Ni}-dev
  Files: lib/%{Ni} share/aclocal
  DocFiles: <<
    README docs/* src/autohint/CatharonLicense.txt
    src/pcf/readme:README.pcf
  <<
  Description: TrueType font rendering library, v. 2, headers
<<
DocFiles: <<
 README docs/* src/autohint/CatharonLicense.txt
 src/pcf/readme:README.pcf
<<
Description: TrueType font rendering library, v. 2 (dummy)
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.

The freetype2 packages now exist only for compatibility with older Fink
packages.  Developers should use the freetype that is part of XFree86
for new packages.

For packages that need freetype2 version 2.1.3 or newer, there is now
a freetype2-dev splitoff. For this to work, you need to make sure that
configure finds the freetype-config script in %p/lib/freetype2/bin
<<
DescPort: <<
 Previous versions by Christoph Pfisterer
<<
License: Restrictive
Homepage: http://www.freetype.org/
Maintainer: Alexander Strange <[EMAIL PROTECTED]>
<<

--- freetype2-hinting.patch DELETED ---



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to