diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-03-18 20:01:51 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-03-18 20:01:51 +0000 |
commit | 1d13ba9c9e3126d5f23cf38d8d55e6bc9e60bdaa (patch) | |
tree | 5f8475ae28795ba9cd91c2008858aa567d04b218 /x11-drivers | |
parent | Added some country specific locales (diff) | |
download | historical-1d13ba9c9e3126d5f23cf38d8d55e6bc9e60bdaa.tar.gz historical-1d13ba9c9e3126d5f23cf38d8d55e6bc9e60bdaa.tar.bz2 historical-1d13ba9c9e3126d5f23cf38d8d55e6bc9e60bdaa.zip |
Add patch to fix horizontal scrolling.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'x11-drivers')
4 files changed, 41 insertions, 4 deletions
diff --git a/x11-drivers/xf86-input-evdev/ChangeLog b/x11-drivers/xf86-input-evdev/ChangeLog index c7822390dddb..35e06c17139f 100644 --- a/x11-drivers/xf86-input-evdev/ChangeLog +++ b/x11-drivers/xf86-input-evdev/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-drivers/xf86-input-evdev # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/ChangeLog,v 1.172 2012/03/18 17:09:04 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/ChangeLog,v 1.173 2012/03/18 20:01:50 chithanh Exp $ + + 18 Mar 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +files/xf86-input-evdev-2.7.0-horizontal-scrolling.patch, + xf86-input-evdev-2.7.0.ebuild: + Add patch to fix horizontal scrolling. *xf86-input-evdev-2.7.0 (18 Mar 2012) diff --git a/x11-drivers/xf86-input-evdev/Manifest b/x11-drivers/xf86-input-evdev/Manifest index eb15cc207dc2..034c4c2a796a 100644 --- a/x11-drivers/xf86-input-evdev/Manifest +++ b/x11-drivers/xf86-input-evdev/Manifest @@ -1,6 +1,7 @@ +AUX xf86-input-evdev-2.7.0-horizontal-scrolling.patch 1038 RMD160 79906e135babfcf1617d21c7d9f7bddb1bc5a805 SHA1 e959e710d9a0c60a3af967148b9d5e014544993c SHA256 7f02a9250ca5cd960073d91891a66e00bd1a15766544ba86bb307b568bfe37b1 DIST xf86-input-evdev-2.6.0.tar.bz2 322773 RMD160 cde3345f882a4774dffe3ec9c716ef077f25febf SHA1 fb6f7a6f5168ae07efe890e4ace9fb8af1d4e1e0 SHA256 b0e7f3991a8183a4743196c3e16d7184d439b80bf43653aa2f45b0756a6753ac DIST xf86-input-evdev-2.7.0.tar.bz2 360116 RMD160 39c6ba04aa44bd3123bbfece2c2155e4cafe6f86 SHA1 f0cb2d8400c33e8e83b538b53512e77ba73367fa SHA256 3ee1feee0ccf748005ca30b0993d0c1b80f85158b726745f9e0cb220902d6ec7 EBUILD xf86-input-evdev-2.6.0.ebuild 515 RMD160 2fe07ffcac3e5b1b2398c68e131b73f4ddf06ed7 SHA1 1c2f68cf7bad7df95a0ad005328b121ead73e121 SHA256 7ee3b5d367faa080ccf42f907b8dd7ba673c351755017e9f8cdf60f75d994b9f -EBUILD xf86-input-evdev-2.7.0.ebuild 520 RMD160 67e40364f9d4b4d35ed2646d9e04f03e82f85849 SHA1 170b524c3efcc17944702aa4ec5317580a4b869a SHA256 8f505d4e542deb83a41d58925b57d876c0f7d2b5a230438dc9b33fbea576b372 -MISC ChangeLog 27195 RMD160 e23540189f9fcdb03a50d5095b611a28af6f69d6 SHA1 0e30cff3beb54dc0dde5049177b59ae2b04d7467 SHA256 f31776557fa1db0658234cbcfd612e391c6a19b0cceb9197ad0097fff716f73d +EBUILD xf86-input-evdev-2.7.0.ebuild 587 RMD160 313761ade098c1b6d4ad5af0395e0752d0ea86f6 SHA1 135caf895b4495f5a873025a804b6208a76d99e7 SHA256 484575424bcba19a1b6bb296b1b014b6eba1091da70e3764b0cdc1b545ce47ec +MISC ChangeLog 27399 RMD160 5312c0668e1d6245ce73f595b89b059485ecf677 SHA1 58663988fc66f3aa9df0c9f0d56c7665f4a8ec02 SHA256 5c33d8d84cf901b015fe1e55a1dac50d81222bacd36299fe7b78f3549d522f4e MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 diff --git a/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-2.7.0-horizontal-scrolling.patch b/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-2.7.0-horizontal-scrolling.patch new file mode 100644 index 000000000000..93c54d300619 --- /dev/null +++ b/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-2.7.0-horizontal-scrolling.patch @@ -0,0 +1,27 @@ +From 99340147b9092a5aaec997eca407282a51e1f063 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@who-t.net> +Date: Thu, 15 Mar 2012 05:46:32 +0000 +Subject: Fix inverted horizontal scroll (#46205) + +REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL. + +X.Org Bug 46205 <http://bugs.freedesktop.org/show_bug.cgi?id=46205> + +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> +Reviewed-by: Chase Douglas <chase.douglas@canonical.com> +--- +diff --git a/src/evdev.c b/src/evdev.c +index d540b87..8cf630c 100644 +--- a/src/evdev.c ++++ b/src/evdev.c +@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device) + else if (axis == REL_DIAL) + SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, SCROLL_FLAG_NONE); + else if (axis == REL_HWHEEL) +- SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, SCROLL_FLAG_NONE); ++ SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, SCROLL_FLAG_NONE); + #endif + } + +-- +cgit v0.9.0.2-2-gbebe diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.ebuild index d4bae2574b20..a26a0cbf5ed7 100644 --- a/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.ebuild +++ b/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.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/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.ebuild,v 1.1 2012/03/18 17:09:04 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.7.0.ebuild,v 1.2 2012/03/18 20:01:50 chithanh Exp $ EAPI=4 inherit xorg-2 @@ -14,3 +14,7 @@ DEPEND="${RDEPEND} >=x11-proto/inputproto-2.1.99.3 >=sys-kernel/linux-headers-2.6 sys-libs/mtdev" + +PATCHES=( + "${FILESDIR}"/${PN}-2.7.0-horizontal-scrolling.patch +) |