From f5a72e7184d7abf70721ced7353ff72106b98090 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Sun, 22 Jan 2012 20:49:46 -0500 Subject: [PATCH] Pango: add --devel version Includes Lion font-size fix Signed-off-by: Adam Vandenberg --- Formula/pango.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Formula/pango.rb b/Formula/pango.rb index 136d40470b..7ccb6b7327 100644 --- a/Formula/pango.rb +++ b/Formula/pango.rb @@ -2,9 +2,20 @@ require 'formula' class Pango < Formula homepage 'http://www.pango.org/' - url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.28/pango-1.28.4.tar.bz2' + url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.4.tar.bz2' sha256 '7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f' + devel do + url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.bz2' + sha256 'f15deecaecf1e9dcb7db0e4947d12b5bcff112586434f8d30a5afd750747ff2b' + + # Fixes font size rendering in lion. See the following post for details + # http://web.me.com/aschweiz/Website/Blog/Entries/2011/10/6_CoreText_vs._FontConfig.html + def patches + "http://web.me.com/aschweiz/Website/Blog/Entries/2011/10/6_CoreText_vs._FontConfig_files/pango-1.29.3-coretext.patch" + end if MacOS.lion? + end + depends_on 'pkg-config' => :build depends_on 'glib'