[Xcb-commit] libxcb: 2 commits - configure.ac Makefile.am src xcb-dbe.pc.in

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 22 14:59:18 UTC 2022


 Makefile.am     |    3 +++
 configure.ac    |    5 ++++-
 src/.gitignore  |    1 +
 src/Makefile.am |    8 ++++++++
 xcb-dbe.pc.in   |   11 +++++++++++
 5 files changed, 27 insertions(+), 1 deletion(-)

New commits:
commit 3123dfe723648c5abeab429e7cb4bd194ceeb8f6
Author: Mike Sharov <msharov at users.sourceforge.net>
Date:   Wed Jun 22 10:56:37 2022 -0400

    Require xcb-proto >= 1.15.1, which has Dbe
    
    Signed-off-by: Mike Sharov <msharov at users.sourceforge.net>

diff --git a/configure.ac b/configure.ac
index a644b05..f76a26e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ fi
 AC_SUBST(HTML_CHECK_RESULT)
 
 # Checks for pkg-config packages
-PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.14)
+PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
 NEEDED="xau >= 0.99.2"
 case $host_os in
 linux*) ;;
commit 816407655f75cf8ae505432cb743c316e009679d
Author: Mike Sharov <msharov at users.sourceforge.net>
Date:   Thu Jun 2 13:27:48 2022 -0400

    Build DOUBLE-BUFFER extension.
    
    Signed-off-by: Mike Sharov <msharov at users.sourceforge.net>

diff --git a/Makefile.am b/Makefile.am
index fbf6e04..499c652 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,6 +12,9 @@ endif
 if BUILD_DAMAGE
 pkgconfig_DATA += xcb-damage.pc
 endif
+if BUILD_DBE
+pkgconfig_DATA += xcb-dbe.pc
+endif
 if BUILD_DPMS
 pkgconfig_DATA += xcb-dpms.pc
 endif
diff --git a/configure.ac b/configure.ac
index 4198a50..a644b05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,6 +221,7 @@ esac
 
 XCB_EXTENSION(Composite, yes)
 XCB_EXTENSION(Damage, yes)
+XCB_EXTENSION(Dbe, yes)
 XCB_EXTENSION(DPMS, yes)
 XCB_EXTENSION(DRI2, yes)
 XCB_EXTENSION(DRI3, $have_sendmsg)
@@ -273,6 +274,7 @@ AC_CONFIG_FILES([
 xcb.pc
 xcb-composite.pc
 xcb-damage.pc
+xcb-dbe.pc
 xcb-dpms.pc
 xcb-dri2.pc
 xcb-dri3.pc
@@ -321,6 +323,7 @@ echo ""
 echo "  X11 extensions"
 echo "    Composite...........: ${BUILD_COMPOSITE}"
 echo "    Damage..............: ${BUILD_DAMAGE}"
+echo "    Dbe.................: ${BUILD_DBE}"
 echo "    Dpms................: ${BUILD_DPMS}"
 echo "    Dri2................: ${BUILD_DRI2}"
 echo "    Dri3................: ${BUILD_DRI3}"
diff --git a/src/.gitignore b/src/.gitignore
index 7c69ebe..56d3bbd 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,6 +1,7 @@
 bigreq.*
 composite.*
 damage.*
+dbe.*
 dpms.*
 dri2.*
 dri3.*
diff --git a/src/Makefile.am b/src/Makefile.am
index c2984b3..9861a2d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -40,6 +40,14 @@ libxcb_damage_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_damage_la_SOURCES = damage.c damage.h
 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
 if BUILD_DPMS
 lib_LTLIBRARIES += libxcb-dpms.la
diff --git a/xcb-dbe.pc.in b/xcb-dbe.pc.in
new file mode 100644
index 0000000..05df0d5
--- /dev/null
+++ b/xcb-dbe.pc.in
@@ -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}


More information about the xcb-commit mailing list