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