[Mono-list] Wine packages for doing System.Windows.Forms development

Duncan Mak duncan@ximian.com
25 Jul 2003 00:58:16 -0400


Hello Wine Connossieurs of the World!

I spent the last few days packaging Wine with the patches from the
awesome OpenLink folks, and finally this evening, Miguel and I finally
got the whole setup to work.

Here are the goods: 

	http://primates.ximian.com/~duncan/mono-wine/

For Red Hat 8: download:
	
	http://primates.ximian.com/~duncan/mono-wine/mono-wine-20030318-1.ximian.5.1.i386.rpm

For Red Hat 9:

	http://primates.ximian.com/~duncan/mono-wine/mono-wine-20030318-1.ximian.6.1.i386.rpm
	http://primates.ximian.com/~duncan/mono-wine/mono-wine-debuginfo-20030318-1.ximian.6.1.i386.rpm

First, get the correct RPM file and install it. After installing it, run
'mono-wine-setup' and you'll see this.

	% mono-wine-setup
	Mini-Wine setup completed

For those of you with existing Wine installations, you can try running
the Winforms app directly. If it doesn't work, run the 'mono-wine-setup'
script and it will overwrite your existing .wine directory with a
working set.

Once you got that going, to run any Winforms apps, do

	% SWF=1 mono <winforms-app.exe>

The first time you run this, it'll take a while to build up the font
metrics cache file, but it'll be much speedier once that file is in
place.

Some Winform samples are available here:

	http://primates.ximian.com/~duncan/mono-wine/samples

For those interested in building from source:

	http://primates.ximian.com/~duncan/mono-wine/sources

Apply the mono-wine.patch to the Wine tarball and build using:

	% make wine-shared
	% make wine-shared-install

Unpack dot-wine.tar.gz tarball the in your home directory and run the
'mono-setup-wine' script.

Cheers!

Duncan.
-- 
Duncan Mak <duncan@ximian.com>