[oe-commits] Tom Rini : xqt2: Switch to patchdir rather than applying in do_configure

git version control git at git.openembedded.org
Mon Apr 25 16:48:27 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: 7ed8565285253c9b44144bd1400892139528f2fa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ed8565285253c9b44144bd1400892139528f2fa

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Mar 31 10:10:22 2011 -0700

xqt2: Switch to patchdir rather than applying in do_configure

Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 recipes/xqt2/xqt2_20060509.bb |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/recipes/xqt2/xqt2_20060509.bb b/recipes/xqt2/xqt2_20060509.bb
index 627c917..3435b64 100644
--- a/recipes/xqt2/xqt2_20060509.bb
+++ b/recipes/xqt2/xqt2_20060509.bb
@@ -20,26 +20,15 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.jp/cvsroot/xqt;module=xqt2;method=pse
         file://fephack.patch \
         file://xchar2b.patch \
         file://xqt-make.patch \ 
-        file://KeyMap.patch;apply=false \
-        file://moc_call.patch;apply=false \
-        file://fix_qtscreen_HACK.patch;apply=false \
-	file://fix_seqfault_qtscreen.patch;apply=false"
+        file://KeyMap.patch;patchdir=../xqt2 \
+        file://moc_call.patch;patchdir=../xqt2 \
+        file://fix_qtscreen_HACK.patch;patchdir=../xqt2 \
+	file://fix_seqfault_qtscreen.patch;patchdir=../xqt2"
 S = "${WORKDIR}/xc"
 
 QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte",d)}'
 QT_LIBRARY_append_c7x0 = " -laticore"
 
-do_patch_xqt2() {
-	# Apply xqt2 patches.
-	cd ${WORKDIR}/xqt2
-	patch -p1 -i ${WORKDIR}/KeyMap.patch
-	patch -p1 -i ${WORKDIR}/moc_call.patch
-	patch -p1 -i ${WORKDIR}/fix_qtscreen_HACK.patch
-	patch -p1 -i ${WORKDIR}/fix_seqfault_qtscreen.patch
-}
-
-addtask patch_xqt2 after do_unpack before do_configure
-
 do_configure() {
 
 	#general config





More information about the Openembedded-commits mailing list