[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14817] trunk/lib/solaris-2.10-x86_64: Adding freetype to solaris x86_64

Campbell Barton ideasman42 at gmail.com
Mon May 12 20:39:05 CEST 2008


Revision: 14817
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14817
Author:   campbellbarton
Date:     2008-05-12 20:39:05 +0200 (Mon, 12 May 2008)

Log Message:
-----------
Adding freetype to solaris x86_64

Added Paths:
-----------
    trunk/lib/solaris-2.10-x86_64/freetype/
    trunk/lib/solaris-2.10-x86_64/freetype/BUILD.TXT
    trunk/lib/solaris-2.10-x86_64/freetype/bin/
    trunk/lib/solaris-2.10-x86_64/freetype/bin/freetype-config
    trunk/lib/solaris-2.10-x86_64/freetype/include/
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftconfig.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftheader.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftmodule.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftoption.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftstdlib.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/freetype.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftbbox.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftbdf.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftbitmap.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftcache.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftchapters.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/fterrdef.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/fterrors.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftgasp.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftglyph.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftgxval.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftgzip.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftimage.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftincrem.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftlcdfil.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftlist.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftlzw.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftmac.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftmm.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftmodapi.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftmoderr.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftotval.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftoutln.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftpfr.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftrender.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftsizes.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftsnames.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftstroke.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftsynth.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftsystem.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/fttrigon.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/fttypes.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftwinfnt.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ftxf86.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/t1tables.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ttnameid.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/tttables.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/tttags.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/ttunpat.h
    trunk/lib/solaris-2.10-x86_64/freetype/include/ft2build.h
    trunk/lib/solaris-2.10-x86_64/freetype/lib/
    trunk/lib/solaris-2.10-x86_64/freetype/lib/libfreetype.a
    trunk/lib/solaris-2.10-x86_64/freetype/lib/libfreetype.so
    trunk/lib/solaris-2.10-x86_64/freetype/lib/libfreetype.so.6
    trunk/lib/solaris-2.10-x86_64/freetype/lib/libfreetype.so.6.3.16
    trunk/lib/solaris-2.10-x86_64/freetype/lib/pkgconfig/
    trunk/lib/solaris-2.10-x86_64/freetype/lib/pkgconfig/freetype2.pc
    trunk/lib/solaris-2.10-x86_64/freetype/share/
    trunk/lib/solaris-2.10-x86_64/freetype/share/aclocal/
    trunk/lib/solaris-2.10-x86_64/freetype/share/aclocal/freetype2.m4

Added: trunk/lib/solaris-2.10-x86_64/freetype/BUILD.TXT
===================================================================
--- trunk/lib/solaris-2.10-x86_64/freetype/BUILD.TXT	                        (rev 0)
+++ trunk/lib/solaris-2.10-x86_64/freetype/BUILD.TXT	2008-05-12 18:39:05 UTC (rev 14817)
@@ -0,0 +1,5 @@
+mkdir /ft
+GNUMAKE=gmake ./configure --prefix=/ft
+CC="gcc -m64" GNUMAKE=gmake ./configure --prefix=/ft
+gmake
+gmake install

Added: trunk/lib/solaris-2.10-x86_64/freetype/bin/freetype-config
===================================================================
--- trunk/lib/solaris-2.10-x86_64/freetype/bin/freetype-config	                        (rev 0)
+++ trunk/lib/solaris-2.10-x86_64/freetype/bin/freetype-config	2008-05-12 18:39:05 UTC (rev 14817)
@@ -0,0 +1,157 @@
+#! /bin/sh
+#
+# Copyright 2000, 2001, 2002, 2003, 2004, 2005 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+prefix=/ft
+exec_prefix=${prefix}
+exec_prefix_set=no
+includedir=${prefix}/include
+libdir=${exec_prefix}/lib
+enable_shared=yes
+wl=-Wl,
+hardcode_libdir_flag_spec='-R$libdir'
+
+usage()
+{
+  cat <<EOF
+Usage: freetype-config [OPTION]...
+Get FreeType compilation and linking information.
+
+Options:
+  --prefix               display \`--prefix' value used for building the
+                         FreeType library
+  --prefix=PREFIX        override \`--prefix' value with PREFIX
+  --exec-prefix          display \`--exec-prefix' value used for building
+                         the FreeType library
+  --exec-prefix=EPREFIX  override \`--exec-prefix' value with EPREFIX
+  --version              display libtool version of the FreeType library
+  --ftversion            display FreeType version number
+  --libs                 display flags for linking with the FreeType library
+  --libtool              display library name for linking with libtool
+  --cflags               display flags for compiling with the FreeType
+                         library
+EOF
+  exit $1
+}
+
+if test $# -eq 0 ; then
+  usage 1 1>&2
+fi
+
+while test $# -gt 0 ; do
+  case "$1" in
+  -*=*)
+    optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
+    ;;
+  *)
+    optarg=
+    ;;
+  esac
+
+  case $1 in
+  --prefix=*)
+    prefix=$optarg
+    local_prefix=yes
+    ;;
+  --prefix)
+    echo_prefix=yes
+    ;;
+  --exec-prefix=*)
+    exec_prefix=$optarg
+    exec_prefix_set=yes
+    local_prefix=yes
+    ;;
+  --exec-prefix)
+    echo_exec_prefix=yes
+    ;;
+  --version)
+    echo 9.16.3
+    exit 0
+    ;;
+  --ftversion)
+    major=`grep define /ft/include/freetype2/freetype/freetype.h \
+           | grep FREETYPE_MAJOR \
+           | sed 's/.*[ 	]\([0-9][0-9]*\).*/\1/'`
+    minor=`grep define /ft/include/freetype2/freetype/freetype.h \
+           | grep FREETYPE_MINOR \
+           | sed 's/.*[ 	]\([0-9][0-9]*\).*/\1/'`
+    patch=`grep define /ft/include/freetype2/freetype/freetype.h \
+           | grep FREETYPE_PATCH \
+           | sed 's/.*[ 	]\([0-9][0-9]*\).*/\1/'`
+    echo $major.$minor.$patch
+    exit 0
+    ;;
+  --cflags)
+    echo_cflags=yes
+    ;;
+  --libs)
+    echo_libs=yes
+    ;;
+  --libtool)
+    echo_libtool=yes
+    ;;
+  *)
+    usage 1 1>&2
+    ;;
+  esac
+  shift
+done
+
+if test "$local_prefix" = "yes" ; then
+  if test "$exec_prefix_set" != "yes" ; then
+    exec_prefix=$prefix
+  fi
+fi
+
+if test "$echo_prefix" = "yes" ; then
+  echo $prefix
+fi
+
+if test "$echo_exec_prefix" = "yes" ; then
+  echo $exec_prefix
+fi
+
+if test "$exec_prefix_set" = "yes" ; then
+  libdir=$exec_prefix/lib
+else
+  if test "$local_prefix" = "yes" ; then
+    includedir=$prefix/include
+    libdir=$prefix/lib
+  fi
+fi
+
+if test "$echo_cflags" = "yes" ; then
+  cflags="-I$includedir/freetype2"
+  if test "$includedir" != "/usr/include" ; then
+    echo $cflags -I$includedir
+  else
+    echo $cflags
+  fi
+fi
+
+if test "$echo_libs" = "yes" ; then
+  rpath=
+  if test "$enable_shared" = "yes" ; then
+    eval "rpath=\"$hardcode_libdir_flag_spec\""
+  fi
+  libs="-lfreetype -lz "
+  if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
+    echo -L$libdir $rpath $libs
+  else
+    echo $libs
+  fi
+fi
+
+if test "$echo_libtool" = "yes" ; then
+  convlib="libfreetype.la"
+  echo $libdir/$convlib
+fi
+
+# EOF


Property changes on: trunk/lib/solaris-2.10-x86_64/freetype/bin/freetype-config
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftconfig.h
===================================================================
--- trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftconfig.h	                        (rev 0)
+++ trunk/lib/solaris-2.10-x86_64/freetype/include/freetype2/freetype/config/ftconfig.h	2008-05-12 18:39:05 UTC (rev 14817)
@@ -0,0 +1,350 @@
+/* ftconfig.h.  Generated from ftconfig.in by configure.  */
+/***************************************************************************/
+/*                                                                         */
+/*  ftconfig.in                                                            */
+/*                                                                         */
+/*    UNIX-specific configuration file (specification only).               */
+/*                                                                         */
+/*  Copyright 1996-2001, 2002, 2003, 2004, 2006, 2007 by                   */
+/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
+/*                                                                         */
+/*  This file is part of the FreeType project, and may only be used,       */
+/*  modified, and distributed under the terms of the FreeType project      */
+/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
+/*  this file you indicate that you have read the license and              */
+/*  understand and accept it fully.                                        */
+/*                                                                         */
+/***************************************************************************/
+
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* This header file contains a number of macro definitions that are used */
+  /* by the rest of the engine.  Most of the macros here are automatically */
+  /* determined at compile time, and you should not need to change it to   */
+  /* port FreeType, except to compile the library with a non-ANSI          */
+  /* compiler.                                                             */
+  /*                                                                       */
+  /* Note however that if some specific modifications are needed, we       */
+  /* advise you to place a modified copy in your build directory.          */
+  /*                                                                       */
+  /* The build directory is usually `freetype/builds/<system>', and        */
+  /* contains system-specific files that are always included first when    */
+  /* building the library.                                                 */
+  /*                                                                       */
+  /*************************************************************************/
+
+
+#ifndef __FTCONFIG_H__
+#define __FTCONFIG_H__
+
+#include <ft2build.h>
+#include FT_CONFIG_OPTIONS_H
+#include FT_CONFIG_STANDARD_LIBRARY_H
+
+
+FT_BEGIN_HEADER
+
+
+  /*************************************************************************/
+  /*                                                                       */
+  /*               PLATFORM-SPECIFIC CONFIGURATION MACROS                  */
+  /*                                                                       */
+  /* These macros can be toggled to suit a specific system.  The current   */
+  /* ones are defaults used to compile FreeType in an ANSI C environment   */
+  /* (16bit compilers are also supported).  Copy this file to your own     */
+  /* `freetype/builds/<system>' directory, and edit it to port the engine. */
+  /*                                                                       */
+  /*************************************************************************/
+
+
+#define HAVE_UNISTD_H 1
+#define HAVE_FCNTL_H 1
+
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 8
+
+
+#define FT_SIZEOF_INT   SIZEOF_INT
+#define FT_SIZEOF_LONG  SIZEOF_LONG
+
+#define FT_CHAR_BIT  CHAR_BIT
+
+  /* Preferred alignment of data */
+#define FT_ALIGNMENT  8
+
+
+  /* FT_UNUSED is a macro used to indicate that a given parameter is not  */
+  /* used -- this is only used to get rid of unpleasant compiler warnings */
+#ifndef FT_UNUSED
+#define FT_UNUSED( arg )  ( (arg) = (arg) )
+#endif
+
+
+  /*************************************************************************/
+  /*                                                                       */
+  /*                     AUTOMATIC CONFIGURATION MACROS                    */
+  /*                                                                       */
+  /* These macros are computed from the ones defined above.  Don't touch   */
+  /* their definition, unless you know precisely what you are doing.  No   */
+  /* porter should need to mess with them.                                 */
+  /*                                                                       */
+  /*************************************************************************/
+
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* Mac support                                                           */
+  /*                                                                       */
+  /*   This is the only necessary change, so it is defined here instead    */
+  /*   providing a new configuration file.                                 */

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list