[cairo] Breaking the dependency on libX11

Vladimir Vukicevic vladimir at pobox.com
Tue Aug 12 01:11:02 PDT 2008


On Aug 11, 2008, at 11:00 PM, Bernie Innocenti wrote:

> Behdad Esfahbod wrote:
>
>> That's one option.  And distros can do that today.  I know Debian has
>> installs a version of cairo only with the directfb backend  
>> enabled.  In
>> the longer term, we may want to make cairo generate  
>> finergrained .so's.
>> That comes at a cost though, but I'll take a look into it.
>
> Thanks!  I trust you'd take care of the packaging in Fedora too?
>
> Open design question: how do we get pkgconfig to return a  
> different .so
> depending on what backends the client is planning to use?
> One could have multiple .pc files, such as cairo.pc, cairo-image.pc,
> cairo-pdf.pc, but how would we handle the various situations for  
> people
> who want just one library with all the backends?

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.

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

     - Vlad



More information about the cairo mailing list