packages: VirtualBox/VirtualBox.spec - enable guest 3d acceleration (packag...

wolf wolf at pld-linux.org
Tue Oct 26 18:00:34 CEST 2010


Author: wolf                         Date: Tue Oct 26 16:00:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- enable guest 3d acceleration (package build not tested)

---- Files affected:
packages/VirtualBox:
   VirtualBox.spec (1.319 -> 1.320) 

---- Diffs:

================================================================
Index: packages/VirtualBox/VirtualBox.spec
diff -u packages/VirtualBox/VirtualBox.spec:1.319 packages/VirtualBox/VirtualBox.spec:1.320
--- packages/VirtualBox/VirtualBox.spec:1.319	Mon Oct 25 19:00:33 2010
+++ packages/VirtualBox/VirtualBox.spec	Tue Oct 26 18:00:29 2010
@@ -247,6 +247,7 @@
 Summary:	X.org video driver for VirtualBox OSE guest OS
 Summary(pl.UTF-8):	Sterownik grafiki dla systemu gościa w VirtualBoksie OSE
 Group:		X11/Applications
+Requires:	Mesa-dri-driver-swrast
 Requires:	xorg-xserver-libdri >= 1.7.4
 Requires:	xorg-xserver-server >= 1.0.99.901
 %if "%{pld_release}" == "ti"
@@ -500,6 +501,9 @@
 mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpackspu.so
 mv $RPM_BUILD_ROOT{%{_libdir}/%{pname}/additions,%{_libdir}}/VBoxOGLpassthroughspu.so
 
+install -d $RPM_BUILD_ROOT/usr/lib/dri
+ln -s %{_libdir}/xorg/modules/dri/swrast_dri.so $RPM_BUILD_ROOT/usr/lib/dri/swrast_dri.so
+
 install -d $RPM_BUILD_ROOT/etc/udev/rules.d
 cp -a %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules
 
@@ -792,6 +796,7 @@
 %attr(755,root,root) %{_libdir}/VBoxOGLfeedbackspu.so
 %attr(755,root,root) %{_libdir}/VBoxOGLpackspu.so
 %attr(755,root,root) %{_libdir}/VBoxOGLpassthroughspu.so
+/usr/lib/dri
 %endif
 
 %if %{with kernel}
@@ -832,6 +837,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.320  2010/10/26 16:00:29  wolf
+- enable guest 3d acceleration (package build not tested)
+
 Revision 1.319  2010/10/25 17:00:33  arekm
 - rel 4; no ORIGIN on linux
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/VirtualBox/VirtualBox.spec?r1=1.319&r2=1.320&f=u



More information about the pld-cvs-commit mailing list