[56799] trunk/dports/devel/libgdiplus
nox at macports.org
nox at macports.org
Wed Sep 2 03:49:04 PDT 2009
Revision: 56799
http://trac.macports.org/changeset/56799
Author: nox at macports.org
Date: 2009-09-02 03:49:01 -0700 (Wed, 02 Sep 2009)
Log Message:
-----------
libgdiplus: Disable ATSUI support on Snow Leopard.
Modified Paths:
--------------
trunk/dports/devel/libgdiplus/Portfile
Added Paths:
-----------
trunk/dports/devel/libgdiplus/files/
trunk/dports/devel/libgdiplus/files/patch-disable-atsui-support.diff
Modified: trunk/dports/devel/libgdiplus/Portfile
===================================================================
--- trunk/dports/devel/libgdiplus/Portfile 2009-09-02 10:15:44 UTC (rev 56798)
+++ trunk/dports/devel/libgdiplus/Portfile 2009-09-02 10:49:01 UTC (rev 56799)
@@ -63,6 +63,10 @@
}
}
+platform darwin 10 {
+ patchfiles-append patch-disable-atsui-support.diff
+}
+
livecheck.check regex
livecheck.url http://www.go-mono.com/sources-stable/
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Added: trunk/dports/devel/libgdiplus/files/patch-disable-atsui-support.diff
===================================================================
--- trunk/dports/devel/libgdiplus/files/patch-disable-atsui-support.diff (rev 0)
+++ trunk/dports/devel/libgdiplus/files/patch-disable-atsui-support.diff 2009-09-02 10:49:01 UTC (rev 56799)
@@ -0,0 +1,54 @@
+--- cairo/src/cairo-quartz-font.c.orig 2009-09-02 12:34:07.000000000 +0200
++++ cairo/src/cairo-quartz-font.c 2009-09-02 12:33:54.000000000 +0200
+@@ -756,39 +756,3 @@
+
+ return ffont->cgFont;
+ }
+-
+-
+-/*
+- * compat with old ATSUI backend
+- */
+-
+-/**
+- * cairo_quartz_font_face_create_for_atsu_font_id
+- * @font_id: an ATSUFontID for the font.
+- *
+- * Creates a new font for the Quartz font backend based on an
+- * #ATSUFontID. This font can then be used with
+- * cairo_set_font_face() or cairo_scaled_font_create().
+- *
+- * Return value: a newly created #cairo_font_face_t. Free with
+- * cairo_font_face_destroy() when you are done using it.
+- *
+- * Since: 1.6
+- **/
+-cairo_font_face_t *
+-cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id)
+-{
+- ATSFontRef atsFont = FMGetATSFontRefFromFont (font_id);
+- CGFontRef cgFont = CGFontCreateWithPlatformFont (&atsFont);
+-
+- return cairo_quartz_font_face_create_for_cgfont (cgFont);
+-}
+-
+-/* This is the old name for the above function, exported for compat purposes */
+-cairo_font_face_t *cairo_atsui_font_face_create_for_atsu_font_id (ATSUFontID font_id);
+-
+-cairo_font_face_t *
+-cairo_atsui_font_face_create_for_atsu_font_id (ATSUFontID font_id)
+-{
+- return cairo_quartz_font_face_create_for_atsu_font_id (font_id);
+-}
+--- cairo/src/cairo-quartz.h.orig 2009-09-02 12:35:28.000000000 +0200
++++ cairo/src/cairo-quartz.h 2009-09-02 12:35:48.000000000 +0200
+@@ -66,9 +66,6 @@
+ cairo_public cairo_font_face_t *
+ cairo_quartz_font_face_create_for_cgfont (CGFontRef font);
+
+-cairo_public cairo_font_face_t *
+-cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id);
+-
+ #endif /* CAIRO_HAS_QUARTZ_FONT */
+
+ CAIRO_END_DECLS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090902/10c5ed33/attachment.html>
More information about the macports-changes
mailing list