1 class PangoPackage (GnomeXzPackage):
4 GnomePackage.__init__(self,
10 '--enable-gtk-doc-html=no'
16 # Bug 321419 - Allow environment var substitution in Pango config
17 # https://bugzilla.gnome.org/show_bug.cgi?id=321419
18 'patches/pango-relative-config-file.patch',
20 # BXC 10257 - Characters outside the Basic Multilingual Plane don't render correctly
21 # https://bugzilla.xamarin.com/show_bug.cgi?id=10257
22 'patches/pango-coretext-astral-plane-1.patch',
23 'patches/pango-coretext-astral-plane-2.patch',
25 # Bug 15787 - Caret position is wrong when there are ligatures
26 # https://bugzilla.xamarin.com/show_bug.cgi?id=15787
27 'patches/pango-disable-ligatures.patch',
29 # https://bugzilla.xamarin.com/show_bug.cgi?id=22199
30 'patches/pango-fix-ct_font_descriptor_get_weight-crasher.patch',
32 # https://bugzilla.gnome.org/show_bug.cgi?id=734372
33 'patches/pango-coretext-condensed-trait.patch',
35 # https://bugzilla.xamarin.com/show_bug.cgi?id=32938
36 'patches/pango-coretext-fix-yosemite-crasher.patch',
38 'patches/pango-system-font-single.patch',
39 'patches/pango-system-font-check-version.patch'
43 GnomePackage.prep(self)
44 if Package.profile.name == 'darwin':
45 for p in range(1, len(self.local_sources)):
46 self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')
49 self.sh('pango-querymodules --update-cache')