MacOSX/QuartzDriver





quartzdrv is a Mac OS X graphic driver for Wine which intends to replace the x11drv on Mac OS X, to provide a better integration of Wine in Mac OS X.

Status

  • Winemine playable on PPC.

How to install

  • Prepare to build Wine.

  • grab the quartzdrv.

 $ cvs -d:pserver:anonymous@anoncvs.opendarwin.org:/Volumes/src/cvs/od checkout projects/darwine/drivers
  • copy the quartzdrv to the wine sources.

 $ cp -r ~/drivers/dlls/quartzdrv ~/wine/dlls/winequartz.drv
  • (don't forget to rename directory to winequartz.drv)

  • add it to the build system

 $ cd ~/wine
$ patch -p0 < ~/drivers/add_winequartz.drv_to_the_build_system.diff
  • reset the build system and build.

 $ autoconf && ./configure && make && make install
  • add fake Menu and Info.plist

 $ cp ~/drivers/dlls/app_hack/Info.plist /Applications/Darwine/Wine.bundle/Contents/bin/
$ cp -r ~/drivers/dlls/app_hack/MainMenu.nib /Applications/Darwine/Wine.bundle/Contents/bin/

TODO

The whole driver need a lot of work/fixes/enhancement ...

  • Font support (using CoreGraphics or ATS functions) :

    • adding gdi font support (Mac OSX already support windows ttf font)

  • Fixing DIB section

  • Palette support (color support is minimal 1 or 32 bpp)

  • Windows handling / Desktop support

  • ScrollDC

  • Fix rendering bugs

  • ...

Testing

  • set the [HKEY_CURRENT_USER\Software\Wine\Drivers] key of the registry to add the string val "Graphics" set to "quartz" using regedit with the GUI, or do it "by hand":

 $ echo '[HKEY_CURRENT_USER\Software\Wine\Drivers]\n"Graphics"="quartz"' > quartzdrv.reg
$ regedit quartzdrv.reg
  • test with quartzdrv

 $ winemine
  • to revert to the x11drv:

 $ echo '[HKEY_CURRENT_USER\Software\Wine\Drivers]\n"Graphics"="x11"' > x11drv.reg
$ regedit x11drv.reg


Wine - Default branch

Screenshot About:
Wine is an implementation of the Windows API on top of X and Unix. It does not require Microsoft Windows, but can use native Windows DLLs if they are available. It provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes.

Author:
Wine Authors

Homepage:
http://www.winehq.org/
Tar/BZ2:
http://ibiblio.org/[..]ystem/emulators/wine/wine-0.9.18.tar.bz2
Changelog:
http://source.winehq.org/source/ChangeLog
RPM package:
http://www.winehq.org/site/download
Debian package:
http://www.winehq.org/site/download
BSD Ports URL:
http://www.winehq.org/site/download
CVS tree (cvsweb):
http://cvs.winehq.com/
Bug tracker:
http://bugs.winehq.org/
Mailing list archive:
http://www.winehq.org/hypermail/wine-devel/
Mirror site:
http://sourceforge.net/projects/wine/


References:
    CrossOver - Would you like some Wine with your Windows apps?
   
windows apps 已經可以直接在 OS X上面
    Virtual PC for Mac 將不會有 Universal 版本
    跨平台的新思考方向


arrow
arrow
    全站熱搜

    Bluelove1968 發表在 痞客邦 留言(1) 人氣()