[Xcb] [PATCH 2/2] Update .pc file Requires lines to express full dependencies

Keith Packard keithp at keithp.com
Fri Aug 15 08:19:00 PDT 2014

Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> See points #2 & #3 of
> http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
> and Tollef's post at http://err.no/personal/blog/2008/Mar/25 .
> Requires.privates are used for both header files & static linking,
> Requires are for the rare cases where callers need to directly
> dynamically link to the other libraries.

We had a long discussion about this on IRC; the consensus was that
Requires.private should essentially always be used for libraries to
reduce unnecessary library dependencies.

Adam Jackson applied this change to xcb and rebuild all of fedora. Only
one package failed to compile.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140815/a6178e29/attachment.sig>

More information about the Xcb mailing list