1 |
patrick 09/07/16 21:40:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-input-virtualbox-3.0.2.ebuild |
5 |
Log: |
6 |
Bump to 3.0.2. Fixes #275963. Thanks to Alessio Cassiba and all the testers |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 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.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- ChangeLog 1 Jun 2009 00:26:21 -0000 1.13 |
23 |
+++ ChangeLog 16 Jul 2009 21:40:30 -0000 1.14 |
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.13 2009/06/01 00:26:21 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.14 2009/07/16 21:40:30 patrick Exp $ |
29 |
+ |
30 |
+*xf86-input-virtualbox-3.0.2 (16 Jul 2009) |
31 |
+ |
32 |
+ 16 Jul 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +xf86-input-virtualbox-3.0.2.ebuild: |
34 |
+ Bump to 3.0.2. Fixes #275963. Thanks to Alessio Cassiba and all the |
35 |
+ testers |
36 |
|
37 |
*xf86-input-virtualbox-2.2.4 (01 Jun 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.0.2.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.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xf86-input-virtualbox-3.0.2.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.2.ebuild,v 1.1 2009/07/16 21:40:30 patrick Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit x-modular eutils |
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/lib/xorg/modules/input |
112 |
|
113 |
# xorg-server-1.6.x (currently on the official x11 overlay) |
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 |
elif has_version ">=x11-base/xorg-server-1.5" \ |
118 |
&& has_version "<x11-base/xorg-server-1.6" ; then |
119 |
newins vboxmouse_drv_15.so vboxmouse_drv.so |
120 |
# xorg-server-1.4.x |
121 |
elif has_version ">=x11-base/xorg-server-1.4" \ |
122 |
&& has_version "<x11-base/xorg-server-1.5" ; then |
123 |
newins vboxmouse_drv_14.so vboxmouse_drv.so |
124 |
# xorg-server-1.3.x |
125 |
else |
126 |
newins vboxmouse_drv_71.so vboxmouse_drv.so |
127 |
fi |
128 |
|
129 |
# install hal information file about the mouse driver |
130 |
if use hal; then |
131 |
cd "${S}/src/VBox/Additions/linux/installer" |
132 |
insinto /usr/share/hal/fdi/information/20thirdparty |
133 |
doins 90-vboxguest.fdi |
134 |
fi |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
139 |
elog "" |
140 |
elog " Driver \"vboxmouse\"" |
141 |
elog "" |
142 |
elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")" |
143 |
elog "" |
144 |
if has_version ">=x11-base/xorg-server-1.5" ; then |
145 |
elog "Starting with 1.5 version, X.Org Server can do mouse auto-detection" |
146 |
elog "you may install the hal information file about the mouse driver:" |
147 |
elog "" |
148 |
elog "/usr/share/hal/fdi/information/20thirdparty/90-vboxguest.fdi" |
149 |
elog "" |
150 |
elog "dropping it into: /etc/hal/fdi/policy/" |
151 |
elog "" |
152 |
fi |
153 |
} |