Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-input-virtualbox: ChangeLog xf86-input-virtualbox-3.0.10.ebuild
Date: Tue, 03 Nov 2009 08:15:01
Message-Id: E1N5EXa-0002GQ-VY@stork.gentoo.org
1 patrick 09/11/03 08:14:58
2
3 Modified: ChangeLog
4 Added: xf86-input-virtualbox-3.0.10.ebuild
5 Log:
6 Bump to 3.0.10, fixes #291214 #290296 #285749 #286163
7 (Portage version: 2.2_rc48/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.21 x11-drivers/xf86-input-virtualbox/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 19 Oct 2009 01:34:56 -0000 1.20
23 +++ ChangeLog 3 Nov 2009 08:14:58 -0000 1.21
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-drivers/xf86-input-virtualbox
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.20 2009/10/19 01:34:56 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.21 2009/11/03 08:14:58 patrick Exp $
29 +
30 +*xf86-input-virtualbox-3.0.10 (03 Nov 2009)
31 +
32 + 03 Nov 2009; Patrick Lauer <patrick@g.o>
33 + +xf86-input-virtualbox-3.0.10.ebuild:
34 + Bump to 3.0.10, fixes #291214 #290296 #285749 #286163
35
36 19 Oct 2009; Christian Faulhammer <fauli@g.o>
37 xf86-input-virtualbox-3.0.8.ebuild:
38
39
40
41 1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.10.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xf86-input-virtualbox-3.0.10.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.10.ebuild,v 1.1 2009/11/03 08:14:58 patrick Exp $
51
52 EAPI=2
53
54 inherit x-modular eutils multilib
55
56 MY_P=VirtualBox-${PV}-OSE
57 DESCRIPTION="VirtualBox input driver"
58 HOMEPAGE="http://www.virtualbox.org/"
59 SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="hal"
65
66 RDEPEND="x11-base/xorg-server
67 hal? ( sys-apps/hal )"
68 DEPEND="${RDEPEND}
69 >=dev-util/kbuild-0.1.5-r1
70 >=dev-lang/yasm-0.6.2
71 sys-devel/dev86
72 sys-power/iasl
73 x11-proto/inputproto
74 x11-proto/randrproto
75 x11-proto/xproto"
76
77 S=${WORKDIR}/${MY_P/-OSE/_OSE}
78
79 src_prepare() {
80 # Remove shipped binaries (kBuild,yasm), see bug #232775
81 rm -rf kBuild/bin tools
82
83 # Disable things unused or splitted into separate ebuilds
84 cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk
85 }
86
87 src_configure() {
88 # build the user-space tools, warnings are harmless
89 ./configure --nofatal \
90 --disable-xpcom \
91 --disable-sdl-ttf \
92 --disable-pulse \
93 --disable-alsa \
94 --build-headless || die "configure failed"
95 source ./env.sh
96 }
97
98 src_compile() {
99 for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
100 /src/VBox/Additions/x11/vboxmouse ; do
101 cd "${S}"${each}
102 MAKE="kmk" emake TOOL_YASM_AS=yasm \
103 KBUILD_PATH="${S}/kBuild" \
104 || die "kmk failed"
105 done
106 }
107
108 src_install() {
109 cd "${S}/out/linux.${ARCH}/release/bin/additions"
110 insinto /usr/$(get_libdir)/xorg/modules/input
111
112 # xorg-server-1.6.x
113 if has_version ">=x11-base/xorg-server-1.6" ; then
114 newins vboxmouse_drv_16.so vboxmouse_drv.so
115 # xorg-server-1.5.x
116 else
117 newins vboxmouse_drv_15.so vboxmouse_drv.so
118 fi
119
120 # install hal information file about the mouse driver
121 if use hal; then
122 cd "${S}/src/VBox/Additions/linux/installer"
123 insinto /usr/share/hal/fdi/information/20thirdparty
124 doins 90-vboxguest.fdi
125 fi
126 }
127
128 pkg_postinst() {
129 elog "You need to edit the file /etc/X11/xorg.conf and set:"
130 elog ""
131 elog " Driver \"vboxmouse\""
132 elog ""
133 elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")"
134 elog ""
135 if has_version ">=x11-base/xorg-server-1.5" ; then
136 elog "Starting with 1.5 version, X.Org Server can do mouse auto-detection"
137 elog "you may install the hal information file about the mouse driver:"
138 elog ""
139 elog "/usr/share/hal/fdi/information/20thirdparty/90-vboxguest.fdi"
140 elog ""
141 elog "dropping it into: /etc/hal/fdi/policy/"
142 elog ""
143 fi
144 }