forked from pool/virtualbox
Accepting request 330442 from Virtualization
problem. This update applies their solution using patch file vbox-32bit-build-error.diff. (forwarded request 330441 from lwfinger) OBS-URL: https://build.opensuse.org/request/show/330442 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=105
This commit is contained in:
commit
c61aef8281
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7661cde9d0c563c7de9a4138547bcced0f167f7a1766359d5df6f77c11456cb0
|
||||
size 3451796
|
||||
oid sha256:948aadbcbb2bc90f4db01051b2707f9bf5bb1fef5433e0b65503ff87d87e6694
|
||||
size 3461050
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:733ad025e85dd05c32b85edcec0e19f4626cb6c8e5943047a9f4c28c5be98347
|
||||
size 75506765
|
3
VirtualBox-5.0.4-patched.tar.bz2
Normal file
3
VirtualBox-5.0.4-patched.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9939b8efbf79d8204d4c134a04162a69c59c246c780c9e75f023be0560a58e1c
|
||||
size 75544919
|
13
vbox-32bit-build-error.diff
Normal file
13
vbox-32bit-build-error.diff
Normal file
@ -0,0 +1,13 @@
|
||||
--- a/src/VBox/ExtPacks/VNC/VBoxVNC.cpp 2015-09-10 11:22:46.703936446 -0500
|
||||
+++ b/src/VBox/ExtPacks/VNC/VBoxVNC.cpp 2015-09-10 11:25:06.195300848 -0500
|
||||
@@ -103,8 +103,8 @@ private:
|
||||
unsigned char *mScreenBuffer;
|
||||
unsigned char *mFrameBuffer;
|
||||
uint32_t uClients;
|
||||
- static DECLCALLBACK(enum rfbNewClientAction) rfbNewClientEvent(rfbClientPtr cl);
|
||||
- static DECLCALLBACK(void) vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl);
|
||||
+ static enum rfbNewClientAction rfbNewClientEvent(rfbClientPtr cl);
|
||||
+ static void vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl);
|
||||
static void vncKeyboardEvent(rfbBool down, rfbKeySym keySym, rfbClientPtr cl);
|
||||
static void clientGoneHook(rfbClientPtr cl);
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- a/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp 2014-02-25 18:08:58.000000000 +0100
|
||||
+++ b/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp 2014-03-03 15:18:07.298245235 +0100
|
||||
@@ -203,15 +203,15 @@
|
||||
if (iIndexWinXP != -1)
|
||||
m_pTypeCombo->setCurrentIndex(iIndexWinXP);
|
||||
if (iIndexWin7 != -1)
|
||||
m_pTypeCombo->setCurrentIndex(iIndexWin7);
|
||||
}
|
||||
- /* Or select Ubuntu item for Linux family as default: */
|
||||
+ /* Or select openSUSE item for Linux family as default: */
|
||||
|
@ -1,3 +1,64 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 02:47:24 UTC 2015 - Larry.Finger@lwfinger.net
|
||||
|
||||
- The code base released by Oracle failed to build on 32-bit systems. They had already fixed the
|
||||
problem. This update applies their solution using patch file vbox-32bit-build-error.diff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 15:13:25 UTC 2015 - Larry.Finger@lwfinger.net
|
||||
|
||||
Version bump to 5.0.4 (released 2015-09-08 by Oracle)
|
||||
|
||||
This is a maintenance release. The following items were fixed and/or added:
|
||||
|
||||
VMM: fixed an issue with Windows 10 guest kernel debugging over the network for Hyper-V paravirtualized VMs
|
||||
VMM: fixed a bug which prevented reading the saved state of the 'PATM' unit from VirtualBox 4.3.x (bug #14512)
|
||||
GUI: changed default OS type for Windows from Windows XP to Windows 7
|
||||
GUI: added another pre-defined guest screen resolution (bug #14384)
|
||||
GUI: fixed update check which was broken due to changing the location of the root certificates (bug #13096)
|
||||
GUI: fixed issues with synchronization of Caps lock / Num lock / Scroll lock on Windows hosts (bug #14302)
|
||||
GUI: don't crash during VM shutdown if 2D video acceleration and 3D support are enabled (Mac OS X hosts only)
|
||||
GUI: several seamless fixes for certain X11 window managers, also when used in multi-screen setups
|
||||
GUI: Log window size, position and cursor-position fixes
|
||||
Audio: fixed playing leftover/deprecated audio samples
|
||||
Audio: fixed playing audio after suspending the host (5.0 regression; Linux hosts using the ALSA backend)
|
||||
Audio: fixed playing short audio samples which were chopped off formerly
|
||||
Audio: fixed distortions on OS X when the sample rate of the guest stream and host device don't match
|
||||
Storage: fixed raw disk access and flat VMDK image access which would be always opened readonly (5.0.2 regression; bugs #14425, #14461)
|
||||
Storage: fixed initial encryption of VDI images after they were compacted (bug #14496)
|
||||
VGA: fix for certain graphics modes (bug #14516)
|
||||
NAT: don't freeze while the VM is paused if the network attachment mode is changed from/to NAT with activated port forwarding
|
||||
OVF: fixed duplicate USB controller entries in exported OVA/OVF (bug #14462)
|
||||
Shared Folders: fixed a path separator issue (bug #14434)
|
||||
Drag and drop: fixed crashes on OS X hosts when doing host-to-guest transfers
|
||||
VBoxManage: another attempt to not deny changing the network adapter type at VM runtime (5.0 regression; bug #14308)
|
||||
VBoxManage: fixed broken guestcontrol <VM-Name> list command (5.0 regression)
|
||||
VBoxManage: fixed broken Guest Control stdout/stderr output (5.0 regression)
|
||||
Mac OS X hosts: fixed remaining problems with activated SMAP (Broadwell and later; bug #14412)
|
||||
Mac OS X hosts: fixed broken 3D support (5.0.2 regression; bug #14476)
|
||||
Linux hosts: Linux 4.2 fix
|
||||
Linux hosts: don't crash on older Linux distributions if the DBus service isn't running (bug #14543)
|
||||
Windows hosts: fixed the VERR_LDR_MISMATCH_NATIVE error message (bug #14420)
|
||||
Windows hosts: fix for Windows 10 build 10525 and later (bug #14502)
|
||||
Windows hosts: fixed network adapter enumeration on Windows 10 (bug #14437)
|
||||
Windows hosts: prevent intermittent host network disconnects during VM start/shutdown with bridged networking (bug #14500)
|
||||
Windows Additions: fixed the call to the memory allocation function (bug #14415)
|
||||
Linux Additions: be more forgiving if the compilation of the vboxvideo module fails (bug #14547)
|
||||
X11 Additions: fixed a number of small issues with dynamic resizing and full-screen and seamless modes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 15:03:14 UTC 2015 - wbauer@tmo.at
|
||||
|
||||
- Install and enable the vboxadd-service init script, to make
|
||||
auto-mounting of shared folders and time synchronization work
|
||||
- Install VBoxService to /usr/sbin/ instead of /usr/bin/ so that
|
||||
vboxadd-service can find it, it cannot be run as user anyway
|
||||
- Create the /media folder with appropriate permissions on
|
||||
distributions higher than 13.1, it doesn't exist any more and the
|
||||
one that VBoxService creates automatically cannot be accessed by
|
||||
normal users
|
||||
- Fixes boo#908669 and boo#936254
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 14 13:23:25 UTC 2015 - Larry.Finger@lwfinger.net
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%define _vbox_instdir %{_libexecdir}/virtualbox
|
||||
%define _udevrulesdir %{_libexecdir}/udev/rules.d
|
||||
Name: virtualbox
|
||||
Version: 5.0.2
|
||||
Version: 5.0.4
|
||||
Release: 0
|
||||
Summary: VirtualBox is an Emulator
|
||||
License: GPL-2.0+
|
||||
@ -81,6 +81,9 @@ Patch106: gcc5-real-support.patch
|
||||
Patch107: virtualbox-sed-params.patch
|
||||
# Patch to use snprintf correcty and not overflow dst buffer
|
||||
Patch108: virtualbox-snpritnf-buffer-overflow.patch
|
||||
# fix code for 32-bit build error - This problem has been fixed in the Oracle code base
|
||||
# and this patch should not be needed with 5.0.6.
|
||||
Patch109: vbox-32bit-build-error.diff
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: acpica
|
||||
@ -307,6 +310,7 @@ This package contains icons for guest desktop files that were created on the des
|
||||
%patch106 -p1
|
||||
%patch107 -p1
|
||||
%patch108 -p1
|
||||
%patch109 -p1
|
||||
#copy user manual
|
||||
cp %{SOURCE1} UserManual.pdf
|
||||
#copy kbuild config
|
||||
@ -445,12 +449,18 @@ done
|
||||
echo "entering guest-tools install section"
|
||||
###########################################
|
||||
install -m 755 out/linux.*/release/bin/additions/VBoxControl %{buildroot}%{_bindir}/VBoxControl
|
||||
install -m 755 out/linux.*/release/bin/additions/VBoxService %{buildroot}%{_bindir}/VBoxService
|
||||
install -m 755 out/linux.*/release/bin/additions/VBoxService %{buildroot}%{_sbindir}/VBoxService
|
||||
install -m 755 out/linux.*/release/bin/additions/mount.vboxsf %{buildroot}/sbin/mount.vboxsf
|
||||
install -m 744 src/VBox/Additions/linux/installer/vboxadd.sh %{buildroot}%{_sysconfdir}/init.d/vboxadd
|
||||
install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh %{buildroot}%{_sysconfdir}/init.d/vboxadd-service
|
||||
ln -s %{_sysconfdir}/init.d/vboxadd %{buildroot}%{_sbindir}/rcvboxadd
|
||||
ln -s %{_sysconfdir}/init.d/vboxadd-service %{buildroot}%{_sbindir}/rcvboxadd-service
|
||||
# udev rule for guest (virtualbox-guest-tools)
|
||||
install -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/60-vboxguest.rules
|
||||
# /media is used for auto-mounting of shared folders
|
||||
%if 0%{?suse_version} > 1310
|
||||
install -d 755 %{buildroot}/media
|
||||
%endif
|
||||
#
|
||||
##############################################################
|
||||
echo "entering guest-x11 install section"
|
||||
@ -641,6 +651,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf
|
||||
|
||||
%post guest-tools
|
||||
%fillup_and_insserv -f -y vboxadd
|
||||
%fillup_and_insserv -f -y vboxadd-service
|
||||
|
||||
%post websrv
|
||||
%fillup_and_insserv -f -y vboxweb-service
|
||||
@ -653,6 +664,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf
|
||||
exit 0
|
||||
|
||||
%preun guest-tools
|
||||
%stop_on_removal vboxadd-service
|
||||
%stop_on_removal vboxadd
|
||||
exit 0
|
||||
|
||||
@ -671,6 +683,7 @@ exit 0
|
||||
|
||||
%postun guest-tools
|
||||
%restart_on_update vboxadd
|
||||
%restart_on_update vboxadd-service
|
||||
%insserv_cleanup
|
||||
|
||||
%postun websrv
|
||||
@ -781,11 +794,16 @@ exit 0
|
||||
%files guest-tools
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/VBoxControl
|
||||
%{_bindir}/VBoxService
|
||||
%{_sbindir}/VBoxService
|
||||
/sbin/mount.vboxsf
|
||||
%{_udevrulesdir}/60-vboxguest.rules
|
||||
%config %{_sysconfdir}/init.d/vboxadd
|
||||
%config %{_sysconfdir}/init.d/vboxadd-service
|
||||
%{_sbindir}/rcvboxadd
|
||||
%{_sbindir}/rcvboxadd-service
|
||||
%if 0%{?suse_version} > 1310
|
||||
%dir /media
|
||||
%endif
|
||||
|
||||
%files -n python-%{name} -f %{_tmppath}/SITE_FILES
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user