[Mono-dev] Patch for winforms (packaging issue)

Bojan Rajkovic bojanr at brandeis.edu
Fri Dec 5 14:53:38 EST 2008


Paul wrote:
> Hi,
>
> An issue we've found with mono-winforms under fedora is that to get
> winforms to work, libgdiplus-devel is required. Below is a small patch
> which fixes this by allowing winforms to link to the standard
> libgdiplus.so.0 file
>
> --- mono-2.2/data/config.in	2008-11-30 19:34:24.000000000 +0000
> +++ mono-2.2/data/config-new.in	2008-12-02 23:57:51.000000000 +0000
> @@ -15,6 +15,7 @@
>  	<dllmap dll="i:msvcrt.dll" target="@LIBC@" os="!windows"/>
>  	<dllmap dll="sqlite" target="@SQLITE@" os="!windows"/>
>  	<dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/>
> +	<dllmap dll="gdiplus.dll" target="libgdiplus.so.0" so="!windows"/>
>  	<dllmap dll="libX11" target="@X11@" os="!windows" />
>  	<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
>  	<dllmap dll="i:kernel32.dll">
>
> TTFN
>
> Paul
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>   
Hi Paul,

Your patch has a small typo, you've got so="!windows" rather than 
os="!windows".

Thanks,
Bojan


More information about the Mono-devel-list mailing list