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: xf86-input-virtualbox-2.2.4.ebuild ChangeLog
Date: Mon, 01 Jun 2009 00:26:23
Message-Id: E1MAvM6-0000Hr-1a@stork.gentoo.org
1 patrick 09/06/01 00:26:22
2
3 Modified: ChangeLog
4 Added: xf86-input-virtualbox-2.2.4.ebuild
5 Log:
6 Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.13 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.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 30 Apr 2009 16:36:44 -0000 1.12
23 +++ ChangeLog 1 Jun 2009 00:26:21 -0000 1.13
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.12 2009/04/30 16:36:44 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.13 2009/06/01 00:26:21 patrick Exp $
29 +
30 +*xf86-input-virtualbox-2.2.4 (01 Jun 2009)
31 +
32 + 01 Jun 2009; Patrick Lauer <patrick@g.o>
33 + +xf86-input-virtualbox-2.2.4.ebuild:
34 + Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335
35
36 30 Apr 2009; Patrick Lauer <patrick@g.o>
37 -xf86-input-virtualbox-2.0.2.ebuild, -xf86-input-virtualbox-2.0.4.ebuild,
38
39
40
41 1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.2.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.2.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.2.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xf86-input-virtualbox-2.2.4.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-2.2.4.ebuild,v 1.1 2009/06/01 00:26:21 patrick Exp $
51
52 EAPI=2
53
54 inherit x-modular eutils
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/lib/xorg/modules/input
111
112 # xorg-server-1.6.x (currently on the official x11 overlay)
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 elif has_version ">=x11-base/xorg-server-1.5" \
117 && has_version "<x11-base/xorg-server-1.6" ; then
118 newins vboxmouse_drv_15.so vboxmouse_drv.so
119 # xorg-server-1.4.x
120 elif has_version ">=x11-base/xorg-server-1.4" \
121 && has_version "<x11-base/xorg-server-1.5" ; then
122 newins vboxmouse_drv_14.so vboxmouse_drv.so
123 # xorg-server-1.3.x
124 else
125 newins vboxmouse_drv_71.so vboxmouse_drv.so
126 fi
127
128 # install hal information file about the mouse driver
129 if use hal; then
130 cd "${S}/src/VBox/Additions/linux/installer"
131 insinto /usr/share/hal/fdi/information/20thirdparty
132 doins 90-vboxguest.fdi
133 fi
134 }
135
136 pkg_postinst() {
137 elog "You need to edit the file /etc/X11/xorg.conf and set:"
138 elog ""
139 elog " Driver \"vboxmouse\""
140 elog ""
141 elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")"
142 elog ""
143 }