From d3bd1e8ab3709eea71251a5bcfbdf1798717319b Mon Sep 17 00:00:00 2001
From: Xu Li <xu.li@intel.com>
Date: Tue, 11 Nov 2008 20:26:01 +0800
Subject: upgrade pango to 1.22.2; disable pango tests

---
 meta-moblin/conf/distro/include/moblin-fixed-revisions.inc |  1 +
 meta/packages/pango/pango-1.22.2/no-tests.patch            | 12 ++++++++++++
 meta/packages/pango/pango_1.22.2.bb                        |  3 +++
 3 files changed, 16 insertions(+)
 create mode 100644 meta/packages/pango/pango-1.22.2/no-tests.patch
 create mode 100644 meta/packages/pango/pango_1.22.2.bb

diff --git a/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc b/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
index 53b898e3e..9c92bc629 100644
--- a/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
+++ b/meta-moblin/conf/distro/include/moblin-fixed-revisions.inc
@@ -6,3 +6,4 @@
 PREFERRED_VERSION_atk ?= "1.24.0"
 PREFERRED_VERSION_pixman ?= "0.12.0"
 PREFERRED_VERSION_cairo ?= "1.8.2"
+PREFERRED_VERSION_pango ?= "1.22.2"
diff --git a/meta/packages/pango/pango-1.22.2/no-tests.patch b/meta/packages/pango/pango-1.22.2/no-tests.patch
new file mode 100644
index 000000000..4a74d8c4d
--- /dev/null
+++ b/meta/packages/pango/pango-1.22.2/no-tests.patch
@@ -0,0 +1,12 @@
+Index: pango-1.22.2/Makefile.am
+===================================================================
+--- pango-1.22.2.orig/Makefile.am
++++ pango-1.22.2/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to create Makefile.in.
+ 
+-SUBDIRS= pango modules pango-view examples docs tools tests
++SUBDIRS= pango modules pango-view examples docs tools
+ 
+ EXTRA_DIST = 			\
+ 	autogen.sh		\
diff --git a/meta/packages/pango/pango_1.22.2.bb b/meta/packages/pango/pango_1.22.2.bb
new file mode 100644
index 000000000..be37e8f76
--- /dev/null
+++ b/meta/packages/pango/pango_1.22.2.bb
@@ -0,0 +1,3 @@
+require pango.inc
+
+SRC_URI += "file://no-tests.patch;patch=1"
-- 
cgit v1.2.3