From 96571b401fc6b6e5144cfdf7ccaca0ef285ed3de Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Wed, 19 Sep 2012 16:18:10 +0800 Subject: [PATCH] sys-libs/mtdev: uprev from upstream to 1.1.2 mtdev 1.1.2 has one important fix: From kernel 3.4, extraction of the MT slot state is supported via the EVIOGMTSLOTS ioctl. This patch initializes the slots using that information. BUG=chrome-os-partner:13951 TEST=emerge-{x86,arm}-generic xf86-input-evdev (pulls mtdev as dependency) TEST=On device using a touchpad supported by xf86-input-evdev: 1) Place one finger on TP (finger A), move around to confirm pointer motion 2) Place second finger on TP (finger B), move both to confirm 2-finger scroll 3) Remove finger A so that on finger B is on pad, move around to confirm pointer motion 4) Enter VT-2 (Ctrl-Alt-F2, F2 aka "->") 5) While in VT-2, remove finger from touchpad 6) Switch back to VT-1 (Ctrl-Alt-F1, F1 aka "<-") 7) Try moving cursor, cursor responsive and smooth => w/out fix: no motion or choppy motion due to Ghost finger) Change-Id: Ic8bd3ae66c64eb59b29afae5c0d4b734423af28e Reviewed-on: https://gerrit.chromium.org/gerrit/33596 Commit-Ready: Daniel Kurtz Reviewed-by: Daniel Kurtz Tested-by: Daniel Kurtz --- .../src/third_party/portage-stable/sys-libs/mtdev/Manifest | 2 +- .../mtdev/{mtdev-1.1.0.ebuild => mtdev-1.1.2.ebuild} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-libs/mtdev/{mtdev-1.1.0.ebuild => mtdev-1.1.2.ebuild} (66%) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/Manifest index f9dc4ed3d6..53bbadbee4 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/Manifest @@ -1 +1 @@ -DIST mtdev-1.1.0.tar.bz2 246508 RMD160 1bff8e7f3770546757b85593c11ce4adef58f8ce SHA1 0f4ce8b45ee15eea503ce078ae24c4442dc58a3e SHA256 4cdd9f72ea04536788ddf2ddef7279abb44b7b4a466e6bd01bdd975cf236aa50 +DIST mtdev-1.1.2.tar.bz2 266202 SHA256 698dd11ca08b3a73ad33d8a5076f6d9e018d97afad3eba36f540b8ea7b775a30 SHA512 edd63be4a23b38202fa4a24f25f0f0ba90ff784c89da3a2f85b501cebbeecedf49c889594e2f46dd4913ddf184a68921a1f294dceba3a6db61f302ee91d3d5ac WHIRLPOOL e0282a4aee7bdc90d2bf4e5c9d92d2045596cdf211f1a258d2e2053e732bfc957317a85d352485c75c8c52ae0f72366d676089a3cae3173b0767ac68fe6d7539 diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.2.ebuild similarity index 66% rename from sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.0.ebuild rename to sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.2.ebuild index 0a6ef2a624..4cc79bdb72 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/mtdev/mtdev-1.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/mtdev/mtdev-1.1.0.ebuild,v 1.4 2012/01/15 19:31:08 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/mtdev/mtdev-1.1.2.ebuild,v 1.11 2012/07/12 17:06:10 ranger Exp $ EAPI=4 @@ -10,10 +10,10 @@ SRC_URI="http://bitmath.org/code/mtdev/${P}.tar.bz2" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~sh ~sparc x86" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86" IUSE="static-libs" -RDEPEND=">=sys-kernel/linux-headers-2.6" +DEPEND=">=sys-kernel/linux-headers-2.6.31" src_configure() { econf $(use_enable static-libs static)