Ken Thomases ken@codeweavers.com writes:
dlls/winemac.drv/Makefile.in | 1 + dlls/winemac.drv/gdi.c | 321 ++++++++++++++++++++++++++++++++++++++++- dlls/winemac.drv/macdrv.h | 101 +++++++++++++ 3 files changed, 415 insertions(+), 8 deletions(-) create mode 100644 dlls/winemac.drv/macdrv.h
It doesn't build here on OS X 10.5.8:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -gstabs+ -fno-omit-frame-pointer -Wpointer-arith -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -o gdi.o gdi.c gdi.c: In function 'device_init': gdi.c:143: error: 'CGDisplayModeRef' undeclared (first use in this function) gdi.c:143: error: (Each undeclared identifier is reported only once gdi.c:143: error: for each function it appears in.) gdi.c:143: error: syntax error before 'mode' gdi.c:160: error: 'mode' undeclared (first use in this function) gdi.c:162: warning: implicit declaration of function 'CGDisplayModeCopyPixelEncoding' gdi.c:162: warning: initialization makes pointer from integer without a cast gdi.c:164: warning: implicit declaration of function 'CGDisplayModeGetWidth' gdi.c:165: warning: implicit declaration of function 'CGDisplayModeGetHeight' gdi.c:178: warning: implicit declaration of function 'CGDisplayModeRelease' make[1]: *** [gdi.o] Error 1
On Dec 17, 2012, at 8:06 AM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
dlls/winemac.drv/Makefile.in | 1 + dlls/winemac.drv/gdi.c | 321 ++++++++++++++++++++++++++++++++++++++++- dlls/winemac.drv/macdrv.h | 101 +++++++++++++ 3 files changed, 415 insertions(+), 8 deletions(-) create mode 100644 dlls/winemac.drv/macdrv.h
It doesn't build here on OS X 10.5.8:
Oh, right. The Mac driver requires 10.6 or later. So, I'll have to change the configure script to only enable building of it on such systems.
-Ken
Ken Thomases ken@codeweavers.com writes:
On Dec 17, 2012, at 8:06 AM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
dlls/winemac.drv/Makefile.in | 1 + dlls/winemac.drv/gdi.c | 321 ++++++++++++++++++++++++++++++++++++++++- dlls/winemac.drv/macdrv.h | 101 +++++++++++++ 3 files changed, 415 insertions(+), 8 deletions(-) create mode 100644 dlls/winemac.drv/macdrv.h
It doesn't build here on OS X 10.5.8:
Oh, right. The Mac driver requires 10.6 or later. So, I'll have to change the configure script to only enable building of it on such systems.
Is there really a compelling reason to not support 10.5.8?
On Dec 17, 2012, at 11:53 AM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
Oh, right. The Mac driver requires 10.6 or later. So, I'll have to change the configure script to only enable building of it on such systems.
Is there really a compelling reason to not support 10.5.8?
There are Cocoa features that aren't available before 10.6. For example, we can't change window style masks (whether a window has a title bar, etc.) after window creation.
-Ken
Ken Thomases ken@codeweavers.com writes:
On Dec 17, 2012, at 11:53 AM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
Oh, right. The Mac driver requires 10.6 or later. So, I'll have to change the configure script to only enable building of it on such systems.
Is there really a compelling reason to not support 10.5.8?
There are Cocoa features that aren't available before 10.6. For example, we can't change window style masks (whether a window has a title bar, etc.) after window creation.
It would be nice if we could still make things work as far as reasonably possible. I'm not ready to throw away my Mac Mini just yet...
On Dec 17, 2012, at 1:35 PM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
On Dec 17, 2012, at 11:53 AM, Alexandre Julliard wrote:
Ken Thomases ken@codeweavers.com writes:
Oh, right. The Mac driver requires 10.6 or later. So, I'll have to change the configure script to only enable building of it on such systems.
Is there really a compelling reason to not support 10.5.8?
There are Cocoa features that aren't available before 10.6. For example, we can't change window style masks (whether a window has a title bar, etc.) after window creation.
It would be nice if we could still make things work as far as reasonably possible. I'm not ready to throw away my Mac Mini just yet...
Funny, I had been under the impression that you were ready to throw it away even before you got it. ;) It will presumably still work with the X11 driver. Also, you should be able to upgrade it to 10.6.
Making the Mac driver compatible with 10.5 is not going to be easy. The window style mask thing was just one example of missing Cocoa features. There are others. There's a separate class of Cocoa APIs for which there are pre-10.6 equivalents, but I wrote the Mac driver assuming 10.6 and so I'd have to rewrite large chunks of it. (And the 10.5-compatible code would be significantly less pleasant to work with.)
It would also be hard for me to test compatibility with 10.5 since I'm running 10.6.
-Ken
Ken Thomases ken@codeweavers.com writes:
Funny, I had been under the impression that you were ready to throw it away even before you got it. ;) It will presumably still work with the X11 driver. Also, you should be able to upgrade it to 10.6.
My main reason for using it is to test the Mac builds before pushing commits, so not being able to build the Mac driver on it is a serious problem (and no, it can't be upgraded apparently).