[Xcb] [PATCH] Move internal/private dependencies to Requires.private

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 16 05:25:57 PDT 2014

On 16/09/14 13:08, Julien Cristau wrote:
> On Fri, Sep  5, 2014 at 01:46:40 +0100, Emil Velikov wrote:
>> Program using the xcb sub-modules has indirect compile and runtime
>> dependency of core xcb. To ensure this out we currently list xcb in
>> the Requires field of the pkg-config files. While this provides all
>> the required dependencies for successful compilation this causes
>> over-linking and hides potential linking miss-use against the xcb modules.
>> By moving to Requires.private we retain the compilation and runtime
>> compatibility and avoids any runtime problems.
>> Cc: Keith Packard <keithp at keithp.com>
>> Cc: Alan Coopersmith <alan.coopersmith at oracle.com>
>> References: http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
>> References: https://wiki.mageia.org/en/Overlinking_issues_in_packaging
>> References: http://err.no/personal/blog/2008/Mar/25
>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> Reviewed-by: Julien Cristau <jcristau at debian.org>
Thanks. I'm a bit short of access, can you push the commit for me ? That is if
there are no objections :)

> Cheers,
> Julien

More information about the Xcb mailing list