[Xcb] [PATCH] Increment the "current" version info for sync, xinput and xkb

Uli Schlachter psychon at znc.in
Mon Nov 18 11:28:08 PST 2013

Sync: Due to commit e6a246e50e62cbcba3 "sync: Change value list param of
CreateAlarm and ChangeAlarm into switch", various symbols disappeared, for
example xcb_sync_{change,create}_alarm_sizeof.

xinput: This extension was updated from version 1.4 to 2.3. This means that lots
of new things are generated. However, this change is backwards-compatible and
thus age gets set to 1.

xkb: In commit 37d0f55392d6 "xkb: Work around alignment problems in GetNames and
GetMap replies", some padding fields were introduced into structures for which
an _unpack() function is generated. This changed the size of the struct and
caused offsets into this struct to change.

Signed-off-by: Uli Schlachter <psychon at znc.in>
Note: This does bump the SONAME for libxcb-sync.so and libxcb-xkb.so, but it does NOT bump the SONAME of libxcb-xinput.so!

(Also, there is an @lt_enable_auto_import@ missing, but I'll just wait until someone tests xcb on windows and notices this)

 src/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 346ee03..f2875dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -139,7 +139,7 @@ endif
 EXTSOURCES += sync.c
 lib_LTLIBRARIES += libxcb-sync.la
-libxcb_sync_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+libxcb_sync_la_LDFLAGS = -version-info 1:0:0 -no-undefined @lt_enable_auto_import@
 libxcb_sync_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_sync_la_SOURCES = sync.c sync.h
@@ -179,7 +179,7 @@ endif
 EXTSOURCES += xinput.c
 lib_LTLIBRARIES += libxcb-xinput.la
-libxcb_xinput_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+libxcb_xinput_la_LDFLAGS = -version-info 1:0:1 -no-undefined @lt_enable_auto_import@
 libxcb_xinput_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_xinput_la_SOURCES = xinput.c xinput.h
@@ -187,7 +187,7 @@ endif
 EXTSOURCES += xkb.c
 lib_LTLIBRARIES += libxcb-xkb.la
-libxcb_xkb_la_LDFLAGS = -version-info 0:0:0 -no-undefined
+libxcb_xkb_la_LDFLAGS = -version-info 1:0:0 -no-undefined
 libxcb_xkb_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h

More information about the Xcb mailing list