On 31 May 2012 20:25, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 31/05/12 12:43, Jan Engelhardt escribió:
On Thursday 2012-05-31 18:33, Cristian Rodríguez wrote:
El 31/05/12 07:39, Jan Engelhardt escribió:
On Thursday 2012-05-31 11:13, Cristian Morales Vega wrote:
> 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.
All you nay sayers! :)
I made sure of it. Therefore, #123039.
thank you very much Jan for setting this thing straight :-)
Yeah but does not work, as mls explains in the decline message. Requires.private is too coarse; people use it for both headers and static libs.
Wow, it is even more awfully broken than I though, the manual says
" Requires.private: A list of packages required by this package. The difference from Requires is that the packages listed under Requires.private are not taken into account when a flag list is computed for dynamically linked executable (i.e., when --static was not specified). **In the situation where each .pc file corresponds to a library, Requires.private shall be used exclusively to specify the dependencies between the libraries.**"
This is kind of official documentation: http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq. The second FAQ explains it... The fix is to manually patch your .pc files if you don't package static libraries... but keeping an eye into the headers dependencies. (Perhaps it would be faster to remove --print-requires-private and patch the few packages that would break? ;-) ) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org