summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kolb <jkolb@brandeis.edu>2006-10-12 23:52:59 -0400
committerJeremy Kolb <jkolb@brandeis.edu>2006-10-12 23:52:59 -0400
commitc1504691ec2786594e8ffc33f3962f460f041971 (patch)
tree3a2eebcccb124eb01b3e22f800aa5f0f50e3cf88
parent7f74dd6b643f7769701c31587bf3cfa9c5a8e980 (diff)
Add library support for xcb-xinerama.
This is version 1.1 of the Xinerama (PanoramiX) extension.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am8
-rw-r--r--xcb-xinerama.pc.in11
4 files changed, 22 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7f89fba..b9f7a1f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,7 @@ xcb-sync.pc \
xcb-xevie.pc \
xcb-xf86dri.pc \
xcb-xfixes.pc \
+xcb-xinerama.pc \
xcb-xprint.pc \
xcb-xtest.pc \
xcb-xv.pc \
@@ -41,6 +42,7 @@ xcb-shape.pc.in \
xcb-shm.pc.in \
xcb-sync.pc.in \
xcb-xevie.pc.in \
+xcb-xinerama.pc.in \
xcb-xf86dri.pc.in \
xcb-xfixes.pc.in \
xcb-xprint.pc.in \
diff --git a/configure.ac b/configure.ac
index d975468..72136cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,6 +119,6 @@ AC_SUBST(CWARNFLAGS)
GCC_CHECK_VISIBILITY()
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
-AC_CONFIG_FILES([xcb.pc xcb-xlib.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-xf86dri.pc xcb-xfixes.pc xcb-xprint.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc])
+AC_CONFIG_FILES([xcb.pc xcb-xlib.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-xf86dri.pc xcb-xfixes.pc xcb-xinerama.pc xcb-xprint.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc])
AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d4770b..eb7950a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,6 +15,7 @@ lib_LTLIBRARIES = libxcb.la \
libxcb-xevie.la \
libxcb-xf86dri.la \
libxcb-xfixes.la \
+ libxcb-xinerama.la \
libxcb-xprint.la \
libxcb-xtest.la \
libxcb-xv.la \
@@ -38,6 +39,7 @@ EXTHEADERS = \
xevie.h \
xf86dri.h \
xfixes.h \
+ xinerama.h \
xprint.h \
xtest.h \
xv.h \
@@ -60,6 +62,7 @@ EXTSOURCES = \
xevie.c \
xf86dri.c \
xfixes.c \
+ xinerama.c \
xprint.c \
xtest.c \
xv.c \
@@ -90,6 +93,7 @@ EXTENSION_XML = \
xevie.xml \
xf86dri.xml \
xfixes.xml \
+ xinerama.xml \
xprint.xml \
xtest.xml \
xvmc.xml \
@@ -205,6 +209,10 @@ libxcb_xvmc_la_LDFLAGS = -version-info 0:0:0
libxcb_xvmc_la_LIBADD = $(XCB_LIBS)
libxcb_xvmc_la_SOURCES = xvmc.c xvmc.h
+libxcb_xinerama_la_LDFLAGS = -version-info 0:0:0
+libxcb_xinerama_la_LIBADD = $(XCB_LIBS)
+libxcb_xinerama_la_SOURCES = xinerama.c xinerama.h
+
$(EXTHEADERS) $(EXTSOURCES): c-client.xsl
SUFFIXES = .xml
diff --git a/xcb-xinerama.pc.in b/xcb-xinerama.pc.in
new file mode 100644
index 0000000..93c35a3
--- /dev/null
+++ b/xcb-xinerama.pc.in
@@ -0,0 +1,11 @@
+prefix=/opt/fdo/
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: XCB Xinerama
+Description: XCB Xinerama Extension
+Version: 0.9.92
+Requires: xcb
+Libs: -L${libdir} -lxcb-xinerama
+Cflags: -I${includedir}