[packages/VirtualBox] - up to 7.1.16
baggins
baggins at pld-linux.org
Mon Feb 16 10:35:13 CET 2026
commit 407e9955b0842bd99969e8f15eb16d339fa152a1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Feb 16 11:34:56 2026 +0100
- up to 7.1.16
VirtualBox.spec | 14 ++++++------
curl-types.patch | 70 --------------------------------------------------------
pld-guest.patch | 24 +++++++++----------
python3.patch | 20 ----------------
4 files changed, 19 insertions(+), 109 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index d0952c2..e2f25ec 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -49,19 +49,19 @@ exit 1
%define qtver 6.3.0
-%define rel 2
+%define rel 1
%define pname VirtualBox
Summary: VirtualBox - x86 hardware virtualizer
Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86
Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
-Version: 7.1.12
+Version: 7.1.16
Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
License: GPL v3
Group: Applications/Emulators
Source0: https://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}.tar.bz2
-# Source0-md5: b39c575da947f3b29913f13afa855469
+# Source0-md5: c1883348bd92770d060b4cef1445a735
Source1: https://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso
-# Source1-md5: 78dd355f75daa35aad66dfbdc1cefdc0
+# Source1-md5: 94d74a48ff3b9b42e53c1f43a71c3ccc
Source2: vboxservice.init
Source3: vboxservice.service
Source4: vboxservice.sysconfig
@@ -89,7 +89,6 @@ Patch16: %{pname}-no-vboxvideo.patch
Patch19: python3.patch
Patch21: xsl-style-dir.patch
Patch22: build-arch.patch
-Patch23: curl-types.patch
URL: http://www.virtualbox.org/
%if %{with userspace}
%ifarch %{x8664}
@@ -139,7 +138,7 @@ BuildRequires: docbook-style-xsl
BuildRequires: fakeroot
%{?with_lightdm:BuildRequires: fltk-devel}
BuildRequires: gcc >= 5:3.2.3
-%{?with_webservice:BuildRequires: gsoap-devel}
+%{?with_webservice:BuildRequires: gsoap-devel >= 2.8.140}
BuildRequires: issue
BuildRequires: kBuild >= 0.1.9998.3598
BuildRequires: libIDL-devel
@@ -562,7 +561,6 @@ echo override vboxsf %{_kernel_ver} misc >> kernel/installed/etc/depmod.d/%{_ker
%patch -P 19 -p1
%patch -P 21 -p1
%patch -P 22 -p1
-%patch -P 23 -p1
%{__sed} -i -e 's, at VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
@@ -617,6 +615,8 @@ TOOL_YASM_AS := /usr/bin/yasm
VBOX_BLD_PYTHON := %{__python3}
VBOX_WITHOUT_PYTHON_LIMITED_API=1
+VBOX_WITHOUT_SPLIT_SOAPC=1
+
VBOX_PATH_APP_PRIVATE_ARCH := %{_libdir}/%{pname}
VBOX_PATH_APP_PRIVATE := %{_datadir}/%{pname}
VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
diff --git a/curl-types.patch b/curl-types.patch
deleted file mode 100644
index c7b8e7d..0000000
--- a/curl-types.patch
+++ /dev/null
@@ -1,70 +0,0 @@
---- VirtualBox-7.1.12/src/VBox/Runtime/generic/http-curl.cpp.orig 2025-09-13 16:01:01.239994670 +0200
-+++ VirtualBox-7.1.12/src/VBox/Runtime/generic/http-curl.cpp 2025-09-13 16:05:07.176661258 +0200
-@@ -699,7 +699,7 @@
- Log(("rtHttpUpdateAutomaticProxyDisable: pThis=%p\n", pThis));
-
- AssertReturn(curl_easy_setopt(pThis->pCurl, CURLOPT_PROXYTYPE, (long)CURLPROXY_HTTP) == CURLE_OK, VERR_INTERNAL_ERROR_2);
-- pThis->enmProxyType = CURLPROXY_HTTP;
-+ pThis->enmProxyType = (curl_proxytype)CURLPROXY_HTTP;
-
- AssertReturn(curl_easy_setopt(pThis->pCurl, CURLOPT_PROXYPORT, (long)1080) == CURLE_OK, VERR_INTERNAL_ERROR_2);
- pThis->uProxyPort = 1080;
-@@ -874,7 +874,7 @@
- curl_proxytype enmProxyType;
- if (RTUriIsSchemeMatch(pszProxyUrl, "http"))
- {
-- enmProxyType = CURLPROXY_HTTP;
-+ enmProxyType = (curl_proxytype)CURLPROXY_HTTP;
- if (uProxyPort == UINT32_MAX)
- uProxyPort = 80;
- }
-@@ -882,7 +882,7 @@
- # if CURL_AT_LEAST_VERSION(7,52,0)
- else if (RTUriIsSchemeMatch(pszProxyUrl, "https"))
- {
-- enmProxyType = CURLPROXY_HTTPS;
-+ enmProxyType = (curl_proxytype)CURLPROXY_HTTPS;
- if (uProxyPort == UINT32_MAX)
- uProxyPort = 443;
- }
-@@ -890,17 +890,17 @@
- #endif
- else if ( RTUriIsSchemeMatch(pszProxyUrl, "socks4")
- || RTUriIsSchemeMatch(pszProxyUrl, "socks"))
-- enmProxyType = CURLPROXY_SOCKS4;
-+ enmProxyType = (curl_proxytype)CURLPROXY_SOCKS4;
- else if (RTUriIsSchemeMatch(pszProxyUrl, "socks4a"))
-- enmProxyType = CURLPROXY_SOCKS4A;
-+ enmProxyType = (curl_proxytype)CURLPROXY_SOCKS4A;
- else if (RTUriIsSchemeMatch(pszProxyUrl, "socks5"))
-- enmProxyType = CURLPROXY_SOCKS5;
-+ enmProxyType = (curl_proxytype)CURLPROXY_SOCKS5;
- else if (RTUriIsSchemeMatch(pszProxyUrl, "socks5h"))
-- enmProxyType = CURLPROXY_SOCKS5_HOSTNAME;
-+ enmProxyType = (curl_proxytype)CURLPROXY_SOCKS5_HOSTNAME;
- else
- {
- fUnknownProxyType = true;
-- enmProxyType = CURLPROXY_HTTP;
-+ enmProxyType = (curl_proxytype)CURLPROXY_HTTP;
- if (uProxyPort == UINT32_MAX)
- uProxyPort = 8080;
- }
-@@ -2094,7 +2094,7 @@
- if (!pcszProxy)
- return rtHttpUpdateAutomaticProxyDisable(pThis);
-
-- return rtHttpUpdateProxyConfig(pThis, CURLPROXY_HTTP, pcszProxy, uPort ? uPort : 1080, pcszProxyUser, pcszProxyPwd);
-+ return rtHttpUpdateProxyConfig(pThis, (curl_proxytype)CURLPROXY_HTTP, pcszProxy, uPort ? uPort : 1080, pcszProxyUser, pcszProxyPwd);
- }
-
-
-@@ -3616,7 +3616,7 @@
- pProxy->enmProxyType = RTHTTPPROXYTYPE_NOPROXY;
- else
- {
-- switch (pThis->enmProxyType)
-+ switch ((long)pThis->enmProxyType)
- {
- case CURLPROXY_HTTP:
- #ifdef CURL_AT_LEAST_VERSION
diff --git a/pld-guest.patch b/pld-guest.patch
index e1e43d8..b5c504c 100644
--- a/pld-guest.patch
+++ b/pld-guest.patch
@@ -51,8 +51,8 @@
--- VirtualBox-5.1.2/src/VBox/Main/src-all/Global.cpp.orig 2016-07-29 19:25:16.731328887 +0200
+++ VirtualBox-5.1.2/src/VBox/Main/src-all/Global.cpp 2016-07-29 19:31:59.252427682 +0200
@@ -400,6 +400,9 @@
- VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle9, "Oracle Linux 9.x (64-bit)", 2048, 16, 20), // 64-bit only
- VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle9, "Oracle Linux 9.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
+ VBOX_LINUX_SUBTYPE_B_X64("Oracle Linux", Oracle10, "Oracle Linux 10.x (64-bit)", 2048, 16, 20), // 64-bit only
+ VBOX_LINUX_SUBTYPE_B_A64("Oracle Linux", Oracle10, "Oracle Linux 10.x (ARM 64-bit)", 2048, 16, 20), // 64-bit only
+ VBOX_LINUX_SUBTYPE_A_X86("PLD Linux", PLD, "PLD Linux (32-bit)", 1024, 16, 8),
+ VBOX_LINUX_SUBTYPE_A_X64("PLD Linux", PLD, "PLD Linux (64-bit)", 2048, 16, 16),
@@ -63,9 +63,9 @@
--- VirtualBox-4.3.8/src/VBox/Main/src-server/ApplianceImpl.cpp~ 2014-02-25 19:09:15.000000000 +0200
+++ VirtualBox-4.3.8/src/VBox/Main/src-server/ApplianceImpl.cpp 2014-02-28 09:52:48.663191185 +0200
@@ -238,6 +238,8 @@
- { ovf::CIMOSType_CIMOS_Debian_64, VBOXOSTYPE_Debian11_x64 },
- { ovf::CIMOSType_CIMOS_Debian, VBOXOSTYPE_Debian12 },
- { ovf::CIMOSType_CIMOS_Debian_64, VBOXOSTYPE_Debian12_x64 },
+ { ovf::CIMOSType_CIMOS_Debian_64, VBOXOSTYPE_Debian12_arm64 },
+ { ovf::CIMOSType_CIMOS_Debian_64, VBOXOSTYPE_Debian13_x64 },
+ { ovf::CIMOSType_CIMOS_Debian_64, VBOXOSTYPE_Debian13_arm64 },
+ { ovf::CIMOSType_CIMOS_Linux_2_6_x, VBOXOSTYPE_PLD },
+ { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, VBOXOSTYPE_PLD_x64 },
{ ovf::CIMOSType_CIMOS_Linux_2_4_x, VBOXOSTYPE_Linux24 },
@@ -74,9 +74,9 @@
--- VirtualBox-4.3.8/include/VBox/ostypes.h~ 2014-02-25 18:59:48.000000000 +0200
+++ VirtualBox-4.3.8/include/VBox/ostypes.h 2014-02-28 09:56:34.440314457 +0200
@@ -103,6 +103,8 @@
- VBOXOSTYPE_Oracle9_arm64 = 0x5E306,
- VBOXOSTYPE_Oracle_latest_x64 = VBOXOSTYPE_Oracle9_x64,
- VBOXOSTYPE_Oracle_latest_arm64 = VBOXOSTYPE_Oracle9_arm64,
+ VBOXOSTYPE_Oracle10_arm64 = 0x5E307, // 64-bit only
+ VBOXOSTYPE_Oracle_latest_x64 = VBOXOSTYPE_Oracle10_x64,
+ VBOXOSTYPE_Oracle_latest_arm64 = VBOXOSTYPE_Oracle10_arm64,
+ VBOXOSTYPE_PLD = 0x5F000,
+ VBOXOSTYPE_PLD_x64 = 0x5F100,
/** @} */
@@ -85,9 +85,9 @@
--- VirtualBox-4.3.8/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp~ 2014-02-25 19:09:00.000000000 +0200
+++ VirtualBox-4.3.8/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp 2014-02-28 09:58:59.493698505 +0200
@@ -133,6 +133,8 @@
+ { QRegularExpression("((Or)|(oel)|(^ol)).*64", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_X64("Oracle") },
{ QRegularExpression("((Or)|(oel)|(^ol)).*32", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_X86("Oracle") },
{ QRegularExpression("((Or)|(oel)|(^ol)).*64", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_ARM64("Oracle") },
- { QRegularExpression("((Or)|(oel)|(^ol)).*32", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_ARM32("Oracle") },
+ { QRegularExpression("PLD.*64", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_X64("PLD") },
+ { QRegularExpression("PLD.*32", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_X86("PLD") },
{ QRegularExpression("Knoppix", QRegularExpression::CaseInsensitiveOption), GUEST_OS_ID_STR_X86("Linux26") },
@@ -96,9 +96,9 @@
--- VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp.orig 2015-07-09 20:00:01.339965485 +0200
+++ VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp 2015-07-09 20:00:40.670058835 +0200
@@ -332,6 +332,8 @@
- m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X86("Oracle"), ":/os_oracle.png");
- m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X64("Oracle"), ":/os_oracle.png");
- m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_A64("Oracle"), ":/os_oracle.png");
+ m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_A64("Oracle9"), ":/os_oracle.png");
+ m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X64("Oracle10"), ":/os_oracle.png");
+ m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_A64("Oracle10"), ":/os_oracle.png");
+ m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X86("PLD"), ":/os_pld.png");
+ m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X64("PLD"), ":/os_pld.png");
m_guestOSTypeIconNames.insert(GUEST_OS_ID_STR_X86("Linux"), ":/os_linux.png");
diff --git a/python3.patch b/python3.patch
index fc37672..4a819c6 100644
--- a/python3.patch
+++ b/python3.patch
@@ -1,14 +1,3 @@
---- VirtualBox-7.0.10/configure~ 2023-09-06 15:45:03.000000000 +0200
-+++ VirtualBox-7.0.10/configure 2023-09-06 15:48:44.766964239 +0200
-@@ -2173,7 +2173,7 @@
- }
- 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 python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12"
-+ SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14"
- 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
--- VirtualBox-7.0.10/src/libs/xpcom18a4/python/gen_python_deps.py~ 2023-07-12 18:42:54.000000000 +0200
+++ VirtualBox-7.0.10/src/libs/xpcom18a4/python/gen_python_deps.py 2023-09-07 16:25:51.601179500 +0200
@@ -1,4 +1,4 @@
@@ -17,15 +6,6 @@
"""
Copyright (C) 2009-2024 Oracle and/or its affiliates.
-@@ -26,7 +26,7 @@
- else:
- from distutils.version import StrictVersion as Version
-
--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.9", "3.10", "3.11", "3.12" ]
-+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.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
- prefixes = ["/usr", "/usr/local", "/opt", "/opt/local"]
- known = {}
-
--- VirtualBox-7.0.10/Config.kmk~ 2023-09-08 01:41:50.000000000 +0200
+++ VirtualBox-7.0.10/Config.kmk 2023-09-08 01:51:41.947941370 +0200
@@ -853,7 +853,7 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/407e9955b0842bd99969e8f15eb16d339fa152a1
More information about the pld-cvs-commit
mailing list