Update of /cvsroot/fink/experimental/mrvacbob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12413

Added Files:
        freetype2.info freetype2.patch 
Log Message:
In-progress combined freetype2 package, needs conditional licenses

--- NEW FILE: freetype2.patch ---
diff -ru freetype-2.1.9-orig/builds/unix/detect.mk 
freetype-2.1.9/builds/unix/detect.mk
--- freetype-2.1.9-orig/builds/unix/detect.mk   2004-12-28 01:18:57.000000000 
-0800
+++ freetype-2.1.9/builds/unix/detect.mk        2004-12-28 01:23:10.000000000 
-0800
@@ -20,7 +20,8 @@
   #
   is_unix := $(strip $(wildcard /sbin/init) \
                      $(wildcard /usr/sbin/init) \
-                     $(wildcard /hurd/auth))
+                     $(wildcard /hurd/auth) \
+                     $(wildcard /sbin/launchd))
   ifneq ($(is_unix),)
 
     PLATFORM := unix
diff -ru freetype-2.1.9-orig/builds/unix/freetype-config.in 
freetype-2.1.9/builds/unix/freetype-config.in
--- freetype-2.1.9-orig/builds/unix/freetype-config.in  2004-12-28 
01:18:57.000000000 -0800
+++ freetype-2.1.9/builds/unix/freetype-config.in       2004-12-28 
01:19:19.000000000 -0800
@@ -1,6 +1,6 @@
 #! /bin/sh
 
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@/lib/freetype2
 [EMAIL PROTECTED]@
 exec_prefix_set=no
 [EMAIL PROTECTED]@
diff -ru freetype-2.1.9-orig/builds/unix/freetype2.in 
freetype-2.1.9/builds/unix/freetype2.in
--- freetype-2.1.9-orig/builds/unix/freetype2.in        2004-12-28 
01:18:57.000000000 -0800
+++ freetype-2.1.9/builds/unix/freetype2.in     2005-01-01 01:05:29.000000000 
-0800
@@ -7,5 +7,5 @@
 Description: A free, high-quality, and portable font engine.
 Version: @ft_version@
 Requires:
-Libs: -L${libdir} -lfreetype @LIBZ@
-Cflags: -I${includedir}/freetype2
+Libs: -L${libdir}/freetype2/lib -lfreetype @LIBZ@
+Cflags: -I${libdir}/freetype2/include/freetype2
diff -ru freetype-2.1.9-orig/builds/unix/ltmain.sh 
freetype-2.1.9/builds/unix/ltmain.sh
--- freetype-2.1.9-orig/builds/unix/ltmain.sh   2004-12-28 01:18:57.000000000 
-0800
+++ freetype-2.1.9/builds/unix/ltmain.sh        2004-12-28 01:21:15.000000000 
-0800
@@ -3760,6 +3760,11 @@
          eval test_cmds=\"$archive_expsym_cmds\"
          cmds=$archive_expsym_cmds
        else
+          if test "x$verstring" = "x0.0"; then
+            tmp_verstring=
+          else
+            tmp_verstring="$verstring"
+          fi
          eval test_cmds=\"$archive_cmds\"
          cmds=$archive_cmds
          fi

--- NEW FILE: freetype2.info ---
Info2: <<
Package: freetype2%type_pkg[-hinting]%type_pkg[-darwin]
Type: -darwin (boolean), -hinting (boolean)
Version: 2.1.9
Revision: 1
Depends: %N-shlibs (= %v-%r)
Conflicts: freetype2,freetype2-hinting,freetype2-darwin,freetype2-hinting-darwin
Replaces: freetype2,freetype2-hinting,freetype2-darwin,freetype2-hinting-darwin
BuildDependsOnly: True
Source: mirror:sourceforge:freetype/freetype-%v.tar.gz
Source-MD5: 1336a6851753c962495ff02ff7ea71c1
PatchScript: <<
patch -p1 < %a/freetype2.patch
perl -i -pe 's/.*(#define.*BYTECODE_INTERPRETER).*/\1/' 
include/freetype/config/ftoption.h
<<
CompileScript: <<
#!/bin/sh -ev
  if [ "%type_raw[-darwin]" == "-darwin" ]; then
   export FONTOPT=""
  else
   export FONTOPT="--with-old-mac-fonts"
  fi
 make setup CFG="--prefix=%p $FONTOPT"
 make
<<
InstallScript: <<
 make install prefix=%i
 install -d -m 755 %i/lib/freetype2/lib
 mv %i/bin %i/lib/freetype2
 mv %i/lib/libfreetype.a %i/lib/freetype2/lib
 mv %i/lib/libfreetype.dylib %i/lib/freetype2/lib
 ln -sf %p/lib/libfreetype.6.dylib %i/lib/freetype2/lib/libfreetype.dylib
 mv %i/lib/libfreetype.la %i/lib/freetype2/lib
 mv %i/lib/pkgconfig %i/lib/freetype2/lib
 mv %i/include %i/lib/freetype2
 rm -rf %i/share/aclocal
 mkdir -p %i/share/doc/%n
 cp -r docs %i/share/doc/%n
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: (%type_raw[-darwin] != -darwin) macosx
  Conflicts: 
freetype2-shlibs,freetype2-hinting-shlibs,freetype2-darwin-shlibs,freetype2-hinting-darwin-shlibs
  Replaces: 
freetype2-shlibs,freetype2-hinting-shlibs,freetype2-darwin-shlibs,freetype2-hinting-darwin-shlibs
  Files: lib/libfreetype.6*dylib
  Shlibs: %p/lib/libfreetype.6.dylib 10.0.0 %n (>= 2.0.9-1)
  DocFiles: <<
    README docs/[A-Z]* docs/*.txt src/autohint/CatharonLicense.txt
    src/pcf/readme:README.pcf
  <<
  Description: TrueType font rendering library, version 2, shared libs
<<
SplitOff2: <<
  Package: %N-dev
  Depends: %N-shlibs (=%v-%r)
  Conflicts: 
freetype2-dev,freetype2-hinting-dev,freetype2-darwin-dev,freetype2-hinting-darwin-dev
  Replaces: 
freetype2-dev,freetype2-hinting-dev,freetype2-darwin-dev,freetype2-hinting-darwin-dev
  Files: lib/freetype2 
  DocFiles: <<
    README docs/[A-Z]* docs/*.txt src/autohint/CatharonLicense.txt
    src/pcf/readme:README.pcf
  <<
  Description: TrueType font rendering library, version 2, headers
<<
DocFiles: <<
 README src/autohint/CatharonLicense.txt
 src/pcf/readme:README.pcf
<<
Description: TrueType font rendering library, version 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 package now exists 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: Jeffrey Whitaker <[EMAIL PROTECTED]>
<<


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to