[PATCH 0/13] xserver/xwin: cross compile using mingw from Linux
luojie at nlsde.buaa.edu.cn
Fri May 25 04:58:07 PDT 2007
Eric Anholt wrote:
> On Thu, 2007-05-24 at 22:53 +0800, Luo Jie wrote:
>> I have just finished a set of patches to make *xserver/xwin* cross
>> compilable from Linux. I port the *xfree86* shadowfb to xwin, this make
>> redraw in xwin work again. The input part of xwin is also update
>> according to the new functions, it works now. And after all these
>> changes, the *COMPOSITE* extension works now. I test it using *xfce4*
>> and the cairo-clock application, work fine for a time.
>> Some part of xserver is too complex to understand. For example, I don't
>> know how to replace the *Virtual core keyboard* and *Virtual core
>> pointer* with the real keyboard device and pointer device.
>> Thanks for comment.
> Pushed #02, #08, #09, #10, which looked good to me.
> #4,5,6,7 I didn't review
> #11 looks like it would rather be a DEFAULTPOLICYFILE setting for your
> setup, and I was concerned at the lack of a path to the file in
> #12 looked messy with the strdup and the 'once' flag, but I didn't
> really review.
> #1,#3,#8 depended on the stuff in 4,5,6,7.
Yes, #11 is not a good solution to this problem. Some one use an
environment variable to set the path, but I don't know whether this
is the solution.
The font-dir part of #12 is from modified from another patch, I
will try to write a better one.
Actually, patch #1 to #6 are patches to make xwin compile, patch #7
to #12 are individual bug fix patches.
#7 is a fix to the complain of "mieqEnqueue: out-of-order valuator
event; dropping." in the case that oldtail = 0. Because when oldtail = 0,
laste = &miEventQueue.events[oldtail -1];
is out of the bound of the array "miEventQueue.events".
#1, #3 is dependent on #4, #5, #6 as you mentioned. It the most important
part, and need careful review before geting into xserver git tree.
I appreciate any comment on these patches.
Thanks very much.
More information about the xorg