1 |
polynomial-c 10/05/10 13:27:52 |
2 |
|
3 |
Modified: xf86-video-virtualbox-3.1.4-r2.ebuild ChangeLog |
4 |
xf86-video-virtualbox-3.1.2-r1.ebuild |
5 |
xf86-video-virtualbox-3.1.6-r1.ebuild |
6 |
Added: xf86-video-virtualbox-3.1.8.ebuild |
7 |
Log: |
8 |
version bump |
9 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: xf86-video-virtualbox-3.1.4-r2.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- xf86-video-virtualbox-3.1.4-r2.ebuild 1 May 2010 00:01:34 -0000 1.1 |
25 |
+++ xf86-video-virtualbox-3.1.4-r2.ebuild 10 May 2010 13:27:52 -0000 1.2 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2010 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild,v 1.1 2010/05/01 00:01:34 lxnay Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.4-r2.ebuild,v 1.2 2010/05/10 13:27:52 polynomial-c Exp $ |
31 |
|
32 |
EAPI=2 |
33 |
|
34 |
@@ -63,9 +63,9 @@ |
35 |
"${WORKDIR}/vboxvideo_drm/Makefile" || die "cannot copy vboxvideo_drm Makefile" |
36 |
|
37 |
if kernel_is -ge 2 6 33; then |
38 |
- # evil patch for new kernels - header moved |
39 |
- grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
40 |
- fi |
41 |
+ # evil patch for new kernels - header moved |
42 |
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
43 |
+ fi |
44 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
45 |
rm -rf kBuild/bin tools |
46 |
|
47 |
|
48 |
|
49 |
|
50 |
1.36 x11-drivers/xf86-video-virtualbox/ChangeLog |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.36&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.36&content-type=text/plain |
54 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.35&r2=1.36 |
55 |
|
56 |
Index: ChangeLog |
57 |
=================================================================== |
58 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
59 |
retrieving revision 1.35 |
60 |
retrieving revision 1.36 |
61 |
diff -u -r1.35 -r1.36 |
62 |
--- ChangeLog 1 May 2010 00:01:34 -0000 1.35 |
63 |
+++ ChangeLog 10 May 2010 13:27:52 -0000 1.36 |
64 |
@@ -1,6 +1,15 @@ |
65 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
66 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
67 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.35 2010/05/01 00:01:34 lxnay Exp $ |
68 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.36 2010/05/10 13:27:52 polynomial-c Exp $ |
69 |
+ |
70 |
+*xf86-video-virtualbox-3.1.8 (10 May 2010) |
71 |
+ |
72 |
+ 10 May 2010; Lars Wendler <polynomial-c@g.o> |
73 |
+ xf86-video-virtualbox-3.1.2-r1.ebuild, |
74 |
+ xf86-video-virtualbox-3.1.4-r2.ebuild, |
75 |
+ xf86-video-virtualbox-3.1.6-r1.ebuild, |
76 |
+ +xf86-video-virtualbox-3.1.8.ebuild: |
77 |
+ version bump and whitespace fixes |
78 |
|
79 |
*xf86-video-virtualbox-3.1.6-r1 (01 May 2010) |
80 |
*xf86-video-virtualbox-3.1.4-r2 (01 May 2010) |
81 |
|
82 |
|
83 |
|
84 |
1.2 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild |
85 |
|
86 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild?rev=1.2&view=markup |
87 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild?rev=1.2&content-type=text/plain |
88 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild?r1=1.1&r2=1.2 |
89 |
|
90 |
Index: xf86-video-virtualbox-3.1.2-r1.ebuild |
91 |
=================================================================== |
92 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild,v |
93 |
retrieving revision 1.1 |
94 |
retrieving revision 1.2 |
95 |
diff -u -r1.1 -r1.2 |
96 |
--- xf86-video-virtualbox-3.1.2-r1.ebuild 1 May 2010 00:01:34 -0000 1.1 |
97 |
+++ xf86-video-virtualbox-3.1.2-r1.ebuild 10 May 2010 13:27:52 -0000 1.2 |
98 |
@@ -1,6 +1,6 @@ |
99 |
# Copyright 1999-2010 Gentoo Foundation |
100 |
# Distributed under the terms of the GNU General Public License v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild,v 1.1 2010/05/01 00:01:34 lxnay Exp $ |
102 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.2-r1.ebuild,v 1.2 2010/05/10 13:27:52 polynomial-c Exp $ |
103 |
|
104 |
EAPI=2 |
105 |
|
106 |
@@ -62,9 +62,9 @@ |
107 |
|
108 |
src_prepare() { |
109 |
if kernel_is -ge 2 6 33 ; then |
110 |
- # evil patch for new kernels - header moved |
111 |
- grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
112 |
- fi |
113 |
+ # evil patch for new kernels - header moved |
114 |
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
115 |
+ fi |
116 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
117 |
rm -rf kBuild/bin tools |
118 |
|
119 |
|
120 |
|
121 |
|
122 |
1.2 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild?rev=1.2&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild?rev=1.2&content-type=text/plain |
126 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild?r1=1.1&r2=1.2 |
127 |
|
128 |
Index: xf86-video-virtualbox-3.1.6-r1.ebuild |
129 |
=================================================================== |
130 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild,v |
131 |
retrieving revision 1.1 |
132 |
retrieving revision 1.2 |
133 |
diff -u -r1.1 -r1.2 |
134 |
--- xf86-video-virtualbox-3.1.6-r1.ebuild 1 May 2010 00:01:34 -0000 1.1 |
135 |
+++ xf86-video-virtualbox-3.1.6-r1.ebuild 10 May 2010 13:27:52 -0000 1.2 |
136 |
@@ -1,6 +1,6 @@ |
137 |
# Copyright 1999-2010 Gentoo Foundation |
138 |
# Distributed under the terms of the GNU General Public License v2 |
139 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild,v 1.1 2010/05/01 00:01:34 lxnay Exp $ |
140 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.6-r1.ebuild,v 1.2 2010/05/10 13:27:52 polynomial-c Exp $ |
141 |
|
142 |
EAPI=2 |
143 |
|
144 |
@@ -58,9 +58,9 @@ |
145 |
"${WORKDIR}/vboxvideo_drm/Makefile" || die "cannot copy vboxvideo_drm Makefile" |
146 |
|
147 |
if kernel_is -ge 2 6 33; then |
148 |
- # evil patch for new kernels - header moved |
149 |
- grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
150 |
- fi |
151 |
+ # evil patch for new kernels - header moved |
152 |
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
153 |
+ fi |
154 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
155 |
rm -rf kBuild/bin tools |
156 |
|
157 |
|
158 |
|
159 |
|
160 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.8.ebuild |
161 |
|
162 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.8.ebuild?rev=1.1&view=markup |
163 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.8.ebuild?rev=1.1&content-type=text/plain |
164 |
|
165 |
Index: xf86-video-virtualbox-3.1.8.ebuild |
166 |
=================================================================== |
167 |
# Copyright 1999-2010 Gentoo Foundation |
168 |
# Distributed under the terms of the GNU General Public License v2 |
169 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.1.8.ebuild,v 1.1 2010/05/10 13:27:52 polynomial-c Exp $ |
170 |
|
171 |
EAPI=2 |
172 |
|
173 |
inherit x-modular eutils linux-mod multilib |
174 |
|
175 |
MY_P=VirtualBox-${PV}-OSE |
176 |
DESCRIPTION="VirtualBox video driver" |
177 |
HOMEPAGE="http://www.virtualbox.org/" |
178 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
179 |
|
180 |
LICENSE="GPL-2" |
181 |
SLOT="0" |
182 |
KEYWORDS="~amd64 ~x86" |
183 |
IUSE="dri" |
184 |
|
185 |
RDEPEND="x11-base/xorg-server" |
186 |
DEPEND="${RDEPEND} |
187 |
>=dev-util/kbuild-0.1.5-r1 |
188 |
>=dev-lang/yasm-0.6.2 |
189 |
sys-devel/dev86 |
190 |
sys-power/iasl |
191 |
x11-proto/fontsproto |
192 |
x11-proto/randrproto |
193 |
x11-proto/renderproto |
194 |
x11-proto/xextproto |
195 |
x11-proto/xineramaproto |
196 |
x11-proto/xproto |
197 |
x11-libs/libXdmcp |
198 |
x11-libs/libXcomposite |
199 |
x11-libs/libXau |
200 |
x11-libs/libX11 |
201 |
x11-libs/libXfixes |
202 |
x11-libs/libXext |
203 |
dri? ( x11-proto/xf86driproto |
204 |
>=x11-libs/libdrm-2.4.5 )" |
205 |
|
206 |
BUILD_TARGETS="all" |
207 |
BUILD_TARGET_ARCH="${ARCH}" |
208 |
MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" |
209 |
|
210 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
211 |
|
212 |
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" |
213 |
|
214 |
pkg_setup() { |
215 |
linux-mod_pkg_setup |
216 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
217 |
} |
218 |
|
219 |
src_prepare() { |
220 |
# Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} |
221 |
cp -a "${WORKDIR}/${MY_P/-OSE/_OSE}"/src/VBox/Additions/linux/drm \ |
222 |
"${WORKDIR}/vboxvideo_drm" || die "cannot copy vboxvideo_drm directory" |
223 |
cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ |
224 |
"${WORKDIR}/vboxvideo_drm/Makefile" || die "cannot copy vboxvideo_drm Makefile" |
225 |
|
226 |
if kernel_is -ge 2 6 33; then |
227 |
# evil patch for new kernels - header moved |
228 |
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
229 |
fi |
230 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
231 |
rm -rf kBuild/bin tools |
232 |
|
233 |
# Disable things unused or splitted into separate ebuilds |
234 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
235 |
|
236 |
# Ugly hack to build the opengl part of the video driver |
237 |
epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" |
238 |
|
239 |
# unset useless/problematic mesa checks in configure |
240 |
epatch "${FILESDIR}/${PN}-3.0.0-mesa-check.patch" |
241 |
} |
242 |
|
243 |
src_configure() { |
244 |
# build the user-space tools, warnings are harmless |
245 |
./configure --nofatal \ |
246 |
--disable-xpcom \ |
247 |
--disable-sdl-ttf \ |
248 |
--disable-pulse \ |
249 |
--disable-alsa \ |
250 |
--build-headless || die "configure failed" |
251 |
source ./env.sh |
252 |
} |
253 |
|
254 |
src_compile() { |
255 |
if use dri; then |
256 |
linux-mod_src_compile |
257 |
fi |
258 |
|
259 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
260 |
/src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ |
261 |
/src/VBox/Additions/x11/vboxvideo ; do |
262 |
cd "${S}"${each} |
263 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
264 |
KBUILD_PATH="${S}/kBuild" \ |
265 |
|| die "kmk failed" |
266 |
done |
267 |
} |
268 |
|
269 |
src_install() { |
270 |
if use dri; then |
271 |
linux-mod_src_install |
272 |
fi |
273 |
|
274 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
275 |
insinto /usr/$(get_libdir)/xorg/modules/drivers |
276 |
|
277 |
# xorg-server-1.7.x |
278 |
if has_version ">=x11-base/xorg-server-1.7" ; then |
279 |
newins vboxvideo_drv_17.so vboxvideo_drv.so |
280 |
# xorg-server-1.6.x |
281 |
elif has_version ">=x11-base/xorg-server-1.6" ; then |
282 |
newins vboxvideo_drv_16.so vboxvideo_drv.so |
283 |
# xorg-server-1.5.x |
284 |
else |
285 |
newins vboxvideo_drv_15.so vboxvideo_drv.so |
286 |
fi |
287 |
|
288 |
# Guest OpenGL driver |
289 |
insinto /usr/$(get_libdir) |
290 |
doins -r VBoxOGL* || die |
291 |
|
292 |
if use dri ; then |
293 |
dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so |
294 |
fi |
295 |
} |
296 |
|
297 |
pkg_postinst() { |
298 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
299 |
elog "" |
300 |
elog " Driver \"vboxvideo\"" |
301 |
elog "" |
302 |
elog "in the Graphics device section (Section \"Device\")" |
303 |
elog "" |
304 |
if use dri; then |
305 |
elog "To use the kernel drm video driver, please add:" |
306 |
elog "\"vboxvideo\" to:" |
307 |
if has_version sys-apps/openrc; then |
308 |
elog "/etc/conf.d/modules" |
309 |
else |
310 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
311 |
fi |
312 |
elog "" |
313 |
fi |
314 |
} |