[packages/VirtualBox] - build full python 3 api, not the limited one, rel 2
baggins
baggins at pld-linux.org
Fri Sep 8 03:50:03 CEST 2023
commit 7717f26c78794a0b6467da92d15ca8ba687451ab
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Sep 8 02:00:49 2023 +0200
- build full python 3 api, not the limited one, rel 2
VirtualBox.spec | 3 ++-
python3.patch | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 5eef2a5..fa3fef2 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -47,7 +47,7 @@ exit 1
%define qtver 5.6.0
-%define rel 1
+%define rel 2
%define pname VirtualBox
Summary: VirtualBox - x86 hardware virtualizer
Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86
@@ -618,6 +618,7 @@ VBOX_GCC_OPT=%{rpmcxxflags}
TOOL_YASM_AS := /usr/bin/yasm
VBOX_BLD_PYTHON := %{__python3}
+VBOX_WITHOUT_PYTHON_LIMITED_API=1
VBOX_PATH_APP_PRIVATE_ARCH := %{_libdir}/%{pname}
VBOX_PATH_APP_PRIVATE := %{_datadir}/%{pname}
diff --git a/python3.patch b/python3.patch
index 3e96dd7..cd0efa5 100644
--- a/python3.patch
+++ b/python3.patch
@@ -26,3 +26,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 @@
+ # unless VBOX_WITH_ONLY_PYTHON_LIMITED_API is overridden).
+ VBOX_WITH_MULTIVERSION_PYTHON ?= 1
+ # Only build the limited Python extension API version for 3.3 and later.
+-VBOX_WITH_ONLY_PYTHON_LIMITED_API = 1
++# VBOX_WITH_ONLY_PYTHON_LIMITED_API = 1
+ # Build the Validation Kit.
+ VBOX_WITH_VALIDATIONKIT = 1
+ # Include unit tests (testcases) on the Validation Kit .ISO
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/7717f26c78794a0b6467da92d15ca8ba687451ab
More information about the pld-cvs-commit
mailing list