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: ChangeLog xf86-input-virtualbox-2.1.4.ebuild
Date: Tue, 03 Mar 2009 07:38:49
Message-Id: E1LePDD-0003Tb-Q1@stork.gentoo.org
1 patrick 09/03/03 07:38:47
2
3 Modified: ChangeLog
4 Added: xf86-input-virtualbox-2.1.4.ebuild
5 Log:
6 Bump to 2.1.4. Small fix for upstream typo.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.9 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.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 18 Dec 2008 12:09:06 -0000 1.8
23 +++ ChangeLog 3 Mar 2009 07:38:47 -0000 1.9
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-drivers/xf86-input-virtualbox
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.8 2008/12/18 12:09:06 flameeyes Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.9 2009/03/03 07:38:47 patrick Exp $
30 +
31 +*xf86-input-virtualbox-2.1.4 (03 Mar 2009)
32 +
33 + 03 Mar 2009; Patrick Lauer <patrick@g.o>
34 + +xf86-input-virtualbox-2.1.4.ebuild:
35 + Bump to 2.1.4. Small fix for upstream typo.
36
37 *xf86-input-virtualbox-2.0.6 (18 Dec 2008)
38 *xf86-input-virtualbox-2.0.4-r1 (18 Dec 2008)
39
40
41
42 1.1 x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.1.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-2.1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xf86-input-virtualbox-2.1.4.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-2.1.4.ebuild,v 1.1 2009/03/03 07:38:47 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
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 # Fix an upstream typo in Config.kmk
87 sed -i \
88 -e "2511d" Config.kmk || die "Config.kmk sed failed"
89 }
90
91 src_configure() {
92 # build the user-space tools, warnings are harmless
93 ./configure --nofatal \
94 --disable-xpcom \
95 --disable-sdl-ttf \
96 --disable-pulse \
97 --disable-alsa \
98 --build-headless || die "configure failed"
99 source ./env.sh
100 }
101
102 src_compile() {
103 for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
104 /src/VBox/Additions/x11/xmouse ; do
105 cd "${S}"${each}
106 MAKE="kmk" emake TOOL_YASM_AS=yasm \
107 KBUILD_PATH="${S}/kBuild" \
108 || die "kmk failed"
109 done
110 }
111
112 src_install() {
113 cd "${S}/out/linux.${ARCH}/release/bin/additions"
114 insinto /usr/lib/xorg/modules/input
115
116 if has_version ">=x11-base/xorg-server-1.5" ; then
117 newins vboxmouse_drv_15.so vboxmouse_drv.so
118 elif has_version ">=x11-base/xorg-server-1.4" \
119 && has_version "<x11-base/xorg-server-1.5" ; then
120 newins vboxmouse_drv_14.so vboxmouse_drv.so
121 else
122 newins vboxmouse_drv_71.so vboxmouse_drv.so
123 fi
124
125 if use hal; then
126 cd "${S}/src/VBox/Additions/linux/installer"
127 insinto /usr/share/hal/fdi/information/20thirdparty
128 doins 90-vboxguest.fdi
129 fi
130 }
131
132 pkg_postinst() {
133 elog "You need to edit the file /etc/X11/xorg.conf and set:"
134 elog ""
135 elog " Driver \"vboxmouse\""
136 elog ""
137 elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")"
138 elog ""
139 }