Build DOUBLE-BUFFER extension.

Signed-off-by: Mike Sharov <msharov@users.sourceforge.net>
This commit is contained in:
Mike Sharov 2022-06-02 13:27:48 -04:00
parent c2c4a2cd19
commit 816407655f
5 changed files with 26 additions and 0 deletions

View File

@ -12,6 +12,9 @@ endif
if BUILD_DAMAGE if BUILD_DAMAGE
pkgconfig_DATA += xcb-damage.pc pkgconfig_DATA += xcb-damage.pc
endif endif
if BUILD_DBE
pkgconfig_DATA += xcb-dbe.pc
endif
if BUILD_DPMS if BUILD_DPMS
pkgconfig_DATA += xcb-dpms.pc pkgconfig_DATA += xcb-dpms.pc
endif endif

View File

@ -221,6 +221,7 @@ esac
XCB_EXTENSION(Composite, yes) XCB_EXTENSION(Composite, yes)
XCB_EXTENSION(Damage, yes) XCB_EXTENSION(Damage, yes)
XCB_EXTENSION(Dbe, yes)
XCB_EXTENSION(DPMS, yes) XCB_EXTENSION(DPMS, yes)
XCB_EXTENSION(DRI2, yes) XCB_EXTENSION(DRI2, yes)
XCB_EXTENSION(DRI3, $have_sendmsg) XCB_EXTENSION(DRI3, $have_sendmsg)
@ -273,6 +274,7 @@ AC_CONFIG_FILES([
xcb.pc xcb.pc
xcb-composite.pc xcb-composite.pc
xcb-damage.pc xcb-damage.pc
xcb-dbe.pc
xcb-dpms.pc xcb-dpms.pc
xcb-dri2.pc xcb-dri2.pc
xcb-dri3.pc xcb-dri3.pc
@ -321,6 +323,7 @@ echo ""
echo " X11 extensions" echo " X11 extensions"
echo " Composite...........: ${BUILD_COMPOSITE}" echo " Composite...........: ${BUILD_COMPOSITE}"
echo " Damage..............: ${BUILD_DAMAGE}" echo " Damage..............: ${BUILD_DAMAGE}"
echo " Dbe.................: ${BUILD_DBE}"
echo " Dpms................: ${BUILD_DPMS}" echo " Dpms................: ${BUILD_DPMS}"
echo " Dri2................: ${BUILD_DRI2}" echo " Dri2................: ${BUILD_DRI2}"
echo " Dri3................: ${BUILD_DRI3}" echo " Dri3................: ${BUILD_DRI3}"

1
src/.gitignore vendored
View File

@ -1,6 +1,7 @@
bigreq.* bigreq.*
composite.* composite.*
damage.* damage.*
dbe.*
dpms.* dpms.*
dri2.* dri2.*
dri3.* dri3.*

View File

@ -40,6 +40,14 @@ libxcb_damage_la_LIBADD = $(XCB_LIBS)
nodist_libxcb_damage_la_SOURCES = damage.c damage.h nodist_libxcb_damage_la_SOURCES = damage.c damage.h
endif endif
EXTSOURCES += dbe.c
if BUILD_DBE
lib_LTLIBRARIES += libxcb-dbe.la
libxcb_dbe_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
libxcb_dbe_la_LIBADD = $(XCB_LIBS)
nodist_libxcb_dbe_la_SOURCES = dbe.c dbe.h
endif
EXTSOURCES += dpms.c EXTSOURCES += dpms.c
if BUILD_DPMS if BUILD_DPMS
lib_LTLIBRARIES += libxcb-dpms.la lib_LTLIBRARIES += libxcb-dpms.la

11
xcb-dbe.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: XCB Dbe
Description: XCB Double Buffer Extension
Version: @PACKAGE_VERSION@
Requires.private: xcb
Libs: -L${libdir} -lxcb-dbe
Cflags: -I${includedir}