[cairo] Breaking the dependency on libX11

Bernie Innocenti bernie at codewiz.org
Tue Aug 12 01:52:41 PDT 2008


Vladimir Vukicevic wrote:
> That situation doesn't exist -- an app has to explicitly know which  
> backends it intends to use, otherwise it won't end up using them.

Oh yeah...  But do we expect all distros to package up all
flavors separately?

> Figuring out how to split them would be great, but that ship may have  
> sailed due to .so compat issues...

A nasty side effect would be that a program linking against
libcairo-pdf could not link against a library using libcairo-pdf.

The only clean solution seems to be separating the backends into
dynamically loadable sublibraries, but this comes with a price in
terms complexity that I wouldn't want to pay for any performance
critical library.

-- 
   \___/  Bernie Innocenti - http://www.codewiz.org/
  _| X |  Sugar Labs Team  - http://www.sugarlabs.org/
  \|_O_|  "It's an education project, not a laptop project!"


More information about the cairo mailing list