1 |
polynomial-c 10/12/03 14:01:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-input-virtualbox-3.2.12.ebuild |
5 |
Removed: xf86-input-virtualbox-3.2.8.ebuild |
6 |
Log: |
7 |
Version bump. Removed old. |
8 |
|
9 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.47 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.47&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.47&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.46&r2=1.47 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v |
21 |
retrieving revision 1.46 |
22 |
retrieving revision 1.47 |
23 |
diff -u -r1.46 -r1.47 |
24 |
--- ChangeLog 19 Oct 2010 10:26:18 -0000 1.46 |
25 |
+++ ChangeLog 3 Dec 2010 14:01:43 -0000 1.47 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for x11-drivers/xf86-input-virtualbox |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.46 2010/10/19 10:26:18 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.47 2010/12/03 14:01:43 polynomial-c Exp $ |
31 |
+ |
32 |
+*xf86-input-virtualbox-3.2.12 (03 Dec 2010) |
33 |
+ |
34 |
+ 03 Dec 2010; Lars Wendler <polynomial-c@g.o> |
35 |
+ -xf86-input-virtualbox-3.2.8.ebuild, +xf86-input-virtualbox-3.2.12.ebuild: |
36 |
+ Version bump. Removed old. |
37 |
|
38 |
*xf86-input-virtualbox-3.2.10-r1 (19 Oct 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.12.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.12.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.12.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xf86-input-virtualbox-3.2.12.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 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-3.2.12.ebuild,v 1.1 2010/12/03 14:01:43 polynomial-c Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils multilib linux-info |
57 |
|
58 |
MY_P=VirtualBox-${PV}-OSE |
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="hal" |
67 |
|
68 |
RDEPEND="x11-base/xorg-server |
69 |
hal? ( sys-apps/hal )" |
70 |
DEPEND="${RDEPEND} |
71 |
>=dev-util/kbuild-0.1.5-r1 |
72 |
>=dev-lang/yasm-0.6.2 |
73 |
sys-devel/dev86 |
74 |
sys-power/iasl |
75 |
x11-proto/inputproto |
76 |
x11-proto/randrproto |
77 |
x11-proto/xproto" |
78 |
|
79 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
80 |
|
81 |
src_prepare() { |
82 |
if kernel_is -ge 2 6 33 ; then |
83 |
# evil patch for new kernels - header moved |
84 |
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' || die "Failed replacing" |
85 |
fi |
86 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
87 |
rm -rf kBuild/bin tools |
88 |
|
89 |
# Disable things unused or splitted into separate ebuilds |
90 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
# build the user-space tools, warnings are harmless |
95 |
./configure --nofatal \ |
96 |
--disable-xpcom \ |
97 |
--disable-sdl-ttf \ |
98 |
--disable-pulse \ |
99 |
--disable-alsa \ |
100 |
--build-headless || die "configure failed" |
101 |
source ./env.sh |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
106 |
/src/VBox/Additions/x11/vboxmouse ; do |
107 |
cd "${S}"${each} |
108 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
109 |
KBUILD_PATH="${S}/kBuild" \ |
110 |
|| die "kmk failed" |
111 |
done |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
116 |
insinto /usr/$(get_libdir)/xorg/modules/input |
117 |
|
118 |
# xorg-server-1.9 |
119 |
if has_version ">=x11-base/xorg-server-1.9" ; then |
120 |
newins vboxmouse_drv_19.so vboxmouse_drv.so |
121 |
# xorg-server-1.8 |
122 |
elif has_version ">=x11-base/xorg-server-1.8" ; then |
123 |
newins vboxmouse_drv_18.so vboxmouse_drv.so |
124 |
# xorg-server-1.7 |
125 |
else |
126 |
newins vboxmouse_drv_17.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 /etc/hal/fdi/policy |
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 |
elog "Starting with 1.5 version, X.Org Server can do mouse auto-detection." |
145 |
elog "This ebuild provides a working default which has been installed into:" |
146 |
elog " /etc/hal/fdi/policy/90-vboxguest.fdi" |
147 |
} |