packages: cairo/cairo-link.patch, cairo/cairo.spec - 1.10.0 - merged from d...

Tomasz Pala gotar at
Wed Sep 8 09:23:49 CEST 2010

On Tue, Sep 07, 2010 at 19:55:25 +0200, Jakub Bogusz wrote:

>>  %files static
>>  %defattr(644,root,root,755)
>>  %{_libdir}/libcairo.a
>> +%{_libdir}/libcairo-gobject.a
>> +%{_libdir}/
> Too baaad... this causes that *.la of libs/modules using
> libcairo-gobject would have different dependencies (-lcairo-gobject or
> depending on presence of cairo-static.

All those .la files should be moved to their -static as well. As for
generated dependencies builders don't have *-static installed, so
pkgconfig would be used and in resoult -lcairo-gobject should be put.

Or maybe building *-static _should_ require -static and not only -devel?

> Either move this .la to -devel, or remove at all.

Regular .la are part of _static_ building, so there's no place in -devel
for them. It only causes troubles.

There was a discussion (well, not too many of 'discussion' were there)
recently, please read this and continue there. Also:

In short: instead removing I've suggested repackaging into *-static,
just because in contrary to other distros we support this kind of build.
Without .la files there we might remove all the *-static too, as in
general they would be useless.

Tomasz Pala <gotar at>

More information about the pld-devel-en mailing list