[Mono-osx] Building libgdiplus on OS X

Lee V. Andrus landrus2 at by-rite.net
Mon Jun 1 19:03:04 EDT 2009

> Geoff Norton gnorton at novell.com
> Mon Jun 1 15:37:20 EDT 2009
> > Unfortunately, I have not been able
> > to find the missing ".m4" files for "xlib", "xlib_xrender", "xcb",
> > "png", "glitz", "GLITZ_AGL", "GLITZ_EGL", "GLITZ_GLX", "GLITZ_WGL",
> > "directfb", "FONTCONFIG", "FREETYPE", "POPPLER", and "LIBRSVG".  And
> > that is after I installed the "fontconfig" and "freetype" packages.
> > Does anyone know where they can be found?
> >
> /usr/X11/share/aclocal/

The files in that directory (fontutil.m4, pkg.m4, xorg-macros.m4,  
xorgversion.m4, freetype2.m4, xaw.m4, xorg-server.m4, and xtrans.m4)  
contain none of the missing macros.

> > On another sour note, why does libgdiplus forbid its internal cairo
> > from using Quartz Fonts?  I would think that using the native  
> package
> > would produce better performance, better compatibility with other  
> Mac
> > GUI functions, and maybe reduce the number of packages one needs to
> > install.  But I found this in libgdiplus/configure.in:
> >
> > # gdiplus mac note; if we have quartz and ft fonts, quartz is the
> > default and gdi+ assumes the latter everywhere, force it out
> > # of the internal build
> > 	ac_configure_args="$ac_configure_args --disable-quartz-font"
> Because no one has submitted a patch that does all the work that is
> required to drop ft2/fc as a dep on OSX.  Would you like to?

I am inclined toward fixing things that actually do not work or do not  
work well (like bugs and missing pieces in the Carbon Driver) more  
than eliminating build-time dependencies.  Can you give me an idea of  
the scope of the change that would require?  Would it require  
rewriting gdi+ as implied by the comment line I quoted above?

Is there some listing of what in the Carbon Driver needs implementing  
or fixing similar to "http://go-mono.com/status/"?

More information about the Mono-osx mailing list