Skip to content

Commit

Permalink
wine: simplify caveats
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Jul 20, 2013
1 parent ccdb727 commit 2752221
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions Library/Formula/wine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,24 +121,22 @@ def install
(bin/'wine').write(wine_wrapper)
end

def caveats
s = <<-EOS.undent
You may want to get winetricks:
brew install winetricks
By default Wine uses a native Mac driver. To switch to the X11 driver, use
regedit to set the "graphics" key under "HKCU\Software\Wine\Drivers" to
"x11" (or use winetricks).
For best results with X11, install the latest version of XQuartz:
https://xquartz.macosforge.org/
The current version of Wine contains a partial implementation of dwrite.dll
which may cause text rendering issues in applications such as Steam.
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable".
def caveats; <<-EOS.undent
You may want to get winetricks:
brew install winetricks
By default Wine uses a native Mac driver. To switch to the X11 driver, use
regedit to set the "graphics" key under "HKCU\Software\Wine\Drivers" to
"x11" (or use winetricks).
For best results with X11, install the latest version of XQuartz:
https://xquartz.macosforge.org/
The current version of Wine contains a partial implementation of dwrite.dll
which may cause text rendering issues in applications such as Steam.
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable". See:
https://bugs.winehq.org/show_bug.cgi?id=31374
EOS
# see https://bugs.winehq.org/show_bug.cgi?id=31374
return s
end
end

0 comments on commit 2752221

Please sign in to comment.