[Xcb-commit] xcb
Josh Triplett
josh at kemper.freedesktop.org
Wed Apr 26 13:30:55 PDT 2006
xcb/Makefile.am | 45 +++++++++++++++++++++++++++++++++++++++++++--
xcb/configure.ac | 2 +-
xcb/xcb-composite.pc.in | 11 +++++++++++
xcb/xcb-damage.pc.in | 11 +++++++++++
xcb/xcb-dpms.pc.in | 11 +++++++++++
xcb/xcb-glx.pc.in | 11 +++++++++++
xcb/xcb-randr.pc.in | 11 +++++++++++
xcb/xcb-record.pc.in | 11 +++++++++++
xcb/xcb-render.pc.in | 11 +++++++++++
xcb/xcb-res.pc.in | 11 +++++++++++
xcb/xcb-screensaver.pc.in | 11 +++++++++++
xcb/xcb-shape.pc.in | 11 +++++++++++
xcb/xcb-shm.pc.in | 11 +++++++++++
xcb/xcb-sync.pc.in | 11 +++++++++++
xcb/xcb-xevie.pc.in | 11 +++++++++++
xcb/xcb-xfixes.pc.in | 11 +++++++++++
xcb/xcb-xfree86dri.pc.in | 11 +++++++++++
xcb/xcb-xprint.pc.in | 11 +++++++++++
xcb/xcb-xtest.pc.in | 11 +++++++++++
xcb/xcb-xv.pc.in | 11 +++++++++++
xcb/xcb-xvmc.pc.in | 11 +++++++++++
21 files changed, 253 insertions(+), 3 deletions(-)
New commits:
diff-tree 661eb7d56a3cd2ee1277558f66500e8d76793055 (from 098bbc414e4d0bdbf6a129d6491bb27290b11a29)
Author: Josh Triplett <josh at freedesktop.org>
Date: Wed Apr 26 11:23:32 2006 -0700
Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST.
Based on a patch by Vincent Torri. Changes from that patch: add Requires to the .pc.in files based on the <import>s in the extensions, add a .pc.in file for libXCBxtest, change Name and Description fields to match extension names.
diff --git a/xcb/Makefile.am b/xcb/Makefile.am
index df93163..53b1585 100644
--- a/xcb/Makefile.am
+++ b/xcb/Makefile.am
@@ -1,6 +1,47 @@
SUBDIRS=src tests
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = xcb.pc
-EXTRA_DIST=xcb.pc.in
+pkgconfig_DATA = \
+xcb.pc \
+xcb-composite.pc \
+xcb-damage.pc \
+xcb-dpms.pc \
+xcb-glx.pc \
+xcb-randr.pc \
+xcb-record.pc \
+xcb-render.pc \
+xcb-res.pc \
+xcb-screensaver.pc \
+xcb-shape.pc \
+xcb-shm.pc \
+xcb-sync.pc \
+xcb-xevie.pc \
+xcb-xfree86dri.pc \
+xcb-xfixes.pc \
+xcb-xprint.pc \
+xcb-xtest.pc \
+xcb-xv.pc \
+xcb-xvmc.pc
+
+EXTRA_DIST = \
+xcb.pc.in \
+xcb-composite.pc.in \
+xcb-damage.pc.in \
+xcb-dpms.pc.in \
+xcb-glx.pc.in \
+xcb-randr.pc.in \
+xcb-record.pc.in \
+xcb-render.pc.in \
+xcb-res.pc.in \
+xcb-screensaver.pc.in \
+xcb-shape.pc.in \
+xcb-shm.pc.in \
+xcb-sync.pc.in \
+xcb-xevie.pc.in \
+xcb-xfree86dri.pc.in \
+xcb-xfixes.pc.in \
+xcb-xprint.pc.in \
+xcb-xtest.pc.in \
+xcb-xv.pc.in \
+xcb-xvmc.pc.in
diff --git a/xcb/configure.ac b/xcb/configure.ac
index ccd549a..108b07f 100644
--- a/xcb/configure.ac
+++ b/xcb/configure.ac
@@ -120,6 +120,6 @@ AC_SUBST(CWARNFLAGS)
GCC_CHECK_VISIBILITY()
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
-AC_CONFIG_FILES([xcb.pc])
+AC_CONFIG_FILES([xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-glx.pc xcb-randr.pc xcb-record.pc xcb-render.pc xcb-res.pc xcb-screensaver.pc xcb-shape.pc xcb-shm.pc xcb-sync.pc xcb-xevie.pc xcb-xfree86dri.pc xcb-xfixes.pc xcb-xprint.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc])
AC_OUTPUT
diff --git a/xcb/xcb-composite.pc.in b/xcb/xcb-composite.pc.in
new file mode 100644
index 0000000..be04e12
--- /dev/null
+++ b/xcb/xcb-composite.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Composite
+Description: XCB Composite Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb xcb-xfixes
+Libs: -L${libdir} -lXCBcomposite
+Cflags: -I${includedir}
diff --git a/xcb/xcb-damage.pc.in b/xcb/xcb-damage.pc.in
new file mode 100644
index 0000000..2c4fbf1
--- /dev/null
+++ b/xcb/xcb-damage.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Damage
+Description: XCB Damage Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb xcb-xfixes
+Libs: -L${libdir} -lXCBdamage
+Cflags: -I${includedir}
diff --git a/xcb/xcb-dpms.pc.in b/xcb/xcb-dpms.pc.in
new file mode 100644
index 0000000..1940d73
--- /dev/null
+++ b/xcb/xcb-dpms.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB DPMS
+Description: XCB DPMS Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBdpms
+Cflags: -I${includedir}
diff --git a/xcb/xcb-glx.pc.in b/xcb/xcb-glx.pc.in
new file mode 100644
index 0000000..8151fb9
--- /dev/null
+++ b/xcb/xcb-glx.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB GLX
+Description: XCB GLX Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBglx
+Cflags: -I${includedir}
diff --git a/xcb/xcb-randr.pc.in b/xcb/xcb-randr.pc.in
new file mode 100644
index 0000000..b9f01b0
--- /dev/null
+++ b/xcb/xcb-randr.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB RandR
+Description: XCB RandR Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBrandr
+Cflags: -I${includedir}
diff --git a/xcb/xcb-record.pc.in b/xcb/xcb-record.pc.in
new file mode 100644
index 0000000..c7d3ac6
--- /dev/null
+++ b/xcb/xcb-record.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Record
+Description: XCB Record Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBrecord
+Cflags: -I${includedir}
diff --git a/xcb/xcb-render.pc.in b/xcb/xcb-render.pc.in
new file mode 100644
index 0000000..5f78bbf
--- /dev/null
+++ b/xcb/xcb-render.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Render
+Description: XCB Render Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBrender
+Cflags: -I${includedir}
diff --git a/xcb/xcb-res.pc.in b/xcb/xcb-res.pc.in
new file mode 100644
index 0000000..96e668c
--- /dev/null
+++ b/xcb/xcb-res.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Res
+Description: XCB X-Resource Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBres
+Cflags: -I${includedir}
diff --git a/xcb/xcb-screensaver.pc.in b/xcb/xcb-screensaver.pc.in
new file mode 100644
index 0000000..a24f49e
--- /dev/null
+++ b/xcb/xcb-screensaver.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Screensaver
+Description: XCB Screensaver Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBscreensaver
+Cflags: -I${includedir}
diff --git a/xcb/xcb-shape.pc.in b/xcb/xcb-shape.pc.in
new file mode 100644
index 0000000..f3f5c54
--- /dev/null
+++ b/xcb/xcb-shape.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Shape
+Description: XCB Shape Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBshape
+Cflags: -I${includedir}
diff --git a/xcb/xcb-shm.pc.in b/xcb/xcb-shm.pc.in
new file mode 100644
index 0000000..5b01ba6
--- /dev/null
+++ b/xcb/xcb-shm.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Shm
+Description: XCB Shm Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBshm
+Cflags: -I${includedir}
diff --git a/xcb/xcb-sync.pc.in b/xcb/xcb-sync.pc.in
new file mode 100644
index 0000000..e59c969
--- /dev/null
+++ b/xcb/xcb-sync.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Sync
+Description: XCB Sync Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBsync
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xevie.pc.in b/xcb/xcb-xevie.pc.in
new file mode 100644
index 0000000..4062f19
--- /dev/null
+++ b/xcb/xcb-xevie.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Xevie
+Description: XCB Xevie Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBxevie
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xfixes.pc.in b/xcb/xcb-xfixes.pc.in
new file mode 100644
index 0000000..c0e3fb6
--- /dev/null
+++ b/xcb/xcb-xfixes.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB XFixes
+Description: XCB XFixes Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb xcb-render xcb-shape
+Libs: -L${libdir} -lXCBxfixes
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xfree86dri.pc.in b/xcb/xcb-xfree86dri.pc.in
new file mode 100644
index 0000000..1d37214
--- /dev/null
+++ b/xcb/xcb-xfree86dri.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB XFree86-DRI
+Description: XCB XFree86-DRI Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBxfree86dri
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xprint.pc.in b/xcb/xcb-xprint.pc.in
new file mode 100644
index 0000000..90257a2
--- /dev/null
+++ b/xcb/xcb-xprint.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Xprint
+Description: XCB Xprint Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBxprint
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xtest.pc.in b/xcb/xcb-xtest.pc.in
new file mode 100644
index 0000000..598b4d3
--- /dev/null
+++ b/xcb/xcb-xtest.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB XTEST
+Description: XCB XTEST Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb
+Libs: -L${libdir} -lXCBxtest
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xv.pc.in b/xcb/xcb-xv.pc.in
new file mode 100644
index 0000000..d23d56d
--- /dev/null
+++ b/xcb/xcb-xv.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB Xv
+Description: XCB Xv Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb xcb-shm
+Libs: -L${libdir} -lXCBxv
+Cflags: -I${includedir}
diff --git a/xcb/xcb-xvmc.pc.in b/xcb/xcb-xvmc.pc.in
new file mode 100644
index 0000000..37ec672
--- /dev/null
+++ b/xcb/xcb-xvmc.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XCB XvMC
+Description: XCB XvMC Extension
+Version: @PACKAGE_VERSION@
+Requires: xcb xcb-xv
+Libs: -L${libdir} -lXCBxvmc
+Cflags: -I${includedir}
More information about the xcb-commit
mailing list