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