Neil Roberts wrote:
> On Wed, Dec 19, 2007 at 12:20:03PM +0000, Neil Roberts wrote:
>> I wonder if it would be worth making a script to download the right
>> packages and rewrite all of the pkgconfig files?
> 
> Ok, well I finally got round to doing this, so here is my script. You
> need to have a cross compiler already installed, but it points you in
> the right direction if it can't find one. It can then download and
> patch all of the dependencies and build Clutter.

This is pretty cool.

> I found a few more issues though:
> 
> - It currently only builds static libraries because libtool complains
>   that Windows libraries can't have undefined symbols. I think this
>   can be easily fixed if you add -no-undefined to the LDFLAGS for
>   libclutter.la in Makefile.am. Presumably this might affect other
>   platforms as well?

Hm, for the VisualC build we generate a .def file with the exported
symbols from the list of public symbols in clutter.symbols; perhaps
something like that is needed for the mingw build as well ?

> - The pkg-config file file for Clutter always includes a dependency on
>   gdk-pixbuf-xlib-2.0 - even when building the SDL flavour where it's
>   not used. This makes the configure scripts fail for programs that
>   try to build against Clutter SDL. So without taking this out,
>   clutter-cairo won't build either.

This should now be fixed.

> - In the flowers demo for clutter-cairo there is a call to sleep which
>   seems to fail under MinGW (I'm not entirely sure why though). Would
>   it be easier to just change this to g_usleep?

Yep, sleep() is not an ANSI C function; I have changed that to
g_usleep() as you suggested.

Tomas

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to