At 5:42 Uhr -0800 18.03.2002, Sam Goldman wrote:
>Hi Max,
>
>Could you email me what you have done with the GTK-Quartz Backend project.
>I'd like to see what you have done.

I am mailing this to the list since other might want to know as well.

First, I removed files that are obviously specific to the X11 backend 
- this was done by comparing with the linux-fb and win32 backends, 
and some thinking =)

Next, I modified the Makefile.am accordingly, so that it won't 
complain about missing files, and also removed X11 (Xinputs) specific 
stuff from that.


Then, I proceeded to edit the header files. To do that, I compared 
them with the win32 headers, this was it was easy to spot what is 
common stuff (some things may still be unnecessary for us, but we can 
remove them later safely). BTW, doing so I found quite some 
variables/function declaration in the win32 headers that they don't 
use - guess they started by copying the X11 files just like we did =)

I made sure to mark all places where I removed something, but where 
it was obvious we'd have to add back stuff later with a comment /* 
QUARTZ TODO */. This way it's easy to grep for it and to see where 
functionality might be missing.


Finally, I just edited gdkcolor-quartz.c in a similiar fashion, and 
it now compiles, though with 0 functionality. I did it with that file 
since it's the first file that gets compiled. No other reason.


My idea would be that we now go over all the remaining source files, 
and edit them likewise, stripping them to 0, until all compiles 
nicely. At this point, we should tag CVS. Then we can start with 
implementing actual functionality.


BTW, I think we should follow the Win32 example and rename 
gdkinputprivate.h to gdkinput-quartz.h


Note that gdkinput-quartz.c is probably missing some functions which 
we can get from gdkinput-none.c (with missing, I mean the func decl 
isn't in that file). That's because on X11, they have multiple input 
method backends, while we, just like Win32, probably only want one.



Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to