[69673] trunk/dports/print/freetype

ryandesign at macports.org ryandesign at macports.org
Tue Jul 13 04:05:42 PDT 2010


Revision: 69673
          http://trac.macports.org/changeset/69673
Author:   ryandesign at macports.org
Date:     2010-07-13 04:05:41 -0700 (Tue, 13 Jul 2010)
Log Message:
-----------
freetype: update to 2.4.0 and don't use a versioned documentation directory. The bytecode variant disappears because the TrueType hinting algorithm patents have expired, so the bytecode interpreter is now always on; see http://www.freetype.org/patents.html

Modified Paths:
--------------
    trunk/dports/print/freetype/Portfile

Removed Paths:
-------------
    trunk/dports/print/freetype/files/patch-ftoption.h

Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile	2010-07-13 11:00:10 UTC (rev 69672)
+++ trunk/dports/print/freetype/Portfile	2010-07-13 11:05:41 UTC (rev 69673)
@@ -5,7 +5,7 @@
 PortGroup               archcheck 1.0
 
 name                    freetype
-version                 2.3.12
+version                 2.4.0
 categories              print graphics
 maintainers             ryandesign
 license                 freetype/GPLv2
@@ -37,13 +37,13 @@
 
 checksums \
     [suffix ${distname}] \
-        md5     e974a82e5939be8e05ee65f07275d7c5 \
-        sha1    ebf0438429c0bedd310059326d91646c3c91016b \
-        rmd160  57437a2bc0d85859cff2ca1253b36e64629397a1 \
+        md5     6dd4b655bf711f64562198b63b073032 \
+        sha1    4cbb92847b90da5babdaaab260cc09e801a60e74 \
+        rmd160  f51988f58d882ca213b72492f2033b7e07f82f65 \
     [suffix ${docdistfile}] \
-        md5     2788beb4e1ee01bad8ed9978c0630e86 \
-        sha1    4f3b2d0f04f23d5430dac4252fc225831c29dd18 \
-        rmd160  27c3b4f68b9d560060532f1041e9b8c0a574d4f6
+        md5     6ef5730cca14234151ca6116f676935e \
+        sha1    f448e48e9791d6e39be6aed86a768e733c504bd2 \
+        rmd160  13a29512f7c26354406c9efe569cd8edda7d1f5f
 
 patchfiles \
     patch-detect.mk.diff \
@@ -73,8 +73,7 @@
     }
 }
 
-set docdir \
-    ${prefix}/share/doc/${name}-${version}
+set docdir              ${prefix}/share/doc/${name}
 
 post-destroot {
     xinstall -m 0755 -d ${destroot}${docdir}
@@ -88,7 +87,6 @@
         FTL.TXT \
         GPL.TXT \
         LICENSE.TXT \
-        PATENTS \
         PROBLEMS \
         TODO \
         formats.txt \
@@ -102,24 +100,6 @@
     }
 }
 
-variant bytecode description {Include patented TrueType bytecode interpreter} {
-    pre-extract {
-        ui_warn "The +bytecode variant causes FreeType's TrueType driver to be
-compiled with a bytecode interpreter that produces better-looking output
-than the default auto-hinting method. However, the methods used by the
-bytecode interpreter are patented by Apple Inc. Only use this variant if
-you have purchased a license from Apple or live in a country where Apple's
-patents to this technology do not apply. For more information, please read:
-http://www.freetype.org/patents.html"
-    }
-    patchfiles-append \
-        patch-ftoption.h
-    
-    post-destroot {
-        xinstall -m 0644 -W ${worksrcpath}/docs TRUETYPE ${destroot}${docdir}
-    }
-}
-
 if { ${os.arch}=="i386" } {
     if { ${os.major}>=10 } {
         set merger_configure_env(ppc) CC_BUILD=${configure.cc}

Deleted: trunk/dports/print/freetype/files/patch-ftoption.h
===================================================================
--- trunk/dports/print/freetype/files/patch-ftoption.h	2010-07-13 11:00:10 UTC (rev 69672)
+++ trunk/dports/print/freetype/files/patch-ftoption.h	2010-07-13 11:05:41 UTC (rev 69673)
@@ -1,11 +0,0 @@
---- include/freetype/config/ftoption.h.orig 2008-11-05 03:25:14.000000000 -0600
-+++ include/freetype/config/ftoption.h 2009-01-18 03:35:45.000000000 -0600
-@@ -480,7 +480,7 @@
-   /*   Do not #undef this macro here, since the build system might         */
-   /*   define it for certain configurations only.                          */
-   /*                                                                       */
--/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
-+#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
- 
- 
-   /*************************************************************************/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100713/a7830414/attachment.html>


More information about the macports-changes mailing list