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

2010-09-08 Thread Tomasz Pala
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}/libcairo-gobject.la
 
 Too baaad... this causes that *.la of libs/modules using
 libcairo-gobject would have different dependencies (-lcairo-gobject or
 libcairo-gobject.la) 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:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581352

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 go...@pld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


*-static (was: packages: cairo/cairo-link.patch ...)

2010-09-08 Thread Michael Shigorin
On Wed, Sep 08, 2010 at 09:23:49AM +0200, Tomasz Pala wrote:
 Or maybe building *-static _should_ require -static and not only -devel?

Yup.

 In short: instead removing I've suggested repackaging into *-static,
 just because in contrary to other distros we support this kind of build.

In ALT Linux ( :)) ), we do have some *-devel-static packages and
they do buildrequire corresponding static subpackages for what
they use to build (or more precisely, to statically link against).

buildreq is a nice tool:
http://git.altlinux.org/people/ldv/packages/?p=rpm-utils.git;a=blob;f=rpm-utils/buildreq;hb=HEAD

-- 
  WBR, Michael Shigorin m...@altlinux.ru
  -- Linux.Kiev http://www.linux.kiev.ua/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en