Hello community, here is the log from the commit of package libXi for openSUSE:Factory checked in at 2016-01-05 09:40:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXi (Old) and /work/SRC/openSUSE:Factory/.libXi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXi" Changes: -------- --- /work/SRC/openSUSE:Factory/libXi/libXi.changes 2015-09-24 06:12:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libXi.new/libXi.changes 2016-01-05 09:40:58.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Dec 22 17:34:13 UTC 2015 - [email protected] + +- Update to version 1.7.6: + One significant change here: libXi was using raw serial numbers in event + cookies, the one read off the wire. All other events don't use that number + but a Xlib-internal serial number which is similar but not always the same. + This could cause events to look out of order. With this release, libXi is + now using the same serial number for event cookies as it uses for all other + events. + +------------------------------------------------------------------- Old: ---- libXi-1.7.5.tar.bz2 New: ---- libXi-1.7.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXi.spec ++++++ --- /var/tmp/diff_new_pack.g0TZX6/_old 2016-01-05 09:40:59.000000000 +0100 +++ /var/tmp/diff_new_pack.g0TZX6/_new 2016-01-05 09:40:59.000000000 +0100 @@ -18,7 +18,7 @@ Name: libXi %define lname libXi6 -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: X Input Extension library License: MIT ++++++ libXi-1.7.5.tar.bz2 -> libXi-1.7.6.tar.bz2 ++++++ ++++ 25908 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXi-1.7.5/ChangeLog new/libXi-1.7.6/ChangeLog --- old/libXi-1.7.5/ChangeLog 2015-09-09 17:17:33.000000000 +0200 +++ new/libXi-1.7.6/ChangeLog 2015-12-22 02:21:12.000000000 +0100 @@ -1,3 +1,44 @@ +commit 2286282f965064176b3b1492646c6e2e0f4ab7dd +Author: Peter Hutterer <[email protected]> +Date: Tue Dec 22 11:20:01 2015 +1000 + + libXi 1.7.6 + + Signed-off-by: Peter Hutterer <[email protected]> + +commit 13f25bfb55f4a0bc1f614cbf9b0b13a50ecad8a0 +Author: Javier Pello <[email protected]> +Date: Wed Oct 7 12:41:01 2015 +0200 + + Fix const compiler warnings + + When invoking Data, Data16 and Data32 from XChangeDeviceProperty, + we must cast the data pointer to the right type, but we do not need + to cast constness away. This change allows to enable -Wcast-qual on + the build and have it complete without warnings. + + Signed-off-by: Javier Pello <[email protected]> + Signed-off-by: Peter Hutterer <[email protected]> + +commit 380861589690bcbe8b04b7a2c23b5dd5d10c4bf8 +Author: Peter Hutterer <[email protected]> +Date: Mon Oct 19 11:46:41 2015 +1000 + + Don't use raw serial numbers in XIEvents + + cookie->serial is an Xlib contoction, provided by _XSetLastRequestRead(). This + serial may be different to the raw serial number from the wire protocol. + This causes issues when the raw serial is used to e.g. compare the event to + other non-XI events. + + Use the cookie's serial number instead. + + https://bugzilla.gnome.org/show_bug.cgi?id=756649 + + See also https://bugs.freedesktop.org/show_bug.cgi?id=64687 + + Signed-off-by: Peter Hutterer <[email protected]> + commit f180dff710dc54d00e0e26b84de053151f8f207e Author: Peter Hutterer <[email protected]> Date: Thu Sep 10 01:16:19 2015 +1000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXi-1.7.5/configure.ac new/libXi-1.7.6/configure.ac --- old/libXi-1.7.5/configure.ac 2015-09-09 17:14:59.000000000 +0200 +++ new/libXi-1.7.6/configure.ac 2015-12-22 02:19:42.000000000 +0100 @@ -1,7 +1,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libXi], [1.7.5], +AC_INIT([libXi], [1.7.6], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXi]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([src/config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXi-1.7.5/src/XChDProp.c new/libXi-1.7.6/src/XChDProp.c --- old/libXi-1.7.5/src/XChDProp.c 2010-09-07 07:21:04.000000000 +0200 +++ new/libXi-1.7.6/src/XChDProp.c 2015-11-03 00:12:31.000000000 +0100 @@ -74,7 +74,7 @@ len = ((long)nelements + 3) >> 2; if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { SetReqLen(req, len, len); - Data (dpy, (char *)data, nelements); + Data (dpy, (_Xconst char *)data, nelements); } /* else force BadLength */ break; @@ -83,7 +83,7 @@ if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { SetReqLen(req, len, len); len = (long)nelements << 1; - Data16 (dpy, (short *) data, len); + Data16 (dpy, (_Xconst short *) data, len); } /* else force BadLength */ break; @@ -92,7 +92,7 @@ if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { SetReqLen(req, len, len); len = (long)nelements << 2; - Data32 (dpy, (long *) data, len); + Data32 (dpy, (_Xconst long *) data, len); } /* else force BadLength */ break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXi-1.7.5/src/XExtInt.c new/libXi-1.7.6/src/XExtInt.c --- old/libXi-1.7.5/src/XExtInt.c 2014-11-03 06:28:36.000000000 +0100 +++ new/libXi-1.7.6/src/XExtInt.c 2015-10-19 03:46:32.000000000 +0200 @@ -1521,7 +1521,7 @@ out = next_block(&ptr_lib, sizeof(XIDeviceEvent)); out->display = cookie->display; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->extension = in->extension; out->evtype = in->evtype; out->send_event = ((in->type & 0x80) != 0); @@ -1794,7 +1794,7 @@ cookie->data = out = malloc(sizeof(XIDeviceChangedEvent) + len); out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->display = cookie->display; out->extension = in->extension; out->evtype = in->evtype; @@ -1827,7 +1827,7 @@ out->info = (XIHierarchyInfo*)&out[1]; out->display = cookie->display; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->extension = in->extension; out->evtype = in->evtype; out->send_event = ((in->type & 0x80) != 0); @@ -1868,7 +1868,7 @@ out = next_block(&ptr, sizeof(XIRawEvent)); out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->display = cookie->display; out->extension = in->extension; out->evtype = in->evtype; @@ -1919,7 +1919,7 @@ out->buttons.mask = (unsigned char*)&out[1]; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->display = cookie->display; out->extension = in->extension; out->evtype = in->evtype; @@ -1962,7 +1962,7 @@ cookie->data = out; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->extension = in->extension; out->evtype = in->evtype; out->send_event = ((in->type & 0x80) != 0); @@ -1983,7 +1983,7 @@ cookie->data = out; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->display = cookie->display; out->extension = in->extension; out->evtype = in->evtype; @@ -2011,7 +2011,7 @@ out->display = cookie->display; out->type = in->type; - out->serial = in->sequenceNumber; + out->serial = cookie->serial; out->extension = in->extension; out->evtype = in->evtype; out->send_event = ((in->type & 0x80) != 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXi-1.7.5/src/config.h.in new/libXi-1.7.6/src/config.h.in --- old/libXi-1.7.5/src/config.h.in 2015-09-09 17:15:28.000000000 +0200 +++ new/libXi-1.7.6/src/config.h.in 2015-12-22 02:20:15.000000000 +0100 @@ -30,8 +30,7 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ +/* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */
