diff options
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libXi/ChangeLog | 11 | ||||
-rw-r--r-- | x11-libs/libXi/files/libXi-1.4.3-xiquerydevice.patch | 171 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.4.1.ebuild | 38 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.4.2.ebuild | 34 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.4.3-r1.ebuild | 40 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.4.3.ebuild | 36 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.4.5.ebuild | 36 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.5.0.ebuild | 36 | ||||
-rw-r--r-- | x11-libs/libXi/libXi-1.6.2.ebuild (renamed from x11-libs/libXi/libXi-1.6.0.ebuild) | 8 |
9 files changed, 14 insertions, 396 deletions
diff --git a/x11-libs/libXi/ChangeLog b/x11-libs/libXi/ChangeLog index bae63b85d827..df76216340a0 100644 --- a/x11-libs/libXi/ChangeLog +++ b/x11-libs/libXi/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for x11-libs/libXi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/ChangeLog,v 1.148 2013/01/04 03:28:09 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/ChangeLog,v 1.149 2013/01/20 18:45:59 chithanh Exp $ + +*libXi-1.6.2 (20 Jan 2013) + + 20 Jan 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +libXi-1.6.2.ebuild, -files/libXi-1.4.3-xiquerydevice.patch, + -libXi-1.4.1.ebuild, -libXi-1.4.2.ebuild, -libXi-1.4.3-r1.ebuild, + -libXi-1.4.3.ebuild, -libXi-1.4.5.ebuild, -libXi-1.5.0.ebuild, + -libXi-1.6.0.ebuild: + Version bump. Remove old. *libXi-1.6.99.1 (04 Jan 2013) diff --git a/x11-libs/libXi/files/libXi-1.4.3-xiquerydevice.patch b/x11-libs/libXi/files/libXi-1.4.3-xiquerydevice.patch deleted file mode 100644 index 8d8e3d3c8511..000000000000 --- a/x11-libs/libXi/files/libXi-1.4.3-xiquerydevice.patch +++ /dev/null @@ -1,171 +0,0 @@ -From 635c2c029b1e73311c3f650bcaf7eeb9e782134b Mon Sep 17 00:00:00 2001 -From: Peter Hutterer <peter.hutterer@who-t.net> -Date: Wed, 17 Aug 2011 05:20:48 +0000 -Subject: Handle unknown device classes. - -If the server sends an unknown device class in response to an XIQueryDevice -call, no memory is allocated for these classes but we still write type -and sourceid as well as setting to->classes[i]. The latter causes multiple -classes to point to the same memory field. - -Move the common code of assigning these three into the respective class type -handlers so to automatically skip any unknown classes. - -Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> ---- -diff --git a/src/XExtInt.c b/src/XExtInt.c -index 86a780e..9e1ad19 100644 ---- a/src/XExtInt.c -+++ b/src/XExtInt.c -@@ -98,7 +98,7 @@ extern int _XiGetDevicePresenceNotifyEvent( - Display * /* dpy */ - ); - --int copy_classes(XIDeviceInfo *to, xXIAnyInfo* from, int nclasses); -+int copy_classes(XIDeviceInfo *to, xXIAnyInfo* from, int *nclasses); - int size_classes(xXIAnyInfo* from, int nclasses); - - static XExtensionInfo *xinput_info; -@@ -1448,30 +1448,29 @@ size_classes(xXIAnyInfo* from, int nclasses) - * |______________________^ - */ - _X_HIDDEN int --copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) -+copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int *nclasses) - { - XIAnyClassInfo *any_lib; - xXIAnyInfo *any_wire; - void *ptr_lib; - char *ptr_wire; - int i, len; -+ int cls_idx = 0; - - if (!to->classes) - return -1; - - ptr_wire = (char*)from; - ptr_lib = to->classes; -- to->classes = next_block(&ptr_lib, nclasses * sizeof(XIAnyClassInfo*)); -+ to->classes = next_block(&ptr_lib, *nclasses * sizeof(XIAnyClassInfo*)); -+ memset(to->classes, 0, sizeof(*nclasses * sizeof(XIAnyClassInfo*))); - len = 0; /* count wire length */ - -- for (i = 0; i < nclasses; i++) -+ for (i = 0; i < *nclasses; i++) - { - any_lib = (XIAnyClassInfo*)ptr_lib; - any_wire = (xXIAnyInfo*)ptr_wire; - -- to->classes[i] = any_lib; -- any_lib->type = any_wire->type; -- any_lib->sourceid = any_wire->sourceid; - switch(any_wire->type) - { - case XIButtonClass: -@@ -1485,6 +1484,8 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) - cls_lib = next_block(&ptr_lib, sizeof(XIButtonClassInfo)); - cls_wire = (xXIButtonInfo*)any_wire; - -+ cls_lib->type = cls_wire->type; -+ cls_lib->sourceid = cls_wire->sourceid; - cls_lib->num_buttons = cls_wire->num_buttons; - size = ((((cls_wire->num_buttons + 7)/8) + 3)/4); - cls_lib->state.mask_len = size * 4; -@@ -1499,6 +1500,7 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) - for (j = 0; j < cls_lib->num_buttons; j++) - cls_lib->labels[j] = *atoms++; - -+ to->classes[cls_idx++] = any_lib; - break; - } - case XIKeyClass: -@@ -1509,12 +1511,15 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) - cls_lib = next_block(&ptr_lib, sizeof(XIKeyClassInfo)); - cls_wire = (xXIKeyInfo*)any_wire; - -+ cls_lib->type = cls_wire->type; -+ cls_lib->sourceid = cls_wire->sourceid; - cls_lib->num_keycodes = cls_wire->num_keycodes; - cls_lib->keycodes = next_block(&ptr_lib, - cls_lib->num_keycodes * sizeof(int)); - memcpy(cls_lib->keycodes, &cls_wire[1], - cls_lib->num_keycodes); - -+ to->classes[cls_idx++] = any_lib; - break; - } - case XIValuatorClass: -@@ -1525,6 +1530,8 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) - cls_lib = next_block(&ptr_lib, sizeof(XIValuatorClassInfo)); - cls_wire = (xXIValuatorInfo*)any_wire; - -+ cls_lib->type = cls_wire->type; -+ cls_lib->sourceid = cls_wire->sourceid; - cls_lib->number = cls_wire->number; - cls_lib->label = cls_wire->label; - cls_lib->resolution = cls_wire->resolution; -@@ -1534,12 +1541,16 @@ copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses) - /* FIXME: fractional parts */ - cls_lib->mode = cls_wire->mode; - -+ to->classes[cls_idx++] = any_lib; - } - break; - } - len += any_wire->length * 4; - ptr_wire += any_wire->length * 4; - } -+ -+ /* we may have skipped unknown classes, reset nclasses */ -+ *nclasses = cls_idx; - return len; - } - -@@ -1550,6 +1561,7 @@ wireToDeviceChangedEvent(xXIDeviceChangedEvent *in, XGenericEventCookie *cookie) - XIDeviceChangedEvent *out; - XIDeviceInfo info; - int len; -+ int nclasses = in->num_classes; - - len = size_classes((xXIAnyInfo*)&in[1], in->num_classes); - -@@ -1564,13 +1576,13 @@ wireToDeviceChangedEvent(xXIDeviceChangedEvent *in, XGenericEventCookie *cookie) - out->deviceid = in->deviceid; - out->sourceid = in->sourceid; - out->reason = in->reason; -- out->num_classes = in->num_classes; - - out->classes = (XIAnyClassInfo**)&out[1]; - - info.classes = out->classes; - -- copy_classes(&info, (xXIAnyInfo*)&in[1], in->num_classes); -+ copy_classes(&info, (xXIAnyInfo*)&in[1], &nclasses); -+ out->num_classes = nclasses; - - return 1; - } -diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c -index 4e2f392..c22aee1 100644 ---- a/src/XIQueryDevice.c -+++ b/src/XIQueryDevice.c -@@ -29,7 +29,7 @@ - #include <X11/extensions/extutil.h> - #include "XIint.h" - --extern int copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int nclasses); -+extern int copy_classes(XIDeviceInfo* to, xXIAnyInfo* from, int *nclasses); - extern int size_classes(xXIAnyInfo* from, int nclasses); - - XIDeviceInfo* -@@ -87,7 +87,7 @@ XIQueryDevice(Display *dpy, int deviceid, int *ndevices_return) - ptr += ((wire->name_len + 3)/4) * 4; - - lib->classes = Xmalloc(size_classes((xXIAnyInfo*)ptr, lib->num_classes)); -- ptr += copy_classes(lib, (xXIAnyInfo*)ptr, lib->num_classes); -+ ptr += copy_classes(lib, (xXIAnyInfo*)ptr, &lib->num_classes); - } - - Xfree(buf); --- -cgit v0.9.0.2-2-gbebe diff --git a/x11-libs/libXi/libXi-1.4.1.ebuild b/x11-libs/libXi/libXi-1.4.1.ebuild deleted file mode 100644 index 370636fbb3ee..000000000000 --- a/x11-libs/libXi/libXi-1.4.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.4.1.ebuild,v 1.7 2011/03/05 17:54:32 xarthisius Exp $ - -EAPI=3 - -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="doc" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND} - doc? ( - app-text/asciidoc - app-text/xmlto - ) -" - -pkg_setup() { - xorg-2_pkg_setup - CONFIGURE_OPTIONS="$(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop" -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.4.2.ebuild b/x11-libs/libXi/libXi-1.4.2.ebuild deleted file mode 100644 index e7b1eb74d215..000000000000 --- a/x11-libs/libXi/libXi-1.4.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.4.2.ebuild,v 1.8 2011/08/20 15:54:16 jer Exp $ - -EAPI=4 - -XORG_DOC=doc -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND}" - -pkg_setup() { - xorg-2_pkg_setup - CONFIGURE_OPTIONS="$(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop" -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.4.3-r1.ebuild b/x11-libs/libXi/libXi-1.4.3-r1.ebuild deleted file mode 100644 index 58b9fba84ebc..000000000000 --- a/x11-libs/libXi/libXi-1.4.3-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.4.3-r1.ebuild,v 1.8 2012/03/03 16:30:55 ranger Exp $ - -EAPI=4 - -XORG_DOC=doc -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-1.4.3-xiquerydevice.patch" -) - -pkg_setup() { - xorg-2_pkg_setup - XORG_CONFIGURE_OPTIONS=( - $(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop - ) -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.4.3.ebuild b/x11-libs/libXi/libXi-1.4.3.ebuild deleted file mode 100644 index b87d0b7c441a..000000000000 --- a/x11-libs/libXi/libXi-1.4.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.4.3.ebuild,v 1.8 2011/08/20 15:54:16 jer Exp $ - -EAPI=4 - -XORG_DOC=doc -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND}" - -pkg_setup() { - xorg-2_pkg_setup - XORG_CONFIGURE_OPTIONS=( - $(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop - ) -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.4.5.ebuild b/x11-libs/libXi/libXi-1.4.5.ebuild deleted file mode 100644 index 075dbabec2a8..000000000000 --- a/x11-libs/libXi/libXi-1.4.5.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.4.5.ebuild,v 1.1 2011/12/20 21:55:44 chithanh Exp $ - -EAPI=4 - -XORG_DOC=doc -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND}" - -pkg_setup() { - xorg-2_pkg_setup - XORG_CONFIGURE_OPTIONS=( - $(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop - ) -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.5.0.ebuild b/x11-libs/libXi/libXi-1.5.0.ebuild deleted file mode 100644 index 0c9a65dd9c09..000000000000 --- a/x11-libs/libXi/libXi-1.5.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.5.0.ebuild,v 1.2 2012/05/04 15:07:26 aballier Exp $ - -EAPI=4 - -XORG_DOC=doc -inherit xorg-2 - -DESCRIPTION="X.Org Xi library" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -RDEPEND=">=x11-libs/libX11-1.3 - >=x11-libs/libXext-1.1 - >=x11-proto/inputproto-2.0.99.1 - >=x11-proto/xproto-7.0.13 - >=x11-proto/xextproto-7.0.3" -DEPEND="${RDEPEND}" - -pkg_setup() { - xorg-2_pkg_setup - XORG_CONFIGURE_OPTIONS=( - $(use_enable doc specs) - $(use_with doc xmlto) - $(use_with doc asciidoc) - --without-fop - ) -} - -pkg_postinst() { - xorg-2_pkg_postinst - - ewarn "Some special keys and keyboard layouts may stop working." - ewarn "To fix them, recompile xorg-server." -} diff --git a/x11-libs/libXi/libXi-1.6.0.ebuild b/x11-libs/libXi/libXi-1.6.2.ebuild index d57316167e51..5406fcad65c2 100644 --- a/x11-libs/libXi/libXi-1.6.0.ebuild +++ b/x11-libs/libXi/libXi-1.6.2.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.6.0.ebuild,v 1.1 2012/03/09 00:04:22 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.6.2.ebuild,v 1.1 2013/01/20 18:45:59 chithanh Exp $ -EAPI=4 +EAPI=5 XORG_DOC=doc inherit xorg-2 DESCRIPTION="X.Org Xi library" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" IUSE="" RDEPEND=">=x11-libs/libX11-1.4.99.1 |