1 |
polynomial-c 11/06/28 20:48:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-input-virtualbox-4.0.10.ebuild |
5 |
Removed: xf86-input-virtualbox-4.0.6.ebuild |
6 |
Log: |
7 |
Version bump. Removed old |
8 |
|
9 |
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.65 x11-drivers/xf86-input-virtualbox/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.65&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.65&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.64&r2=1.65 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v |
21 |
retrieving revision 1.64 |
22 |
retrieving revision 1.65 |
23 |
diff -u -r1.64 -r1.65 |
24 |
--- ChangeLog 18 May 2011 21:37:05 -0000 1.64 |
25 |
+++ ChangeLog 28 Jun 2011 20:48:03 -0000 1.65 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for x11-drivers/xf86-input-virtualbox |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.64 2011/05/18 21:37:05 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.65 2011/06/28 20:48:03 polynomial-c Exp $ |
31 |
+ |
32 |
+*xf86-input-virtualbox-4.0.10 (28 Jun 2011) |
33 |
+ |
34 |
+ 28 Jun 2011; Lars Wendler <polynomial-c@g.o> |
35 |
+ -xf86-input-virtualbox-4.0.6.ebuild, +xf86-input-virtualbox-4.0.10.ebuild: |
36 |
+ Version bump. Removed old. |
37 |
|
38 |
*xf86-input-virtualbox-4.0.8 (18 May 2011) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-4.0.10.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-4.0.10.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-4.0.10.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xf86-input-virtualbox-4.0.10.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-4.0.10.ebuild,v 1.1 2011/06/28 20:48:03 polynomial-c Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils multilib linux-info |
57 |
|
58 |
MY_P=VirtualBox-${PV} |
59 |
DESCRIPTION="VirtualBox input driver" |
60 |
HOMEPAGE="http://www.virtualbox.org/" |
61 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND="x11-base/xorg-server |
69 |
|| ( x11-drivers/xf86-input-mouse |
70 |
x11-drivers/xf86-input-evdev )" |
71 |
DEPEND="${RDEPEND} |
72 |
>=dev-util/kbuild-0.1.5-r1 |
73 |
>=dev-lang/yasm-0.6.2 |
74 |
sys-devel/dev86 |
75 |
sys-power/iasl |
76 |
x11-proto/inputproto |
77 |
x11-proto/randrproto |
78 |
x11-proto/xproto" |
79 |
|
80 |
S="${WORKDIR}/${MY_P}_OSE" |
81 |
|
82 |
src_prepare() { |
83 |
if kernel_is -ge 2 6 33 ; then |
84 |
# evil patch for new kernels - header moved |
85 |
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' || die "Failed replacing" |
86 |
fi |
87 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
88 |
rm -rf kBuild/bin tools |
89 |
|
90 |
# Disable things unused or splitted into separate ebuilds |
91 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
# build the user-space tools, warnings are harmless |
96 |
./configure --nofatal \ |
97 |
--disable-xpcom \ |
98 |
--disable-sdl-ttf \ |
99 |
--disable-pulse \ |
100 |
--disable-alsa \ |
101 |
--build-headless || die "configure failed" |
102 |
source ./env.sh |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
107 |
/src/VBox/Additions/x11/vboxmouse ; do |
108 |
cd "${S}"${each} |
109 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
110 |
KBUILD_PATH="${S}/kBuild" \ |
111 |
|| die "kmk failed" |
112 |
done |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
117 |
insinto /usr/$(get_libdir)/xorg/modules/input |
118 |
|
119 |
# xorg-server-1.10 |
120 |
if has_version "=x11-base/xorg-server-1.10*" ; then |
121 |
newins vboxmouse_drv_110.so vboxmouse_drv.so |
122 |
# xorg-server-1.9 |
123 |
else |
124 |
newins vboxmouse_drv_19.so vboxmouse_drv.so |
125 |
fi |
126 |
|
127 |
cd "${S}/src/VBox/Additions/linux/installer" || die |
128 |
|
129 |
# install udev information file about the mouse driver |
130 |
insinto /lib/udev/rules.d |
131 |
doins 70-xorg-vboxmouse.rules |
132 |
|
133 |
# install X11 information file about the mouse driver |
134 |
insinto /etc/X11/xorg.conf.d |
135 |
doins "${S}/src/VBox/Additions/x11/Installer/50-vboxmouse.conf" |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
140 |
elog "" |
141 |
elog " Driver \"vboxmouse\"" |
142 |
elog "" |
143 |
elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")" |
144 |
elog "" |
145 |
elog "This is no longer necessary for X.Org Server 1.9 or higher. Use" |
146 |
elog "the server's udev autodetection with such versions." |
147 |
} |