git: fba8e2bddc85 - main - emulators/virtualbox-ose{,-kmod,-nox11}-72: Update 7.2.0 => 7.2.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 02 Oct 2025 16:31:59 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fba8e2bddc8594ac97098cc7c3e0173de2323750

commit fba8e2bddc8594ac97098cc7c3e0173de2323750
Author:     John <groenveld@acm.org>
AuthorDate: 2025-10-02 16:28:07 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-02 16:28:07 +0000

    emulators/virtualbox-ose{,-kmod,-nox11}-72: Update 7.2.0 => 7.2.2
    
    Changelog:
    https://www.virtualbox.org/wiki/Changelog-7.2
    
    PR:             289019
    Tested by:      Mario Lobo <lobo@bsd.com.br>
    Tested by:      Vladimir Druzenko <vvd@FreeBSD.org>
    MFH:            2025Q3
---
 emulators/virtualbox-ose-72/Makefile               |  3 +-
 emulators/virtualbox-ose-72/distinfo               | 14 +++----
 emulators/virtualbox-ose-72/files/patch-configure  |  9 -----
 .../files/patch-src_VBox_Devices_Makefile.kmk      | 15 +++++--
 ..._VirtualBox_src_manager_UIVirtualBoxManager.cpp | 46 ----------------------
 ...ds_VirtualBox_src_manager_UIVirtualBoxManager.h | 20 ----------
 ...s_VirtualBox_src_manager_UIVirtualBoxWidget.cpp | 24 -----------
 emulators/virtualbox-ose-kmod-72/Makefile          |  2 +-
 emulators/virtualbox-ose-kmod-72/distinfo          |  6 +--
 9 files changed, 25 insertions(+), 114 deletions(-)

diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile
index e6caf18b27d1..fe41d449c234 100644
--- a/emulators/virtualbox-ose-72/Makefile
+++ b/emulators/virtualbox-ose-72/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.2.0
+DISTVERSION=	7.2.2
 PORTREVISION?=	0
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
@@ -22,6 +22,7 @@ ONLY_FOR_ARCHS=	amd64
 BUILD_DEPENDS=	gtar:archivers/gtar \
 		kmk:devel/kBuild \
 		yasm:devel/yasm \
+		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
 		xsltproc:textproc/libxslt
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libcurl.so:ftp/curl
diff --git a/emulators/virtualbox-ose-72/distinfo b/emulators/virtualbox-ose-72/distinfo
index ed4ac420cdd3..48ed99a441f9 100644
--- a/emulators/virtualbox-ose-72/distinfo
+++ b/emulators/virtualbox-ose-72/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1756400000
-SHA256 (VirtualBox-7.2.0.tar.bz2) = 4f2804ff27848ea772aee6b637bb1e10ee74ec2da117c257413e2d2c4f670ba0
-SIZE (VirtualBox-7.2.0.tar.bz2) = 206755781
-SHA256 (VirtualBox-docs-7.2.0.tar.bz2) = 12b27989f2ab9b9316384322a8f1cdadd7003d2e2d6592298e1a84e81f5e0572
-SIZE (VirtualBox-docs-7.2.0.tar.bz2) = 9200668
-SHA256 (VBoxGuestAdditions_7.2.0.iso) = 43f7a1045cad0aab40e3af906fea37244ba6873b91b4e227245a14e51b399abd
-SIZE (VBoxGuestAdditions_7.2.0.iso) = 53143552
+TIMESTAMP = 1759400000
+SHA256 (VirtualBox-7.2.2.tar.bz2) = b0e63bfb855327aecf1122cda33390c33734e5ffed72f123f5edf786a8ce1393
+SIZE (VirtualBox-7.2.2.tar.bz2) = 206992991
+SHA256 (VirtualBox-docs-7.2.2.tar.bz2) = 5784f7ccb0cd28f1e4647771301c51cbd2427ec84e071d3dd92c9f0e12690f8c
+SIZE (VirtualBox-docs-7.2.2.tar.bz2) = 9134609
+SHA256 (VBoxGuestAdditions_7.2.2.iso) = 42457487fb5f117265fe41bf8b2a521449c2cff75c95029d8f667f7dab5a4409
+SIZE (VBoxGuestAdditions_7.2.2.iso) = 53135360
diff --git a/emulators/virtualbox-ose-72/files/patch-configure b/emulators/virtualbox-ose-72/files/patch-configure
index 76ed44e26acf..6e5b1f151854 100644
--- a/emulators/virtualbox-ose-72/files/patch-configure
+++ b/emulators/virtualbox-ose-72/files/patch-configure
@@ -42,15 +42,6 @@
      else
        log_failure "Qt6 framework not found (can be disabled using --disable-qt)"
        fail
-@@ -1897,7 +1905,7 @@ EOF
-   return 0;
- }
- EOF
--    [ -n "$INCOGG" ] && I_INCVRB=`prefix_I "$INCOGG"`
-+    [ -n "$INCOGG" ] && I_INCOGG=`prefix_I "$INCOGG"`
-     if test_compile "$LIBOGG $I_INCOGG" ogg ogg nofatal; then
-       if test_execute; then
-         cnf_append "SDK_VBoxLibOgg_INCS" "$INCOGG"
 @@ -2125,8 +2133,8 @@ EOF
          echo "compiling the following source file:" >> $LOG
          cat $ODIR.tmp_src.cc >> $LOG
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk b/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
index b66a828f5eb2..cc93f6379cbc 100644
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
@@ -1,4 +1,4 @@
---- src/VBox/Devices/Makefile.kmk.orig	2025-08-13 19:48:02 UTC
+--- src/VBox/Devices/Makefile.kmk.orig	2025-09-10 16:59:18 UTC
 +++ src/VBox/Devices/Makefile.kmk
 @@ -135,6 +135,7 @@ if !defined(VBOX_ONLY_EXTPACKS)
    VBoxDDU_LDFLAGS.darwin += -framework IOKit
@@ -29,11 +29,20 @@
      	Graphics/DevVGA-SVGA3d-glLdr.cpp
     else
      VBoxDD_LIBS.linux   += X11 GL
-+    VBoxDD_LIBS.freebsd   += X11 GL
++    VBoxDD_LIBS.freebsd += X11 GL
      VBoxDD_LIBS.win     += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
     endif
     VBoxDD_LDFLAGS.darwin += -framework OpenGL
-@@ -1523,6 +1526,8 @@ if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_E
+@@ -517,6 +520,8 @@ if !defined(VBOX_ONLY_EXTPACKS) && "$(intersects $(KBU
+    	Video/JPEGEnc.cpp
+    VBoxDD_SOURCES.darwin += \
+    	Video/HostWebcam-darwin.mm
++   VBoxDD_SOURCES.freebsd += \
++   	Video/HostWebcam-v4l2.cpp
+    VBoxDD_SOURCES.linux += \
+    	Video/HostWebcam-v4l2.cpp
+    VBoxDD_SOURCES.solaris += \
+@@ -1536,6 +1541,8 @@ if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_E
   VBoxSVGA3D_INCS = $(VBOX_GRAPHICS_INCS)
   VBoxSVGA3D_INCS.win    := \
   	Graphics/shaderlib/libWineStub/include
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp
deleted file mode 100644
index 7f18eb80356b..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp.orig	2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
-@@ -2402,6 +2402,9 @@ void UIVirtualBoxManager::prepare()
-     qApp->installEventFilter(this);
- #endif
- 
-+   /* Prepare notification-center invisibvle way: */
-+    prepareNotificationCenter();
-+
-     /* Cache media data early if necessary: */
-     if (uiCommon().agressiveCaching())
-         gpMediumEnumerator->enumerateMedia();
-@@ -2446,6 +2449,12 @@ void UIVirtualBoxManager::prepare()
- #endif /* VBOX_GUI_WITH_NETWORK_MANAGER && VBOX_WITH_UPDATE_REQUEST */
- }
- 
-+void UIVirtualBoxManager::prepareNotificationCenter()
-+{
-+    UINotificationCenter::create();
-+
-+}
-+
- void UIVirtualBoxManager::prepareCloudMachineManager()
- {
-     UICloudMachineManager::create();
-@@ -2805,6 +2814,12 @@ void UIVirtualBoxManager::cleanupCloudMachineManager()
-     UICloudMachineManager::destroy();
- }
- 
-+void UIVirtualBoxManager::cleanupNotificationCenter()
-+{
-+    UINotificationCenter::destroy();
-+
-+}
-+
- void UIVirtualBoxManager::cleanup()
- {
-     /* Ask sub-dialogs to commit data: */
-@@ -2814,6 +2829,7 @@ void UIVirtualBoxManager::cleanup()
-     cleanupWidgets();
-     cleanupMenuBar();
-     cleanupCloudMachineManager();
-+    cleanupNotificationCenter();
- }
- 
- UIVirtualMachineItem *UIVirtualBoxManager::currentItem() const
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h
deleted file mode 100644
index 80daea0c318c..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h.orig	2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
-@@ -341,6 +341,8 @@ private slots: (private)
-       * @{ */
-         /** Prepares window. */
-         void prepare();
-+        /** Prepares notification-center. */
-+        void prepareNotificationCenter();
-         /** Prepares cloud machine manager. */
-         void prepareCloudMachineManager();
-         /** Prepares icon. */
-@@ -366,6 +368,8 @@ private slots: (private)
-         void cleanupMenuBar();
-         /** Cleanups cloud machine manager. */
-         void cleanupCloudMachineManager();
-+        /** Cleanups notification-center. */
-+        void cleanupNotificationCenter();
-         /** Cleanups window. */
-         void cleanup();
-     /** @} */
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp
deleted file mode 100644
index 52f736783c17..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxWidget.cpp.orig	2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxWidget.cpp
-@@ -399,8 +399,8 @@ void UIVirtualBoxWidget::prepareWidgets()
-         }
-     }
- 
--    /* Create notification-center: */
--    UINotificationCenter::create(this);
-+    /* Reparent notification-center: */
-+    gpNotificationCenter->setParent(this);
- 
-     /* Update toolbar finally: */
-     updateToolbar();
-@@ -746,8 +746,8 @@ void UIVirtualBoxWidget::cleanup()
- 
- void UIVirtualBoxWidget::cleanup()
- {
--    /* Destroy notification-center: */
--    UINotificationCenter::destroy();
-+    /* Reparent notification-center: */
-+    gpNotificationCenter->setParent(0);
- }
- 
- UIGlobalToolsWidget *UIVirtualBoxWidget::globalToolsWidget() const
diff --git a/emulators/virtualbox-ose-kmod-72/Makefile b/emulators/virtualbox-ose-kmod-72/Makefile
index 0990aebfbc08..40c529cae48a 100644
--- a/emulators/virtualbox-ose-kmod-72/Makefile
+++ b/emulators/virtualbox-ose-kmod-72/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.2.0
+DISTVERSION=	7.2.2
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/
 PKGNAMESUFFIX=	-kmod-72
diff --git a/emulators/virtualbox-ose-kmod-72/distinfo b/emulators/virtualbox-ose-kmod-72/distinfo
index c67534681918..41bf0f3a16ac 100644
--- a/emulators/virtualbox-ose-kmod-72/distinfo
+++ b/emulators/virtualbox-ose-kmod-72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755276527
-SHA256 (VirtualBox-7.2.0.tar.bz2) = 4f2804ff27848ea772aee6b637bb1e10ee74ec2da117c257413e2d2c4f670ba0
-SIZE (VirtualBox-7.2.0.tar.bz2) = 206755781
+TIMESTAMP = 1759400000
+SHA256 (VirtualBox-7.2.2.tar.bz2) = b0e63bfb855327aecf1122cda33390c33734e5ffed72f123f5edf786a8ce1393
+SIZE (VirtualBox-7.2.2.tar.bz2) = 206992991