1 |
patrick 09/06/01 00:26:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-video-virtualbox-2.2.4.ebuild |
5 |
Log: |
6 |
Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335 |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 x11-drivers/xf86-video-virtualbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 30 Apr 2009 16:38:03 -0000 1.11 |
23 |
+++ ChangeLog 1 Jun 2009 00:26:48 -0000 1.12 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.11 2009/04/30 16:38:03 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.12 2009/06/01 00:26:48 patrick Exp $ |
29 |
+ |
30 |
+*xf86-video-virtualbox-2.2.4 (01 Jun 2009) |
31 |
+ |
32 |
+ 01 Jun 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +xf86-video-virtualbox-2.2.4.ebuild: |
34 |
+ Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335 |
35 |
|
36 |
30 Apr 2009; Patrick Lauer <patrick@g.o> |
37 |
-xf86-video-virtualbox-2.0.2.ebuild, -xf86-video-virtualbox-2.0.4.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.2.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.2.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.2.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xf86-video-virtualbox-2.2.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.2.4.ebuild,v 1.1 2009/06/01 00:26:48 patrick Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit x-modular eutils |
55 |
|
56 |
MY_P=VirtualBox-${PV}-OSE |
57 |
DESCRIPTION="VirtualBox video driver" |
58 |
HOMEPAGE="http://www.virtualbox.org/" |
59 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="dri" |
65 |
|
66 |
RDEPEND="x11-base/xorg-server" |
67 |
DEPEND="${RDEPEND} |
68 |
>=dev-util/kbuild-0.1.5-r1 |
69 |
>=dev-lang/yasm-0.6.2 |
70 |
sys-devel/dev86 |
71 |
sys-power/iasl |
72 |
x11-proto/fontsproto |
73 |
x11-proto/randrproto |
74 |
x11-proto/renderproto |
75 |
x11-proto/xextproto |
76 |
x11-proto/xineramaproto |
77 |
x11-proto/xproto |
78 |
x11-libs/libXdmcp |
79 |
x11-libs/libXcomposite |
80 |
x11-libs/libXau |
81 |
x11-libs/libX11 |
82 |
x11-libs/libXfixes |
83 |
x11-libs/libXext |
84 |
dri? ( x11-proto/xf86driproto |
85 |
>=x11-libs/libdrm-2.4.5 )" |
86 |
|
87 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
88 |
|
89 |
src_prepare() { |
90 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
91 |
rm -rf kBuild/bin tools |
92 |
|
93 |
# Disable things unused or splitted into separate ebuilds |
94 |
cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk |
95 |
|
96 |
# Ugly hack to build the opengl part of the video driver |
97 |
epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
# build the user-space tools, warnings are harmless |
102 |
./configure --nofatal \ |
103 |
--disable-xpcom \ |
104 |
--disable-sdl-ttf \ |
105 |
--disable-pulse \ |
106 |
--disable-alsa \ |
107 |
--build-headless || die "configure failed" |
108 |
source ./env.sh |
109 |
} |
110 |
|
111 |
src_compile() { |
112 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
113 |
/src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ |
114 |
/src/VBox/Additions/x11/vboxvideo ; do |
115 |
cd "${S}"${each} |
116 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
117 |
KBUILD_PATH="${S}/kBuild" \ |
118 |
|| die "kmk failed" |
119 |
done |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
124 |
insinto /usr/lib/xorg/modules/drivers |
125 |
|
126 |
# xorg-server-1.6.x (currently on the official x11 overlay) |
127 |
if has_version ">=x11-base/xorg-server-1.6" ; then |
128 |
newins vboxvideo_drv_16.so vboxvideo_drv.so |
129 |
# xorg-server-1.5.x |
130 |
elif has_version ">=x11-base/xorg-server-1.5" \ |
131 |
&& has_version "<x11-base/xorg-server-1.6" ; then |
132 |
newins vboxvideo_drv_15.so vboxvideo_drv.so |
133 |
# xorg-server-1.4.x |
134 |
elif has_version ">=x11-base/xorg-server-1.4" \ |
135 |
&& has_version "<x11-base/xorg-server-1.5" ; then |
136 |
newins vboxvideo_drv_14.so vboxvideo_drv.so |
137 |
# xorg-server-1.3.x |
138 |
else |
139 |
newins vboxvideo_drv_13.so vboxvideo_drv.so |
140 |
fi |
141 |
|
142 |
# Guest OpenGL driver |
143 |
insinto /usr/lib |
144 |
doins -r VBoxOGL* || die |
145 |
|
146 |
if use dri ; then |
147 |
dosym /usr/lib/VBoxOGL.so /usr/lib/dri/vboxvideo_dri.so |
148 |
fi |
149 |
} |
150 |
|
151 |
pkg_postinst() { |
152 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
153 |
elog "" |
154 |
elog " Driver \"vboxvideo\"" |
155 |
elog "" |
156 |
elog "in the Graphics device section (Section \"Device\")" |
157 |
elog "" |
158 |
} |