forked from jengelh/virtualbox
- File "fixes_for_4.14.patch" deleted - upstream fix.
File "remove_vbox_video_build.patch" added as current versions of Xorg no longer need this component. Version update to 5.2.4 (released 2017-12-19 by Oracle) This is a maintenance release. The following items were fixed and/or added: User interface: Adjusting desktop file for X11 window managers (bug #17312) User interface: various high resolution display adjustments Audio: fixed SB16 volume handling (5.2 regression) Audio: various fixes USB/OHCI: fixed a problem where OHCI emulation might sporadically drop data transfers Linux hosts: fixed screen corruption when the host screen changes and a virtual machine window is maximized X11 Guest Additions: fixed a hang at the GNOME Shell login screen with 3D enabled (5.2 regression, bugs #17189 and #17190) Version bump to 5.2.2 (released 2017-11-24 by Oracle) This is a maintenance release. The following items were fixed and/or added: User interface: various improvements for high resolution screens User interface: added functionality to duplicate optical and floppy images User interface: various improvements for the virtual media manager VMM: fixed emulation so that Plan 9 guests can start once more (5.1.0 regression) Storage: fixed regression breaking iSCSI (bug #17196) Audio: added HDA support for more exotic guests (e.g. Haiku) Serial: fixed hanging I/O when using named pipes on Windows (5.2.0 regression; bug #17227) Serial: fixed broken communication with certain devices on Linux hosts USB/OHCI: improved behavior so that the controller state after a VM reset is closer to the initial state after VM start EFI: fixed HFS+ driver which in rare cases failed to access most files on a volume Shared clipboard: fixed hang with OS X host and Linux guest (bug #15782) Linux hosts: fixed kernel module compilation and start failures with Linux kernel 4.14 (bug #17267) X11 hosts: better handle WM_CLASS setting (bug #12534) Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14 (bug #12534) Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14 Linux guests: fixed various 5.2.0 regressions (bug #17163) Bridged networking: fixed duplicate EtherType in VLAN/priority tags on Linux (5.2.0 regression; bug #17277) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=393
This commit is contained in:
committed by
Git OBS Bridge
parent
eaa649d1b7
commit
b8eea0822b
@@ -27,7 +27,7 @@
|
||||
%define _vbox_instdir %{_libexecdir}/virtualbox
|
||||
%define _udevrulesdir %{_sysconfdir}/udev/rules.d
|
||||
Name: virtualbox
|
||||
Version: 5.1.30
|
||||
Version: 5.2.4
|
||||
Release: 0
|
||||
Summary: VirtualBox is an Emulator
|
||||
License: GPL-2.0+
|
||||
@@ -102,8 +102,6 @@ Patch109: vbox-usb-warning.diff
|
||||
Patch112: modify_for_4_8_bo_move.patch
|
||||
# Remove all mention of _smp_mflags
|
||||
Patch113: vbox_remove_smp_mflags.patch
|
||||
# Fix for removal of vfs_write() in kernel 4.14
|
||||
Patch114: fixes_for_4.14.patch
|
||||
# Allow use of gcc7
|
||||
Patch115: vbox_fix_for_gcc7.patch
|
||||
# Fix for missing include needed for server 1.19
|
||||
@@ -116,6 +114,8 @@ Patch118: internal-headers.patch
|
||||
Patch119: fixes_for_leap15.patch
|
||||
# Fix rpmlint error for script /lib/usr/virtualbox/vboxshell.py
|
||||
Patch120: fixes_for_python.patch
|
||||
# Remove vboxvideo from build
|
||||
Patch121: remove_vbox_video_build.patch
|
||||
#
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: SDL-devel
|
||||
@@ -140,7 +140,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: gsoap-devel
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: kbuild >= 0.1.9998svn2808
|
||||
BuildRequires: kbuild >= 0.1.9998svn3101
|
||||
#BuildRequires: kernel-syms
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libcurl-devel
|
||||
@@ -388,7 +388,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch99 -p1
|
||||
%patch100
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
%patch103 -p1
|
||||
%patch104 -p1
|
||||
@@ -399,15 +399,15 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
||||
%patch109 -p1
|
||||
%patch112 -p1
|
||||
%patch113 -p1
|
||||
%patch114 -p1
|
||||
%patch115 -p1
|
||||
%patch116 -p1
|
||||
%patch117 -p1
|
||||
%patch118 -p1
|
||||
%if 0%{suse_version} >= 1500
|
||||
%if 0%{suse_version} == 1500
|
||||
%patch119 -p1
|
||||
%endif
|
||||
%patch120 -p1
|
||||
%patch121 -p1
|
||||
|
||||
#copy user manual
|
||||
cp %{SOURCE1} UserManual.pdf
|
||||
@@ -482,10 +482,10 @@ install -D -m 644 "COPYING" "%{buildroot}%{_datadir}/licenses/LICENSE.vnc"
|
||||
#
|
||||
# build kernel modules for guest and host (check novel-kmp package as example)
|
||||
# host modules : vboxdrv,vboxnetflt,vboxnetadp,vboxpci
|
||||
# guest modules : vboxguest,vboxsf,vboxvideo
|
||||
# guest modules : vboxguest,vboxsf
|
||||
echo "build kernel modules"
|
||||
for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
|
||||
out/linux.*/release/bin/additions/src/vbox{guest,sf,video}; do
|
||||
out/linux.*/release/bin/additions/src/vbox{guest,sf}; do
|
||||
#get the module name from path
|
||||
module_name=$(basename "$vbox_module")
|
||||
|
||||
@@ -513,10 +513,10 @@ for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
|
||||
$PWD/modules_build_dir/$flavor/$module_name
|
||||
fi
|
||||
# copy vboxguest (for guest) module symbols which are used by vboxvideo km:
|
||||
if [ "$module_name" = "vboxvideo" ]; then
|
||||
cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
|
||||
$PWD/modules_build_dir/$flavor/$module_name
|
||||
fi
|
||||
# if [ "$module_name" = "vboxvideo" ]; then
|
||||
# cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
|
||||
# $PWD/modules_build_dir/$flavor/$module_name
|
||||
# fi
|
||||
# build the module for the specific flavor
|
||||
make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \
|
||||
M=$PWD/modules_build_dir/$flavor/$module_name
|
||||
@@ -555,7 +555,7 @@ export INSTALL_MOD_DIR=extra
|
||||
export INITRD_IN_POSTTRANS=1
|
||||
export KMP_NEEDS_MKINITRD=0
|
||||
#to install modules we use here similar steps like in build phase, go through all the modules :
|
||||
for module_name in vbox{drv,netflt,pci,netadp,guest,sf,video}
|
||||
for module_name in vbox{drv,netflt,pci,netadp,guest,sf}
|
||||
do
|
||||
#and through the all flavors
|
||||
for flavor in %{flavors_to_build}; do
|
||||
@@ -585,7 +585,7 @@ pushd out/linux.*/release/bin/additions/
|
||||
#VBoxClient daemon (support for clipboard,autoresize,seamless windows)
|
||||
install -m 755 VBoxClient %{buildroot}%{_bindir}
|
||||
# xorg drivers for video
|
||||
install -m 755 vboxvideo_drv_system.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
|
||||
#install -m 755 vboxvideo_drv_system.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
|
||||
popd
|
||||
# VBoxOGL* libs for guest-x11 subpackage
|
||||
install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \
|
||||
@@ -594,7 +594,7 @@ install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \
|
||||
install -m 755 out/linux.*/release/bin/additions/VBoxEGL*.so \
|
||||
%{buildroot}%{_libdir}
|
||||
# make link for dri lib
|
||||
ln -s %{_libdir}/VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so
|
||||
#ln -s %{_libdir}/VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so
|
||||
# install init script which start VBoxClient daemon (support for clipboard,autoresize,seamless windows)
|
||||
install -m 755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
|
||||
|
||||
@@ -945,8 +945,8 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
||||
%{_bindir}/VBoxClient
|
||||
%{_libdir}/VBoxOGL*.so
|
||||
%{_libdir}/VBoxEGL*.so
|
||||
%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
|
||||
%{_libdir}/dri/vboxvideo_dri.so
|
||||
#%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
|
||||
#%{_libdir}/dri/vboxvideo_dri.so
|
||||
%{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
|
||||
|
||||
%files guest-tools
|
||||
|
Reference in New Issue
Block a user