From 6ee94e2a2806c68f59c2aeb40f199a18e292208e4e981f5155cca5e64d3ecb1a Mon Sep 17 00:00:00 2001 From: Tejas Guruswamy Date: Thu, 30 Dec 2010 19:51:04 +0000 Subject: [PATCH] - Use xserver 1.9 additions on Factory OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=12 --- virtualbox.changes | 5 +++++ virtualbox.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/virtualbox.changes b/virtualbox.changes index 2b3e6a6..688a20f 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 30 19:50:12 UTC 2010 - tejas.guruswamy@opensuse.org + +- Use xserver 1.9 additions on Factory + ------------------------------------------------------------------- Thu Dec 23 17:43:05 UTC 2010 - mseben@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index dc541a0..874ed2f 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -330,7 +330,13 @@ pushd out/linux.*/release/bin/additions/ #VBoxClient daemon (support for clipboard,autoresize,seamless windows) %__install -m 755 VBoxClient %{buildroot}%{_bindir} # xorg drivers for mouse and videos check suse version to add propper driver -%if %suse_version >= 1130 +%if %suse_version > 1130 + %__install -m 755 vboxmouse_drv_19.so \ + %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so + %__install -m 755 vboxvideo_drv_19.so \ + %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so +%else +%if %suse_version == 1130 %__install -m 755 vboxmouse_drv_18.so \ %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so %__install -m 755 vboxvideo_drv_18.so \ @@ -348,6 +354,7 @@ pushd out/linux.*/release/bin/additions/ %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so %endif %endif +%endif popd # VBoxOGL* libs for guest-x11 subpackage %__install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \