Eyes Above The Waves

Robert O'Callahan. Christian. Repatriate Kiwi. Hacker.

Tuesday 26 April 2005

Cairo Status

All my supporting patches have been checked into the trunk. It should be possible to build with cairo on Linux by running configure --enable-default-toolkit=cairo-gtk2 and get results similar to what I posted last week (better, actually, since I've fixed some image rendering bugs).


Martijn Kint
Hi Robert,
Can I ask what is causing these cairo builds to be so extremely slow compared to "normal" builds?
Robert O'Callahan
I don't know yet because I haven't run any profiles and I don't know the Cairo code.
Is it possible to build with Cairo on Windows ?
Martijn Kint
Oh ok, just wondering. thank you for your wonderful work on Gecko though, i'm an avid follower of your blog!
Ernst Persson
Can you build it with --with-system-cairo or something similar?
Otherwise it's going to be hard to use a glitz enabled Cairo. :-)
Roc will you also enable cairo builds on non linux os ? what are the plans for non linux users ?
Robert O'Callahan
Michel: not yet.
Ernst: Yes you can, but I don't recommend it because our Cairo has some patches that haven't made it to trunk Cairo yet, and it's not tested with any system Cairo. I'm going to hack my build to use a hand-built Glitz to see how that goes. In the medium term we might have to pull Glitz into our tree.
Ludovic: We will set up non-GTK2 Cairo builds at some point in the future, but right now that is not a priority. If someone wants to hack on Cairo-Win32 then they can look at what we've done for GTK2 and contribute a Windows configuration.