forked from pool/virtualbox
Accepting request 766683 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/766683 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=189
This commit is contained in:
commit
809f3622c0
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:e8fd7b98890b6505904bc30e0860e69b39ecb8ffda4279887a5ec6ce54e3b3b7
|
oid sha256:fcff201615b3af6f8fef0f7e46f2fef13bef7c4e40ce00979cd8625e086a31aa
|
||||||
size 4344956
|
size 4888852
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b1b25cc6dd90a605e0d96b3a35561826c68e9deaad22205230b4500a9b037c00
|
|
||||||
size 117521754
|
|
3
VirtualBox-6.1.2-patched.tar.bz2
Normal file
3
VirtualBox-6.1.2-patched.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dfbfc854d0bd405cd7192074f1dac3ef100b73a54cdc6c45e631d5ca404f5702
|
||||||
|
size 119798818
|
@ -19,23 +19,3 @@ Index: VirtualBox-6.0.12/configure
|
|||||||
if test_compile "$LIBQT5 $LIBPTHREAD $I_INCQT5 $FLGQT5" qt5 qt5 nofatal &&
|
if test_compile "$LIBQT5 $LIBPTHREAD $I_INCQT5 $FLGQT5" qt5 qt5 nofatal &&
|
||||||
test_execute_path "`L_to_PATH "$LIBQT5"`" nofatal; then
|
test_execute_path "`L_to_PATH "$LIBQT5"`" nofatal; then
|
||||||
foundqt5=1 # no pkg-config, Qt directory
|
foundqt5=1 # no pkg-config, Qt directory
|
||||||
Index: VirtualBox-6.0.12/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.12.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|
||||||
+++ VirtualBox-6.0.12/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|
||||||
@@ -224,15 +224,7 @@ VBoxOGL_LIBS.win += \
|
|
||||||
$(PATH_STAGE_LIB)/additions/VBoxCrHgsmi$(VBOX_SUFF_LIB)
|
|
||||||
|
|
||||||
if1of ($(KBUILD_TARGET), linux solaris freebsd)
|
|
||||||
- ifdef VBOX_USE_SYSTEM_GL_HEADERS
|
|
||||||
VBoxOGL_LIBS += Xcomposite Xdamage Xfixes Xext
|
|
||||||
- else
|
|
||||||
- VBoxOGL_LIBS += \
|
|
||||||
- $(PATH_STAGE_LIB)/libXcomposite.so \
|
|
||||||
- $(PATH_STAGE_LIB)/libXdamage.so \
|
|
||||||
- $(PATH_STAGE_LIB)/libXfixes.so \
|
|
||||||
- $(PATH_STAGE_LIB)/libXext.so
|
|
||||||
- endif
|
|
||||||
ifdef VBoxOGL_FAKEDRI
|
|
||||||
ifeq ($(KBUILD_TARGET), freebsd)
|
|
||||||
VBoxOGL_LIBS += \
|
|
||||||
|
@ -1,141 +0,0 @@
|
|||||||
Index: VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
||||||
@@ -73,6 +73,10 @@
|
|
||||||
#define VBOXNETFLT_OS_SPECFIC 1
|
|
||||||
#include "../VBoxNetFltInternal.h"
|
|
||||||
|
|
||||||
+# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2
|
|
||||||
+# define OPENSUSE_152
|
|
||||||
+# endif
|
|
||||||
+
|
|
||||||
typedef struct VBOXNETFLTNOTIFIER {
|
|
||||||
struct notifier_block Notifier;
|
|
||||||
PVBOXNETFLTINS pThis;
|
|
||||||
@@ -924,8 +928,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
|
|
||||||
for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
|
|
||||||
{
|
|
||||||
skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i];
|
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152)
|
|
||||||
+ pSG->aSegs[iSeg].cb = pFrag->bv_len;
|
|
||||||
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
|
|
||||||
+#else
|
|
||||||
pSG->aSegs[iSeg].cb = pFrag->size;
|
|
||||||
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
|
|
||||||
+#endif
|
|
||||||
Log6((" %p", pSG->aSegs[iSeg].pv));
|
|
||||||
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
|
|
||||||
Assert(iSeg <= pSG->cSegsAlloc);
|
|
||||||
@@ -940,8 +949,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
|
|
||||||
for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++)
|
|
||||||
{
|
|
||||||
skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i];
|
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152)
|
|
||||||
+ pSG->aSegs[iSeg].cb = pFrag->bv_len;
|
|
||||||
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
|
|
||||||
+#else
|
|
||||||
pSG->aSegs[iSeg].cb = pFrag->size;
|
|
||||||
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
|
|
||||||
+#endif
|
|
||||||
Log6((" %p", pSG->aSegs[iSeg].pv));
|
|
||||||
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
|
|
||||||
Assert(iSeg <= pSG->cSegsAlloc);
|
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
||||||
@@ -443,9 +443,6 @@ RTR0DECL(void *) RTMemContAlloc(PRTCCPHY
|
|
||||||
}
|
|
||||||
|
|
||||||
SetPageReserved(&paPages[iPage]);
|
|
||||||
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
|
|
||||||
- MY_SET_PAGES_EXEC(&paPages[iPage], 1);
|
|
||||||
-#endif
|
|
||||||
}
|
|
||||||
*pPhys = page_to_phys(paPages);
|
|
||||||
pvRet = phys_to_virt(page_to_phys(paPages));
|
|
||||||
@@ -491,9 +488,6 @@ RTR0DECL(void) RTMemContFree(void *pv, s
|
|
||||||
for (iPage = 0; iPage < cPages; iPage++)
|
|
||||||
{
|
|
||||||
ClearPageReserved(&paPages[iPage]);
|
|
||||||
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
|
|
||||||
- MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
|
|
||||||
-#endif
|
|
||||||
}
|
|
||||||
__free_pages(paPages, cOrder);
|
|
||||||
IPRT_LINUX_RESTORE_EFL_AC();
|
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
|
|
||||||
@@ -36,6 +36,9 @@
|
|
||||||
#include <iprt/errcore.h>
|
|
||||||
#include "internal/thread.h"
|
|
||||||
|
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
|
||||||
+#include <uapi/linux/sched/types.h>
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
RTDECL(RTTHREAD) RTThreadSelf(void)
|
|
||||||
{
|
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.c
|
|
||||||
@@ -271,11 +271,13 @@ static void vbox_master_drop(struct drm_
|
|
||||||
|
|
||||||
static struct drm_driver driver = {
|
|
||||||
.driver_features =
|
|
||||||
- DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ |
|
|
||||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
|
|
||||||
+ DRIVER_PRIME |
|
|
||||||
+#endif
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(RHEL_81)
|
|
||||||
DRIVER_IRQ_SHARED |
|
|
||||||
#endif
|
|
||||||
- DRIVER_PRIME,
|
|
||||||
+ DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
|
|
||||||
.dev_priv_size = 0,
|
|
||||||
|
|
||||||
.load = vbox_driver_load,
|
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_main.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Additions/linux/drm/vbox_main.c
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_main.c
|
|
||||||
@@ -619,8 +619,12 @@ static inline u64 vbox_bo_mmap_offset(st
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) && !defined(RHEL_70)
|
|
||||||
return bo->bo.addr_space_offset;
|
|
||||||
#else
|
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
|
||||||
+ return drm_vma_node_offset_addr(&bo->bo.base.vma_node);
|
|
||||||
+#else
|
|
||||||
return drm_vma_node_offset_addr(&bo->bo.vma_node);
|
|
||||||
#endif
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
Index: VirtualBox-6.0.14/include/iprt/cdefs.h
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/include/iprt/cdefs.h
|
|
||||||
+++ VirtualBox-6.0.14/include/iprt/cdefs.h
|
|
||||||
@@ -1166,14 +1166,15 @@
|
|
||||||
* Tell the compiler that we're falling through to the next case in a switch.
|
|
||||||
* @sa RT_FALL_THRU */
|
|
||||||
#if RT_GNUC_PREREQ(7, 0)
|
|
||||||
-# define RT_FALL_THROUGH() __attribute__((fallthrough))
|
|
||||||
+# define FALL_THROUGH __attribute__((__fallthrough__))
|
|
||||||
#else
|
|
||||||
-# define RT_FALL_THROUGH() (void)0
|
|
||||||
+# define FALL_THROUGH (void)0
|
|
||||||
#endif
|
|
||||||
/** @def RT_FALL_THRU
|
|
||||||
* Tell the compiler that we're falling thru to the next case in a switch.
|
|
||||||
* @sa RT_FALL_THROUGH */
|
|
||||||
-#define RT_FALL_THRU() RT_FALL_THROUGH()
|
|
||||||
+#define RT_FALL_THRU() FALL_THROUGH
|
|
||||||
+#define RT_FALL_THROUGH() FALL_THROUGH
|
|
||||||
|
|
||||||
|
|
||||||
/** @def RT_IPRT_FORMAT_ATTR
|
|
@ -1,17 +1,33 @@
|
|||||||
Index: VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
|
Index: VirtualBox-6.1.2/src/VBox/HostDrivers/linux/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/HostDrivers/linux/Makefile
|
--- VirtualBox-6.1.2.orig/src/VBox/HostDrivers/linux/Makefile
|
||||||
+++ VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
|
+++ VirtualBox-6.1.2/src/VBox/HostDrivers/linux/Makefile
|
||||||
@@ -45,6 +45,8 @@ else # ! KERNELRELEASE
|
@@ -35,9 +35,6 @@ endif
|
||||||
|
ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),)
|
||||||
|
obj-m += vboxnetadp/
|
||||||
|
endif
|
||||||
|
-ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),)
|
||||||
|
- obj-m += vboxpci/
|
||||||
|
-endif
|
||||||
|
|
||||||
|
else # ! KERNELRELEASE
|
||||||
|
|
||||||
|
@@ -45,10 +42,11 @@ else # ! KERNELRELEASE
|
||||||
|
|
||||||
KBUILD_VERBOSE ?=
|
KBUILD_VERBOSE ?=
|
||||||
KERN_VER ?= $(shell uname -r)
|
KERN_VER ?= $(shell uname -r)
|
||||||
|
-.PHONY: all install clean check unload load vboxdrv vboxnetflt vboxnetadp \
|
||||||
|
- vboxpci
|
||||||
+PWD ?= $(shell pwd)
|
+PWD ?= $(shell pwd)
|
||||||
+
|
+
|
||||||
.PHONY: all install clean check unload load vboxdrv vboxnetflt vboxnetadp \
|
+.PHONY: all install clean check unload load vboxdrv vboxnetflt vboxnetadp
|
||||||
vboxpci
|
|
||||||
|
|
||||||
@@ -64,6 +66,7 @@ vboxnetflt: vboxdrv
|
-all: vboxdrv vboxnetflt vboxnetadp vboxpci
|
||||||
|
+all: vboxdrv vboxnetflt vboxnetadp
|
||||||
|
|
||||||
|
# We want to build on Linux 2.6.18 and later kernels.
|
||||||
|
ifneq ($(filter-out 1.% 2.0.% 2.1.% 2.2.% 2.3.% 2.4.% 2.5.%,$(KERN_VER)),)
|
||||||
|
@@ -64,6 +62,7 @@ vboxnetflt: vboxdrv
|
||||||
if [ -f vboxdrv/Module.symvers ]; then \
|
if [ -f vboxdrv/Module.symvers ]; then \
|
||||||
cp vboxdrv/Module.symvers vboxnetflt; \
|
cp vboxdrv/Module.symvers vboxnetflt; \
|
||||||
fi; \
|
fi; \
|
||||||
@ -19,7 +35,7 @@ Index: VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
|
|||||||
echo "=== Building 'vboxnetflt' module ==="; \
|
echo "=== Building 'vboxnetflt' module ==="; \
|
||||||
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt || exit 1; \
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt || exit 1; \
|
||||||
cp vboxnetflt/vboxnetflt.ko .; \
|
cp vboxnetflt/vboxnetflt.ko .; \
|
||||||
@@ -75,8 +78,9 @@ vboxnetadp: vboxdrv
|
@@ -75,41 +74,29 @@ vboxnetadp: vboxdrv
|
||||||
if [ -f vboxdrv/Module.symvers ]; then \
|
if [ -f vboxdrv/Module.symvers ]; then \
|
||||||
cp vboxdrv/Module.symvers vboxnetadp; \
|
cp vboxdrv/Module.symvers vboxnetadp; \
|
||||||
fi; \
|
fi; \
|
||||||
@ -30,15 +46,18 @@ Index: VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
|
|||||||
cp vboxnetadp/vboxnetadp.ko .; \
|
cp vboxnetadp/vboxnetadp.ko .; \
|
||||||
echo; \
|
echo; \
|
||||||
fi
|
fi
|
||||||
@@ -86,6 +90,7 @@ vboxpci: vboxdrv
|
|
||||||
if [ -f vboxdrv/Module.symvers ]; then \
|
-vboxpci: vboxdrv
|
||||||
cp vboxdrv/Module.symvers vboxpci; \
|
- @if [ -d vboxpci ]; then \
|
||||||
fi; \
|
- if [ -f vboxdrv/Module.symvers ]; then \
|
||||||
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxpci/Module.symvers; \
|
- cp vboxdrv/Module.symvers vboxpci; \
|
||||||
echo "=== Building 'vboxpci' module ==="; \
|
- fi; \
|
||||||
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci || exit 1; \
|
- echo "=== Building 'vboxpci' module ==="; \
|
||||||
cp vboxpci/vboxpci.ko .; \
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci || exit 1; \
|
||||||
@@ -95,12 +100,15 @@ vboxpci: vboxdrv
|
- cp vboxpci/vboxpci.ko .; \
|
||||||
|
- echo; \
|
||||||
|
- fi
|
||||||
|
-
|
||||||
install:
|
install:
|
||||||
@$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv install
|
@$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv install
|
||||||
@if [ -d vboxnetflt ]; then \
|
@if [ -d vboxnetflt ]; then \
|
||||||
@ -49,8 +68,237 @@ Index: VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
|
|||||||
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxnetadp/Module.symvers; \
|
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxnetadp/Module.symvers; \
|
||||||
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \
|
||||||
fi
|
fi
|
||||||
@if [ -d vboxpci ]; then \
|
- @if [ -d vboxpci ]; then \
|
||||||
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxpci/Module.symvers; \
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \
|
||||||
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \
|
- fi
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
vboxdrv:
|
||||||
|
vboxnetflt:
|
||||||
|
vboxnetadp:
|
||||||
|
-vboxpci:
|
||||||
|
install:
|
||||||
|
|
||||||
|
endif
|
||||||
|
@@ -122,16 +109,13 @@ clean:
|
||||||
|
@if [ -d vboxnetadp ]; then \
|
||||||
|
$(MAKE) -C vboxnetadp clean; \
|
||||||
|
fi
|
||||||
|
- @if [ -d vboxpci ]; then \
|
||||||
|
- $(MAKE) -C vboxpci clean; \
|
||||||
|
- fi
|
||||||
|
- rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko vboxpci.ko
|
||||||
|
+ rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
|
||||||
|
|
||||||
|
check:
|
||||||
|
@$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv check
|
||||||
|
|
||||||
|
unload:
|
||||||
|
- @for module in vboxpci vboxnetadp vboxnetflt vboxdrv; do \
|
||||||
|
+ @for module in vboxnetadp vboxnetflt vboxdrv; do \
|
||||||
|
if grep "^$$module " /proc/modules >/dev/null; then \
|
||||||
|
echo "Removing previously installed $$module module"; \
|
||||||
|
/sbin/rmmod $$module; \
|
||||||
|
@@ -139,7 +123,7 @@ unload:
|
||||||
|
done
|
||||||
|
|
||||||
|
load: unload
|
||||||
|
- @for module in vboxdrv vboxnetflt vboxnetadp vboxpci; do \
|
||||||
|
+ @for module in vboxdrv vboxnetflt vboxnetadp; do \
|
||||||
|
if test -f $$module.ko; then \
|
||||||
|
echo "Installing $$module module"; \
|
||||||
|
/sbin/insmod $$module.ko; \
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/Makefile
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/Makefile
|
||||||
|
@@ -24,6 +24,7 @@ obj-m = vboxguest/ vboxsf/ vboxvideo/
|
||||||
|
else # ! KERNELRELEASE
|
||||||
|
|
||||||
|
KBUILD_VERBOSE =
|
||||||
|
+PWD ?= $(shell pwd)
|
||||||
|
ifeq ($(KBUILD_VERBOSE),)
|
||||||
|
VBOX_QUIET := @
|
||||||
|
VBOX_QUIET_SH := @
|
||||||
|
@@ -49,6 +50,7 @@ vboxsf: vboxguest
|
||||||
|
if [ -f vboxguest/Module.symvers ]; then \
|
||||||
|
cp vboxguest/Module.symvers vboxsf; \
|
||||||
|
fi; \
|
||||||
|
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxsf/Module.symvers; \
|
||||||
|
echo "=== Building 'vboxsf' module ==="; \
|
||||||
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxsf/Module.symvers) -C vboxsf || exit 1; \
|
||||||
|
if [ -f vboxsf/vboxsf.ko ]; then \
|
||||||
|
@@ -64,6 +66,7 @@ vboxvideo:
|
||||||
|
if [ -f vboxguest/Module.symvers ]; then \
|
||||||
|
cp vboxguest/Module.symvers vboxvideo; \
|
||||||
|
fi; \
|
||||||
|
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxvideo/Module.symvers; \
|
||||||
|
echo "=== Building 'vboxvideo' module ==="; \
|
||||||
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxvideo/Module.symvers) -C vboxvideo || exit 1; \
|
||||||
|
if [ -f vboxvideo/vboxvideo.ko ]; then \
|
||||||
|
@@ -77,9 +80,11 @@ vboxvideo:
|
||||||
|
install:
|
||||||
|
$(VBOX_QUIET)$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
|
||||||
|
$(VBOX_QUIET_SH)if [ -d vboxsf ]; then \
|
||||||
|
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxsf/Module.symvers; \
|
||||||
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf install; \
|
||||||
|
fi
|
||||||
|
$(VBOX_QUIET_SH)if [ -d vboxvideo ]; then \
|
||||||
|
+ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxvideo/Module.symvers; \
|
||||||
|
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo install; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
@@ -35,8 +35,18 @@
|
||||||
|
#include <linux/module.h>
|
||||||
|
#include <linux/console.h>
|
||||||
|
#include <linux/vt_kern.h>
|
||||||
|
+#include <linux/version.h>
|
||||||
|
|
||||||
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0))
|
||||||
|
+#include <drm/drm_file.h>
|
||||||
|
+#include <drm/drm_drv.h>
|
||||||
|
+#include <drm/drm_device.h>
|
||||||
|
+#include <linux/pci.h>
|
||||||
|
+#include <drm/drm_ioctl.h>
|
||||||
|
+#include <drm/drm_pci.h>
|
||||||
|
+#else
|
||||||
|
#include <drm/drmP.h>
|
||||||
|
+#endif
|
||||||
|
#include <drm/drm_crtc_helper.h>
|
||||||
|
|
||||||
|
#include "vbox_drv.h"
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_drv.h
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_drv.h
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_drv.h
|
||||||
|
@@ -103,7 +103,13 @@
|
||||||
|
#define S64_MIN ((s64)(-S64_MAX - 1))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0))
|
||||||
|
+#include <drm/drm_file.h>
|
||||||
|
+#include <drm/drm_drv.h>
|
||||||
|
+#include <drm/drm_device.h>
|
||||||
|
+#else
|
||||||
|
#include <drm/drmP.h>
|
||||||
|
+#endif
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_75)
|
||||||
|
#include <drm/drm_encoder.h>
|
||||||
|
#endif
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_fb.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_fb.c
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_fb.c
|
||||||
|
@@ -42,7 +42,19 @@
|
||||||
|
#include <linux/fb.h>
|
||||||
|
#include <linux/init.h>
|
||||||
|
|
||||||
|
+#include <linux/version.h>
|
||||||
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0))
|
||||||
|
+#include <drm/drm_file.h>
|
||||||
|
+#include <drm/drm_drv.h>
|
||||||
|
+#include <drm/drm_device.h>
|
||||||
|
+#include <linux/pci.h>
|
||||||
|
+#include <drm/drm_fourcc.h>
|
||||||
|
+#include <drm/drm_pci.h>
|
||||||
|
+#include <drm/drm_ioctl.h>
|
||||||
|
+#define drm_compat_ioctl NULL
|
||||||
|
+#else
|
||||||
|
#include <drm/drmP.h>
|
||||||
|
+#endif
|
||||||
|
#include <drm/drm_crtc.h>
|
||||||
|
#include <drm/drm_fb_helper.h>
|
||||||
|
#include <drm/drm_crtc_helper.h>
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_mode.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_mode.c
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_mode.c
|
||||||
|
@@ -45,6 +45,14 @@
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) || defined(RHEL_81)
|
||||||
|
#include <drm/drm_probe_helper.h>
|
||||||
|
#endif
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
|
||||||
|
+#include <drm/drm_fourcc.h>
|
||||||
|
+#endif
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
|
||||||
|
+#include <drm/drm_vblank.h>
|
||||||
|
+#else
|
||||||
|
+#include <drm/drmP.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#include "VBoxVideo.h"
|
||||||
|
|
||||||
|
@@ -398,6 +406,13 @@ static struct drm_encoder *drm_encoder_f
|
||||||
|
static struct drm_encoder *vbox_best_single_encoder(struct drm_connector
|
||||||
|
*connector)
|
||||||
|
{
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
|
||||||
|
+ struct drm_encoder *encoder;
|
||||||
|
+
|
||||||
|
+ /* There is only one encoder per connector */
|
||||||
|
+ drm_connector_for_each_possible_encoder(connector, encoder)
|
||||||
|
+ return encoder;
|
||||||
|
+#else
|
||||||
|
int enc_id = connector->encoder_ids[0];
|
||||||
|
|
||||||
|
/* pick the encoder ids */
|
||||||
|
@@ -410,6 +425,7 @@ static struct drm_encoder *vbox_best_sin
|
||||||
|
#else
|
||||||
|
return drm_encoder_find(connector->dev, enc_id);
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_ttm.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_ttm.c
|
||||||
|
@@ -34,6 +34,10 @@
|
||||||
|
*/
|
||||||
|
#include "vbox_drv.h"
|
||||||
|
#include <drm/ttm/ttm_page_alloc.h>
|
||||||
|
+#include <linux/pci.h>
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
|
||||||
|
+#include <drm/drm_fourcc.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_72)
|
||||||
|
#define PLACEMENT_FLAGS(placement) (placement)
|
||||||
|
@@ -310,11 +314,12 @@ int vbox_mm_init(struct vbox_private *vb
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
|
||||||
|
dev->anon_inode->i_mapping,
|
||||||
|
#endif
|
||||||
|
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
|
||||||
|
- DRM_FILE_PAGE_OFFSET, true);
|
||||||
|
-#else
|
||||||
|
- true);
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
|
||||||
|
+ bdev->vma_manager,
|
||||||
|
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
|
||||||
|
+ DRM_FILE_PAGE_OFFSET,
|
||||||
|
#endif
|
||||||
|
+ true);
|
||||||
|
if (ret) {
|
||||||
|
DRM_ERROR("Error initialising bo driver; %d\n", ret);
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) && !defined(RHEL_77) && !defined(RHEL_81)
|
||||||
|
Index: VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_irq.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/linux/drm/vbox_irq.c
|
||||||
|
+++ VirtualBox-6.1.2/src/VBox/Additions/linux/drm/vbox_irq.c
|
||||||
|
@@ -42,6 +42,10 @@
|
||||||
|
#include <drm/drm_probe_helper.h>
|
||||||
|
#endif
|
||||||
|
#include <VBoxVideo.h>
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
|
||||||
|
+#include <drm/drm_irq.h>
|
||||||
|
+#include <linux/pci.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
static void vbox_clear_irq(void)
|
||||||
|
{
|
||||||
|
109
fixes_for_leap15.2.patch
Normal file
109
fixes_for_leap15.2.patch
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
Index: VirtualBox-6.1.0_RC1/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.0_RC1.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
|
+++ VirtualBox-6.1.0_RC1/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
|
@@ -73,6 +73,10 @@
|
||||||
|
#define VBOXNETFLT_OS_SPECFIC 1
|
||||||
|
#include "../VBoxNetFltInternal.h"
|
||||||
|
|
||||||
|
+# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2
|
||||||
|
+# define OPENSUSE_152
|
||||||
|
+# endif
|
||||||
|
+
|
||||||
|
typedef struct VBOXNETFLTNOTIFIER {
|
||||||
|
struct notifier_block Notifier;
|
||||||
|
PVBOXNETFLTINS pThis;
|
||||||
|
@@ -924,13 +928,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
|
||||||
|
for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
|
||||||
|
{
|
||||||
|
skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i];
|
||||||
|
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
||||||
|
+# if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) || defined(OPENSUSE_152)
|
||||||
|
pSG->aSegs[iSeg].cb = pFrag->bv_len;
|
||||||
|
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
|
||||||
|
-# else /* < KERNEL_VERSION(5, 4, 0) */
|
||||||
|
+# else /* < KERNEL_VERSION(5, 4, 0) */
|
||||||
|
pSG->aSegs[iSeg].cb = pFrag->size;
|
||||||
|
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
|
||||||
|
-# endif /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
+# endif /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
Log6((" %p", pSG->aSegs[iSeg].pv));
|
||||||
|
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
|
||||||
|
Assert(iSeg <= pSG->cSegsAlloc);
|
||||||
|
@@ -945,13 +949,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
|
||||||
|
for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++)
|
||||||
|
{
|
||||||
|
skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i];
|
||||||
|
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
||||||
|
+# if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) || defined(OPENSUSE_152)
|
||||||
|
pSG->aSegs[iSeg].cb = pFrag->bv_len;
|
||||||
|
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
|
||||||
|
-# else /* < KERNEL_VERSION(5, 4, 0) */
|
||||||
|
+# else /* < KERNEL_VERSION(5, 4, 0) */
|
||||||
|
pSG->aSegs[iSeg].cb = pFrag->size;
|
||||||
|
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
|
||||||
|
-# endif /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
+# endif /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
Log6((" %p", pSG->aSegs[iSeg].pv));
|
||||||
|
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
|
||||||
|
Assert(iSeg <= pSG->cSegsAlloc);
|
||||||
|
Index: VirtualBox-6.1.0_RC1/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.0_RC1.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
+++ VirtualBox-6.1.0_RC1/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
@@ -307,11 +307,13 @@ static void vbox_master_drop(struct drm_
|
||||||
|
static struct drm_driver driver = {
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
|
||||||
|
.driver_features =
|
||||||
|
- DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ |
|
||||||
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
|
||||||
|
+ DRIVER_PRIME |
|
||||||
|
+#endif
|
||||||
|
# if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(RHEL_81)
|
||||||
|
DRIVER_IRQ_SHARED |
|
||||||
|
# endif /* < KERNEL_VERSION(5, 1, 0) && !defined(RHEL_81) */
|
||||||
|
- DRIVER_PRIME,
|
||||||
|
+ DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
|
||||||
|
#else /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
|
||||||
|
#endif /* < KERNEL_VERSION(5, 4, 0) */
|
||||||
|
Index: VirtualBox-6.1.0_RC1/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.0_RC1.orig/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
|
+++ VirtualBox-6.1.0_RC1/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
|
@@ -626,8 +626,12 @@ static inline u64 vbox_bo_mmap_offset(st
|
||||||
|
#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) && !defined(RHEL_70)
|
||||||
|
return bo->bo.addr_space_offset;
|
||||||
|
#else
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
||||||
|
+ return drm_vma_node_offset_addr(&bo->bo.base.vma_node);
|
||||||
|
+#else
|
||||||
|
return drm_vma_node_offset_addr(&bo->bo.vma_node);
|
||||||
|
#endif /* >= KERNEL_VERSION(5, 4, 0) */
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
Index: VirtualBox-6.1.0_RC1/include/iprt/cdefs.h
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.0_RC1.orig/include/iprt/cdefs.h
|
||||||
|
+++ VirtualBox-6.1.0_RC1/include/iprt/cdefs.h
|
||||||
|
@@ -1173,14 +1173,15 @@
|
||||||
|
* Tell the compiler that we're falling through to the next case in a switch.
|
||||||
|
* @sa RT_FALL_THRU */
|
||||||
|
#if RT_GNUC_PREREQ(7, 0)
|
||||||
|
-# define RT_FALL_THROUGH() __attribute__((__fallthrough__))
|
||||||
|
+# define FALL_THROUGH __attribute__((__fallthrough__))
|
||||||
|
#else
|
||||||
|
-# define RT_FALL_THROUGH() (void)0
|
||||||
|
+# define FALL_THROUGH (void)0
|
||||||
|
#endif
|
||||||
|
/** @def RT_FALL_THRU
|
||||||
|
* Tell the compiler that we're falling thru to the next case in a switch.
|
||||||
|
* @sa RT_FALL_THROUGH */
|
||||||
|
-#define RT_FALL_THRU() RT_FALL_THROUGH()
|
||||||
|
+#define RT_FALL_THRU() FALL_THROUGH
|
||||||
|
+#define RT_FALL_THROUGH() FALL_THROUGH
|
||||||
|
|
||||||
|
|
||||||
|
/** @def RT_IPRT_FORMAT_ATTR
|
@ -1,7 +1,7 @@
|
|||||||
Index: VirtualBox-6.0.6/include/VBox/VBoxGL2D.h
|
Index: VirtualBox-6.1.2/include/VBox/VBoxGL2D.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/include/VBox/VBoxGL2D.h
|
--- VirtualBox-6.1.2.orig/include/VBox/VBoxGL2D.h
|
||||||
+++ VirtualBox-6.0.6/include/VBox/VBoxGL2D.h
|
+++ VirtualBox-6.1.2/include/VBox/VBoxGL2D.h
|
||||||
@@ -113,7 +113,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN
|
@@ -113,7 +113,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN
|
||||||
/* GL_ARB_pixel_buffer_object*/
|
/* GL_ARB_pixel_buffer_object*/
|
||||||
#ifndef Q_WS_MAC
|
#ifndef Q_WS_MAC
|
||||||
@ -11,25 +11,10 @@ Index: VirtualBox-6.0.6/include/VBox/VBoxGL2D.h
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GL_READ_ONLY
|
#ifndef GL_READ_ONLY
|
||||||
Index: VirtualBox-6.0.6/include/VBox/HostServices/glext.h
|
Index: VirtualBox-6.1.2/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/include/VBox/HostServices/glext.h
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
+++ VirtualBox-6.0.6/include/VBox/HostServices/glext.h
|
+++ VirtualBox-6.1.2/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
@@ -3395,7 +3395,10 @@ typedef char GLchar; /* native charact
|
|
||||||
#ifndef GL_VERSION_1_5
|
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
typedef ptrdiff_t GLintptr;
|
|
||||||
+#if __BITS_PER_LONG != 64
|
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
|
||||||
+#else
|
|
||||||
+typedef long int GLsizeiptr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
|
||||||
Index: VirtualBox-6.0.6/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
|
||||||
+++ VirtualBox-6.0.6/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
|
||||||
@@ -465,7 +465,12 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -465,7 +465,12 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
@ -43,10 +28,10 @@ Index: VirtualBox-6.0.6/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.
|
|||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
#define GL_BUFFER_USAGE 0x8765
|
#define GL_BUFFER_USAGE 0x8765
|
||||||
Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
Index: VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
||||||
+++ VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
+++ VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
||||||
@@ -614,7 +614,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -614,7 +614,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
@ -59,10 +44,10 @@ Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorea
|
|||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
#define GL_BUFFER_USAGE 0x8765
|
#define GL_BUFFER_USAGE 0x8765
|
||||||
Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
Index: VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
||||||
+++ VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
+++ VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
||||||
@@ -465,7 +465,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -465,7 +465,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
@ -75,10 +60,10 @@ Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
|||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
#define GL_BUFFER_USAGE 0x8765
|
#define GL_BUFFER_USAGE 0x8765
|
||||||
Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
Index: VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
--- VirtualBox-6.1.2.orig/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
||||||
+++ VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
+++ VirtualBox-6.1.2/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
||||||
@@ -3708,7 +3708,11 @@ typedef char GLchar; /* native charact
|
@@ -3708,7 +3708,11 @@ typedef char GLchar; /* native charact
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
@ -91,10 +76,10 @@ Index: VirtualBox-6.0.6/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
Index: VirtualBox-6.0.6/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
Index: VirtualBox-6.1.2/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
--- VirtualBox-6.1.2.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
+++ VirtualBox-6.0.6/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
+++ VirtualBox-6.1.2/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
@@ -6194,7 +6194,11 @@ typedef char GLchar;
|
@@ -6194,7 +6194,11 @@ typedef char GLchar;
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
@ -107,36 +92,3 @@ Index: VirtualBox-6.0.6/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
Index: VirtualBox-6.0.6/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
|
||||||
+++ VirtualBox-6.0.6/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
|
||||||
@@ -3717,7 +3717,11 @@ typedef char GLchar; /* native charact
|
|
||||||
#ifndef GL_VERSION_1_5
|
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
typedef ptrdiff_t GLintptr;
|
|
||||||
+#if __BITS_PER_LONG != 64
|
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
|
||||||
+#else
|
|
||||||
+typedef long int GLsizeiptr;
|
|
||||||
+#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
|
||||||
Index: VirtualBox-6.0.6/src/VBox/GuestHost/OpenGL/include/chromium.h
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.6.orig/src/VBox/GuestHost/OpenGL/include/chromium.h
|
|
||||||
+++ VirtualBox-6.0.6/src/VBox/GuestHost/OpenGL/include/chromium.h
|
|
||||||
@@ -506,7 +506,11 @@ PROC WINAPI wglGetProcAddress_prox( LPCS
|
|
||||||
#ifndef GL_VERSION_1_5
|
|
||||||
|
|
||||||
typedef ptrdiff_t GLintptr;
|
|
||||||
+#if __BITS_PER_LONG != 64
|
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
|
||||||
+#else
|
|
||||||
+typedef long int GLsizeiptr;
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* prototype these functions for opengl_stub/getprocaddress.c */
|
|
||||||
extern void APIENTRY glGenQueries(GLsizei n, GLuint *ids);
|
|
||||||
|
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
Index: VirtualBox-5.2.24/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA1/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-5.2.24.orig/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA1.orig/Makefile.kmk
|
||||||
+++ VirtualBox-5.2.24/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA1/Makefile.kmk
|
||||||
@@ -701,7 +701,6 @@ VBOX_CORE_DOXYFILE_INPUT_DIRS = \
|
@@ -705,7 +705,6 @@ VBOX_CORE_DOXYFILE_INPUT_DIRS = \
|
||||||
src/VBox/Additions/x11/vboxmouse \
|
src/VBox/Additions/x11/vboxmouse \
|
||||||
src/VBox/Additions/x11/vboxmouse/xorg70 \
|
src/VBox/Additions/x11/vboxmouse/xorg70 \
|
||||||
src/VBox/Additions/x11/vboxmouse/xorg71 \
|
src/VBox/Additions/x11/vboxmouse/xorg71 \
|
||||||
- src/VBox/Additions/x11/vboxvideo \
|
- src/VBox/Additions/x11/vboxvideo \
|
||||||
src/VBox/NetworkServices \
|
src/VBox/NetworkServices \
|
||||||
src/VBox/NetworkServices/DHCP \
|
src/VBox/NetworkServices/Dhcpd \
|
||||||
src/VBox/NetworkServices/NAT \
|
src/VBox/NetworkServices/NAT \
|
||||||
Index: VirtualBox-5.2.24/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-5.2.24.orig/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
||||||
+++ VirtualBox-5.2.24/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
||||||
@@ -398,7 +398,8 @@ vboxvideo_drv_118_INCS += $(PATH_ROOT)/s
|
@@ -395,7 +395,8 @@ vboxvideo_drv_118_INCS += $(PATH_ROOT)/s
|
||||||
vboxvideo_drv_118_SOURCES := $(vboxvideo_drv_17_SOURCES)
|
vboxvideo_drv_118_SOURCES := $(vboxvideo_drv_17_SOURCES)
|
||||||
vboxvideo_drv_118_LIBS += $(vboxvideo_drv_70_LIBS)
|
vboxvideo_drv_118_LIBS += $(vboxvideo_drv_70_LIBS)
|
||||||
|
|
||||||
@ -24,10 +24,10 @@ Index: VirtualBox-5.2.24/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
|
|||||||
# Build using local X.Org headers. We assume X.Org Server 1.7 or later.
|
# Build using local X.Org headers. We assume X.Org Server 1.7 or later.
|
||||||
DLLS := $(filter-out vboxvideo_drv_%,$(DLLS)) vboxvideo_drv_system
|
DLLS := $(filter-out vboxvideo_drv_%,$(DLLS)) vboxvideo_drv_system
|
||||||
SYSMODS := $(filter-out vboxvideo_drv%,$(SYSMODS))
|
SYSMODS := $(filter-out vboxvideo_drv%,$(SYSMODS))
|
||||||
Index: VirtualBox-5.2.24/src/VBox/Additions/x11/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Additions/x11/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-5.2.24.orig/src/VBox/Additions/x11/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Additions/x11/Makefile.kmk
|
||||||
+++ VirtualBox-5.2.24/src/VBox/Additions/x11/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Additions/x11/Makefile.kmk
|
||||||
@@ -22,7 +22,7 @@ include $(KBUILD_PATH)/subheader.kmk
|
@@ -22,7 +22,7 @@ include $(KBUILD_PATH)/subheader.kmk
|
||||||
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
||||||
include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk
|
include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk
|
||||||
|
@ -1,193 +0,0 @@
|
|||||||
Index: VirtualBox-6.0.12/src/VBox/Main/src-all/Global.cpp
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.12.orig/src/VBox/Main/src-all/Global.cpp
|
|
||||||
+++ VirtualBox-6.0.12/src/VBox/Main/src-all/Global.cpp
|
|
||||||
@@ -183,159 +183,159 @@ const Global::OSType Global::sOSTypes[]
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux22", "Linux 2.2",
|
|
||||||
VBOXOSTYPE_Linux22, VBOXOSHINT_RTCUTC,
|
|
||||||
- 64, 4, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 64, 4, 2 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux24", "Linux 2.4 (32-bit)",
|
|
||||||
VBOXOSTYPE_Linux24, VBOXOSHINT_RTCUTC,
|
|
||||||
- 128, 16, 4 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 128, 16, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux24_64", "Linux 2.4 (64-bit)",
|
|
||||||
VBOXOSTYPE_Linux24_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
|
|
||||||
- 128, 16, 4 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 128, 16, 4 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux26", "Linux 2.6 / 3.x / 4.x (32-bit)",
|
|
||||||
VBOXOSTYPE_Linux26, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 512, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 512, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux26_64", "Linux 2.6 / 3.x / 4.x (64-bit)",
|
|
||||||
VBOXOSTYPE_Linux26_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "ArchLinux", "Arch Linux (32-bit)",
|
|
||||||
VBOXOSTYPE_ArchLinux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "ArchLinux_64", "Arch Linux (64-bit)",
|
|
||||||
VBOXOSTYPE_ArchLinux_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Debian", "Debian (32-bit)",
|
|
||||||
VBOXOSTYPE_Debian, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Debian_64", "Debian (64-bit)",
|
|
||||||
VBOXOSTYPE_Debian_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980},
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Fedora", "Fedora (32-bit)",
|
|
||||||
VBOXOSTYPE_FedoraCore, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Fedora_64", "Fedora (64-bit)",
|
|
||||||
VBOXOSTYPE_FedoraCore_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Gentoo", "Gentoo (32-bit)",
|
|
||||||
VBOXOSTYPE_Gentoo, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Gentoo_64", "Gentoo (64-bit)",
|
|
||||||
VBOXOSTYPE_Gentoo_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Mandriva", "Mandriva (32-bit)",
|
|
||||||
VBOXOSTYPE_Mandriva, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Mandriva_64", "Mandriva (64-bit)",
|
|
||||||
VBOXOSTYPE_Mandriva_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Oracle", "Oracle (32-bit)",
|
|
||||||
VBOXOSTYPE_Oracle, VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 12 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 12 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Oracle_64", "Oracle (64-bit)",
|
|
||||||
VBOXOSTYPE_Oracle_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 12 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 12 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "RedHat", "Red Hat (32-bit)",
|
|
||||||
VBOXOSTYPE_RedHat, VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "RedHat_64", "Red Hat (64-bit)",
|
|
||||||
VBOXOSTYPE_RedHat_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "OpenSUSE", "openSUSE (32-bit)",
|
|
||||||
VBOXOSTYPE_OpenSUSE, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "OpenSUSE_64", "openSUSE (64-bit)",
|
|
||||||
VBOXOSTYPE_OpenSUSE_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Turbolinux", "Turbolinux (32-bit)",
|
|
||||||
VBOXOSTYPE_Turbolinux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 384, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 384, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Turbolinux_64", "Turbolinux (64-bit)",
|
|
||||||
VBOXOSTYPE_Turbolinux_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 384, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 384, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Ubuntu", "Ubuntu (32-bit)",
|
|
||||||
VBOXOSTYPE_Ubuntu, VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 10 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Ubuntu_64", "Ubuntu (64-bit)",
|
|
||||||
VBOXOSTYPE_Ubuntu_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
|
|
||||||
| VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 1024, 16, 10 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 1024, 16, 10 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Xandros", "Xandros (32-bit)",
|
|
||||||
VBOXOSTYPE_Xandros, VBOXOSHINT_RTCUTC | VBOXOSHINT_X2APIC,
|
|
||||||
- 256, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 256, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Xandros_64", "Xandros (64-bit)",
|
|
||||||
VBOXOSTYPE_Xandros_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_X2APIC,
|
|
||||||
- 256, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 256, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux", "Other Linux (32-bit)",
|
|
||||||
VBOXOSTYPE_Linux, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 256, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 256, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
|
|
||||||
|
|
||||||
{ "Linux", "Linux", "Linux_64", "Other Linux (64-bit)",
|
|
||||||
VBOXOSTYPE_Linux_x64, VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC
|
|
||||||
| VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
|
|
||||||
- 512, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
+ 512, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
|
|
||||||
StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_STAC9700 },
|
|
||||||
|
|
||||||
{ "Solaris", "Solaris", "Solaris", "Oracle Solaris 10 5/09 and earlier (32-bit)",
|
|
@ -1,47 +1,7 @@
|
|||||||
Index: VirtualBox-6.0.14/configure
|
Index: VirtualBox-6.1.0/src/bldprogs/scm.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/configure
|
--- VirtualBox-6.1.0.orig/src/bldprogs/scm.cpp
|
||||||
+++ VirtualBox-6.0.14/configure
|
+++ VirtualBox-6.1.0/src/bldprogs/scm.cpp
|
||||||
@@ -1977,17 +1977,17 @@ extern "C" int main(void)
|
|
||||||
{
|
|
||||||
Py_Initialize();
|
|
||||||
printf("found version %s", PY_VERSION);
|
|
||||||
-#if PY_VERSION_HEX >= 0x02060000
|
|
||||||
+#if PY_VERSION_HEX >= 0x03040000
|
|
||||||
printf(", OK.\n");
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
- printf(", expected version 2.6 or higher\n");
|
|
||||||
+ printf(", expected version 3.4 or higher\n");
|
|
||||||
return 1;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
found=
|
|
||||||
- SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m"
|
|
||||||
+ SUPPYTHONLIBS="python3.4 python3.4m python3.5 python3.5m python3.6m python3.6 python3.7m python3.7 python3.8m python3.8"
|
|
||||||
for p in $PYTHONDIR; do
|
|
||||||
for d in $SUPPYTHONLIBS; do
|
|
||||||
for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
|
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Installer/linux/routines.sh
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Installer/linux/routines.sh
|
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Installer/linux/routines.sh
|
|
||||||
@@ -391,8 +391,8 @@ terminate_proc() {
|
|
||||||
maybe_run_python_bindings_installer() {
|
|
||||||
VBOX_INSTALL_PATH="${1}"
|
|
||||||
|
|
||||||
- PYTHON=python
|
|
||||||
- if [ "`python -c 'import sys
|
|
||||||
+ PYTHON=python3
|
|
||||||
+ if [ "`python3 -c 'import sys
|
|
||||||
if sys.version_info >= (2, 6):
|
|
||||||
print \"test\"' 2> /dev/null`" != "test" ]; then
|
|
||||||
echo 1>&2 "Python 2.6 or later not available, skipping bindings installation."
|
|
||||||
Index: VirtualBox-6.0.14/src/bldprogs/scm.cpp
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.14.orig/src/bldprogs/scm.cpp
|
|
||||||
+++ VirtualBox-6.0.14/src/bldprogs/scm.cpp
|
|
||||||
@@ -2206,7 +2206,7 @@ static int scmProcessFileInner(PSCMRWSTA
|
@@ -2206,7 +2206,7 @@ static int scmProcessFileInner(PSCMRWSTA
|
||||||
pszTreatAs = "shell";
|
pszTreatAs = "shell";
|
||||||
else if ( (cchFirst >= 15 && strncmp(pchFirst, "/usr/bin/python", 15) == 0)
|
else if ( (cchFirst >= 15 && strncmp(pchFirst, "/usr/bin/python", 15) == 0)
|
||||||
@ -51,10 +11,10 @@ Index: VirtualBox-6.0.14/src/bldprogs/scm.cpp
|
|||||||
else if ( (cchFirst >= 13 && strncmp(pchFirst, "/usr/bin/perl", 13) == 0)
|
else if ( (cchFirst >= 13 && strncmp(pchFirst, "/usr/bin/perl", 13) == 0)
|
||||||
|| (cchFirst >= 17 && strncmp(pchFirst, "/usr/bin/env perl", 17) == 0) )
|
|| (cchFirst >= 17 && strncmp(pchFirst, "/usr/bin/env perl", 17) == 0) )
|
||||||
pszTreatAs = "perl";
|
pszTreatAs = "perl";
|
||||||
Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/configure
|
Index: VirtualBox-6.1.0/src/libs/libxml2-2.9.4/configure
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/libxml2-2.9.4/configure
|
--- VirtualBox-6.1.0.orig/src/libs/libxml2-2.9.4/configure
|
||||||
+++ VirtualBox-6.0.14/src/libs/libxml2-2.9.4/configure
|
+++ VirtualBox-6.1.0/src/libs/libxml2-2.9.4/configure
|
||||||
@@ -15153,10 +15153,10 @@ PYTHON_SITE_PACKAGES=
|
@@ -15153,10 +15153,10 @@ PYTHON_SITE_PACKAGES=
|
||||||
PYTHON_TESTS=
|
PYTHON_TESTS=
|
||||||
pythondir=
|
pythondir=
|
||||||
@ -79,10 +39,10 @@ Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/configure
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
$as_echo_n "checking for $ac_word... " >&6; }
|
||||||
if ${ac_cv_path_PYTHON+:} false; then :
|
if ${ac_cv_path_PYTHON+:} false; then :
|
||||||
Index: VirtualBox-6.0.14/src/VBox/ValidationKit/testboxscript/setup.sh
|
Index: VirtualBox-6.1.0/src/VBox/ValidationKit/testboxscript/setup.sh
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/ValidationKit/testboxscript/setup.sh
|
--- VirtualBox-6.1.0.orig/src/VBox/ValidationKit/testboxscript/setup.sh
|
||||||
+++ VirtualBox-6.0.14/src/VBox/ValidationKit/testboxscript/setup.sh
|
+++ VirtualBox-6.1.0/src/VBox/ValidationKit/testboxscript/setup.sh
|
||||||
@@ -652,7 +652,7 @@ import sys;\
|
@@ -652,7 +652,7 @@ import sys;\
|
||||||
x = sys.version_info[0] == 2 and (sys.version_info[1] >= 6 or (sys.version_info[1] == 5 and sys.version_info[2] >= 1));\
|
x = sys.version_info[0] == 2 and (sys.version_info[1] >= 6 or (sys.version_info[1] == 5 and sys.version_info[2] >= 1));\
|
||||||
sys.exit(not x);\
|
sys.exit(not x);\
|
||||||
@ -92,10 +52,10 @@ Index: VirtualBox-6.0.14/src/VBox/ValidationKit/testboxscript/setup.sh
|
|||||||
do
|
do
|
||||||
python=`which ${python} 2> /dev/null`
|
python=`which ${python} 2> /dev/null`
|
||||||
if [ -n "${python}" -a -x "${python}" ]; then
|
if [ -n "${python}" -a -x "${python}" ]; then
|
||||||
Index: VirtualBox-6.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
Index: VirtualBox-6.1.0/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
--- VirtualBox-6.1.0.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||||
+++ VirtualBox-6.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
+++ VirtualBox-6.1.0/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||||
@@ -20,7 +20,7 @@
|
@@ -20,7 +20,7 @@
|
||||||
%define %PYTHON% 1
|
%define %PYTHON% 1
|
||||||
%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
|
%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
|
||||||
@ -114,10 +74,10 @@ Index: VirtualBox-6.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
|||||||
%endif
|
%endif
|
||||||
rm -rf sdk/installer
|
rm -rf sdk/installer
|
||||||
mv nls $RPM_BUILD_ROOT/usr/share/virtualbox
|
mv nls $RPM_BUILD_ROOT/usr/share/virtualbox
|
||||||
Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml.spec.in
|
Index: VirtualBox-6.1.0/src/libs/libxml2-2.9.4/libxml.spec.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/libxml2-2.9.4/libxml.spec.in
|
--- VirtualBox-6.1.0.orig/src/libs/libxml2-2.9.4/libxml.spec.in
|
||||||
+++ VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml.spec.in
|
+++ VirtualBox-6.1.0/src/libs/libxml2-2.9.4/libxml.spec.in
|
||||||
@@ -101,11 +101,11 @@ rm -fr %{buildroot}
|
@@ -101,11 +101,11 @@ rm -fr %{buildroot}
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
@ -133,10 +93,10 @@ Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml.spec.in
|
|||||||
|
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml2.spec
|
Index: VirtualBox-6.1.0/src/libs/libxml2-2.9.4/libxml2.spec
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/libxml2-2.9.4/libxml2.spec
|
--- VirtualBox-6.1.0.orig/src/libs/libxml2-2.9.4/libxml2.spec
|
||||||
+++ VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml2.spec
|
+++ VirtualBox-6.1.0/src/libs/libxml2-2.9.4/libxml2.spec
|
||||||
@@ -103,7 +103,7 @@ make install DESTDIR=%{buildroot}
|
@@ -103,7 +103,7 @@ make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -146,10 +106,10 @@ Index: VirtualBox-6.0.14/src/libs/libxml2-2.9.4/libxml2.spec
|
|||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
Index: VirtualBox-6.1.0/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
--- VirtualBox-6.1.0.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||||
+++ VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
+++ VirtualBox-6.1.0/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||||
@@ -439,6 +439,8 @@ char *PyTraceback_AsString(PyObject *exc
|
@@ -439,6 +439,8 @@ char *PyTraceback_AsString(PyObject *exc
|
||||||
{ // a temp scope so I can use temp locals.
|
{ // a temp scope so I can use temp locals.
|
||||||
#if PY_MAJOR_VERSION <= 2
|
#if PY_MAJOR_VERSION <= 2
|
||||||
@ -159,10 +119,10 @@ Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
|||||||
#else
|
#else
|
||||||
/* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */
|
/* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */
|
||||||
const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult);
|
const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult);
|
||||||
Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
Index: VirtualBox-6.1.0/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
--- VirtualBox-6.1.0.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||||
+++ VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
+++ VirtualBox-6.1.0/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||||
@@ -183,7 +183,11 @@ PyG_Base::~PyG_Base()
|
@@ -183,7 +183,11 @@ PyG_Base::~PyG_Base()
|
||||||
// Get the correct interface pointer for this object given the IID.
|
// Get the correct interface pointer for this object given the IID.
|
||||||
void *PyG_Base::ThisAsIID( const nsIID &iid )
|
void *PyG_Base::ThisAsIID( const nsIID &iid )
|
||||||
@ -176,24 +136,14 @@ Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
|||||||
if (iid.Equals(NS_GET_IID(nsISupports)))
|
if (iid.Equals(NS_GET_IID(nsISupports)))
|
||||||
return (nsISupports *)(nsIInternalPython *)this;
|
return (nsISupports *)(nsIInternalPython *)this;
|
||||||
if (iid.Equals(NS_GET_IID(nsISupportsWeakReference)))
|
if (iid.Equals(NS_GET_IID(nsISupportsWeakReference)))
|
||||||
Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/Makefile.kmk
|
Index: VirtualBox-6.1.0/src/libs/xpcom18a4/python/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/xpcom18a4/python/Makefile.kmk
|
--- VirtualBox-6.1.0.orig/src/libs/xpcom18a4/python/Makefile.kmk
|
||||||
+++ VirtualBox-6.0.14/src/libs/xpcom18a4/python/Makefile.kmk
|
+++ VirtualBox-6.1.0/src/libs/xpcom18a4/python/Makefile.kmk
|
||||||
@@ -26,7 +26,7 @@ endif
|
@@ -533,6 +533,52 @@ VBoxPython3_8m_x86_LIBS = $(VBOX_P
|
||||||
|
|
||||||
#
|
|
||||||
# List of supported Python versions, defining a number of
|
|
||||||
-# VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|DEF]_[INC|LIB] variables
|
|
||||||
+# VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|38|38M|DEF]_[INC|LIB] variables
|
|
||||||
# which get picked up below.
|
|
||||||
#
|
|
||||||
ifeq ($(KBUILD_TARGET),darwin) # Relatively predictable, don't script.
|
|
||||||
@@ -486,6 +486,52 @@ VBoxPython3_7m_x86_LIBS = $(VBOX_P
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
+
|
|
||||||
+ifdef VBOX_PYTHON38_INC
|
+ifdef VBOX_PYTHON38_INC
|
||||||
+#
|
+#
|
||||||
+# Python 3.8 version
|
+# Python 3.8 version
|
||||||
@ -239,19 +189,20 @@ Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/Makefile.kmk
|
|||||||
+ endif
|
+ endif
|
||||||
+ endif
|
+ endif
|
||||||
+endif
|
+endif
|
||||||
|
+
|
||||||
ifdef VBOX_PYTHONDEF_INC
|
ifdef VBOX_PYTHONDEF_INC
|
||||||
#
|
#
|
||||||
Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/gen_python_deps.py
|
# Python without versioning
|
||||||
|
Index: VirtualBox-6.1.0/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.14.orig/src/libs/xpcom18a4/python/gen_python_deps.py
|
--- VirtualBox-6.1.0.orig/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||||
+++ VirtualBox-6.0.14/src/libs/xpcom18a4/python/gen_python_deps.py
|
+++ VirtualBox-6.1.0/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||||
@@ -16,7 +16,7 @@ from __future__ import print_function
|
@@ -16,7 +16,7 @@ from __future__ import print_function
|
||||||
import os,sys
|
import os,sys
|
||||||
from distutils.version import StrictVersion
|
from distutils.version import StrictVersion
|
||||||
|
|
||||||
-versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m"]
|
-versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m", "3.8", "3.8m" ]
|
||||||
+versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m", "3.8", "3.8m"]
|
+versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m", "3.8", "3.8m", "3.8", "3.8m" ]
|
||||||
prefixes = ["/usr", "/usr/local", "/opt", "/opt/local"]
|
prefixes = ["/usr", "/usr/local", "/opt", "/opt/local"]
|
||||||
known = {}
|
known = {}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: VirtualBox-6.0.0/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||||
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
printf("VirtualBox DirectFB GUI built %s %s\n"
|
printf("VirtualBox DirectFB GUI built %s %s\n"
|
||||||
@ -11,10 +11,10 @@ Index: VirtualBox-6.0.0/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
|||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Runtime/common/string/uniread.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Runtime/common/string/uniread.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Runtime/common/string/uniread.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Runtime/common/string/uniread.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Runtime/common/string/uniread.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Runtime/common/string/uniread.cpp
|
||||||
@@ -1036,7 +1036,7 @@ int PrintHeader(const char *argv0, const
|
@@ -1036,7 +1036,7 @@ int PrintHeader(const char *argv0, const
|
||||||
" * IPRT - Unicode Tables.\n"
|
" * IPRT - Unicode Tables.\n"
|
||||||
" *\n"
|
" *\n"
|
||||||
@ -24,10 +24,10 @@ Index: VirtualBox-6.0.0/src/VBox/Runtime/common/string/uniread.cpp
|
|||||||
" */\n"
|
" */\n"
|
||||||
"\n"
|
"\n"
|
||||||
"/*\n"
|
"/*\n"
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
||||||
@@ -42,16 +42,13 @@
|
@@ -42,16 +42,13 @@
|
||||||
/**************************IDENTITY AND VERSIONING***********************/
|
/**************************IDENTITY AND VERSIONING***********************/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
@ -50,10 +50,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
|||||||
#if !defined(_PRODUCTION)
|
#if !defined(_PRODUCTION)
|
||||||
#define _PRODUCTION ""
|
#define _PRODUCTION ""
|
||||||
#endif
|
#endif
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
||||||
@@ -44,16 +44,10 @@
|
@@ -44,16 +44,10 @@
|
||||||
#ifndef XP_MAC
|
#ifndef XP_MAC
|
||||||
#include "_pr_bld.h"
|
#include "_pr_bld.h"
|
||||||
@ -73,10 +73,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
|||||||
#if !defined(_PRODUCTION)
|
#if !defined(_PRODUCTION)
|
||||||
#define _PRODUCTION ""
|
#define _PRODUCTION ""
|
||||||
#endif
|
#endif
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
||||||
@@ -42,16 +42,13 @@
|
@@ -42,16 +42,13 @@
|
||||||
/**************************IDENTITY AND VERSIONING***********************/
|
/**************************IDENTITY AND VERSIONING***********************/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
@ -99,10 +99,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
|||||||
#if !defined(_PRODUCTION)
|
#if !defined(_PRODUCTION)
|
||||||
#define _PRODUCTION ""
|
#define _PRODUCTION ""
|
||||||
#endif
|
#endif
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
||||||
@@ -42,16 +42,13 @@
|
@@ -42,16 +42,13 @@
|
||||||
/**************************IDENTITY AND VERSIONING***********************/
|
/**************************IDENTITY AND VERSIONING***********************/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
@ -125,11 +125,11 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
|||||||
#if !defined(_PRODUCTION)
|
#if !defined(_PRODUCTION)
|
||||||
#define _PRODUCTION ""
|
#define _PRODUCTION ""
|
||||||
#endif
|
#endif
|
||||||
Index: VirtualBox-6.0.0/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||||
@@ -147,7 +147,7 @@ static int vboxInitLogging(const char *p
|
@@ -308,7 +308,7 @@ static int vboxInitLogging(const char *p
|
||||||
#endif
|
#endif
|
||||||
"Log opened %s\n",
|
"Log opened %s\n",
|
||||||
VBOX_VERSION_STRING, RTBldCfgRevision(), VBOX_BUILD_TARGET,
|
VBOX_VERSION_STRING, RTBldCfgRevision(), VBOX_BUILD_TARGET,
|
||||||
@ -138,10 +138,10 @@ Index: VirtualBox-6.0.0/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest
|
|||||||
|
|
||||||
vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Devices/PC/BIOS/bios.c
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Devices/PC/BIOS/bios.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Devices/PC/BIOS/bios.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Devices/PC/BIOS/bios.c
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Devices/PC/BIOS/bios.c
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Devices/PC/BIOS/bios.c
|
||||||
@@ -143,7 +143,7 @@ void set_mode(uint8_t mode);
|
@@ -143,7 +143,7 @@ void set_mode(uint8_t mode);
|
||||||
|
|
||||||
#define BX_PCIBIOS 1
|
#define BX_PCIBIOS 1
|
||||||
@ -151,11 +151,11 @@ Index: VirtualBox-6.0.0/src/VBox/Devices/PC/BIOS/bios.c
|
|||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
// print_bios_banner
|
// print_bios_banner
|
||||||
// displays a the bios version
|
// displays a the bios version
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||||
@@ -242,7 +242,7 @@ static DECLCALLBACK(void) vgsvcLogHeader
|
@@ -243,7 +243,7 @@ static DECLCALLBACK(void) vgsvcLogHeader
|
||||||
"VBoxService %s r%s (verbosity: %u) %s (%s %s) release log\n"
|
"VBoxService %s r%s (verbosity: %u) %s (%s %s) release log\n"
|
||||||
"Log opened %s\n",
|
"Log opened %s\n",
|
||||||
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET,
|
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET,
|
||||||
@ -164,10 +164,10 @@ Index: VirtualBox-6.0.0/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
|||||||
|
|
||||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
||||||
Index: VirtualBox-6.0.0/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||||
+++ VirtualBox-6.0.0/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||||
@@ -187,7 +187,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_BUSMOUSE_MA
|
@@ -187,7 +187,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_BUSMOUSE_MA
|
||||||
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||||
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.signature
|
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||||
@ -177,10 +177,10 @@ Index: VirtualBox-6.0.0/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
|||||||
# Clean up
|
# Clean up
|
||||||
$(RM) -Rf $(VBoxBusMouseIns_0_OUTDIR)/Stage/
|
$(RM) -Rf $(VBoxBusMouseIns_0_OUTDIR)/Stage/
|
||||||
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||||
+++ VirtualBox-6.0.0/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||||
@@ -161,7 +161,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_SKELETON_MA
|
@@ -161,7 +161,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_SKELETON_MA
|
||||||
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||||
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.signature
|
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||||
@ -190,10 +190,10 @@ Index: VirtualBox-6.0.0/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
|||||||
# Clean up
|
# Clean up
|
||||||
$(RM) -Rf $(VBoxSkeletonIns_0_OUTDIR)/Stage/
|
$(RM) -Rf $(VBoxSkeletonIns_0_OUTDIR)/Stage/
|
||||||
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||||
+++ VirtualBox-6.0.0/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||||
@@ -342,7 +342,7 @@ if defined(VBOX_WITH_EXTPACK_VBOXDTRACE)
|
@@ -342,7 +342,7 @@ if defined(VBOX_WITH_EXTPACK_VBOXDTRACE)
|
||||||
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||||
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.signature
|
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||||
@ -203,10 +203,10 @@ Index: VirtualBox-6.0.0/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
|||||||
# Clean up
|
# Clean up
|
||||||
$(RM) -Rf $(VBoxDTraceIns_0_OUTDIR)/Stage/
|
$(RM) -Rf $(VBoxDTraceIns_0_OUTDIR)/Stage/
|
||||||
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/ExtPacks/VNC/Makefile.kmk
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/ExtPacks/VNC/Makefile.kmk
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||||
+++ VirtualBox-6.0.0/src/VBox/ExtPacks/VNC/Makefile.kmk
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||||
@@ -154,7 +154,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_VNC_MANGLED
|
@@ -154,7 +154,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_VNC_MANGLED
|
||||||
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||||
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.signature
|
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||||
@ -216,11 +216,11 @@ Index: VirtualBox-6.0.0/src/VBox/ExtPacks/VNC/Makefile.kmk
|
|||||||
# Clean up
|
# Clean up
|
||||||
$(RM) -Rf $(VBoxVNCIns_0_OUTDIR)/Stage/
|
$(RM) -Rf $(VBoxVNCIns_0_OUTDIR)/Stage/
|
||||||
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||||
@@ -316,7 +316,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT pDrv
|
@@ -318,7 +318,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT pDrv
|
||||||
}
|
}
|
||||||
VGDrvCommonInitLoggers();
|
VGDrvCommonInitLoggers();
|
||||||
|
|
||||||
@ -229,10 +229,10 @@ Index: VirtualBox-6.0.0/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if the NT version is supported and initialize g_enmVGDrvNtVer.
|
* Check if the NT version is supported and initialize g_enmVGDrvNtVer.
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||||
@@ -872,7 +872,7 @@ static DECLCALLBACK(void) vboxGreeterLog
|
@@ -872,7 +872,7 @@ static DECLCALLBACK(void) vboxGreeterLog
|
||||||
"vbox-greeter %s r%s (verbosity: %d) %s (%s %s) release log\n"
|
"vbox-greeter %s r%s (verbosity: %d) %s (%s %s) release log\n"
|
||||||
"Log opened %s\n",
|
"Log opened %s\n",
|
||||||
@ -242,10 +242,10 @@ Index: VirtualBox-6.0.0/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cp
|
|||||||
|
|
||||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Additions/solaris/Mouse/vboxms.c
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Additions/solaris/Mouse/vboxms.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Additions/solaris/Mouse/vboxms.c
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||||
@@ -256,7 +256,7 @@ static VBMSSTATE g_OpenNodeSt
|
@@ -256,7 +256,7 @@ static VBMSSTATE g_OpenNodeSt
|
||||||
int _init(void)
|
int _init(void)
|
||||||
{
|
{
|
||||||
@ -255,36 +255,27 @@ Index: VirtualBox-6.0.0/src/VBox/Additions/solaris/Mouse/vboxms.c
|
|||||||
mutex_init(&g_OpenNodeState.InitMtx, NULL, MUTEX_DRIVER, NULL);
|
mutex_init(&g_OpenNodeState.InitMtx, NULL, MUTEX_DRIVER, NULL);
|
||||||
/*
|
/*
|
||||||
* Prevent module autounloading.
|
* Prevent module autounloading.
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenVtf/GenVtf.h
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenVtf/GenVtf.h
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenVtf/GenVtf.h
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||||
@@ -102,7 +102,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
|
@@ -247,10 +247,10 @@ Returns:
|
||||||
//
|
UTILITY_NAME,
|
||||||
#define UTILITY_MAJOR_VERSION 0
|
|
||||||
#define UTILITY_MINOR_VERSION 1
|
|
||||||
-#define UTILITY_DATE __DATE__
|
|
||||||
+#define UTILITY_DATE "no date"
|
|
||||||
|
|
||||||
//
|
|
||||||
// The maximum number of arguments accepted from the command line.
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
|
||||||
@@ -170,7 +170,7 @@ Returns:
|
|
||||||
UTILITY_MAJOR_VERSION,
|
UTILITY_MAJOR_VERSION,
|
||||||
UTILITY_MINOR_VERSION,
|
UTILITY_MINOR_VERSION,
|
||||||
__BUILD_VERSION,
|
- __BUILD_VERSION
|
||||||
- __DATE__
|
+ __BUILD_VERSION,
|
||||||
+ "no date"
|
+ "no date"
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
- if (argc == 1) {
|
||||||
Index: VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
Usage ();
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||||
@@ -118,7 +118,7 @@ static NTSTATUS vboxUsbDdiAddDevice(PDRI
|
@@ -118,7 +118,7 @@ static NTSTATUS vboxUsbDdiAddDevice(PDRI
|
||||||
static VOID vboxUsbDdiUnload(PDRIVER_OBJECT pDriverObject)
|
static VOID vboxUsbDdiUnload(PDRIVER_OBJECT pDriverObject)
|
||||||
{
|
{
|
||||||
@ -303,11 +294,11 @@ Index: VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
|||||||
|
|
||||||
NTSTATUS Status = vboxUsbRtGlobalsInit();
|
NTSTATUS Status = vboxUsbRtGlobalsInit();
|
||||||
Assert(Status == STATUS_SUCCESS);
|
Assert(Status == STATUS_SUCCESS);
|
||||||
Index: VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||||
@@ -1936,7 +1936,7 @@ NTSTATUS _stdcall DriverEntry(PDRIVER_OB
|
@@ -1515,7 +1515,7 @@ NTSTATUS _stdcall DriverEntry(PDRIVER_OB
|
||||||
RTLogDestinations(0, "debugger");
|
RTLogDestinations(0, "debugger");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -315,11 +306,11 @@ Index: VirtualBox-6.0.0/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
|||||||
+ LOGREL(("Built %s %s", "no date", "no time"));
|
+ LOGREL(("Built %s %s", "no date", "no time"));
|
||||||
|
|
||||||
memset (&g_VBoxUsbMonGlobals, 0, sizeof (g_VBoxUsbMonGlobals));
|
memset (&g_VBoxUsbMonGlobals, 0, sizeof (g_VBoxUsbMonGlobals));
|
||||||
#ifdef VBOX_USB3PORT
|
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||||
@@ -61,7 +61,7 @@ static DECLCALLBACK(void) vboxHeaderFoot
|
@@ -61,7 +61,7 @@ static DECLCALLBACK(void) vboxHeaderFoot
|
||||||
#endif
|
#endif
|
||||||
"Log opened %s\n",
|
"Log opened %s\n",
|
||||||
@ -329,10 +320,10 @@ Index: VirtualBox-6.0.0/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
|||||||
|
|
||||||
pfnLog(pReleaseLogger, "Build Type: %s\n", KBUILD_TYPE);
|
pfnLog(pReleaseLogger, "Build Type: %s\n", KBUILD_TYPE);
|
||||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||||
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
PRIntn tab = 0;
|
PRIntn tab = 0;
|
||||||
@ -342,10 +333,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
|||||||
|
|
||||||
printf("Depend.c build time is %s %s\n", buildDate, buildTime);
|
printf("Depend.c build time is %s %s\n", buildDate, buildTime);
|
||||||
|
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||||
@@ -458,7 +458,7 @@ int
|
@@ -458,7 +458,7 @@ int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
@ -355,10 +346,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/prof
|
|||||||
#ifdef TEST_STD_STRING
|
#ifdef TEST_STD_STRING
|
||||||
cout << "Testing std::string." << endl;
|
cout << "Testing std::string." << endl;
|
||||||
#else
|
#else
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||||
@@ -425,7 +425,7 @@ int
|
@@ -425,7 +425,7 @@ int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
@ -368,10 +359,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
{
|
{
|
||||||
Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
Index: VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
--- VirtualBox-6.1.0_BETA2.orig/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||||
+++ VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
+++ VirtualBox-6.1.0_BETA2/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||||
@@ -102,7 +102,7 @@ class test_message
|
@@ -102,7 +102,7 @@ class test_message
|
||||||
public:
|
public:
|
||||||
test_message()
|
test_message()
|
||||||
@ -381,10 +372,10 @@ Index: VirtualBox-6.0.0/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
~test_message()
|
~test_message()
|
||||||
Index: VirtualBox-6.0.0/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
Index: VirtualBox-6.1.0_BETA2/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.0.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
--- VirtualBox-6.1.0_BETA2.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
||||||
+++ VirtualBox-6.0.0/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
+++ VirtualBox-6.1.0_BETA2/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/util/build_id.c
|
||||||
@@ -29,9 +29,8 @@
|
@@ -29,9 +29,8 @@
|
||||||
|
|
||||||
#include "build_id.h"
|
#include "build_id.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: VirtualBox-6.0.10/src/VBox/Installer/linux/vboxdrv.sh
|
Index: VirtualBox-6.1.0_RC1/src/VBox/Installer/linux/vboxdrv.sh
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.10.orig/src/VBox/Installer/linux/vboxdrv.sh
|
--- VirtualBox-6.1.0_RC1.orig/src/VBox/Installer/linux/vboxdrv.sh
|
||||||
+++ VirtualBox-6.0.10/src/VBox/Installer/linux/vboxdrv.sh
|
+++ VirtualBox-6.1.0_RC1/src/VBox/Installer/linux/vboxdrv.sh
|
||||||
@@ -19,11 +19,12 @@
|
@@ -19,11 +19,12 @@
|
||||||
#
|
#
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
@ -19,7 +19,7 @@ Index: VirtualBox-6.0.10/src/VBox/Installer/linux/vboxdrv.sh
|
|||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
## @todo This file duplicates a lot of script with vboxadd.sh. When making
|
## @todo This file duplicates a lot of script with vboxadd.sh. When making
|
||||||
@@ -312,13 +313,6 @@ See the documenatation for your Linux di
|
@@ -315,13 +316,6 @@ See the documenatation for your Linux di
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# ensure permissions
|
# ensure permissions
|
||||||
@ -33,7 +33,7 @@ Index: VirtualBox-6.0.10/src/VBox/Installer/linux/vboxdrv.sh
|
|||||||
if ! $MODPROBE vboxnetflt > /dev/null 2>&1; then
|
if ! $MODPROBE vboxnetflt > /dev/null 2>&1; then
|
||||||
failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
|
failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
|
||||||
fi
|
fi
|
||||||
@@ -448,48 +442,8 @@ cleanup()
|
@@ -451,50 +445,8 @@ cleanup()
|
||||||
# setup_script
|
# setup_script
|
||||||
setup()
|
setup()
|
||||||
{
|
{
|
||||||
@ -66,14 +66,16 @@ Index: VirtualBox-6.0.10/src/VBox/Installer/linux/vboxdrv.sh
|
|||||||
- module_build_log "$myerr"
|
- module_build_log "$myerr"
|
||||||
- failure "Look at $LOG to find out what went wrong"
|
- failure "Look at $LOG to find out what went wrong"
|
||||||
- fi
|
- fi
|
||||||
- log "Building the PCI pass-through module."
|
- if test -e "$MODULE_SRC/vboxpci"; then
|
||||||
- if ! myerr=`$BUILDINTMP \
|
- log "Building the PCI pass-through module."
|
||||||
- --use-module-symvers /tmp/vboxdrv-Module.symvers \
|
- if ! myerr=`$BUILDINTMP \
|
||||||
- --module-source "$MODULE_SRC/vboxpci" \
|
- --use-module-symvers /tmp/vboxdrv-Module.symvers \
|
||||||
- --no-print-directory install 2>&1`; then
|
- --module-source "$MODULE_SRC/vboxpci" \
|
||||||
- log "Error building the module:"
|
- --no-print-directory install 2>&1`; then
|
||||||
- module_build_log "$myerr"
|
- log "Error building the module:"
|
||||||
- failure "Look at $LOG to find out what went wrong"
|
- module_build_log "$myerr"
|
||||||
|
- failure "Look at $LOG to find out what went wrong"
|
||||||
|
- fi
|
||||||
- fi
|
- fi
|
||||||
- rm -f /etc/vbox/module_not_compiled
|
- rm -f /etc/vbox/module_not_compiled
|
||||||
- depmod -a
|
- depmod -a
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
Index: VirtualBox-5.1.22/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
|
|
||||||
===================================================================
|
|
||||||
--- VirtualBox-5.1.22.orig/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
|
|
||||||
+++ VirtualBox-5.1.22/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
|
|
||||||
@@ -262,6 +262,7 @@ pxenv_restart_tftp ( struct s_PXENV_TFTP
|
|
||||||
|
|
||||||
/* Restart NBP */
|
|
||||||
rmlongjmp ( pxe_restart_nbp, PXENV_RESTART_TFTP );
|
|
||||||
+ return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* PXENV_START_UNDI
|
|
||||||
|
|
@ -9,8 +9,8 @@ SOURCE="/usr/src/kernel-modules/virtualbox/src"
|
|||||||
LOGFILE="/var/log/virtualbox.log"
|
LOGFILE="/var/log/virtualbox.log"
|
||||||
INCLUDE="/lib/modules/`uname -r`/build/include"
|
INCLUDE="/lib/modules/`uname -r`/build/include"
|
||||||
#
|
#
|
||||||
# Test if vboxpci module loaded. If it is, skip everything else
|
# Test if vboxdrv module loaded. If it is, skip everything else
|
||||||
loaded=$(lsmod | grep vboxpci)
|
loaded=$(lsmod | grep vboxdrv)
|
||||||
if [ -n "$loaded" ] ; then
|
if [ -n "$loaded" ] ; then
|
||||||
echo "Kernel modules are loaded, unload them via"
|
echo "Kernel modules are loaded, unload them via"
|
||||||
echo "systemctl stop vboxdrv.service if you wish to rebuild them."
|
echo "systemctl stop vboxdrv.service if you wish to rebuild them."
|
||||||
@ -53,7 +53,7 @@ if [ "$?" -ne 0 ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
depmod -a
|
depmod -a
|
||||||
modprobe -av vboxnetflt vboxnetadp vboxpci
|
modprobe -av vboxnetflt vboxnetadp
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
echo "Kernel modules are installed and loaded."
|
echo "Kernel modules are installed and loaded."
|
||||||
exit 0
|
exit 0
|
||||||
|
16
vboxdrv.sh
16
vboxdrv.sh
@ -244,9 +244,6 @@ start_drv()
|
|||||||
if ! $MODPROBE vboxnetadp > /dev/null 2>&1; then
|
if ! $MODPROBE vboxnetadp > /dev/null 2>&1; then
|
||||||
failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why"
|
failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why"
|
||||||
fi
|
fi
|
||||||
if ! $MODPROBE vboxpci > /dev/null 2>&1; then
|
|
||||||
failure "modprobe vboxpci failed. Please use 'dmesg' to find out why"
|
|
||||||
fi
|
|
||||||
# Create the /dev/vboxusb directory if the host supports that method
|
# Create the /dev/vboxusb directory if the host supports that method
|
||||||
# of USB access. The USB code checks for the existance of that path.
|
# of USB access. The USB code checks for the existance of that path.
|
||||||
if grep -q usb_device /proc/devices; then
|
if grep -q usb_device /proc/devices; then
|
||||||
@ -260,11 +257,6 @@ stop_drv()
|
|||||||
{
|
{
|
||||||
begin_msg "Stopping VirtualBox services" console
|
begin_msg "Stopping VirtualBox services" console
|
||||||
|
|
||||||
if running vboxpci; then
|
|
||||||
if ! rmmod vboxpci 2>/dev/null; then
|
|
||||||
failure "Cannot unload module vboxpci"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if running vboxnetadp; then
|
if running vboxnetadp; then
|
||||||
if ! rmmod vboxnetadp 2>/dev/null; then
|
if ! rmmod vboxnetadp 2>/dev/null; then
|
||||||
failure "Cannot unload module vboxnetadp"
|
failure "Cannot unload module vboxnetadp"
|
||||||
@ -293,10 +285,9 @@ cleanup_vb()
|
|||||||
# we are sure they were ours, i.e. they had our modules in beforehand.
|
# we are sure they were ours, i.e. they had our modules in beforehand.
|
||||||
if test -e "${i}/extra/vboxdrv.ko" \
|
if test -e "${i}/extra/vboxdrv.ko" \
|
||||||
|| test -e "${i}/extra/vboxnetadp.ko" \
|
|| test -e "${i}/extra/vboxnetadp.ko" \
|
||||||
|| test -e "${i}/extra/vboxnetflt.ko" \
|
|| test -e "${i}/extra/vboxnetflt.ko"; then
|
||||||
|| test -e "${i}/extra/vboxpci.ko"; then
|
|
||||||
rm -f "${i}/extra/vboxdrv.ko" "${i}/extra/vboxnetadp.ko" \
|
rm -f "${i}/extra/vboxdrv.ko" "${i}/extra/vboxnetadp.ko" \
|
||||||
"${i}/extra/vboxnetflt.ko" "${i}/extra/vboxpci.ko"
|
"${i}/extra/vboxnetflt.ko"
|
||||||
# Remove the kernel version folder if it was empty except for us.
|
# Remove the kernel version folder if it was empty except for us.
|
||||||
test "`echo ${i}/extra/* ${i}/extra/.?* ${i}/* ${i}/.?*`" \
|
test "`echo ${i}/extra/* ${i}/extra/.?* ${i}/* ${i}/.?*`" \
|
||||||
= "${i}/extra/* ${i}/extra/.. ${i}/extra ${i}/.." &&
|
= "${i}/extra/* ${i}/extra/.. ${i}/extra ${i}/.." &&
|
||||||
@ -324,9 +315,6 @@ dmnstatus()
|
|||||||
str="$str, vboxnetadp"
|
str="$str, vboxnetadp"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if running vboxpci; then
|
|
||||||
str="$str, vboxpci"
|
|
||||||
fi
|
|
||||||
echo "VirtualBox kernel modules ($str) are loaded."
|
echo "VirtualBox kernel modules ($str) are loaded."
|
||||||
for i in $SHUTDOWN_USERS; do
|
for i in $SHUTDOWN_USERS; do
|
||||||
# don't create the ipcd directory with wrong permissions!
|
# don't create the ipcd directory with wrong permissions!
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
||||||
@@ -114,10 +114,6 @@ void UITools::preparePalette()
|
@@ -114,10 +114,6 @@ void UITools::preparePalette()
|
||||||
{
|
{
|
||||||
/* Setup palette: */
|
/* Setup palette: */
|
||||||
@ -13,11 +13,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UITools::prepareLayout()
|
void UITools::prepareLayout()
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
||||||
@@ -1299,7 +1299,7 @@ void UIVirtualBoxManager::prepareMenuBar
|
@@ -1328,7 +1328,7 @@ void UIVirtualBoxManager::prepareMenuBar
|
||||||
/* Make sure menu-bar fills own solid background: */
|
/* Make sure menu-bar fills own solid background: */
|
||||||
menuBar()->setAutoFillBackground(true);
|
menuBar()->setAutoFillBackground(true);
|
||||||
QPalette pal = menuBar()->palette();
|
QPalette pal = menuBar()->palette();
|
||||||
@ -26,10 +26,10 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
|
|||||||
pal.setColor(QPalette::Active, QPalette::Button, color);
|
pal.setColor(QPalette::Active, QPalette::Button, color);
|
||||||
menuBar()->setPalette(pal);
|
menuBar()->setPalette(pal);
|
||||||
}
|
}
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
||||||
@@ -121,10 +121,6 @@ void UIChooser::preparePalette()
|
@@ -121,10 +121,6 @@ void UIChooser::preparePalette()
|
||||||
{
|
{
|
||||||
/* Setup palette: */
|
/* Setup palette: */
|
||||||
@ -41,11 +41,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UIChooser::prepareLayout()
|
void UIChooser::prepareLayout()
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
|
||||||
@@ -1025,7 +1025,7 @@ void UIChooserItemMachine::paintBackgrou
|
@@ -902,7 +902,7 @@ void UIChooserItemMachine::paintBackgrou
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Prepare color: */
|
/* Prepare color: */
|
||||||
@ -54,7 +54,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.
|
|||||||
/* Draw gradient: */
|
/* Draw gradient: */
|
||||||
QLinearGradient bgGrad(rectangle.topLeft(), rectangle.bottomLeft());
|
QLinearGradient bgGrad(rectangle.topLeft(), rectangle.bottomLeft());
|
||||||
bgGrad.setColorAt(0, backgroundColor.lighter(m_iDefaultLightnessMax));
|
bgGrad.setColorAt(0, backgroundColor.lighter(m_iDefaultLightnessMax));
|
||||||
@@ -1054,7 +1054,7 @@ void UIChooserItemMachine::paintBackgrou
|
@@ -931,7 +931,7 @@ void UIChooserItemMachine::paintBackgrou
|
||||||
/* Default background: */
|
/* Default background: */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -63,7 +63,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.
|
|||||||
color1 = backgroundColor.lighter(m_iDefaultLightnessMax);
|
color1 = backgroundColor.lighter(m_iDefaultLightnessMax);
|
||||||
color2 = backgroundColor.lighter(m_iDefaultLightnessMax - 70);
|
color2 = backgroundColor.lighter(m_iDefaultLightnessMax - 70);
|
||||||
}
|
}
|
||||||
@@ -1075,7 +1075,7 @@ void UIChooserItemMachine::paintBackgrou
|
@@ -952,7 +952,7 @@ void UIChooserItemMachine::paintBackgrou
|
||||||
/* Default background: */
|
/* Default background: */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -72,7 +72,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.
|
|||||||
color1 = backgroundColor.lighter(m_iDefaultLightnessMin);
|
color1 = backgroundColor.lighter(m_iDefaultLightnessMin);
|
||||||
color2 = backgroundColor.lighter(m_iDefaultLightnessMin - 40);
|
color2 = backgroundColor.lighter(m_iDefaultLightnessMin - 40);
|
||||||
}
|
}
|
||||||
@@ -1110,7 +1110,7 @@ void UIChooserItemMachine::paintFrame(QP
|
@@ -987,7 +987,7 @@ void UIChooserItemMachine::paintFrame(QP
|
||||||
strokeColor = pal.color(QPalette::Active, QPalette::Highlight).lighter(m_iHoverLightnessMin - 50);
|
strokeColor = pal.color(QPalette::Active, QPalette::Highlight).lighter(m_iHoverLightnessMin - 50);
|
||||||
/* Default frame: */
|
/* Default frame: */
|
||||||
else
|
else
|
||||||
@ -81,10 +81,10 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.
|
|||||||
|
|
||||||
/* Create/assign pen: */
|
/* Create/assign pen: */
|
||||||
QPen pen(strokeColor);
|
QPen pen(strokeColor);
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
||||||
@@ -710,7 +710,7 @@ void UIToolsItem::paintBackground(QPaint
|
@@ -710,7 +710,7 @@ void UIToolsItem::paintBackground(QPaint
|
||||||
/* Prepare color: */
|
/* Prepare color: */
|
||||||
const QColor backgroundColor = isEnabled()
|
const QColor backgroundColor = isEnabled()
|
||||||
@ -123,11 +123,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
|
|||||||
|
|
||||||
/* Create/assign pen: */
|
/* Create/assign pen: */
|
||||||
QPen pen(strokeColor);
|
QPen pen(strokeColor);
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
||||||
@@ -355,14 +355,6 @@ void UIVirtualBoxManagerWidget::prepare(
|
@@ -314,14 +314,6 @@ void UIVirtualBoxManagerWidget::prepare(
|
||||||
{
|
{
|
||||||
/* Configure palette: */
|
/* Configure palette: */
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
@ -142,7 +142,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
|||||||
|
|
||||||
/* Prepare: */
|
/* Prepare: */
|
||||||
prepareWidgets();
|
prepareWidgets();
|
||||||
@@ -490,7 +482,7 @@ void UIVirtualBoxManagerWidget::prepareW
|
@@ -449,7 +441,7 @@ void UIVirtualBoxManagerWidget::prepareW
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adjust splitter colors according to main widgets it splits: */
|
/* Adjust splitter colors according to main widgets it splits: */
|
||||||
@ -151,11 +151,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
|
|||||||
/* Set the initial distribution. The right site is bigger. */
|
/* Set the initial distribution. The right site is bigger. */
|
||||||
m_pSplitter->setStretchFactor(0, 2);
|
m_pSplitter->setStretchFactor(0, 2);
|
||||||
m_pSplitter->setStretchFactor(1, 3);
|
m_pSplitter->setStretchFactor(1, 3);
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
||||||
@@ -642,7 +642,7 @@ void UIChooserItem::paintFlatButton(QPai
|
@@ -643,7 +643,7 @@ void UIChooserItem::paintFlatButton(QPai
|
||||||
|
|
||||||
/* Prepare colors: */
|
/* Prepare colors: */
|
||||||
const QPalette pal = QApplication::palette();
|
const QPalette pal = QApplication::palette();
|
||||||
@ -164,11 +164,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
|
|||||||
|
|
||||||
/* Prepare pen: */
|
/* Prepare pen: */
|
||||||
QPen pen;
|
QPen pen;
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
||||||
@@ -178,10 +178,6 @@ void UIChooserView::prepare()
|
@@ -245,10 +245,6 @@ void UIChooserView::prepare()
|
||||||
void UIChooserView::preparePalette()
|
void UIChooserView::preparePalette()
|
||||||
{
|
{
|
||||||
/* Setup palette: */
|
/* Setup palette: */
|
||||||
@ -179,10 +179,10 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UIChooserView::resizeEvent(QResizeEvent *pEvent)
|
void UIChooserView::resizeEvent(QResizeEvent *pEvent)
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
||||||
@@ -182,10 +182,6 @@ void UIToolsView::prepare()
|
@@ -182,10 +182,6 @@ void UIToolsView::prepare()
|
||||||
void UIToolsView::preparePalette()
|
void UIToolsView::preparePalette()
|
||||||
{
|
{
|
||||||
@ -194,11 +194,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsView.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UIToolsView::resizeEvent(QResizeEvent *pEvent)
|
void UIToolsView::resizeEvent(QResizeEvent *pEvent)
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
||||||
@@ -667,7 +667,7 @@ void UIDetailsElement::paintBackground(Q
|
@@ -1183,7 +1183,7 @@ void UIDetailsElement::paintBackground(Q
|
||||||
const QPalette pal = palette();
|
const QPalette pal = palette();
|
||||||
|
|
||||||
/* Paint default background: */
|
/* Paint default background: */
|
||||||
@ -207,7 +207,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
|||||||
const QColor dcTone1 = defaultColor.lighter(m_iDefaultToneFinal);
|
const QColor dcTone1 = defaultColor.lighter(m_iDefaultToneFinal);
|
||||||
const QColor dcTone2 = defaultColor.lighter(m_iDefaultToneStart);
|
const QColor dcTone2 = defaultColor.lighter(m_iDefaultToneStart);
|
||||||
QLinearGradient gradientDefault(fullRect.topLeft(), fullRect.bottomLeft());
|
QLinearGradient gradientDefault(fullRect.topLeft(), fullRect.bottomLeft());
|
||||||
@@ -708,7 +708,7 @@ void UIDetailsElement::paintFrame(QPaint
|
@@ -1224,7 +1224,7 @@ void UIDetailsElement::paintFrame(QPaint
|
||||||
: optionRect;
|
: optionRect;
|
||||||
|
|
||||||
/* Paint frame: */
|
/* Paint frame: */
|
||||||
@ -216,10 +216,10 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp
|
|||||||
QPen pen(strokeColor);
|
QPen pen(strokeColor);
|
||||||
pen.setWidth(0);
|
pen.setWidth(0);
|
||||||
pPainter->setPen(pen);
|
pPainter->setPen(pen);
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
||||||
@@ -110,7 +110,7 @@ void UIToolBar::paintEvent(QPaintEvent *
|
@@ -110,7 +110,7 @@ void UIToolBar::paintEvent(QPaintEvent *
|
||||||
const QRect rectangle = pEvent->rect();
|
const QRect rectangle = pEvent->rect();
|
||||||
|
|
||||||
@ -229,10 +229,10 @@ Index: b/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
|
|||||||
QLinearGradient gradient(rectangle.topLeft(), rectangle.bottomLeft());
|
QLinearGradient gradient(rectangle.topLeft(), rectangle.bottomLeft());
|
||||||
gradient.setColorAt(0, backgroundColor.lighter(130));
|
gradient.setColorAt(0, backgroundColor.lighter(130));
|
||||||
gradient.setColorAt(1, backgroundColor.lighter(125));
|
gradient.setColorAt(1, backgroundColor.lighter(125));
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
||||||
@@ -700,7 +700,7 @@ void UIDetailsSet::paintBackground(QPain
|
@@ -700,7 +700,7 @@ void UIDetailsSet::paintBackground(QPain
|
||||||
const QRect optionRect = pOptions->rect;
|
const QRect optionRect = pOptions->rect;
|
||||||
|
|
||||||
@ -242,11 +242,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp
|
|||||||
pPainter->fillRect(optionRect, defaultColor);
|
pPainter->fillRect(optionRect, defaultColor);
|
||||||
|
|
||||||
/* Restore painter: */
|
/* Restore painter: */
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
|
||||||
@@ -655,7 +655,7 @@ void UIChooserItemGlobal::paintBackgroun
|
@@ -639,7 +639,7 @@ void UIChooserItemGlobal::paintBackgroun
|
||||||
pPainter->fillRect(rectangle, bgGrad);
|
pPainter->fillRect(rectangle, bgGrad);
|
||||||
#else
|
#else
|
||||||
/* Prepare color: */
|
/* Prepare color: */
|
||||||
@ -255,7 +255,7 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.c
|
|||||||
/* Draw gradient: */
|
/* Draw gradient: */
|
||||||
pPainter->fillRect(rectangle, backgroundColor);
|
pPainter->fillRect(rectangle, backgroundColor);
|
||||||
#endif
|
#endif
|
||||||
@@ -686,7 +686,7 @@ void UIChooserItemGlobal::paintFrame(QPa
|
@@ -670,7 +670,7 @@ void UIChooserItemGlobal::paintFrame(QPa
|
||||||
strokeColor = pal.color(QPalette::Active, QPalette::Highlight).lighter(m_iHoverLightnessMin - 50);
|
strokeColor = pal.color(QPalette::Active, QPalette::Highlight).lighter(m_iHoverLightnessMin - 50);
|
||||||
/* Default frame: */
|
/* Default frame: */
|
||||||
else
|
else
|
||||||
@ -264,11 +264,11 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.c
|
|||||||
|
|
||||||
/* Create/assign pen: */
|
/* Create/assign pen: */
|
||||||
QPen pen(strokeColor);
|
QPen pen(strokeColor);
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
||||||
@@ -288,7 +288,7 @@ void UIDetailsGroup::paintBackground(QPa
|
@@ -277,7 +277,7 @@ void UIDetailsGroup::paintBackground(QPa
|
||||||
#ifdef VBOX_WS_MAC
|
#ifdef VBOX_WS_MAC
|
||||||
const QColor defaultColor = palette().color(QPalette::Active, QPalette::Mid).lighter(145);
|
const QColor defaultColor = palette().color(QPalette::Active, QPalette::Mid).lighter(145);
|
||||||
#else
|
#else
|
||||||
@ -277,23 +277,23 @@ Index: b/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsGroup.cpp
|
|||||||
#endif
|
#endif
|
||||||
pPainter->fillRect(optionRect, defaultColor);
|
pPainter->fillRect(optionRect, defaultColor);
|
||||||
|
|
||||||
Index: b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
Index: VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
--- VirtualBox-6.1.0_BETA1.orig/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
||||||
+++ b/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
+++ VirtualBox-6.1.0_BETA1/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
|
||||||
@@ -1630,7 +1630,7 @@ void UIChooserItemGroup::paintBackground
|
@@ -1499,7 +1499,7 @@ void UIChooserItemGroup::paintBackground
|
||||||
const QPalette pal = palette();
|
const QPalette pal = palette();
|
||||||
const QColor headerColor = pal.color(QPalette::Active,
|
const QColor headerColor = pal.color(QPalette::Active,
|
||||||
model()->currentItems().contains(this) ?
|
model()->selectedItems().contains(this) ?
|
||||||
- QPalette::Highlight : QPalette::Midlight);
|
- QPalette::Highlight : QPalette::Midlight);
|
||||||
+ QPalette::Highlight : QPalette::Button);
|
+ QPalette::Highlight : QPalette::Button);
|
||||||
|
|
||||||
/* Root-item: */
|
/* Root-item: */
|
||||||
if (isRoot())
|
if (isRoot())
|
||||||
@@ -1714,7 +1714,7 @@ void UIChooserItemGroup::paintFrame(QPai
|
@@ -1596,7 +1596,7 @@ void UIChooserItemGroup::paintFrame(QPai
|
||||||
const QPalette pal = palette();
|
const QPalette pal = palette();
|
||||||
const QColor strokeColor = pal.color(QPalette::Active,
|
const QColor strokeColor = pal.color(QPalette::Active,
|
||||||
model()->currentItems().contains(this) ?
|
model()->selectedItems().contains(this) ?
|
||||||
- QPalette::Highlight : QPalette::Midlight).darker(headerDarkness() + 10);
|
- QPalette::Highlight : QPalette::Midlight).darker(headerDarkness() + 10);
|
||||||
+ QPalette::Highlight : QPalette::Button).darker(headerDarkness() + 10);
|
+ QPalette::Highlight : QPalette::Button).darker(headerDarkness() + 10);
|
||||||
|
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
/lib/modules/%2-%1/extra/vboxdrv.ko
|
/lib/modules/%2-%1/extra/vboxdrv.ko
|
||||||
/lib/modules/%2-%1/extra/vboxnetadp.ko
|
/lib/modules/%2-%1/extra/vboxnetadp.ko
|
||||||
/lib/modules/%2-%1/extra/vboxnetflt.ko
|
/lib/modules/%2-%1/extra/vboxnetflt.ko
|
||||||
/lib/modules/%2-%1/extra/vboxpci.ko
|
|
||||||
/lib/modules/%2-%1/extra/vboxsf.ko
|
/lib/modules/%2-%1/extra/vboxsf.ko
|
||||||
/lib/modules/%2-%1/extra/vboxguest.ko
|
/lib/modules/%2-%1/extra/vboxguest.ko
|
||||||
|
/lib/modules/%2-%1/extra/vboxvideo.ko
|
||||||
|
@ -1,3 +1,132 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 22:56:58 UTC 2020 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Version update to 6.1.2 (released January 14 2020i by Oracle)
|
||||||
|
|
||||||
|
18 Vulnerabilities fixed: CVE-2020-2674 CVE-2020-2682 CVE-2020-2698 CVE-2020-2701 CVE-2020-2702 CVE-2020-2726
|
||||||
|
CVE-2020-2681 CVE-2020-2689 CVE-2020-2690 CVE-2020-2691 CVE-2020-2692 CVE-2020-2703
|
||||||
|
CVE-2020-2704 CVE-2020-2705 CVE-2020-2725 CVE-2020-2678 CVE-2020-2727 CVE-2020-2693
|
||||||
|
See bsc#1161050
|
||||||
|
File "fixes_for_leap15.2.patch" added to fix build for Leap 15.2.
|
||||||
|
File "vbox_fix_for_gcc7.patch" is deleted - fixed upstream.
|
||||||
|
File "fixes_for_5.4.patch" is deleted - fixed upstream.
|
||||||
|
Exclude 32-bit builds
|
||||||
|
Update so the openSUSE Leap 42.3 builds OK.
|
||||||
|
|
||||||
|
As announced earlier by Oracle, 32-bit builds are no longer supported.
|
||||||
|
|
||||||
|
This is a maintenance release. The following items were fixed and/or added:
|
||||||
|
|
||||||
|
Virtualization core: fixed performance issue observed with Windows XP guests on AMD hosts (6.0.0 regression; bug #19152)
|
||||||
|
Virtualization core: consistent IBRS/IBPB CPUID feature reporting, avoids crash of NetBSD 9.0 RC1 installer (bug #19146)
|
||||||
|
GUI: fixed updating of runtime info
|
||||||
|
GUI: in Display settings, do not show "2D video acceleration" checkbox if it is meaningless for the selected graphics adapter
|
||||||
|
Audio: fixed audio input handling when VRDE is enabled
|
||||||
|
Audio: fixed crash in the HDA emulation when using multi-speaker configurations
|
||||||
|
Storage: fixed use of encrypted disks with snapshots involved (6.1.0 regression; bug #19160)
|
||||||
|
Storage: improve performance of virtio-scsi
|
||||||
|
Storage: read-only support for compressed clusters in QCOW2 images
|
||||||
|
Linux host: Support Linux 5.5 (guest additions not yet)
|
||||||
|
Windows guest: accelerate 2D video decoding (scaling and color space conversion) if the VM is configured to use VBoxSVGA with 3D enabled
|
||||||
|
Windows guest: fix guest additions installer to upgrade the mouse filter driver reliably
|
||||||
|
Windows guest: when uninstalling older Guest Additions with old 3D support enabled try restoring original Direct3D files
|
||||||
|
Linux guest: improve resize and multi-monitor handling for VMs using VMSVGA (known remaining issue: do not disable a monitor "in the middle", causes confusion)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 24 21:59:07 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Version update to 6.1.0 (released December 10 2019 by Oracle)
|
||||||
|
- Fixes bsc#1132102.
|
||||||
|
- Removed file "set_graphics_type.patch" as the problem is fixed upstream.
|
||||||
|
|
||||||
|
This is a major update. The following major new features were added:
|
||||||
|
|
||||||
|
- Implemented support for importing a virtual machine from Oracle Cloud Infrastructure
|
||||||
|
- Extended support for exporting a virtual machine to Oracle Cloud Infrastructure, allowing the creation
|
||||||
|
of multiple virtual machines without re-uploading. Also added option to export a VM to the cloud using the more efficient
|
||||||
|
variant "paravirtialized", and to specify free-form tags for cloud images
|
||||||
|
- Virtualization core: Support for nested hardware-virtualization on Intel CPUs (starting with 5th generation Core i,
|
||||||
|
codename Broadwell), so far tested only with guest running VirtualBox
|
||||||
|
- Graphics: New style 3D support (with VBoxSVGA and VMSVGA) remains, old style 3D support (with VBoxVGA) has been completely removed
|
||||||
|
- Shared Clipboard: Implemented experimental support for file transfers (Windows hosts/guests only at the moment).
|
||||||
|
Needs to be enabled via VBoxManage (disabled by default). In addition, the following items were fixed and/or added:
|
||||||
|
|
||||||
|
In addition, the following items were fixed and/or added:
|
||||||
|
|
||||||
|
- Virtualization core: Drop recompiler, i.e. running VMs now needs a CPU supporting hardware virtualization
|
||||||
|
- Runtime: Works now on hosts with many CPUs (limit now 1024)
|
||||||
|
- Appliance and Cloud Import: Add field for defining firmware type (not part of OVF spec and thus manual in the Appliance case,
|
||||||
|
for OCI it is automatically taken from the instance information)
|
||||||
|
- GUI: Improved the VISO creation and file manager dialogs
|
||||||
|
- GUI: Virtual machine list of VirtualBox Manager was improved. Machine groups are now more obvious visually and VM
|
||||||
|
search functionality has been improved. Global Tools element can now be pinned in place, to avoid scrolling it with rest of machine list
|
||||||
|
- GUI: Virtual machine details pane is now extended with embedded editors for selected VM attributes, allowing user to edit them
|
||||||
|
on-the-fly byi clicking corresponding hyper-links without opening VM settings dialog
|
||||||
|
- GUI: Details pane provides more complete information
|
||||||
|
- GUI: Internal medium enumeration routines were optimized to reduce the load and optimize the performance in cases when
|
||||||
|
user have lots of media registered. Also, we again allowed to add existing media (and create new) via Virtual Media Manager
|
||||||
|
- GUI: More consistent medium selection (both showing known images and allowing to select using the file picker)
|
||||||
|
- GUI: VM storage settings page was adjusted a bit in usability regard. User is now allowed to change controller bus type
|
||||||
|
and can move attachments between the controllers by using drag and drop
|
||||||
|
- GUI: Storage and Network settings pages bug-fixes and usability optimization
|
||||||
|
- GUI: Added a new soft (virtual) keyboard enabling arbitrary keyboard input to guests, including multimedia keys
|
||||||
|
- GUI: Fixed crash in cloud related wizards when accessibility functionality was enabled
|
||||||
|
- GUI: Show VM CPU load as part of status bar CPU indicator
|
||||||
|
- GUI: Improved and extended the Session Information dialog
|
||||||
|
- GUI: Fixed/improved mouse pointer scaling
|
||||||
|
- GUI: Some issues related to mouse integration cursor scaling were addressed (bug #14366), more to go
|
||||||
|
- GUI: Fix and unify geometry save/restore in various dialogs
|
||||||
|
- GUI: Added the missing restriction options for disabling new functionality such as the VISO creator
|
||||||
|
- GUI: Popup messages mouse click fix
|
||||||
|
- Graphics: Remove 3D support for VBoxVGA (old one deprecated with 6.0)
|
||||||
|
- Graphics: Additional texture format support on Windows host
|
||||||
|
- Graphics: Improved fix for flickering on Windows host
|
||||||
|
- Input: Added support for horizontal scrolling in the PS/2 mouse device using the IntelliMouse Explorer protocol.
|
||||||
|
Note that this support is automatically used by Linux guests but not by Windows guests
|
||||||
|
- vboximg-mount: Experimental support for direct read-only access to NTFS, FAT and ext2/3/4 filesystems inside a disk
|
||||||
|
image without the need for support on the host
|
||||||
|
- vboximg-mount: Now also available on Linux host
|
||||||
|
- Storage: Experimental support for virtio-scsi, for both hard disks and optical drives (including boot support in BIOS)
|
||||||
|
- Storage: For optical drive emulation fix empty host drive crash
|
||||||
|
- USB: Improvements for EHCI controller implementation
|
||||||
|
- USB: Filter can now specify port path, uniquely identifying a port in a system
|
||||||
|
- NAT: Fix TFTP OACK response, send only if request has options
|
||||||
|
- NAT Network: Use non-blocking sockets on Linux for accepted incoming connections (port forwarding)
|
||||||
|
- PCnet-ISA: Added new network adapter type, currently CLI only
|
||||||
|
- Audio: Allow changing the host audio backend while the VM is in saved state
|
||||||
|
- ACPI: Report NVMe controller
|
||||||
|
- VGA: Improve hardware and BIOS compatibility
|
||||||
|
- VBoxSVGA/VMSVGA: Support YUV2 and related texture formats with hosts using OpenGL (macOS and Linux),
|
||||||
|
which accelerates video playback when 3D is enabled by delegating the color space conversion to the host GPU
|
||||||
|
- VBoxSVGA/VMSVGA: Several drawing fixes for the 3D case
|
||||||
|
- VMSVGA 3D: Fixed OpenGL compressed textures
|
||||||
|
- VBoxManage: More cloud functionality coverage, e.g. starting a cloud instance
|
||||||
|
- VBoxManage: As part of the guest control feature support moving multiple source files/directories to a target directory
|
||||||
|
- Guest Control/VBoxManage: Added support for specifying multiple sources when renaming guest files
|
||||||
|
- VBoxManage: Show "unrestricted guest" and "nested HW virtualization" CPU features when listing the host information
|
||||||
|
- API: Reduce the amount of leftovers from Move VM function
|
||||||
|
- Shared Clipboard: Implemented experimental support for file transfers for Linux hosts on Windows guests (disabled by default)
|
||||||
|
- SMBIOS: Store system UUID in little endian format which is the default for new VMs, while existing VMs stick to the old VirtualBox
|
||||||
|
behavior of storing them in big endian format for backwards compatibility to avoid breaking the activation status of Windows VMs
|
||||||
|
- VBoxSDL frontend: Fixed running on Windows hosts
|
||||||
|
- Linux host: Improve vboxweb systemd service dependency information
|
||||||
|
- Linux host: Drop PCI passthrough, the current code is too incomplete (cannot handle PCIe devices at all), i.e. not useful enough
|
||||||
|
- Linux host and guest: Support Linux 5.4 (bug #18945)
|
||||||
|
- Linux host and guest: Force disabling of kernel module signing during build (user can do it afterwards)
|
||||||
|
- Windows Guest Additions: Many fixes for drawing problems in the driver for VBoxSVGA
|
||||||
|
- Windows Guest Additions: Fixes for legacy VBoxVGA adapter, restore previously working cases
|
||||||
|
- Windows Guest Additions: Restore VHWA functionality for VBoxSVGA
|
||||||
|
- Windows guest: DXVA implementation for WDDM driver
|
||||||
|
- Documentation: Updated supported host operating systems, added few new manual pages (more to come later)
|
||||||
|
- EFI: Switch to newer firmware code base and add NVRAM support, should improve compatibility with OSes significantly
|
||||||
|
- EFI: Added support for booting from APFS
|
||||||
|
- EFI: Added support for non-standard SATA and NVMe boot device paths created by OS X
|
||||||
|
|
||||||
|
Tue Dec 24 01:49:21 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Turn build of vboxvideo back on just in case VB is used with an older kernel,
|
||||||
|
and make the necessary fixes for kernel v5.5.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 18 19:47:16 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
Wed Dec 18 19:47:16 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package virtualbox
|
# spec file for package virtualbox
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -46,8 +46,8 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile
|
|||||||
%define _vbox_instdir %{_libexecdir}/virtualbox
|
%define _vbox_instdir %{_libexecdir}/virtualbox
|
||||||
%define _udevrulesdir /usr/lib/udev/rules.d
|
%define _udevrulesdir /usr/lib/udev/rules.d
|
||||||
Name: virtualbox
|
Name: virtualbox
|
||||||
# ********* If the VB version exceeds 6.0.x, notify the libvirt maintainer!!
|
# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
|
||||||
Version: 6.0.14
|
Version: 6.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: VirtualBox is an Emulator
|
Summary: VirtualBox is an Emulator
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -98,8 +98,6 @@ Patch9: vbox-deprec-gsoap-service-proxies.diff
|
|||||||
#fix failed linking process during build - this patch is just quick workaround
|
#fix failed linking process during build - this patch is just quick workaround
|
||||||
Patch10: vbox-gsoapssl-deps.diff
|
Patch10: vbox-gsoapssl-deps.diff
|
||||||
#PATCH-FIX-OPENSUSE implement messagebox (VBoxPermissionMessage app), which is displayed, when user
|
#PATCH-FIX-OPENSUSE implement messagebox (VBoxPermissionMessage app), which is displayed, when user
|
||||||
# Set graphics adapter type to VBoxVGA boo#1151896
|
|
||||||
Patch98: set_graphics_type.patch
|
|
||||||
#try to start VirtualBox and is not member of vboxusers group
|
#try to start VirtualBox and is not member of vboxusers group
|
||||||
Patch99: vbox-permissions_warning.diff
|
Patch99: vbox-permissions_warning.diff
|
||||||
#PATCH-FIX-OPENSUSE Do not include build dates on binaries, makes build-compare happier
|
#PATCH-FIX-OPENSUSE Do not include build dates on binaries, makes build-compare happier
|
||||||
@ -129,8 +127,6 @@ Patch111: fix_conflict_between_host_and_guest.patch
|
|||||||
Patch112: modify_for_4_8_bo_move.patch
|
Patch112: modify_for_4_8_bo_move.patch
|
||||||
# Remove all mention of _smp_mflags
|
# Remove all mention of _smp_mflags
|
||||||
Patch113: vbox_remove_smp_mflags.patch
|
Patch113: vbox_remove_smp_mflags.patch
|
||||||
# Allow use of gcc7
|
|
||||||
Patch115: vbox_fix_for_gcc7.patch
|
|
||||||
# Fix for missing include needed for server 1.19
|
# Fix for missing include needed for server 1.19
|
||||||
Patch116: Fix_for_server_1.19.patch
|
Patch116: Fix_for_server_1.19.patch
|
||||||
# Fix invalid use of internal headers
|
# Fix invalid use of internal headers
|
||||||
@ -149,14 +145,12 @@ Patch128: fix_lib_search.patch
|
|||||||
Patch130: fixes_for_Leap42.3.patch
|
Patch130: fixes_for_Leap42.3.patch
|
||||||
# Fixes for Qt5.13 on 32-bit systems
|
# Fixes for Qt5.13 on 32-bit systems
|
||||||
Patch132: fixes_for_qt5.13.patch
|
Patch132: fixes_for_qt5.13.patch
|
||||||
#endif
|
# Fixes for openSUSE Leap 15.2
|
||||||
# Fixes for API changes in kernel 5.4
|
Patch133: fixes_for_leap15.2.patch
|
||||||
Patch133: fixes_for_5.4.patch
|
|
||||||
# Fixes for API changes in kernel 5.5
|
# Fixes for API changes in kernel 5.5
|
||||||
Patch134: fixes_for_5.5.patch
|
Patch134: fixes_for_5.5.patch
|
||||||
Patch999: virtualbox-fix-ui-background-color.patch
|
Patch999: virtualbox-fix-ui-background-color.patch
|
||||||
#
|
#
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: LibVNCServer-devel
|
BuildRequires: LibVNCServer-devel
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
BuildRequires: acpica
|
BuildRequires: acpica
|
||||||
@ -181,7 +175,7 @@ BuildRequires: glibc-devel-static
|
|||||||
BuildRequires: gsoap-devel >= 2.8.50
|
BuildRequires: gsoap-devel >= 2.8.50
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: java-devel >= 1.6.0
|
||||||
BuildRequires: kbuild >= 0.1.9998svn3101
|
BuildRequires: kbuild >= 0.1.9998svn3101
|
||||||
BuildRequires: kernel-syms
|
#BuildRequires: kernel-syms
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
@ -217,7 +211,6 @@ BuildRequires: pkgconfig(x11)
|
|||||||
BuildRequires: pkgconfig(xau)
|
BuildRequires: pkgconfig(xau)
|
||||||
BuildRequires: pkgconfig(xcomposite)
|
BuildRequires: pkgconfig(xcomposite)
|
||||||
BuildRequires: pkgconfig(xcursor)
|
BuildRequires: pkgconfig(xcursor)
|
||||||
BuildRequires: pkgconfig(xdamage)
|
|
||||||
BuildRequires: pkgconfig(xdmcp)
|
BuildRequires: pkgconfig(xdmcp)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xextproto)
|
BuildRequires: pkgconfig(xextproto)
|
||||||
@ -242,7 +235,7 @@ Provides: %{name}-ose = %{version}
|
|||||||
Obsoletes: %{name}-ose < %{version}
|
Obsoletes: %{name}-ose < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%(sed -e '/^Provides: multiversion(kernel)/d' %{_libexecdir}/rpm/kernel-module-subpackage > %{_builddir}/virtualbox-kmp-template)
|
%(sed -e '/^Provides: multiversion(kernel)/d' %{_libexecdir}/rpm/kernel-module-subpackage > %{_builddir}/virtualbox-kmp-template)
|
||||||
ExclusiveArch: %ix86 x86_64
|
ExclusiveArch: x86_64
|
||||||
%ifarch amd64 x86_64 ia32e em64t
|
%ifarch amd64 x86_64 ia32e em64t
|
||||||
BuildRequires: gcc-32bit
|
BuildRequires: gcc-32bit
|
||||||
BuildRequires: gcc-c++-32bit
|
BuildRequires: gcc-c++-32bit
|
||||||
@ -425,7 +418,6 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
|||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch98 -p1
|
|
||||||
%patch99 -p1
|
%patch99 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
@ -441,7 +433,6 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
|||||||
%patch111 -p1
|
%patch111 -p1
|
||||||
%patch112 -p1
|
%patch112 -p1
|
||||||
%patch113 -p1
|
%patch113 -p1
|
||||||
%patch115 -p1
|
|
||||||
%patch116 -p1
|
%patch116 -p1
|
||||||
%patch118 -p1
|
%patch118 -p1
|
||||||
%patch120 -p1
|
%patch120 -p1
|
||||||
@ -449,7 +440,6 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
|||||||
%patch123 -p1
|
%patch123 -p1
|
||||||
%patch125 -p1
|
%patch125 -p1
|
||||||
%patch128 -p1
|
%patch128 -p1
|
||||||
echo "sle_version " %{?sle_version}", is_opensuse " %{?is_opensuse}", suse_version " %{?suse_version}
|
|
||||||
# Adjustments that are version dependent
|
# Adjustments that are version dependent
|
||||||
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
|
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
|
||||||
# Patch for Leap 42.3
|
# Patch for Leap 42.3
|
||||||
@ -464,7 +454,6 @@ echo "sle_version " %{?sle_version}", is_opensuse " %{?is_opensuse}", suse_versi
|
|||||||
|
|
||||||
# make VB UI background colors look sane again
|
# make VB UI background colors look sane again
|
||||||
%patch999 -p1
|
%patch999 -p1
|
||||||
echo "sle_version $(0%{?sle_version})"
|
|
||||||
|
|
||||||
#copy user manual
|
#copy user manual
|
||||||
cp %{SOURCE1} UserManual.pdf
|
cp %{SOURCE1} UserManual.pdf
|
||||||
@ -544,12 +533,11 @@ install -D -m 644 "COPYING" "%{buildroot}%{_datadir}/licenses/LICENSE.vnc"
|
|||||||
|
|
||||||
#
|
#
|
||||||
# build kernel modules for guest and host (check novel-kmp package as example)
|
# build kernel modules for guest and host (check novel-kmp package as example)
|
||||||
# host modules : vboxdrv,vboxnetflt,vboxnetadp,vboxpci
|
# host modules : vboxdrv,vboxnetflt,vboxnetadp
|
||||||
# guest modules : vboxguest,vboxsf vboxvideo (for Leap 15.1 and older)
|
# guest modules : vboxguest,vboxsf vboxvideo (for Leap 15.1 and older)
|
||||||
echo "build kernel modules"
|
echo "build kernel modules"
|
||||||
#%if 0%{?suse_version} < 1550
|
for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp} \
|
||||||
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
|
#get the module name from path
|
||||||
module_name=$(basename "$vbox_module")
|
module_name=$(basename "$vbox_module")
|
||||||
|
|
||||||
@ -570,8 +558,7 @@ for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
|
|||||||
|
|
||||||
# copy vboxdrv (for host) module symbols which are used by vboxnetflt and vboxnetadp km's:
|
# copy vboxdrv (for host) module symbols which are used by vboxnetflt and vboxnetadp km's:
|
||||||
if [ "$module_name" = "vboxnetflt" -o \
|
if [ "$module_name" = "vboxnetflt" -o \
|
||||||
"$module_name" = "vboxnetadp" -o \
|
"$module_name" = "vboxnetadp" ] ; then
|
||||||
"$module_name" = "vboxpci" ] ; then
|
|
||||||
cp $PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers \
|
cp $PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers \
|
||||||
$PWD/modules_build_dir/$flavor/$module_name
|
$PWD/modules_build_dir/$flavor/$module_name
|
||||||
SYMBOLS="$PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers"
|
SYMBOLS="$PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers"
|
||||||
@ -599,9 +586,6 @@ install -d -m 755 %{buildroot}%{_bindir}
|
|||||||
install -d -m 755 %{buildroot}%{_sbindir}
|
install -d -m 755 %{buildroot}%{_sbindir}
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
|
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/pixmaps
|
install -d -m 755 %{buildroot}%{_datadir}/pixmaps
|
||||||
%if 0%{?sle_version} != 120300
|
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/metainfo
|
|
||||||
%endif
|
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/applications
|
install -d -m 755 %{buildroot}%{_datadir}/applications
|
||||||
install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
||||||
install -d -m 755 %{buildroot}%{_vbox_instdir}/components
|
install -d -m 755 %{buildroot}%{_vbox_instdir}/components
|
||||||
@ -625,11 +609,7 @@ export INSTALL_MOD_DIR=extra
|
|||||||
export INITRD_IN_POSTTRANS=1
|
export INITRD_IN_POSTTRANS=1
|
||||||
export KMP_NEEDS_MKINITRD=0
|
export KMP_NEEDS_MKINITRD=0
|
||||||
#to install modules we use here similar steps like in build phase, go through all the modules :
|
#to install modules we use here similar steps like in build phase, go through all the modules :
|
||||||
#%if 0%{?suse_version} < 1550
|
for module_name in vbox{drv,netflt,netadp,guest,sf,video}
|
||||||
for module_name in vbox{drv,netflt,pci,netadp,guest,sf,video}
|
|
||||||
#%else
|
|
||||||
#for module_name in vbox{drv,netflt,pci,netadp,guest,sf}
|
|
||||||
#%endif
|
|
||||||
do
|
do
|
||||||
#and through the all flavors
|
#and through the all flavors
|
||||||
for flavor in %{flavors_to_build}; do
|
for flavor in %{flavors_to_build}; do
|
||||||
@ -658,12 +638,6 @@ pushd out/linux.*/release/bin/additions/
|
|||||||
#VBoxClient daemon (support for clipboard,autoresize,seamless windows)
|
#VBoxClient daemon (support for clipboard,autoresize,seamless windows)
|
||||||
install -m 755 VBoxClient %{buildroot}%{_bindir}
|
install -m 755 VBoxClient %{buildroot}%{_bindir}
|
||||||
popd
|
popd
|
||||||
# VBoxOGL* libs for guest-x11 subpackage
|
|
||||||
install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \
|
|
||||||
%{buildroot}%{_libdir}
|
|
||||||
# VBoxEGL* libs for guest-x11 subpackage
|
|
||||||
install -m 755 out/linux.*/release/bin/additions/VBoxEGL*.so \
|
|
||||||
%{buildroot}%{_libdir}
|
|
||||||
# install init script which start VBoxClient daemon (support for clipboard,autoresize,seamless windows)
|
# 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
|
install -m 755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
|
||||||
|
|
||||||
@ -684,7 +658,8 @@ install -m 755 VBoxBalloonCtrl %{buildroot}%{_vbox_instdir}
|
|||||||
install -m 755 webtest %{buildroot}%{_vbox_instdir}
|
install -m 755 webtest %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxDTrace %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxDTrace %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxSDL.so %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 UICommon.so %{buildroot}%{_vbox_instdir}
|
||||||
# create links to vbox tools in PATH - they could be usefull for controlling vbox from command line
|
# create links to vbox tools in PATH - they could be usefull for controlling vbox from command line
|
||||||
ln -s %{_vbox_instdir}/VBoxManage %{buildroot}%{_bindir}/VBoxManage
|
ln -s %{_vbox_instdir}/VBoxManage %{buildroot}%{_bindir}/VBoxManage
|
||||||
ln -s %{_vbox_instdir}/VBoxHeadless %{buildroot}%{_bindir}/VBoxHeadless
|
ln -s %{_vbox_instdir}/VBoxHeadless %{buildroot}%{_bindir}/VBoxHeadless
|
||||||
@ -706,8 +681,8 @@ ln -s %{_vbox_instdir}/VirtualBoxVM %{buildroot}%{_vbox_instdir}/VirtualBox
|
|||||||
install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 *.so %{buildroot}%{_vbox_instdir}
|
install -m 644 *.so %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 *.rc %{buildroot}%{_vbox_instdir}
|
|
||||||
install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
|
install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
|
||||||
|
rm components/VBoxREM.so
|
||||||
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
|
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
|
||||||
# install languages
|
# install languages
|
||||||
install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/
|
install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/
|
||||||
@ -730,7 +705,6 @@ install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# create a menu entry
|
# create a menu entry
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
||||||
install -m 644 out/linux.*/release/bin/VBox.png %{buildroot}%{_datadir}/pixmaps/virtualbox.png
|
install -m 644 out/linux.*/release/bin/VBox.png %{buildroot}%{_datadir}/pixmaps/virtualbox.png
|
||||||
# install config with session shutdown defs
|
# install config with session shutdown defs
|
||||||
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/default/virtualbox
|
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/default/virtualbox
|
||||||
@ -964,14 +938,11 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_vbox_instdir}/VBoxHeadless.so
|
%{_vbox_instdir}/VBoxHeadless.so
|
||||||
%{_vbox_instdir}/VBoxNetDHCP.so
|
%{_vbox_instdir}/VBoxNetDHCP.so
|
||||||
%{_vbox_instdir}/VBoxNetNAT.so
|
%{_vbox_instdir}/VBoxNetNAT.so
|
||||||
%{_vbox_instdir}/VBoxREM*.so
|
|
||||||
%{_vbox_instdir}/VBoxRT.so
|
%{_vbox_instdir}/VBoxRT.so
|
||||||
%{_vbox_instdir}/VBoxSharedFolders.so
|
%{_vbox_instdir}/VBoxSharedFolders.so
|
||||||
%{_vbox_instdir}/VBoxVMM.so
|
%{_vbox_instdir}/VBoxVMM.so
|
||||||
%{_vbox_instdir}/VBoxXPCOMC.so
|
%{_vbox_instdir}/VBoxXPCOMC.so
|
||||||
%{_vbox_instdir}/VBoxXPCOM.so
|
%{_vbox_instdir}/VBoxXPCOM.so
|
||||||
%{_vbox_instdir}/VBoxDDRC.rc
|
|
||||||
%{_vbox_instdir}/VMMRC.rc
|
|
||||||
%{_vbox_instdir}/VBox*.r0
|
%{_vbox_instdir}/VBox*.r0
|
||||||
%{_vbox_instdir}/VMMR0.r0
|
%{_vbox_instdir}/VMMR0.r0
|
||||||
%{_vbox_instdir}/VBoxEFI*.fd
|
%{_vbox_instdir}/VBoxEFI*.fd
|
||||||
@ -986,6 +957,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_vbox_instdir}/VBoxDragAndDropSvc.so
|
%{_vbox_instdir}/VBoxDragAndDropSvc.so
|
||||||
%{_vbox_instdir}/VBoxVMMPreload.so
|
%{_vbox_instdir}/VBoxVMMPreload.so
|
||||||
#todo:double check - if this file should be assigned to the host side
|
#todo:double check - if this file should be assigned to the host side
|
||||||
|
%{_vbox_instdir}/UICommon.so
|
||||||
%{_vbox_instdir}/VBoxHostChannel.so
|
%{_vbox_instdir}/VBoxHostChannel.so
|
||||||
%dir %{_vbox_instdir}/components
|
%dir %{_vbox_instdir}/components
|
||||||
%{_vbox_instdir}/components/*.so
|
%{_vbox_instdir}/components/*.so
|
||||||
@ -1005,10 +977,10 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_sbindir}/rcvboxautostart
|
%{_sbindir}/rcvboxautostart
|
||||||
/sbin/vboxconfig
|
/sbin/vboxconfig
|
||||||
%{_vbox_instdir}/VBoxCreateUSBNode.sh
|
%{_vbox_instdir}/VBoxCreateUSBNode.sh
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
|
||||||
%dir %{_sysconfdir}/vbox
|
%dir %{_sysconfdir}/vbox
|
||||||
%attr(1775,root,vboxusers) %{_sysconfdir}/vbox
|
%attr(1775,root,vboxusers) %{_sysconfdir}/vbox
|
||||||
%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg
|
%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg
|
||||||
@ -1020,8 +992,8 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSUIDMessage
|
%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSUIDMessage
|
||||||
%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules
|
%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules
|
||||||
%attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBox6
|
%attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBox6
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM
|
||||||
%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VBoxSDL
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSDL
|
||||||
%{_vbox_instdir}/VirtualBox
|
%{_vbox_instdir}/VirtualBox
|
||||||
#wrapper script is in bindir
|
#wrapper script is in bindir
|
||||||
%attr(0755,root,root) %{_bindir}/VirtualBox
|
%attr(0755,root,root) %{_bindir}/VirtualBox
|
||||||
@ -1031,13 +1003,11 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_vbox_instdir}/VBoxTestOGL
|
%{_vbox_instdir}/VBoxTestOGL
|
||||||
#qm's translations
|
#qm's translations
|
||||||
%{_datadir}/virtualbox/nls
|
%{_datadir}/virtualbox/nls
|
||||||
%{_vbox_instdir}/VBoxGlobal.so
|
|
||||||
%{_vbox_instdir}/VBoxSVGA3D.so
|
%{_vbox_instdir}/VBoxSVGA3D.so
|
||||||
%{_vbox_instdir}/VirtualBoxVM.so
|
%{_vbox_instdir}/VirtualBoxVM.so
|
||||||
%{_vbox_instdir}/VBoxDbg.so
|
%{_vbox_instdir}/VBoxDbg.so
|
||||||
%{_bindir}/VBoxSDL
|
%{_bindir}/VBoxSDL
|
||||||
%{_vbox_instdir}/VBoxSDL.so
|
%{_vbox_instdir}/VBoxSDL.so
|
||||||
%{_vbox_instdir}/VBoxSharedCrOpenGL.so
|
|
||||||
%{_vbox_instdir}/VBoxKeyboard.so
|
%{_vbox_instdir}/VBoxKeyboard.so
|
||||||
%{_vbox_instdir}/VBoxSharedClipboard.so
|
%{_vbox_instdir}/VBoxSharedClipboard.so
|
||||||
%{_datadir}/pixmaps/virtualbox.png
|
%{_datadir}/pixmaps/virtualbox.png
|
||||||
@ -1053,8 +1023,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%dir %{_libdir}/xorg/modules/input
|
%dir %{_libdir}/xorg/modules/input
|
||||||
%dir %{_libdir}/dri/
|
%dir %{_libdir}/dri/
|
||||||
%{_bindir}/VBoxClient
|
%{_bindir}/VBoxClient
|
||||||
%{_libdir}/VBoxOGL*.so
|
|
||||||
%{_libdir}/VBoxEGL*.so
|
|
||||||
%{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
|
%{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
|
||||||
|
|
||||||
%files guest-tools
|
%files guest-tools
|
||||||
|
Loading…
Reference in New Issue
Block a user