On 30 May 2012 20:48, Cristian Rodríguez
Hi:
The script that generates -devel package "pkgconfig" dependencies does not quite do the right thing.
It honors *.private fields even when packages do not contain static libraries, hence adding a lot of unneeded stuff into the dependency chain.
I you have ever wondered why every time you build a package it downloads and inject half of the distribution into your buildroot, this is a likely candidate to look in ;-)
Will be cool if someone can take a look at it.
http://rpm.org/wiki/PackagerDocs/DependencyGenerator says "the new generators get called once per each file of a type". So I don't see a way to fix it. It would require pkgconfigdeps.sh to somehow keep a state between calls. And even if that would be done, there seems to be no way to warranty the .a files would be processed before the .pc ones. The only option I see is supposing %__pkgconfig_path ^((%{_libdir}|%{_datadir})/pkgconfig/.*\.pc|%{_bindir}/pkg-config)$ (something that could change...) and from every call to pkgconfigdeps.sh check for $(dirname ${filename})/../*.a -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org