From c1504691ec2786594e8ffc33f3962f460f041971 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Thu, 12 Oct 2006 23:52:59 -0400 Subject: [PATCH] Add library support for xcb-xinerama. This is version 1.1 of the Xinerama (PanoramiX) extension. --- Makefile.am | 2 ++ configure.ac | 2 +- src/Makefile.am | 8 ++++++++ xcb-xinerama.pc.in | 11 +++++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 xcb-xinerama.pc.in 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} -- 2.34.1