This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling XWin (modular Xorg)


Hi,

To make XWin compile succesfully using the git sources from Xorg (>7.3),
I have created a patch. (See below for url)

I encountered the following issues:

Overloading Xfont functions: Starting up XWin would fail with errors
regarding locating the font. See for example the report by Yaakov
earlier (2006) on this mailing list. These font errors appear to be
caused by a failure in the function overloading. For example, in
libXfont the RegisterFPEFunctions function is defined weak and should be
overloaded with RegisterFPEFunctions defined in dixfont.c in the
xserver. However, such overloading will only work for CYGWIN when
libXfont is compiled static with xserver and not as a runtime dll.

Changes in shadow code: Commit 9148d8700b7c5afc2644e5820c57c509378f93ce
has broken the shadowRedisplay routine in miext/shadow.c and the
corresponding functions in xwin such as winShadowUpdateGDI. The
computation of REGION_NOTEMPTY fails. A workaround is implemented to
directly call winRedrawScreenShadowDD. This should be fixed by reviewing
the changes of the commit and modifying the xwin code.

mieqEnqueue API changes: Due to the modular mieqEnqueue API changes, the
xwin code needed changes. Also mouse (pointer) MOVE events needed to be
enqueued seperately. It's not clear what caused the latter.

Windows clipboard integration: Is currently broken.


The changes I made are all in the patch. Let me know when you have
suggestions, and whether you're able to build it. Perhaps Yaakov is
willing to check it with his findings.

Further info, and a downloadable patch is at:
http://homepages.zx.nl/~janjaap/


Regards,

-Janjaap Bos


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]