[Mono-winforms-list] Winforms and OSX

andrew@castlesoft.com.au andrew@castlesoft.com.au
Tue, 30 Nov 2004 22:49:12 -0500

This is a multi-part message in MIME format.

Content-type: text/plain;

Hi All,

I have installed Mono 1.1.2 (DMG file) etc etc.. Got a helloworld.cs working..

I am now installing the MonoDevelop for MacOSX, but would like to confirm if the procedure below is
correct ?

Once my dev environment is correct I will have a look at the platform driver and see what I can

If anyone has any comments about the steps below.. PLEASE let me know.. 
(like have I missed any symbollic links for dylib to so.0 ??  or missed a step ???)


1) Download  http://optusnet.dl.sourceforge.net/sourceforge/fink/Fink-0.7.1-Installer.dmg
2) Double Click the file and install
3) Open a terminal session and type: 
4) /sw/bin/pathsetup.sh
5) fink scanpackages; fink index
6) sudo apt-get update ; sudo apt-get install fink
7) sudo apt-get install gimp
8) fink selfupdate-cvs
9) vi /sw/etc/fink.conf      // add unstable/main  and unstable/crypto to the Trees: line
10) fink selfupdate; fink index.
11) fink install pango1-xft2 pango1-xft2-dev pango1-xft2-shlibs gtk+2 gtk+2-dev gtk+2-shlibs
libart2 libart2-shlibs libgnomecanvas2 libgnomecanvas2-dev libgnomecanvas2-shlibs libgnomeui2
libgnomeui2-dev libgnomeui2-shlibs libgnomeprintui2.2 libgnomeprintui2.2-dev libgnomeprintui2.2-shli
bs libglade2 libglade2-shlibs libgda libgda-dev libgda-shlibs librsvg2 librsvg2-shlibs gtkhtml3
gtkhtml3-dev gtkhtml3-shlibs vte vte-dev vte-shlibs xft2-dev libgnomedb libgnomedb-dev
12) PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig \ PATH=/usr/bin:$PATH \ ./configure
13) Run make in Gtk# dir *NB: You'll get a error making samples; its ok
14) Install Gtk#: make install *NB: After gacing the assemblies will now install 
15) export DYLIB_LIBRARY_PATH = /sw/lib:/Library/Frameworks/Mono.framework/Versions/1.0/lib/
16) fink install gtksourceview gtksourceview-dev gtksourceview-shlibs mozilla-dev
17) PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig PATH=/usr/bin:$PATH 
18) ./configure --prefix=/Library/Frameworks/Mono.framework/Versions/1.0
19) make
20) sudo make install
21) PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig PATH=/usr/bin:$PATH
22) ./configure --prefix=/Library/Frameworks/Mono.framework/Versions/1.0
23) make
24) sudo make install
25) PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/1.0/lib/ 
26) pkgconfig:/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig  
27) PATH=/usr/bin:$PATH:/Library/Frameworks/Mono.framework/Versions/1.0/bin  
28) ./configure.sh --prefix=/Library/Frameworks/Mono.framework/Versions/1.0
29) make
30) sudo make install
31) svn co svn+ssh://mono-cvs.ximian.com/svn/monodevelop/trunk/MonoDevelop
32) export PATH=/Library/Frameworks/Mono.framework/Versions/1.0/bin/:$PATH
33) export CFLAGS="-I/Library/Frameworks/Mono.framework/Versions/1.0/include/"
34) ACLOCAL_FLAGS="-I /Library/Frameworks/Mono.framework/Versions/1.0/share/aclocal -I
35) PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig ./autogen.sh  --prefix=/Library/Frame
36) make
37) sudo make install
38) export DYLIB_LIBRARY_PATH=/sw/lib:/Library/Frameworks/Mono.framework/Versions/1.0/lib/:/Library/
39) cd monodevelop/bin/
40) MOZILLA_FIVE_HOME=/sw/lib/mozilla/
41) ./monodevelop

----- Original Message -----
From: Miguel de Icaza
To:  Kelly Leahy <kellyleahy@swbell.net>
Cc:  "andrew@castlesoft.com.au" <andrew@castlesoft.com.au>,Mono-winforms-list@lists.ximian.com
Sent: Tue, 30 Nov 2004 22:23:11 -0500
Subject: Re: [Mono-winforms-list] Winforms and OSX


> I was just thinking about working on a special version
> of libgdiplus using Quartz2D on OS X.  This, I think,
> is one of the early steps to making a MWF
> implementation for OS X.  Another being the so-called
> "driver" for Aqua / Carbon.  Wanna help?

The most important part on a native port to OSX is not Cairo (that one
after all will for the most part just work).

What you need is the platform driver.  The platform driver is the one
that creates windows, interfaces to the mouse and keyboard and handles
other Windowing-specific features.

If you do the driver, you can still use Cairo/Libgdiplus+ untouched
(later on, if you choose you can fine tune those, or work on a Quartz
backend to either one).   But if you start here, you will not have much
code to test with.

Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com