class PangoPackage (GnomePackage):
	def __init__ (self):
		GnomePackage.__init__ (self,
			'pango',
			version_major = '1.29',
			version_minor = '3',
			configure_flags = [
				'--without-x'
			]
		)

		self.sources.extend ([
			# patch from bgo#321419
			'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023'
		])

	def prep (self):
		GnomePackage.prep (self)
		self.sh ('patch -p0 < "%{sources[1]}"')

PangoPackage ()

@@ -116,17 +116,17 @@
 r = '1.2
-9
+8
 ',%0A%09%09%09ve
@@ -140,17 +140,17 @@
 inor = '
-3
+4
 ',%0A%09%09%09co

Downgrade Pango to 1.28.4