1 |
battousai 08/04/01 23:57:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: synaptics-0.14.6-r2.ebuild |
5 |
Log: |
6 |
Ebuild r-bump with features to fix bugs #134309, #206614, #215323. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 x11-drivers/synaptics/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 24 Feb 2008 02:45:10 -0000 1.32 |
23 |
+++ ChangeLog 1 Apr 2008 23:57:31 -0000 1.33 |
24 |
@@ -1,6 +1,22 @@ |
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.32 2008/02/24 02:45:10 dberkholz Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.33 2008/04/01 23:57:31 battousai Exp $ |
29 |
+ |
30 |
+*synaptics-0.14.6-r2 (01 Apr 2008) |
31 |
+ |
32 |
+ 01 Apr 2008; Bryan Stine <battousai@g.o> |
33 |
+ +files/synaptics-fix-xinerama.patch, |
34 |
+ +files/synaptics-install-so-exec.patch, +synaptics-0.14.6-r2.ebuild: |
35 |
+ Ebuild revision bump with a few new features. First, added a patch to |
36 |
+ driver code to allow the touchpad to interact correctly with multiple |
37 |
+ screens using Xinerama, fixing bug #206614. Second, added a patch to the |
38 |
+ Makefile to install the Xorg module as executable to allow the Xorg loader |
39 |
+ to bring it in automatically, fixing bug #215323. Finally, added |
40 |
+ linux-info logic to the ebuild to check the kernel config for |
41 |
+ CONFIG_INPUT_EVDEV (either as a module or built-in) as the driver requires |
42 |
+ that interface for full support; fixes bug #134309. Revision-bumped the |
43 |
+ ebuild to ensure the Xinerama and executable patches get pulled onto |
44 |
+ users' systems. |
45 |
|
46 |
24 Feb 2008; Donnie Berkholz <dberkholz@g.o>; ChangeLog: |
47 |
Update my email. |
48 |
|
49 |
|
50 |
|
51 |
1.1 x11-drivers/synaptics/synaptics-0.14.6-r2.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r2.ebuild?rev=1.1&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r2.ebuild?rev=1.1&content-type=text/plain |
55 |
|
56 |
Index: synaptics-0.14.6-r2.ebuild |
57 |
=================================================================== |
58 |
# Copyright 1999-2008 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6-r2.ebuild,v 1.1 2008/04/01 23:57:31 battousai Exp $ |
61 |
|
62 |
inherit toolchain-funcs eutils linux-info |
63 |
|
64 |
IUSE="" |
65 |
|
66 |
DESCRIPTION="Driver for Synaptics touchpads" |
67 |
HOMEPAGE="http://w1.894.telia.com/~u89404340/touchpad/" |
68 |
SRC_URI="http://w1.894.telia.com/~u89404340/touchpad/files/${P}.tar.bz2" |
69 |
|
70 |
SLOT="0" |
71 |
LICENSE="GPL-2" |
72 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
73 |
|
74 |
RDEPEND="x11-libs/libXext" |
75 |
DEPEND="${RDEPEND} |
76 |
x11-base/xorg-server |
77 |
>=sys-apps/sed-4" |
78 |
|
79 |
evdev-input_check() { |
80 |
# Check kernel config for required event interface support (either |
81 |
# built-in or as a module. Bug #134309. |
82 |
|
83 |
ebegin "Checking kernel config for event device support" |
84 |
linux_chkconfig_present INPUT_EVDEV |
85 |
eend $? |
86 |
|
87 |
if [[ $? -ne 0 ]] ; then |
88 |
ewarn "Synaptics driver requires event interface support." |
89 |
ewarn "Please enable the event interface in your kernel config." |
90 |
ewarn "The option can be found at:" |
91 |
ewarn |
92 |
ewarn " Device Drivers" |
93 |
ewarn " Input device support" |
94 |
ewarn " -*- Generic input layer" |
95 |
ewarn " <*> Event interface" |
96 |
ewarn |
97 |
ewarn "Then rebuild the kernel or install the module." |
98 |
epause 5 |
99 |
fi |
100 |
} |
101 |
|
102 |
pkg_setup() { |
103 |
linux-info_pkg_setup |
104 |
evdev-input_check |
105 |
} |
106 |
|
107 |
src_unpack() { |
108 |
unpack ${A} ; cd "${S}" |
109 |
|
110 |
# Switch up the CC and CFLAGS stuff. |
111 |
sed -i \ |
112 |
-e "s:CC = gcc:CC = $(tc-getCC):g" \ |
113 |
-e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \ |
114 |
"${S}"/Makefile |
115 |
|
116 |
# Fix grabbing of event devices so it will not stop working together with |
117 |
# packages which grab their devices at their own like sys-apps/inputd does. |
118 |
epatch "${FILESDIR}"/synaptics-fixeventgrab.diff |
119 |
|
120 |
epatch "${FILESDIR}"/synaptics_input_api.diff |
121 |
|
122 |
# Patch the Makefile to install the library as executable. Bug #215323. |
123 |
epatch "${FILESDIR}"/synaptics-install-so-exec.patch |
124 |
|
125 |
# Fix to handle multiple screens through Xinerama properly. Bug #206614. |
126 |
epatch "${FILESDIR}"/synaptics-fix-xinerama.patch |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
emake || die |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
make \ |
135 |
DESTDIR="${D}" \ |
136 |
PREFIX=/usr \ |
137 |
MANDIR="${D}"/usr/share/man \ |
138 |
install || die |
139 |
|
140 |
dodoc script/usbmouse script/usbhid alps.patch trouble-shooting.txt |
141 |
dodoc COMPATIBILITY FILES INSTALL* NEWS TODO README* |
142 |
|
143 |
# Stupid new daemon, didn't work for me because of shm issues |
144 |
newinitd "${FILESDIR}"/rc.init syndaemon |
145 |
newconfd "${FILESDIR}"/rc.conf syndaemon |
146 |
} |
147 |
|
148 |
|
149 |
|
150 |
-- |
151 |
gentoo-commits@l.g.o mailing list |