Hi,
I'm trying to compile quartzdrv, just to check it out and test it a bit. I have tried following the instructions at:
http://wiki.winehq.org/MacOSX/QuartzDriver
There's a bit of ambiguity at the next line: $ cp -r ~/drivers/dlls/quartzdrv ~/wine/dlls/winequartz.drv
I assume this was written before any quartzdrv stuff was added to Wine, and I have to replace the winequartz.drv with quartzdrv from darwine, and not just put it within it (winequartz.drv/quartzdrv/), right?
Also, the patch doesn't apply OK, but looking at the contents of the files, I'm not sure it's needed anymore.
When doing "make depend" I get this error:
../../tools/makedep -C. -S../.. -T../.. bitblt.c bitmap.c brush.c clipping.c dce.c desktop.c dib.c dib_convert.c dib_dst_swap.c dib_src_swap.c displays.c event.c font.c graphics.c init.c keyboard.c mouse.c palette.c pen.c quartzdrv_coregraphics.c quartzdrv_main.c settings.c text.c window.c winpos.c gdi.h: No such file or directory gdi.h was first included from font.c:24 make[2]: *** [depend] Error 1 make[1]: *** [winequartz.drv/__depend__] Error 2 make: *** [dlls/__depend__] Error 2
I'd very much appreciate it if anyone who knows how to do this right updated the wiki, or helped me out a bit, so I can update it.
Also, can anyone explain what the fake Menu and Info.plist files are for?
Hello,
On 15 avr. 07, at 20:28, Jaka Jančar wrote:
I assume this was written before any quartzdrv stuff was added to Wine, and I have to replace the winequartz.drv with quartzdrv from darwine, and not just put it within it (winequartz.drv/quartzdrv/), right?
Right.
Also, the patch doesn't apply OK, but looking at the contents of the files, I'm not sure it's needed anymore.
Right, it is not needed now/
When doing "make depend" I get this error:
../../tools/makedep -C. -S../.. -T../.. bitblt.c bitmap.c brush.c clipping.c dce.c desktop.c dib.c dib_convert.c dib_dst_swap.c dib_src_swap.c displays.c event.c font.c graphics.c init.c keyboard.c mouse.c palette.c pen.c quartzdrv_coregraphics.c quartzdrv_main.c settings.c text.c window.c winpos.c gdi.h: No such file or directory gdi.h was first included from font.c:24 make[2]: *** [depend] Error 1 make[1]: *** [winequartz.drv/__depend__] Error 2 make: *** [dlls/__depend__] Error 2
then skip make depend if you can. You'll probably have to locate the faulty #include gdi.h afterwards though.
Also, can anyone explain what the fake Menu and Info.plist files are for?
Those are resources files. They are not strictly required if I recall well. Basically it was done by Emmanuel to set up the Menu etc. But I think we do that from the src already.
Hope this helps,
Pierre.
I've looked into this a bit further, and it appears gdi.h is now wingdi.h.
I've changed the includes, but there are other problems. As far as I can tell the wineserver display protocol has changed a little, and only x11drv has been corrected correspondingly.
I have never worked with wine sources before, so I might be completely off here. I also don't have the knowledge to update it :/
Pierre d'Herbemont wrote:
Hello,
On 15 avr. 07, at 20:28, Jaka Jančar wrote:
I assume this was written before any quartzdrv stuff was added to Wine, and I have to replace the winequartz.drv with quartzdrv from darwine, and not just put it within it (winequartz.drv/quartzdrv/), right?
Right.
Also, the patch doesn't apply OK, but looking at the contents of the files, I'm not sure it's needed anymore.
Right, it is not needed now/
When doing "make depend" I get this error:
../../tools/makedep -C. -S../.. -T../.. bitblt.c bitmap.c brush.c clipping.c dce.c desktop.c dib.c dib_convert.c dib_dst_swap.c dib_src_swap.c displays.c event.c font.c graphics.c init.c keyboard.c mouse.c palette.c pen.c quartzdrv_coregraphics.c quartzdrv_main.c settings.c text.c window.c winpos.c gdi.h: No such file or directory gdi.h was first included from font.c:24 make[2]: *** [depend] Error 1 make[1]: *** [winequartz.drv/__depend__] Error 2 make: *** [dlls/__depend__] Error 2
then skip make depend if you can. You'll probably have to locate the faulty #include gdi.h afterwards though.
Also, can anyone explain what the fake Menu and Info.plist files are for?
Those are resources files. They are not strictly required if I recall well. Basically it was done by Emmanuel to set up the Menu etc. But I think we do that from the src already.
Hope this helps,
Pierre.
On Tue, 17 Apr 2007, Jaka Janar wrote:
I've looked into this a bit further, and it appears gdi.h is now wingdi.h.
Actually gdi.h was a Wine-only header and as such it has been removed quite a long time ago. So the best would be to see if it compiles without that include at all.
I've changed the includes, but there are other problems. As far as I can tell the wineserver display protocol has changed a little, and only x11drv has been corrected correspondingly.
Yeas, that possible. If you manage to fix those issues, then don forget to upload your fixes somewhere and post the URL on this mailing list so others can benefit.