From 1fb22078d8c6792bbe139f220910d34806d0ae6ae1bd357edaf290ed024a9e39 Mon Sep 17 00:00:00 2001 From: Michal Seben Date: Sat, 2 Jun 2012 06:04:34 +0000 Subject: [PATCH] Accepting request 123265 from home:mseben:branches:Virtualization use proper version of vboxvideo xorg driver OBS-URL: https://build.opensuse.org/request/show/123265 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=94 --- virtualbox.changes | 6 ++++++ virtualbox.spec | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index 49e4b37..7f3b997 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 1 20:00:15 UTC 2012 - mseben@gmail.com + +- use proper version of vboxvideo xorg driver (vboxvideo_drv_112) + for 12.2 release + ------------------------------------------------------------------- Thu May 24 08:37:37 UTC 2012 - mseben@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index 3b493d9..f6eeebb 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -406,7 +406,12 @@ pushd out/linux.*/release/bin/additions/ # xorg drivers for mouse and videos check suse version to add propper driver # check the patch https://www.virtualbox.org/changeset/38784, regarding the # dropped xorg mouse driver in >= 1130 -%if %suse_version > 1140 + +%if %suse_version > 1210 + %__install -m 755 vboxvideo_drv_112.so \ + %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so +%else +%if %suse_version == 1210 %__install -m 755 vboxvideo_drv_110.so \ %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so %else @@ -431,7 +436,8 @@ pushd out/linux.*/release/bin/additions/ %endif #if =1120 %endif #if =1130 %endif #if =1140 -%endif #if >1140 +%endif #if =1210 +%endif #if >1210 popd # VBoxOGL* libs for guest-x11 subpackage %__install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \