Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-input-synaptics: ChangeLog xf86-input-synaptics-0.15.1-r1.ebuild
Date: Wed, 10 Sep 2008 13:08:50
Message-Id: E1KdPR9-0005dR-B0@stork.gentoo.org
1 chainsaw 08/09/10 13:08:47
2
3 Modified: ChangeLog
4 Added: xf86-input-synaptics-0.15.1-r1.ebuild
5 Log:
6 Add explosion avoidance to the driver, upstream patch found by Kamil Kamiński <kamil@××××××.net>. Closes bug #237074.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5-00131-g5f17cfc-dirty x86_64)
8
9 Revision Changes Path
10 1.9 x11-drivers/xf86-input-synaptics/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 8 Sep 2008 11:47:07 -0000 1.8
23 +++ ChangeLog 10 Sep 2008 13:08:46 -0000 1.9
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-drivers/xf86-input-synaptics
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog,v 1.8 2008/09/08 11:47:07 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/ChangeLog,v 1.9 2008/09/10 13:08:46 chainsaw Exp $
29 +
30 +*xf86-input-synaptics-0.15.1-r1 (10 Sep 2008)
31 +
32 + 10 Sep 2008; <chainsaw@g.o> +files/synaptics-fix-explosion.patch,
33 + +xf86-input-synaptics-0.15.1-r1.ebuild:
34 + Add explosion avoidance to the driver, upstream patch found by Kamil
35 + Kamiński <kamil@××××××.net>. Closes bug #237074.
36
37 08 Sep 2008; Joseph Jezak <josejx@g.o>
38 xf86-input-synaptics-0.15.1.ebuild:
39
40
41
42 1.1 x11-drivers/xf86-input-synaptics/xf86-input-synaptics-0.15.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-0.15.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-0.15.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xf86-input-synaptics-0.15.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-0.15.1-r1.ebuild,v 1.1 2008/09/10 13:08:46 chainsaw Exp $
52
53 inherit toolchain-funcs eutils linux-info x-modular
54
55 DESCRIPTION="Driver for Synaptics touchpads"
56 HOMEPAGE="http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/"
57 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
58 LICENSE="MIT"
59 IUSE="hal"
60 RDEPEND="x11-libs/libXext
61 hal? ( sys-apps/hal )"
62 DEPEND="${RDEPEND}
63 !x11-drivers/synaptics
64 x11-base/xorg-server
65 x11-proto/inputproto
66 >=sys-apps/sed-4"
67
68 evdev-input_check() {
69 # Check kernel config for required event interface support (either
70 # built-in or as a module. Bug #134309.
71
72 ebegin "Checking kernel config for event device support"
73 linux_chkconfig_present INPUT_EVDEV
74 eend $?
75
76 if [[ $? -ne 0 ]] ; then
77 ewarn "Synaptics driver requires event interface support."
78 ewarn "Please enable the event interface in your kernel config."
79 ewarn "The option can be found at:"
80 ewarn
81 ewarn " Device Drivers"
82 ewarn " Input device support"
83 ewarn " -*- Generic input layer"
84 ewarn " <*> Event interface"
85 ewarn
86 ewarn "Then rebuild the kernel or install the module."
87 epause 5
88 fi
89 }
90
91 pkg_setup() {
92 linux-info_pkg_setup
93 evdev-input_check
94 }
95
96 src_unpack() {
97 x-modular_unpack_source
98 # Fix to handle multiple screens through Xinerama properly. Bug #206614.
99 epatch "${FILESDIR}"/synaptics-fix-xinerama.patch
100 # Fix to not explode if no device and/or path are specified. Bug #237074.
101 epatch "${FILESDIR}"/synaptics-fix-explosion.patch
102 }
103
104 src_install() {
105 DOCS="INSTALL NEWS TODO README"
106 x-modular_src_install
107
108 # Stupid new daemon, didn't work for me because of shm issues
109 newinitd "${FILESDIR}"/rc.init syndaemon
110 newconfd "${FILESDIR}"/rc.conf syndaemon
111
112 if use hal ; then
113 # Have HAL assign this driver to supported touchpads.
114 insinto /usr/share/hal/fdi/policy/10osvendor
115 doins "${FILESDIR}"/11-x11-synaptics.fdi
116 fi
117 }