Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-input-virtualbox: metadata.xml ChangeLog xf86-input-virtualbox-3.2.2.ebuild xf86-input-virtualbox-3.1.6.ebuild
Date: Thu, 03 Jun 2010 10:58:42
Message-Id: 20100603105839.4A2212CF3F@corvid.gentoo.org
1 polynomial-c 10/06/03 10:58:39
2
3 Modified: metadata.xml ChangeLog
4 Added: xf86-input-virtualbox-3.2.2.ebuild
5 Removed: xf86-input-virtualbox-3.1.6.ebuild
6 Log:
7 Version bump. Removed old.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 x11-drivers/xf86-input-virtualbox/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 18 Mar 2008 22:04:03 -0000 1.1
24 +++ metadata.xml 3 Jun 2010 10:58:39 -0000 1.2
25 @@ -10,4 +10,8 @@
26 <email>swapon@×××××.com</email>
27 <name>Alessio Cassibba</name>
28 </maintainer>
29 +<maintainer>
30 + <email>polynomial-c@g.o</email>
31 + <name>Lars Wendler</name>
32 +</maintainer>
33 </pkgmetadata>
34
35
36
37 1.38 x11-drivers/xf86-input-virtualbox/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.38&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.38&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.37&r2=1.38
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v
46 retrieving revision 1.37
47 retrieving revision 1.38
48 diff -u -r1.37 -r1.38
49 --- ChangeLog 20 May 2010 15:49:34 -0000 1.37
50 +++ ChangeLog 3 Jun 2010 10:58:39 -0000 1.38
51 @@ -1,6 +1,13 @@
52 # ChangeLog for x11-drivers/xf86-input-virtualbox
53 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.37 2010/05/20 15:49:34 polynomial-c Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.38 2010/06/03 10:58:39 polynomial-c Exp $
56 +
57 +*xf86-input-virtualbox-3.2.2 (03 Jun 2010)
58 +
59 + 03 Jun 2010; Lars Wendler <polynomial-c@g.o>
60 + -xf86-input-virtualbox-3.1.6.ebuild, +xf86-input-virtualbox-3.2.2.ebuild,
61 + metadata.xml:
62 + Version bump. Removed old.
63
64 *xf86-input-virtualbox-3.2.0-r1 (20 May 2010)
65 *xf86-input-virtualbox-3.1.8-r1 (20 May 2010)
66
67
68
69 1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.2.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.2.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.2.ebuild?rev=1.1&content-type=text/plain
73
74 Index: xf86-input-virtualbox-3.2.2.ebuild
75 ===================================================================
76 # Copyright 1999-2010 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-3.2.2.ebuild,v 1.1 2010/06/03 10:58:39 polynomial-c Exp $
79
80 EAPI=2
81
82 inherit x-modular eutils multilib linux-info
83
84 MY_P=VirtualBox-${PV}-OSE
85 DESCRIPTION="VirtualBox input driver"
86 HOMEPAGE="http://www.virtualbox.org/"
87 SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~amd64 ~x86"
92 IUSE="hal"
93
94 RDEPEND="x11-base/xorg-server
95 hal? ( sys-apps/hal )"
96 DEPEND="${RDEPEND}
97 >=dev-util/kbuild-0.1.5-r1
98 >=dev-lang/yasm-0.6.2
99 sys-devel/dev86
100 sys-power/iasl
101 x11-proto/inputproto
102 x11-proto/randrproto
103 x11-proto/xproto"
104
105 S=${WORKDIR}/${MY_P/-OSE/_OSE}
106
107 src_prepare() {
108 if kernel_is -ge 2 6 33 ; then
109 # evil patch for new kernels - header moved
110 grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' || die "Failed replacing"
111 fi
112 # Remove shipped binaries (kBuild,yasm), see bug #232775
113 rm -rf kBuild/bin tools
114
115 # Disable things unused or splitted into separate ebuilds
116 cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
117 }
118
119 src_configure() {
120 # build the user-space tools, warnings are harmless
121 ./configure --nofatal \
122 --disable-xpcom \
123 --disable-sdl-ttf \
124 --disable-pulse \
125 --disable-alsa \
126 --build-headless || die "configure failed"
127 source ./env.sh
128 }
129
130 src_compile() {
131 for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
132 /src/VBox/Additions/x11/vboxmouse ; do
133 cd "${S}"${each}
134 MAKE="kmk" emake TOOL_YASM_AS=yasm \
135 KBUILD_PATH="${S}/kBuild" \
136 || die "kmk failed"
137 done
138 }
139
140 src_install() {
141 cd "${S}/out/linux.${ARCH}/release/bin/additions"
142 insinto /usr/$(get_libdir)/xorg/modules/input
143
144 # xorg-server-1.8
145 if has_version ">=x11-base/xorg-server-1.8" ; then
146 newins vboxmouse_drv_18.so vboxmouse_drv.so
147 # xorg-server-1.7
148 elif has_version ">=x11-base/xorg-server-1.7" ; then
149 newins vboxmouse_drv_17.so vboxmouse_drv.so
150 # xorg-server-1.6.x
151 elif has_version ">=x11-base/xorg-server-1.6" ; then
152 newins vboxmouse_drv_16.so vboxmouse_drv.so
153 # xorg-server-1.5.x
154 else
155 newins vboxmouse_drv_15.so vboxmouse_drv.so
156 fi
157
158 # install hal information file about the mouse driver
159 if use hal; then
160 cd "${S}/src/VBox/Additions/linux/installer"
161 insinto /etc/hal/fdi/policy
162 doins 90-vboxguest.fdi
163 fi
164 }
165
166 pkg_postinst() {
167 elog "You need to edit the file /etc/X11/xorg.conf and set:"
168 elog ""
169 elog " Driver \"vboxmouse\""
170 elog ""
171 elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")"
172 elog ""
173 if has_version ">=x11-base/xorg-server-1.5" ; then
174 elog "Starting with 1.5 version, X.Org Server can do mouse auto-detection."
175 elog "This ebuild provides a working default which has been installed into:"
176 elog " /etc/hal/fdi/policy/90-vboxguest.fdi"
177 fi
178 }