Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-04-18 00:27:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and      /work/SRC/openSUSE:Factory/.virtualbox.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Sat Apr 18 00:27:47 2020 rev:197 rq:794398 version:6.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes    2020-04-15 
20:08:06.678171109 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/virtualbox.changes  
2020-04-18 00:28:49.293852424 +0200
@@ -1,0 +2,33 @@
+Wed Apr 15 17:40:41 UTC 2020 - Larry Finger <[email protected]>
+
+- Version bump to 6.1.6 (released April 14 2020 by Oracle)
+
+  This version fixes bsc#1169249, bsc#1169202, and bsc#1166782.
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  GUI: Multiple enhancements including visual elements updates
+  Graphics: Fixed monitor resizing and multi-monitor handling bugs on X11 
guests with VMSVGA graphics adapter
+  Graphics: Enhancements in 2D and 3D acceleration and rendering
+  USB: Multiple enhancements improving prformance and stability
+  Serial port: Improve error handling and fix hang when host port disappears
+  VBoxManage: Multiple fixes for guestcontrol operations
+  API: Fix for exception handling bug in Python bindings
+  Shared clipboard: Multiple fixes including possible crash and HTML data 
support
+  Linux host and guest: Support Linux kernel 5.6 (bug #19312)
+
+  File "VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch" removed - fixed 
upstream.
+  File "fixes_for_5.6.patch" removed - fixed upstream.
+  File "change_default_display.patch" removed - fixed upstream.
+
+-------------------------------------------------------------------
+Mon Apr 13 18:02:12 UTC 2020 - Larry Finger <[email protected]>
+
+- Fix bug that deletes everything in ~/.vbox/
+
+-------------------------------------------------------------------
+Mon Apr 13 17:22:38 UTC 2020 - Larry Finger <[email protected]>
+
+- Fix builds for kernel 5.7. File "fixes_for_5.7.patch" is added.
+
+-------------------------------------------------------------------

Old:
----
  VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
  VirtualBox-6.1.4-patched.tar.bz2
  change_default_display.patch
  fixes_for_5.6.patch

New:
----
  VirtualBox-6.1.6-patched.tar.bz2
  fixes_for_5.7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.q0FBVr/_old  2020-04-18 00:28:52.765859614 +0200
+++ /var/tmp/diff_new_pack.q0FBVr/_new  2020-04-18 00:28:52.765859614 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:           virtualbox
 # ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:        6.1.4
+Version:        6.1.6
 Release:        0
 Summary:        VirtualBox is an Emulator
 License:        GPL-2.0-or-later
@@ -150,16 +150,12 @@
 Patch133:       fixes_for_leap15.2.patch
 # Fixes for API changes in kernel 5.6
 Patch134:       fixes_for_5.5.patch
-# Fixes for API changes in kernel 5.6
-Patch135:       fixes_for_5.6.patch
-# Fis VBoxClient Crashes
-Patch136:       VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
 # Fix build for Qt 5.15
-Patch137:       fix-missing-includes-with-qt-5.15.patch
+Patch135:       fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
-Patch138:       fixes_for_gcc10.patch
-# Change default display type
-Patch139:       change_default_display.patch
+Patch136:       fixes_for_gcc10.patch
+# Fix build for kernel 5.7
+Patch137:       fixes_for_5.7.patch
 Patch999:       virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -465,8 +461,6 @@
 %patch135 -p1
 %patch136 -p1
 %patch137 -p1
-%patch138 -p1
-%patch139 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++++++ UserManual.pdf ++++++
(binary differes)

++++++ VirtualBox-6.1.4-patched.tar.bz2 -> VirtualBox-6.1.6-patched.tar.bz2 
++++++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.4-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.2738/VirtualBox-6.1.6-patched.tar.bz2
 differ: char 11, line 1

++++++ fixes_for_5.6.patch -> fixes_for_5.7.patch ++++++
--- /work/SRC/openSUSE:Factory/virtualbox/fixes_for_5.6.patch   2020-04-15 
20:08:06.506170992 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/fixes_for_5.7.patch 
2020-04-18 00:28:49.245852325 +0200
@@ -1,106 +1,36 @@
-Index: VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+Index: VirtualBox-6.1.4/src/VBox/Additions/linux/drm/vbox_fb.c
 ===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-+++ VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-@@ -843,9 +843,13 @@ DECLHIDDEN(int) vboxPciOsDevMapRegion(PV
-         if (!rcLnx)
-         {
-             /* For now no caching, try to optimize later. */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+            RTR0PTR R0PtrMapping = ioremap(pci_resource_start(pPciDev, 
iRegion),
-+                                           pci_resource_len(pPciDev, 
iRegion));
-+#else
-             RTR0PTR R0PtrMapping = 
ioremap_nocache(pci_resource_start(pPciDev, iRegion),
-                                                    pci_resource_len(pPciDev, 
iRegion));
+--- VirtualBox-6.1.4.orig/src/VBox/Additions/linux/drm/vbox_fb.c
++++ VirtualBox-6.1.4/src/VBox/Additions/linux/drm/vbox_fb.c
+@@ -47,7 +47,6 @@
+ #include <drm/drm_crtc.h>
+ #include <drm/drm_fb_helper.h>
+ #include <drm/drm_crtc_helper.h>
 -
-+#endif
-             if (R0PtrMapping != NIL_RTR0PTR)
-                 pIns->aRegionR0Mapping[iRegion] = R0PtrMapping;
-             else
-Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-@@ -1461,9 +1461,13 @@ DECLHIDDEN(int) rtR0MemObjNativeMapKerne
-              * MMIO / physical memory.
-              */
-             Assert(pMemLnxToMap->Core.enmType == RTR0MEMOBJTYPE_PHYS && 
!pMemLnxToMap->Core.u.Phys.fAllocated);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+          pMemLnx->Core.pv = ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + 
offSub, cbSub);
+ #include <VBoxVideo.h>
+ 
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) && !defined(RHEL_74)
+@@ -431,7 +430,11 @@ int vbox_fbdev_init(struct drm_device *d
+       drm_fb_helper_prepare(dev, &fbdev->helper, &vbox_fb_helper_funcs);
+ #endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_75)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)
++      ret = drm_fb_helper_init(dev, &fbdev->helper);
 +#else
-             pMemLnx->Core.pv = pMemLnxToMap->Core.u.Phys.uCachePolicy == 
RTMEM_CACHE_POLICY_MMIO
-                              ? 
ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
-                              : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + 
offSub, cbSub);
+       ret = drm_fb_helper_init(dev, &fbdev->helper, vbox->num_crtcs);
 +#endif
-             if (pMemLnx->Core.pv)
-             {
-                 /** @todo fix protection. */
-Index: VirtualBox-6.1.2/include/iprt/time.h
-===================================================================
---- VirtualBox-6.1.2.orig/include/iprt/time.h
-+++ VirtualBox-6.1.2/include/iprt/time.h
-@@ -32,6 +32,24 @@
- #include <iprt/cdefs.h>
- #include <iprt/types.h>
- #include <iprt/assertcompile.h>
-+#ifdef __KERNEL__
-+/* This header is used for both kernel- and user-space code. Beginning
-+ * with v5.6.0-rc3 as part of the Y2038 conversion, several of the
-+ * time handling macros were hidden. Thus, user- and kernel-space
-+ * names are different.
-+ */
-+#include <linux/version.h>
-+#include <linux/time64.h>
-+#include <linux/ktime.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+#include <linux/time_types.h>
-+#define timespec __kernel_old_timespec
-+#define ktime_get_ts ktime_get_ts64
-+#undef time_t
-+#define time_t ktime_t
-+#define timeval __kernel_old_timeval
-+#endif /* kernel version >= 5.6.0 */
-+#endif /* __KERNEL__ */
- 
- RT_C_DECLS_BEGIN
- 
-@@ -433,12 +451,6 @@ DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTim
- }
- 
+ #else
+       ret =
+           drm_fb_helper_init(dev, &fbdev->helper, vbox->num_crtcs,
+@@ -440,7 +443,11 @@ int vbox_fbdev_init(struct drm_device *d
+       if (ret)
+               return ret;
  
--# ifdef _LINUX_TIME64_H
--DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
--{
--    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
--}
--# endif
- #endif /* various ways of detecting struct timespec */
- 
- 
-Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-@@ -35,6 +35,10 @@
- #include <iprt/asm.h>
- 
- 
-+DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
-+{
-+    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
-+}
- 
- DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void)
- {
-@@ -43,7 +47,11 @@ DECLINLINE(uint64_t) rtTimeGetSystemNano
-      * Use ktime_get_ts, this is also what clock_gettime(CLOCK_MONOTONIC,) is 
using.
-      */
-     uint64_t u64;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+    struct timespec64 Ts;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)
++      ret = 0;
 +#else
-     struct timespec Ts;
+       ret = drm_fb_helper_single_add_all_connectors(&fbdev->helper);
 +#endif
-     ktime_get_ts(&Ts);
-     u64 = Ts.tv_sec * RT_NS_1SEC_64 + Ts.tv_nsec;
-     return u64;
+       if (ret)
+               goto err_fini;
+ 


++++++ virtualbox-wrapper.sh ++++++
--- /var/tmp/diff_new_pack.q0FBVr/_old  2020-04-18 00:28:53.109860327 +0200
+++ /var/tmp/diff_new_pack.q0FBVr/_new  2020-04-18 00:28:53.113860335 +0200
@@ -28,8 +28,6 @@
 #
 # Ensure that ~/.config/VirtualBox exists
 mkdir -p ~/.config/VirtualBox
-# Originally, this information was in ~/.vbox. Remove any files found there
-rm -rf ~/.vbox
 # Get the inode for /usr/lib/udev/rules.d/60-vboxdrv.rules
 INODE=$(stat /usr/lib/udev/rules.d/60-vboxdrv.rules | grep Inode | cut -d' ' 
-f3)
 if [ ! -f ~/.config/VirtualBox/enable ] && [ ! -f ~/.config/VirtualBox/disable 
] ; then


Reply via email to