diff --git a/Formula/pango.rb b/Formula/pango.rb index dd5df62007..af1d497c5e 100644 --- a/Formula/pango.rb +++ b/Formula/pango.rb @@ -2,13 +2,8 @@ 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' - sha256 '7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f' - - devel do - url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.bz2' - sha256 'f15deecaecf1e9dcb7db0e4947d12b5bcff112586434f8d30a5afd750747ff2b' - end + url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.30/pango-1.30.0.tar.xz' + sha256 '7c6d2ab024affaed0e942f9279b818235f9c6a36d9fc50688f48d387f4102dff' depends_on 'pkg-config' => :build depends_on 'glib' @@ -29,22 +24,6 @@ class Pango < Formula cause "Undefined symbols when linking" end - def patches - p = {} - unless ARGV.build_devel? - # Some things that depend on pango and glib 2.30.x have issues with the deprecated - # G_CONST_RETURN. Shouldn't be an issue with 1.29.x. - p[:p0] = "https://trac.macports.org/export/89719/trunk/dports/x11/pango/files/patch-G_CONST_RETURN.diff" - end - - if ARGV.build_devel? and MacOS.lion? - # 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 - p[:p1] = "http://web.me.com/aschweiz/Website/Blog/Entries/2011/10/6_CoreText_vs._FontConfig_files/pango-1.29.3-coretext.patch" - end - return p - end - def install ENV.x11 system "./configure", "--disable-dependency-tracking",