Xqt2 bitbake recipe: need help with patching

"Nicolas FR" <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
I have a small problem making my xqt2 bb recipe:

- Xqt2 cvs is a bunch of patches and scripts which acts like bitbake (it
downloads xfree86 archives and build the stuff).

- With my bb recipe after pulling the files from the CVS and downloading the
Xfree86 tarballs I end up with a working directory which has the following
subdirs:

xc/ (xfree86 files)
xqt2/ (xqt2 patches and scripts).

I have setup the following variable:
S = "${WORKDIR}/xc"
because all the stuff are built inside xc

But my problem is that I need to apply patches (before compiling) to files
located in the xqt2 subdir. And I can't do it... I have tried to change the
patch headers but it doesn't work... Look at the moc_call.patch which is
like this:

--- xqt2/xfree86/xqt-driver/Imakefile~moc_call    2006-05-09 11:59:
07.000000000 +0200
+++ xqt2/xfree86/xqt-driver/Imakefile    2004-09-16 12:40:30.000000000 +0200

This always end up with 'file not found error'. I don't understand why it
won't patch inside the xqt2 subdir, while patching under xc subdir works
fine...

Also one of the patch needs the arm-linux-gcc path. What variable should I
use inside the patch (I have hardcoded to
/opt/zaurus/build/tmp/cross/bin/arm-linux-gcc)


Thanks for the help. When this problem is fixed I will send other patch that
fix small bugs (enter key not working under xqt2, ...)
xqt2.tar.gz (application/x-gzip, 5.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.