old_contents: class PangoPackage (GnomeXzPackage):
  	def __init__ (self):
  		GnomePackage.__init__ (self,
  			'pango',
  			version_major = '1.35',
  			version_minor = '0',
  			configure_flags = [
  				'--without-x',
  				'--enable-debug'
  			]
  		)
  
  		self.sources.extend ([
  			# 1
  			# Bug 321419 - Allow environment var substitution in Pango config
  			# https://bugzilla.gnome.org/show_bug.cgi?id=321419
  			'patches/pango-relative-config-file.patch',
  
  			# BXC 10257 - Characters outside the Basic Multilingual Plane don't render correctly
  			# https://bugzilla.xamarin.com/show_bug.cgi?id=10257
  			'patches/pango-coretext-astral-plane-1.patch',
  			'patches/pango-coretext-astral-plane-2.patch',
  
                          # Bug 15787 - Caret position is wrong when there are ligatures
                          # https://bugzilla.xamarin.com/show_bug.cgi?id=15787
                          'patches/pango-disable-ligatures.patch',
  
                          # https://bugzilla.xamarin.com/show_bug.cgi?id=22199
                          'patches/pango-fix-ct_font_descriptor_get_weight-crasher.patch',
  
                          # https://bugzilla.gnome.org/show_bug.cgi?id=734372
                          'patches/pango-coretext-condensed-trait.patch'
  		])
  
  	def prep (self):
  		GnomePackage.prep (self)
  		if Package.profile.name == 'darwin':
  			for p in range (1, len (self.sources)):
  				self.sh ('patch -p1 < "%{sources[' + str (p) + ']}"')
  
  PangoPackage ()
  
new_contents: class PangoPackage (GnomeXzPackage):
  	def __init__ (self):
  		GnomeXzPackage.__init__ (self,
  			'pango',
  			version_major = '1.36',
  			version_minor = '8',
  			configure_flags = [
  				'--without-x',
  				'--enable-debug'
  			]
  		)
  
  		self.sources.extend ([
  			# 1
  			# Bug 321419 - Allow environment var substitution in Pango config
  			# https://bugzilla.gnome.org/show_bug.cgi?id=321419
  			'patches/pango-relative-config-file.patch',
  
  			# BXC 10257 - Characters outside the Basic Multilingual Plane don't render correctly
  			# https://bugzilla.xamarin.com/show_bug.cgi?id=10257
  			'patches/pango-coretext-astral-plane-1.patch',
  			'patches/pango-coretext-astral-plane-2.patch',
  
                          # Bug 15787 - Caret position is wrong when there are ligatures
                          # https://bugzilla.xamarin.com/show_bug.cgi?id=15787
                          'patches/pango-disable-ligatures.patch',
  
                          # https://bugzilla.xamarin.com/show_bug.cgi?id=22199
                          'patches/pango-fix-ct_font_descriptor_get_weight-crasher.patch',
  
                          # https://bugzilla.gnome.org/show_bug.cgi?id=734372
                          'patches/pango-coretext-condensed-trait.patch'
  		])
  
  	def prep (self):
  		GnomePackage.prep (self)
  		if Package.profile.name == 'darwin':
  			for p in range (1, len (self.sources)):
  				self.sh ('patch -p1 < "%{sources[' + str (p) + ']}"')
  
  PangoPackage ()
  
subject: Update pango to 1.36.8