[Gtk-sharp-list] Build fixes

Christian Hoff christian_hoff at gmx.net
Thu Jul 23 05:59:56 EDT 2009

Christian Hergert wrote:
> Hi,
> I noticed while compiling a fresh checkout of the associated gnome
> libraries that the generated code requires UnmanagedFunctionPointer; a
> 2.0+ feature.
It's astonishing how many Gtk# trunk users we have :-) . Neville Gao 
already filed a bug report 

We decided to switch to the .net 2.0 profile for Gtk#/GAPI 3. The 
problem is that we didn't bump up the GAPI version yet. Attached to the 
bug report is a patch, but it still needs to be reviewed.
> The attached patches alter the compiler to be gmcs.
We would also need to alter configure.in.in to search for GAPI 3 instead 
of GAPI 2.
> Should I commit these, or is there another problem that is the real
> culprit (such as not generating UnmanagedFunctionPointer)?
I'm not sure if we need to commit all of these. As Mike points out in 
the bug report, nearly everything of gnome-sharp is deprecated or 
targeted for deprecation. It's probably best to continue building 
obsolete libraries against GAPI 2 as it's wide availability is also an 
asset. Once we apply the GAPI 3 patch, you can simply reinstall GAPI 2 
and everything will continue to work just fine.

As far as gecko-sharp is concerned, I'm not sure what to do. I never 
used it and don't know who is maintaining it, either.


More information about the Gtk-sharp-list mailing list