[PATCH libX11] x11-xcb: Move internal dependencies to

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 4 17:58:38 PDT 2014


Similar to libxcb and it's modules we do not need to have libraries
in the Requires field in the pkg-config file. We will be able to
retain the explicit x11/xcb header inclusion from the x11-xcb ones
and satisfy all the build-time dependencies, while avoiding over-linking
and other potential runtime issues.

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>
---

Please keep me Cc'd as I'm not subscribed to the list.

-Emil

 x11-xcb.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-xcb.pc.in b/x11-xcb.pc.in
index 315a9d1..195f470 100644
--- a/x11-xcb.pc.in
+++ b/x11-xcb.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: X11 XCB
 Description: X Library XCB interface
 Version: @PACKAGE_VERSION@
-Requires: x11 xcb
+Requires.private: x11 xcb
 Cflags: -I${includedir}
 Libs: -L${libdir} -lX11-xcb
-- 
2.0.2



More information about the xorg-devel mailing list