PIXMAN_URL=http://cairographics.org/releases/pixman-0.15.4.tar.gz
CAIRO_URL=http://cairographics.org/releases/cairo-1.8.8.tar.gz
GETTEXT_URL=ftp://mirrors.kernel.org/gnu/gettext/gettext-0.17.tar.gz
-GLIB_URL=http://ftp.gnome.org/pub/gnome/sources/glib/2.21/glib-2.21.2.tar.gz
+
+# latest GLIB doesn't build
+#GLIB_URL=http://ftp.gnome.org/pub/gnome/sources/glib/2.21/glib-2.21.2.tar.gz
+GLIB_URL=http://ftp.gnome.org/pub/gnome/sources/glib/2.20/glib-2.20.1.tar.gz
+
PANGO_URL=http://ftp.gnome.org/pub/GNOME/sources/pango/1.24/pango-1.24.4.tar.gz
GTS_URL=http://downloads.sourceforge.net/gts/gts-0.7.6.tar.gz
GTK_URL=http://ftp.gnome.org/pub/gnome/sources/gtk+/2.17/gtk+-2.17.2.tar.gz
@echo
@echo CONFIGURING CAIRO...
@echo
- cd $(CAIRO_DIR) && ./configure $(BASE_CONFIG) $(FLAG_CONFIG) --disable-quartz
+ cd $(CAIRO_DIR) && ./configure $(BASE_CONFIG) $(FLAG_CONFIG)
$(CAIRO_DIR)/configure: | $(CAIRO_DIR).tar.gz
@echo
-diff -ru cairo-1.6.4/src/cairo-quartz-font.c cairo-1.6.4.patched/src/cairo-quartz-font.c
---- cairo-1.6.4/src/cairo-quartz-font.c 2008-04-08 06:30:31.000000000 +0800
-+++ cairo-1.6.4.patched/src/cairo-quartz-font.c 2008-04-23 22:36:35.000000000 +0800
-@@ -775,6 +775,8 @@
- *
- * Since: 1.6
- **/
-+
-+#if !__LP64__
- cairo_font_face_t *
- cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id)
- {
-@@ -792,3 +794,4 @@
- {
- return cairo_quartz_font_face_create_for_atsu_font_id (font_id);
- }
-+#endif
-diff -ru cairo-1.6.4/src/cairo-quartz.h cairo-1.6.4.patched/src/cairo-quartz.h
---- cairo-1.6.4/src/cairo-quartz.h 2008-04-08 06:30:31.000000000 +0800
-+++ cairo-1.6.4.patched/src/cairo-quartz.h 2008-04-23 22:37:18.000000000 +0800
-@@ -66,8 +66,10 @@
- cairo_public cairo_font_face_t *
- cairo_quartz_font_face_create_for_cgfont (CGFontRef font);
-
-+#if !__LP64__
- cairo_public cairo_font_face_t *
- cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id);
-+#endif
-
- #endif /* CAIRO_HAS_QUARTZ_FONT */
-
---- cairo-1.6.4/src/cairo.pc.in 2007-04-28 01:02:34.000000000 +0800
-+++ cairo-1.6.4.patched/src/cairo.pc.in 2008-05-05 17:21:57.000000000 +0800
+diff -rub cairo-1.8.8.orig/src/cairo.pc.in cairo-1.8.8/src/cairo.pc.in
+--- cairo-1.8.8.orig/src/cairo.pc.in 2008-08-31 18:32:22.000000000 -0400
++++ cairo-1.8.8/src/cairo.pc.in 2009-07-02 13:39:41.000000000 -0400
@@ -7,7 +7,7 @@
Description: Multi-platform 2D graphics library
Version: @VERSION@