Skip to content
This repository
Browse code

Pango: add --devel version

Includes Lion font-size fix

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 3c773e4013320c64d19a9f04f16257552fd7b1f6 1 parent fcf1e95
Jonathan Dahan authored January 22, 2012 adamv committed January 27, 2012

Showing 1 changed file with 12 additions and 1 deletion. Show diff stats Hide diff stats

  1. 13  Library/Formula/pango.rb
13  Library/Formula/pango.rb
@@ -2,9 +2,20 @@
2 2
 
3 3
 class Pango < Formula
4 4
   homepage 'http://www.pango.org/'
5  
-  url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.28/pango-1.28.4.tar.bz2'
  5
+  url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.4.tar.bz2'
6 6
   sha256 '7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f'
7 7
 
  8
+  devel do
  9
+    url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.bz2'
  10
+    sha256 'f15deecaecf1e9dcb7db0e4947d12b5bcff112586434f8d30a5afd750747ff2b'
  11
+
  12
+    # Fixes font size rendering in lion. See the following post for details
  13
+    # http://web.me.com/aschweiz/Website/Blog/Entries/2011/10/6_CoreText_vs._FontConfig.html
  14
+    def patches
  15
+      "http://web.me.com/aschweiz/Website/Blog/Entries/2011/10/6_CoreText_vs._FontConfig_files/pango-1.29.3-coretext.patch"
  16
+    end if MacOS.lion?
  17
+  end
  18
+
8 19
   depends_on 'pkg-config' => :build
9 20
   depends_on 'glib'
10 21
 

0 notes on commit 3c773e4

Please sign in to comment.
Something went wrong with that request. Please try again.