1
0
forked from pool/virtualbox

28 Commits

Author SHA256 Message Date
af828c789b Accepting request 1248094 from Virtualization
- Build python bindings for python311, do not use python3 since
  virtualbox doesn't support python3.13 yet.

rpmfusion/debian patches did not work ultimately
(they probably did not move to 3.13 yet, and only had 3.13 mentioned on a chance)

OBS-URL: https://build.opensuse.org/request/show/1248094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=288
2025-02-24 14:48:30 +00:00
OBS User unknown
47085371cc [info=c69449fd8a98e823269d01975cd8b6f2f416b1e8c57d36a727ba3348655026b3]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=764
2025-02-24 10:53:35 +00:00
OBS User unknown
9a229bd6b6 [info=901a791a5f5a0c927b3ac39f78ebeddd8b485603d34a0919f64d16b512cab69d]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=763
2025-02-24 10:48:12 +00:00
ba1c39dd3f Accepting request 1247018 from Virtualization
- Add newer-pythons.patch

OBS-URL: https://build.opensuse.org/request/show/1247018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=287
2025-02-19 14:58:42 +00:00
OBS User unknown
1fa759675d [info=e2fe2bf734c63aa2e0f2945388394b6c1ff6b71655ebaf989c89a6d63364c7bc]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=762
2025-02-19 10:23:26 +00:00
OBS User unknown
28627050ed [info=1028bd49211f254a8619e0fc02d0508093c139dad19c1496c3110a3d02101c3d]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=761
2025-02-18 13:51:06 +00:00
74a76a8cf6 Accepting request 1239250 from Virtualization
- add: kernel-6-13.patch (bsc#1235146)

OBS-URL: https://build.opensuse.org/request/show/1239250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=286
2025-01-22 15:30:41 +00:00
OBS User unknown
89ce80e57e [info=163ca1c484a13ebe32b8646ae919435d86274337727df55b2b9b05141da30b8d]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=760
2025-01-21 11:49:27 +00:00
abc0386ea6 Accepting request 1234839 from Virtualization
- Remove bogus ExecCondition= from vboxclient.service. [boo#1234870]

OBS-URL: https://build.opensuse.org/request/show/1234839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=285
2025-01-06 15:04:32 +00:00
OBS User unknown
f7f84c2c96 [info=c10cfbdb7cc20c2a99a15daf9c40809212540aab1ddbd420c6f3f2cbf8a152ca]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=759
2025-01-04 01:43:43 +00:00
OBS User unknown
1e0fe5aaf7 [info=98fd308b06b58bba271843c67949f72e148488744c2e7a5a281c3c17532b8d42]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=758
2025-01-03 00:37:52 +00:00
OBS User unknown
4302f9f03e [info=4254eefd364fcbe4d183fa7ec73c1d01ef533d78663821c4b237e9d50bc30d10]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=757
2025-01-03 00:26:49 +00:00
522b8649ef Accepting request 1233843 from Virtualization
- Set kvm.enable_virt_at_load=0 via a modprobe file

OBS-URL: https://build.opensuse.org/request/show/1233843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=284
2024-12-30 11:50:51 +00:00
OBS User unknown
33e474e47d [info=46dc19ce6d92942a4fa58296a7273d586e6affcb763f4ac55747b7283de20885]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=756
2024-12-29 22:40:54 +00:00
27549b0396 Accepting request 1225165 from Virtualization
rectify a bug reference

OBS-URL: https://build.opensuse.org/request/show/1225165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=283
2024-11-20 15:59:01 +00:00
OBS User unknown
860ff60f82 [info=3abb14653c196cfb34edf7a835c59bfc925666fc753d1db517306ceffca5f1f2]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=755
2024-11-19 20:59:41 +00:00
deda901cec Accepting request 1224270 from Virtualization
- Use distro-default INSTALL_MOD_DIR for both kmp and for local-built files. Add host-source.patch [boo#1231346].

OBS-URL: https://build.opensuse.org/request/show/1224270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=282
2024-11-15 14:37:45 +00:00
OBS User unknown
76f29f0942 [info=4c36cc83be5d6e1240ac6cf08a2bdb3ff67b9ef1654da45716e02028e8a9d109]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=754
2024-11-14 16:05:01 +00:00
OBS User unknown
3558be706c [info=b439cb0a114003735dc2cf4761decb52100d329c2a1c17de20cc397a9aaf7b09]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=753
2024-11-14 00:36:58 +00:00
2b3184c013 Accepting request 1208522 from Virtualization
- Update to release 7.1.4

OBS-URL: https://build.opensuse.org/request/show/1208522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=281
2024-10-18 13:52:13 +00:00
OBS User unknown
ea13a7e583 [info=c70a6a774008dcadf1912bb83ebbccb4319c0cc4fe1987ab93396a21d6a61a1f]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=752
2024-10-16 23:54:00 +00:00
dcc13629d7 Accepting request 1205210 from Virtualization
- Edit cxx17.patch to make the Extension Pack work with our
  compiler flags and RT_NOEXCEPT choices. [boo#1231225]
- Set BuildRequire on glslang to 11.5; this is when it starts to
  recognize GL_EXT_spirv_intrinsics.

OBS-URL: https://build.opensuse.org/request/show/1205210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=280
2024-10-02 19:32:34 +00:00
OBS User unknown
d1f29f048a [info=e20690747e339af0538ba9cbf6b354945b9fb9e14db75ef65ba4444cb32b78d7]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=751
2024-10-02 13:26:07 +00:00
OBS User unknown
fa4643bc2e [info=9a0c938a8f191766a80b02b1ead5a8e2090c3041f8478d34302cb0228225e728]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=750
2024-10-01 23:42:22 +00:00
2ba5ab27e3 Accepting request 1204228 from Virtualization
- Update to release 7.1

OBS-URL: https://build.opensuse.org/request/show/1204228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=279
2024-09-30 13:34:27 +00:00
OBS User unknown
a2a4e0d873 [info=e025fac446ecbef0842cc722f451380f4d249ee76f5dae1a384d8d7c7f784449]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=749
2024-09-29 12:05:29 +00:00
a2b67f0919 [info=61f012062ba94d3937eade127cdfda55003e2ff193fe212a237162ade7373915]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=748
2024-09-29 12:01:17 +00:00
9953038bec - Update to release 7.1
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=747
2024-09-22 21:21:42 +00:00
20 changed files with 94 additions and 215 deletions

3
.gitattributes vendored
View File

@@ -15,10 +15,11 @@
*.tbz filter=lfs diff=lfs merge=lfs -text *.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text *.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text *.tgz filter=lfs diff=lfs merge=lfs -text
*.tpxz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text *.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text *.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text *.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text *.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
VirtualBox-7.1.4-patched.tpxz filter=lfs diff=lfs merge=lfs -text

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd2fe03a82514f7c7e2673cbdcd8496ace2bee5925c54dca92f1a6d74fdc09dc
size 150630796

BIN
VirtualBox-7.2.0-patched.tpxz (Stored with Git LFS)

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1740394380
commit: c69449fd8a98e823269d01975cd8b6f2f416b1e8c57d36a727ba3348655026b3
url: https://src.opensuse.org/jengelh/virtualbox
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2fb4af1284032e44ad62b5ee28863c8f6deb7add562c0302ad9b80114b6e5a3
size 256

View File

@@ -1,13 +1,8 @@
--- Index: VirtualBox-7.0.20/configure
configure | 17 ++++++-----------
src/VBox/Frontends/VBoxSDL/Makefile.kmk | 8 ++++----
2 files changed, 10 insertions(+), 15 deletions(-)
Index: VirtualBox-7.2.0/configure
=================================================================== ===================================================================
--- VirtualBox-7.2.0.orig/configure --- VirtualBox-7.0.20.orig/configure
+++ VirtualBox-7.2.0/configure +++ VirtualBox-7.0.20/configure
@@ -1150,21 +1150,19 @@ check_sdl() @@ -1186,21 +1186,19 @@ check_sdl()
fail fail
fi fi
else else
@@ -32,7 +27,7 @@ Index: VirtualBox-7.2.0/configure
#undef main #undef main
extern "C" int main(int argc, char** argv) extern "C" int main(int argc, char** argv)
{ {
@@ -1180,7 +1178,7 @@ extern "C" int main(int argc, char** arg @@ -1216,7 +1214,7 @@ extern "C" int main(int argc, char** arg
} }
EOF EOF
[ -n "$INCSDL" ] && I_INCSDL=`prefix_I "$INCSDL"` [ -n "$INCSDL" ] && I_INCSDL=`prefix_I "$INCSDL"`
@@ -41,7 +36,7 @@ Index: VirtualBox-7.2.0/configure
if test_execute; then if test_execute; then
cnf_append "LIB_SDK_LIBSDL_SDL" "`strip_l "$LIBSDL"`" cnf_append "LIB_SDK_LIBSDL_SDL" "`strip_l "$LIBSDL"`"
cnf_append "SDK_LIBSDL_LIBPATH" "`strip_L "$LIBSDL"`" cnf_append "SDK_LIBSDL_LIBPATH" "`strip_L "$LIBSDL"`"
@@ -2960,11 +2958,8 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then @@ -3010,11 +3008,8 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
[ $WITH_LIBLZMA -eq 1 ] && check_liblzma [ $WITH_LIBLZMA -eq 1 ] && check_liblzma
[ "$OS" != "darwin" ] && check_png [ "$OS" != "darwin" ] && check_png
[ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
@@ -55,20 +50,20 @@ Index: VirtualBox-7.2.0/configure
[ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf [ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf
[ $WITH_X11 -eq 1 ] && check_x [ $WITH_X11 -eq 1 ] && check_x
# TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only) # TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only)
Index: VirtualBox-7.2.0/src/VBox/Frontends/VBoxSDL/Makefile.kmk Index: VirtualBox-7.0.20/src/VBox/Frontends/VBoxSDL/Makefile.kmk
=================================================================== ===================================================================
--- VirtualBox-7.2.0.orig/src/VBox/Frontends/VBoxSDL/Makefile.kmk --- VirtualBox-7.0.20.orig/src/VBox/Frontends/VBoxSDL/Makefile.kmk
+++ VirtualBox-7.2.0/src/VBox/Frontends/VBoxSDL/Makefile.kmk +++ VirtualBox-7.0.20/src/VBox/Frontends/VBoxSDL/Makefile.kmk
@@ -51,7 +51,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K @@ -51,7 +51,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
PROGRAMS += VBoxSDL PROGRAMS += VBoxSDL
endif endif
VBoxSDL_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientSignedExe) VBoxSDL_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe)
- VBoxSDL_SDKS = LIBSDL2 - VBoxSDL_SDKS = LIBSDL2
+ VBoxSDL_SDKS = LIBSDL + VBoxSDL_SDKS = LIBSDL
VBoxSDL_SOURCES = \ VBoxSDL_SOURCES = \
VBoxSDL.cpp \ VBoxSDL.cpp \
Framebuffer.cpp \ Framebuffer.cpp \
@@ -78,7 +78,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K @@ -81,7 +81,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
endif endif
ifn1of ($(KBUILD_TARGET), solaris) # Probably wrong with SDL2 ifn1of ($(KBUILD_TARGET), solaris) # Probably wrong with SDL2
VBoxSDL_LIBS = \ VBoxSDL_LIBS = \
@@ -77,7 +72,7 @@ Index: VirtualBox-7.2.0/src/VBox/Frontends/VBoxSDL/Makefile.kmk
endif endif
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
VBoxSDL_LIBS += \ VBoxSDL_LIBS += \
@@ -116,7 +116,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K @@ -121,7 +121,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
if 0 if 0
PROGRAMS += tstSDL PROGRAMS += tstSDL
tstSDL_TEMPLATE = VBoxR3TstExe tstSDL_TEMPLATE = VBoxR3TstExe
@@ -86,7 +81,7 @@ Index: VirtualBox-7.2.0/src/VBox/Frontends/VBoxSDL/Makefile.kmk
tstSDL_INST = $(INST_TESTCASE) tstSDL_INST = $(INST_TESTCASE)
tstSDL_SOURCES = \ tstSDL_SOURCES = \
VBoxSDLTest.cpp VBoxSDLTest.cpp
@@ -131,7 +131,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K @@ -138,7 +138,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
$(LIB_RUNTIME) $(LIB_RUNTIME)
ifn1of ($(KBUILD_TARGET), solaris) ifn1of ($(KBUILD_TARGET), solaris)
tstSDL_LIBS += \ tstSDL_LIBS += \

0
fix_usb_rules.sh Executable file → Normal file
View File

View File

@@ -1,16 +0,0 @@
https://bugs.gentoo.org/946955
--- a/include/iprt/types.h
+++ b/include/iprt/types.h
@@ -282,7 +282,10 @@
# endif
# else
-# undef bool /* see above netbsd explanation */
+# if defined (__KERNEL__)
typedef _Bool bool;
+# else
+# include <stdbool.h>
+# endif
# endif
# else
# if RT_MSC_PREREQ(RT_MSC_VER_VC120)

32
kernel-6-13.patch Normal file
View File

@@ -0,0 +1,32 @@
From: Jiri Slaby <jslaby@suse.cz>
Subject: fix for kernel 6.13 build
References: bsc#1235146
---
src/VBox/Additions/linux/drm/vbox_drv.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--- a/src/VBox/Additions/linux/drm/vbox_drv.c
+++ b/src/VBox/Additions/linux/drm/vbox_drv.c
@@ -43,7 +43,9 @@
# include <drm/drm_probe_helper.h>
#endif
-#if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99)
+#if RTLNX_VER_MIN(6,13,0)
+# include <linux/aperture.h>
+#elif RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99)
# include <drm/drm_aperture.h>
#endif
@@ -85,7 +87,9 @@ static int vbox_pci_probe(struct pci_dev
int ret = 0;
# if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99)
-# if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) || RTLNX_SUSE_MAJ_PREREQ(15,4)
+# if RTLNX_VER_MIN(6,13,0)
+ ret = aperture_remove_conflicting_pci_devices(pdev, driver.name);
+# elif RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) || RTLNX_SUSE_MAJ_PREREQ(15,4)
ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &driver);
# else
ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, "vboxvideofb");

0
update-extpack.sh Executable file → Normal file
View File

View File

@@ -1,25 +1,19 @@
--- Index: VirtualBox-7.0.20/src/apps/Makefile.kmk
src/apps/Makefile.kmk | 2
src/apps/VBoxPermissionMessage/Makefile.kmk | 32 +++++++++++++++
src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp | 12 +++++
3 files changed, 46 insertions(+)
Index: VirtualBox-7.2.0/src/apps/Makefile.kmk
=================================================================== ===================================================================
--- VirtualBox-7.2.0.orig/src/apps/Makefile.kmk --- VirtualBox-7.0.20.orig/src/apps/Makefile.kmk
+++ VirtualBox-7.2.0/src/apps/Makefile.kmk +++ VirtualBox-7.0.20/src/apps/Makefile.kmk
@@ -33,5 +33,7 @@ ifneq ($(KBUILD_TARGET),win) @@ -28,5 +28,7 @@
include $(PATH_SUB_CURRENT)/svn2git-vbox/Makefile.kmk SUB_DEPTH = ../..
endif include $(KBUILD_PATH)/subheader.kmk
+include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk +include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk
+ +
include $(FILE_KBUILD_SUB_FOOTER) include $(FILE_KBUILD_SUB_FOOTER)
Index: VirtualBox-7.2.0/src/apps/VBoxPermissionMessage/Makefile.kmk Index: VirtualBox-7.0.20/src/apps/VBoxPermissionMessage/Makefile.kmk
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ VirtualBox-7.2.0/src/apps/VBoxPermissionMessage/Makefile.kmk +++ VirtualBox-7.0.20/src/apps/VBoxPermissionMessage/Makefile.kmk
@@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
+# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $ +# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
+## @file +## @file
@@ -53,10 +47,10 @@ Index: VirtualBox-7.2.0/src/apps/VBoxPermissionMessage/Makefile.kmk
+ +
+include $(KBUILD_PATH)/subfooter.kmk +include $(KBUILD_PATH)/subfooter.kmk
+ +
Index: VirtualBox-7.2.0/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp Index: VirtualBox-7.0.20/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ VirtualBox-7.2.0/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp +++ VirtualBox-7.0.20/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp
@@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
+#include <QtWidgets/QApplication> +#include <QtWidgets/QApplication>
+#include <QtWidgets/QMessageBox> +#include <QtWidgets/QMessageBox>

0
vboxautostart-service.sh Executable file → Normal file
View File

0
vboxconfig.sh Executable file → Normal file
View File

0
vboxdrv.sh Executable file → Normal file
View File

0
vboxguestconfig.sh Executable file → Normal file
View File

0
vboxweb-service.sh Executable file → Normal file
View File

2
virtualbox-patch-source.sh Executable file → Normal file
View File

@@ -1,4 +1,4 @@
#!/bin/bash -ex #!/bin/bash
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "You need to pass the filename VirtualBox-x.y.z.tar.bz2 as first argument." echo "You need to pass the filename VirtualBox-x.y.z.tar.bz2 as first argument."

0
virtualbox-wrapper.sh Executable file → Normal file
View File

View File

@@ -1,118 +1,3 @@
-------------------------------------------------------------------
Fri Aug 15 14:46:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.2.0
* GUI: Moved global and VM tools from hamburger menus to global
tools taskbar (vertically on the left) and the VM tools tabs
(horizontally above the right hand panel) to make them easier
to reach.
* ARM host: Virtualization of Windows 11/ARM VMs.
* Linux host: Video decoding acceleration when 3D is enabled.
* Storage: The NVMe storage controller emulation is now part of
the open source base package.
-------------------------------------------------------------------
Thu Jul 24 13:07:21 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.1.12
* VMM: Fixed issue when running a nested VM caused Guru
Meditation for outer VM
* NAT: Fixed issue when VMs with long names were unable to start
* Linux host: Fixed possible kernel panic when using bridged
networking with a network interface handled by the ixgbe
driver on newer kernels
* Recording: Fixed issue when Windows Guest Machine was unable
to start when recording was enabled in Display Settings
* Support for Linux 6.16
* Linux Guest Additions (LGA): Fixed issue when 'rcvboxadd
status-kernel' was reporting incorrect status when guest was
running kernel 3.10 series and older
* LGA: Fixed issue when VBoxClient was unable to start if guest
was running kernel 2.6 series and older
* LGA: Fixed issue which caused a warning in system log due to
incorrect udev rule
- Delete kernel-6.16-READ-WRITE.patch, kernel-6.16-from_timer.patch,
kernel-6.16-page-index.patch
-------------------------------------------------------------------
Wed Jun 11 07:18:15 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- fix build against 6.16, add:
* kernel-6.16-READ-WRITE.patch
* kernel-6.16-from_timer.patch
* kernel-6.16-page-index.patch
-------------------------------------------------------------------
Wed Jun 4 21:09:42 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.1.10
* Linux host: Fixed issue which caused VM Selector process crash
due to missing libdl.so and libpthread.so libraries
[boo#1231346, boo#1231456, boo#1233145, boo#1233164,
boo#1233498, boo#1240833]
* RDP: Fixed issue when it was not possible to paste clipboard
buffer into a guest over RDP remote session
* Linux 6.15 support
- Delete kernel-6-15-EXTRA_CFLAGS.patch kernel-6-15-fb_probe.patch
kernel-6-15-mkdir.patch kernel-6-15-mode_valid.patch
kernel-6-15-timer.patch (merged/obsolete)
-------------------------------------------------------------------
Tue Jun 3 16:34:33 UTC 2025 - Martin Jambor <mjambor@suse.com>
- Adjust gentoo-C23.patch to fix building the kmp flavor which was
broken by the previous patch by keeping the bool typedef when
building a kmp. [boo#1242085]
-------------------------------------------------------------------
Tue May 27 15:19:29 UTC 2025 - Martin Jambor <mjambor@suse.cz>
- Add gentoo-C23.patch, taken from the corresponding gentoo
package, to fix building with GCC 15 where the C language
defaults to standard C23. [boo#1242085]
-------------------------------------------------------------------
Wed Apr 16 13:59:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.1.8
* VMM: Fixed issue when VM clock went backwards in rare
circumstances.
* Graphics: Fixed issue when assertion was triggered on
restoring VM state if VMSVGA graphics adapter was used
without 3D acceleration.
* Linux Guest Additions: Fixed issue when VBoxClient could
crash in XWayland guest.
- Delete kernel-6-14.patch (obsolete)
-------------------------------------------------------------------
Wed Apr 9 09:02:26 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- build with kernel 6.15, add:
* kernel-6-15-EXTRA_CFLAGS.patch
* kernel-6-15-fb_probe.patch -- this disables fb_probe and needs
a rewrite similar to "9fa154f40eb6 drm/{i915,xe}: Run DRM default
client setup". Good luck.
* kernel-6-15-mkdir.patch
* kernel-6-15-mode_valid.patch
* kernel-6-15-timer.patch
-------------------------------------------------------------------
Fri Mar 28 10:06:19 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.1.6a
* VirtioNet: Fixed issue with re-negotiation of features
after reset
* Graphics: Fixed issue with Linux guest screen flickering when
guest was using VMSVGA graphics adapter
* Linux Guest Additions: Introduced initial support for
kernel 6.13
- Delete kernel-6-13.patch (merged)
-------------------------------------------------------------------
Fri Mar 28 06:42:00 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- add: kernel-6-14.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 12 10:00:50 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com> Wed Feb 12 10:00:50 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -54,16 +54,13 @@
%define _udevrulesdir %{_prefix}/lib/udev/rules.d %define _udevrulesdir %{_prefix}/lib/udev/rules.d
%endif %endif
# If you want to disable building Python parts, just set this to %%nil
%global mypython python311 %global mypython python311
%if "%mypython" != ""
%global __mypython %{expand:%%__%{mypython}} %global __mypython %{expand:%%__%{mypython}}
%global mypython_sitelib %{expand:%%%{mypython}_sitelib} %global mypython_sitelib %{expand:%%%{mypython}_sitelib}
%endif
# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
Name: virtualbox%{?dash}%{?name_suffix} Name: virtualbox%{?dash}%{?name_suffix}
Version: 7.2.0 Version: 7.1.4
%define rversion 7.2.0
Release: 0 Release: 0
Summary: %{package_summary} Summary: %{package_summary}
License: GPL-3.0-or-later License: GPL-3.0-or-later
@@ -78,7 +75,6 @@ URL: https://www.virtualbox.org/
# script virtualbox-patch-source.sh will do the job :) # script virtualbox-patch-source.sh will do the job :)
# WARNING: This is not a comment, but the real command to repack source # WARNING: This is not a comment, but the real command to repack source
#%%(bash %%{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%%{version}.tar.bz2) #%%(bash %%{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%%{version}.tar.bz2)
#Source: https://download.virtualbox.org/virtualbox/7.1.8/VirtualBox-7.1.8.tar.bz2
Source0: VirtualBox-%{version}-patched.tpxz Source0: VirtualBox-%{version}-patched.tpxz
Source1: UserManual.pdf Source1: UserManual.pdf
Source3: virtualbox-60-vboxguest.rules Source3: virtualbox-60-vboxguest.rules
@@ -126,7 +122,7 @@ Patch9: vbox-usb-warning.diff
Patch10: fix_for_leap15.5.patch Patch10: fix_for_leap15.5.patch
Patch11: cxx17.patch Patch11: cxx17.patch
Patch12: host-source.patch Patch12: host-source.patch
Patch20: gentoo-C23.patch Patch13: kernel-6-13.patch
# #
# Common BuildRequires for both virtualbox and virtualbox-kmp # Common BuildRequires for both virtualbox and virtualbox-kmp
BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: %{kernel_module_package_buildreqs}
@@ -143,7 +139,7 @@ BuildRequires: gcc-c++
BuildRequires: gcc12 BuildRequires: gcc12
BuildRequires: gcc12-c++ BuildRequires: gcc12-c++
%endif %endif
BuildRequires: kbuild >= 0.1.9998+svn3686 BuildRequires: kbuild >= 0.1.9998+svn3613
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
@@ -159,21 +155,33 @@ Source2: VirtualBox.appdata.xml
%endif %endif
### Requirements for virtualbox main package ### ### Requirements for virtualbox main package ###
%if %{main_package} %if %{main_package}
BuildRequires: LibVNCServer-devel
BuildRequires: SDL2-devel
BuildRequires: alsa-devel
BuildRequires: device-mapper-devel
BuildRequires: dmidecode BuildRequires: dmidecode
BuildRequires: e2fsprogs-devel BuildRequires: e2fsprogs-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: glibc-devel-static BuildRequires: glibc-devel-static
BuildRequires: glslang-devel >= 11.5 BuildRequires: glslang-devel >= 11.5
BuildRequires: gsoap-devel >= 2.8.50
BuildRequires: java-devel >= 1.6.0 BuildRequires: java-devel >= 1.6.0
#BuildRequires: libSDL2-2_0-0
BuildRequires: libelf-devel
BuildRequires: libidl-devel
BuildRequires: libopenssl-devel
BuildRequires: libopus-devel
BuildRequires: libtpms-devel
BuildRequires: libvpx-devel
BuildRequires: libxslt-devel
BuildRequires: libzio-devel BuildRequires: libzio-devel
BuildRequires: lzfse BuildRequires: lzfse
BuildRequires: lzfse-devel BuildRequires: lzfse-devel
%if "%mypython" != "" BuildRequires: pulseaudio-devel
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: %{mypython}-devel BuildRequires: %{mypython}-devel
BuildRequires: %{mypython}-setuptools BuildRequires: %{mypython}-setuptools
BuildRequires: %{mypython}-pip BuildRequires: %{mypython}-pip
%endif
BuildRequires: qt6-tools-linguist BuildRequires: qt6-tools-linguist
BuildRequires: rpm BuildRequires: rpm
BuildRequires: sed BuildRequires: sed
@@ -192,28 +200,16 @@ BuildRequires: pkgconfig(Qt6Sql)
BuildRequires: pkgconfig(Qt6StateMachine) BuildRequires: pkgconfig(Qt6StateMachine)
BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(Qt6Xml) BuildRequires: pkgconfig(Qt6Xml)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(devmapper)
BuildRequires: pkgconfig(fontsproto) BuildRequires: pkgconfig(fontsproto)
BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(glx) BuildRequires: pkgconfig(glx)
BuildRequires: pkgconfig(gsoap) >= 2.8.50
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(libtpms)
BuildRequires: pkgconfig(libvncserver)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(randrproto) BuildRequires: pkgconfig(randrproto)
BuildRequires: pkgconfig(renderproto) BuildRequires: pkgconfig(renderproto)
BuildRequires: pkgconfig(resourceproto) BuildRequires: pkgconfig(resourceproto)
BuildRequires: pkgconfig(scrnsaverproto) BuildRequires: pkgconfig(scrnsaverproto)
BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(sdl)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xau)
BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xcomposite)
@@ -338,7 +334,6 @@ Requires(pre): net-tools-deprecated
%description guest-tools %description guest-tools
VirtualBox guest addition tools. VirtualBox guest addition tools.
%if "%mypython" != ""
%package -n %{mypython}-%{name} %package -n %{mypython}-%{name}
Summary: Python bindings for %{name} Summary: Python bindings for %{name}
Group: Development/Libraries/Python Group: Development/Libraries/Python
@@ -355,15 +350,12 @@ Obsoletes: python3-%{name}-ose < %{version}
%description -n %{mypython}-%{name} %description -n %{mypython}-%{name}
Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
%endif
%package devel %package devel
Summary: Devel files for %{name} Summary: Devel files for %{name}
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
%if "%mypython" != ""
Requires: %{mypython}-%{name} = %{version} Requires: %{mypython}-%{name} = %{version}
%endif
#rename from "ose" version: #rename from "ose" version:
Provides: %{name}-ose-devel = %{version} Provides: %{name}-ose-devel = %{version}
Obsoletes: %{name}-ose-devel < %{version} Obsoletes: %{name}-ose-devel < %{version}
@@ -429,7 +421,7 @@ This package contains the kernel-modules that VirtualBox uses to create or run v
%endif %endif
%prep %prep
%autosetup -n VirtualBox-%{rversion} -p1 %autosetup -n VirtualBox-%{version} -p1
### Documents for virtualbox main package ### ### Documents for virtualbox main package ###
%if %{main_package} %if %{main_package}
@@ -472,9 +464,6 @@ rm -rf src/libs/{libpng-*,libxml2-*,libxslt-*,zlib-*,boost-*}
--disable-java \ --disable-java \
--disable-docs \ --disable-docs \
--enable-webservice \ --enable-webservice \
%if "%mypython" == ""
--disable-python \
%endif
--with-makeself=%{_bindir}/true --with-makeself=%{_bindir}/true
# configure actually warns we should source env.sh (which seems like it could influence the build...) # configure actually warns we should source env.sh (which seems like it could influence the build...)
@@ -566,18 +555,18 @@ install -d -m 755 %{buildroot}/media
echo "entering VNC extension install section" echo "entering VNC extension install section"
pushd out/linux.*/release/packages/ pushd out/linux.*/release/packages/
mkdir -p "%{buildroot}%{_datadir}/virtualbox/extensions/" mkdir -p "%{buildroot}%{_datadir}/virtualbox/extensions/"
install -D -m 644 VNC-*.vbox-extpack "%{buildroot}%{_datadir}/virtualbox/extensions/VNC-%{rversion}.vbox-extpack" install -D -m 644 VNC-*.vbox-extpack "%{buildroot}%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack"
popd popd
echo "entering virtualbox(-qt) install section" echo "entering virtualbox(-qt) install section"
# copy the main files to %%{_vbox_instdir} # copy the main files to %%{_vbox_instdir}
pushd out/linux.*/release/bin pushd out/linux.*/release/bin
cp -a VBoxManage VBoxHeadless VBoxSDL VBoxNetNAT VBoxAutostart VBoxVolInfo \ cp -a VBoxManage VBoxHeadless VBoxSDL VBoxNetNAT VBoxAutostart VBoxVolInfo \
VBoxBalloonCtrl webtest VBoxDTrace VBoxDbg.so \ vboxshell.py VBoxBalloonCtrl webtest VBoxDTrace VBoxDbg.so \
VBoxDxVk.so UICommon.so vboximg-mount %{buildroot}%{_vbox_instdir} VBoxDxVk.so UICommon.so vboximg-mount %{buildroot}%{_vbox_instdir}
%if "%mypython" != "" ls -al VBoxManage VBoxHeadless VBoxSDL VBoxNetNAT VBoxAutostart VBoxVolInfo \
cp -a vboxshell.py %{buildroot}/%{_vbox_instdir} vboxshell.py VBoxBalloonCtrl webtest VBoxDTrace VBoxDbg.so \
%endif VBoxDxVk.so UICommon.so vboximg-mount 0755 || :
# 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
@@ -663,8 +652,6 @@ allow = true
EOF EOF
# install udev helper script for creating usb devices # install udev helper script for creating usb devices
install -m 0755 -D src/VBox/Installer/linux/VBoxCreateUSBNode.sh %{buildroot}%{_vbox_instdir}/VBoxCreateUSBNode.sh install -m 0755 -D src/VBox/Installer/linux/VBoxCreateUSBNode.sh %{buildroot}%{_vbox_instdir}/VBoxCreateUSBNode.sh
%if "%mypython" != ""
echo "entering python-virtualbox install section" echo "entering python-virtualbox install section"
pushd out/linux.*/release/bin/sdk/installer/python pushd out/linux.*/release/bin/sdk/installer/python
VBOX_INSTALL_PATH=%{_vbox_instdir} %{__mypython} vboxapisetup.py install --prefix=%{_prefix} --root=%{buildroot} VBOX_INSTALL_PATH=%{_vbox_instdir} %{__mypython} vboxapisetup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -672,7 +659,6 @@ popd
install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
cp -r out/linux.*/release/bin/sdk/bindings/xpcom/python %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom cp -r out/linux.*/release/bin/sdk/bindings/xpcom/python %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
%py3_compile %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom/python %py3_compile %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom/python
%endif
echo "entering virtualbox-devel install section" echo "entering virtualbox-devel install section"
cp -r out/linux.*/release/bin/sdk/bindings/auth %{buildroot}%{_vbox_instdir}/sdk/bindings cp -r out/linux.*/release/bin/sdk/bindings/auth %{buildroot}%{_vbox_instdir}/sdk/bindings
@@ -764,7 +750,7 @@ done
%service_add_post vboxweb-service.service %service_add_post vboxweb-service.service
%post vnc %post vnc
EXTPACK="%{_datadir}/virtualbox/extensions/VNC-%{rversion}.vbox-extpack" EXTPACK="%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack"
ACCEPT="$(tar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)" ACCEPT="$(tar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
VBoxManage extpack install --replace "${EXTPACK}" --accept-license="${ACCEPT}" > /dev/null VBoxManage extpack install --replace "${EXTPACK}" --accept-license="${ACCEPT}" > /dev/null
@@ -808,9 +794,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
%{_vbox_instdir}/VBoxDTrace %{_vbox_instdir}/VBoxDTrace
%{_vbox_instdir}/VBoxNetNAT %{_vbox_instdir}/VBoxNetNAT
%{_vbox_instdir}/VBoxVolInfo %{_vbox_instdir}/VBoxVolInfo
%if "%mypython" != ""
%{_vbox_instdir}/vboxshell.py %{_vbox_instdir}/vboxshell.py
%endif
%{_vbox_instdir}/VBoxSysInfo.sh %{_vbox_instdir}/VBoxSysInfo.sh
%{_vbox_instdir}/VBoxDD2.so %{_vbox_instdir}/VBoxDD2.so
%{_vbox_instdir}/VBoxDD.so %{_vbox_instdir}/VBoxDD.so
@@ -823,7 +807,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
%{_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}/VBoxVMMArm.so
%{_vbox_instdir}/VBoxXPCOMC.so %{_vbox_instdir}/VBoxXPCOMC.so
%{_vbox_instdir}/VBoxXPCOM.so %{_vbox_instdir}/VBoxXPCOM.so
%{_vbox_instdir}/VBox*.r0 %{_vbox_instdir}/VBox*.r0
@@ -934,7 +917,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
%dir /media %dir /media
%endif %endif
%if "%mypython" != ""
%files -n %{mypython}-%{name} %files -n %{mypython}-%{name}
%dir %{_vbox_instdir}/sdk %dir %{_vbox_instdir}/sdk
%dir %{_vbox_instdir}/sdk/bindings %dir %{_vbox_instdir}/sdk/bindings
@@ -943,7 +925,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
%{_vbox_instdir}/VBoxPython*.so %{_vbox_instdir}/VBoxPython*.so
%{mypython_sitelib}/vboxapi-*.egg-info %{mypython_sitelib}/vboxapi-*.egg-info
%{mypython_sitelib}/vboxapi/ %{mypython_sitelib}/vboxapi/
%endif
%files devel %files devel
%dir %{_vbox_instdir}/sdk %dir %{_vbox_instdir}/sdk
@@ -977,7 +958,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
%files vnc %files vnc
%license COPYING %license COPYING
%dir %{_datadir}/virtualbox/extensions %dir %{_datadir}/virtualbox/extensions
%{_datadir}/virtualbox/extensions/VNC-%{rversion}.vbox-extpack %{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack
# main_package # main_package
%endif %endif