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

Keith Packard keithp at keithp.com
Wed Feb 12 12:14:01 PST 2014


Some xcb libraries depend on others; make these dependencies explicit
in the .pc files that are installed.

This change was generated automatically by running 'check-pc-requires -fix'

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 xcb-composite.pc.in | 2 +-
 xcb-damage.pc.in    | 2 +-
 xcb-present.pc.in   | 2 +-
 xcb-randr.pc.in     | 2 +-
 xcb-xinput.pc.in    | 2 +-
 xcb-xvmc.pc.in      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/xcb-composite.pc.in b/xcb-composite.pc.in
index 02d49b0..d266c7c 100644
--- a/xcb-composite.pc.in
+++ b/xcb-composite.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB Composite
 Description: XCB Composite Extension
 Version: @PACKAGE_VERSION@
-Requires: xcb xcb-xfixes
+Requires: xcb xcb-xfixes xcb-render xcb-shape
 Libs: -L${libdir} -lxcb-composite
 Cflags: -I${includedir}
diff --git a/xcb-damage.pc.in b/xcb-damage.pc.in
index c4bc599..9da9ce7 100644
--- a/xcb-damage.pc.in
+++ b/xcb-damage.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB Damage
 Description: XCB Damage Extension
 Version: @PACKAGE_VERSION@
-Requires: xcb xcb-xfixes
+Requires: xcb xcb-xfixes xcb-render xcb-shape
 Libs: -L${libdir} -lxcb-damage
 Cflags: -I${includedir}
diff --git a/xcb-present.pc.in b/xcb-present.pc.in
index 848ac02..e0c2336 100644
--- a/xcb-present.pc.in
+++ b/xcb-present.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB Present
 Description: XCB Present Extension
 Version: @PACKAGE_VERSION@
-Requires: xcb
+Requires: xcb xcb-render xcb-randr xcb-shape xcb-xfixes xcb-sync
 Libs: -L${libdir} -lxcb-present
 Cflags: -I${includedir}
diff --git a/xcb-randr.pc.in b/xcb-randr.pc.in
index ac7f35d..09c3d12 100644
--- a/xcb-randr.pc.in
+++ b/xcb-randr.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB RandR
 Description: XCB RandR Extension
 Version: @PACKAGE_VERSION@
-Requires: xcb
+Requires: xcb xcb-render
 Libs: -L${libdir} -lxcb-randr
 Cflags: -I${includedir}
diff --git a/xcb-xinput.pc.in b/xcb-xinput.pc.in
index ec31229..74b270d 100644
--- a/xcb-xinput.pc.in
+++ b/xcb-xinput.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB XInput
 Description: XCB XInput Extension (EXPERIMENTAL)
 Version: @PACKAGE_VERSION@
-Requires: xcb
+Requires: xcb xcb-render xcb-shape xcb-xfixes
 Libs: -L${libdir} -lxcb-xinput
 Cflags: -I${includedir}
diff --git a/xcb-xvmc.pc.in b/xcb-xvmc.pc.in
index 95bf4ef..cf6f4db 100644
--- a/xcb-xvmc.pc.in
+++ b/xcb-xvmc.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: XCB XvMC
 Description: XCB XvMC Extension
 Version: @PACKAGE_VERSION@
-Requires: xcb xcb-xv
+Requires: xcb xcb-xv xcb-shm
 Libs: -L${libdir} -lxcb-xvmc
 Cflags: -I${includedir}
-- 
1.9.rc1



More information about the xorg-devel mailing list