1 |
drac 08/07/30 13:13:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: synaptics-0.14.6-r3.ebuild |
5 |
Log: |
6 |
Apply configurable polling interval patch from Novell so that syndaemon doesn't wake up CPU so often. Bug 216679, thanks to Roland Tapken, Thomas Kirchner and Krister Bäckman. |
7 |
(Portage version: 2.2_rc3/cvs/Linux 2.6.26-rc3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.37 x11-drivers/synaptics/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?rev=1.37&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?rev=1.37&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?r1=1.36&r2=1.37 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v |
19 |
retrieving revision 1.36 |
20 |
retrieving revision 1.37 |
21 |
diff -u -r1.36 -r1.37 |
22 |
--- ChangeLog 7 Apr 2008 15:17:56 -0000 1.36 |
23 |
+++ ChangeLog 30 Jul 2008 13:13:24 -0000 1.37 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for x11-drivers/synaptics |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.36 2008/04/07 15:17:56 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.37 2008/07/30 13:13:24 drac Exp $ |
29 |
+ |
30 |
+*synaptics-0.14.6-r3 (30 Jul 2008) |
31 |
+ |
32 |
+ 30 Jul 2008; Samuli Suominen <drac@g.o> |
33 |
+ +files/synaptics-0.14.6-configurable_polling_interval.patch, |
34 |
+ +synaptics-0.14.6-r3.ebuild: |
35 |
+ Apply configurable polling interval patch from Novell so that syndaemon |
36 |
+ doesn't wake up CPU so often. Bug 216679, thanks to Roland Tapken, Thomas |
37 |
+ Kirchner and Krister Bäckman. |
38 |
|
39 |
07 Apr 2008; Doug Goldstein <cardoe@g.o> synaptics-0.14.6.ebuild, |
40 |
synaptics-0.14.6-r1.ebuild, synaptics-0.14.6-r2.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-drivers/synaptics/synaptics-0.14.6-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: synaptics-0.14.6-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r3.ebuild,v 1.1 2008/07/30 13:13:24 drac Exp $ |
54 |
|
55 |
inherit toolchain-funcs eutils linux-info |
56 |
|
57 |
IUSE="hal" |
58 |
|
59 |
DESCRIPTION="Driver for Synaptics touchpads" |
60 |
HOMEPAGE="http://w1.894.telia.com/~u89404340/touchpad/" |
61 |
SRC_URI="http://w1.894.telia.com/~u89404340/touchpad/files/${P}.tar.bz2" |
62 |
|
63 |
SLOT="0" |
64 |
LICENSE="GPL-2" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
66 |
|
67 |
RDEPEND="x11-libs/libXext |
68 |
hal? ( sys-apps/hal )" |
69 |
DEPEND="${RDEPEND} |
70 |
x11-base/xorg-server |
71 |
x11-proto/inputproto |
72 |
>=sys-apps/sed-4" |
73 |
|
74 |
evdev-input_check() { |
75 |
# Check kernel config for required event interface support (either |
76 |
# built-in or as a module. Bug #134309. |
77 |
|
78 |
ebegin "Checking kernel config for event device support" |
79 |
linux_chkconfig_present INPUT_EVDEV |
80 |
eend $? |
81 |
|
82 |
if [[ $? -ne 0 ]] ; then |
83 |
ewarn "Synaptics driver requires event interface support." |
84 |
ewarn "Please enable the event interface in your kernel config." |
85 |
ewarn "The option can be found at:" |
86 |
ewarn |
87 |
ewarn " Device Drivers" |
88 |
ewarn " Input device support" |
89 |
ewarn " -*- Generic input layer" |
90 |
ewarn " <*> Event interface" |
91 |
ewarn |
92 |
ewarn "Then rebuild the kernel or install the module." |
93 |
epause 5 |
94 |
fi |
95 |
} |
96 |
|
97 |
pkg_setup() { |
98 |
linux-info_pkg_setup |
99 |
evdev-input_check |
100 |
} |
101 |
|
102 |
src_unpack() { |
103 |
unpack ${A} ; cd "${S}" |
104 |
|
105 |
# Switch up the CC and CFLAGS stuff. |
106 |
sed -i \ |
107 |
-e "s:CC = gcc:CC = $(tc-getCC):g" \ |
108 |
-e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \ |
109 |
"${S}"/Makefile |
110 |
|
111 |
# Fix grabbing of event devices so it will not stop working together with |
112 |
# packages which grab their devices at their own like sys-apps/inputd does. |
113 |
epatch "${FILESDIR}"/synaptics-fixeventgrab.diff |
114 |
|
115 |
epatch "${FILESDIR}"/synaptics_input_api.diff |
116 |
|
117 |
# Patch the Makefile to install the library as executable. Bug #215323. |
118 |
epatch "${FILESDIR}"/synaptics-install-so-exec.patch |
119 |
|
120 |
# Fix to handle multiple screens through Xinerama properly. Bug #206614. |
121 |
epatch "${FILESDIR}"/synaptics-fix-xinerama.patch |
122 |
|
123 |
# Adds configurable polling interval. Patch from Novell. Bug #216679. |
124 |
epatch "${FILESDIR}"/${P}-configurable_polling_interval.patch |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
emake || die |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
make \ |
133 |
DESTDIR="${D}" \ |
134 |
PREFIX=/usr \ |
135 |
MANDIR="${D}"/usr/share/man \ |
136 |
install || die |
137 |
|
138 |
dodoc script/usbmouse script/usbhid alps.patch trouble-shooting.txt |
139 |
dodoc COMPATIBILITY FILES INSTALL* NEWS TODO README* |
140 |
|
141 |
# Stupid new daemon, didn't work for me because of shm issues |
142 |
newinitd "${FILESDIR}"/rc.init syndaemon |
143 |
newconfd "${FILESDIR}"/rc.conf syndaemon |
144 |
|
145 |
if use hal ; then |
146 |
# Have HAL assign this driver to supported touchpads. |
147 |
insinto /usr/share/hal/fdi/policy/10osvendor |
148 |
doins "${FILESDIR}"/11-x11-synaptics.fdi |
149 |
fi |
150 |
} |