Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
virtualbox
Commits:
1609c475 by Christian Hesse at 2024-03-13T12:24:58+01:00
fix build with python 3.12.x
- - - - -
570de208 by Christian Hesse at 2024-04-07T20:02:46+02:00
upgpkg: 7.0.14-3: Python modules part 1
- - - - -
3 changed files:
- .SRCINFO
- + 020-python-3-12.patch
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = virtualbox
pkgver = 7.0.14
- pkgrel = 2
+ pkgrel = 3
url = https://virtualbox.org/
arch = x86_64
license = GPL
@@ -32,6 +32,7 @@ pkgbase = virtualbox
makedepends = linux-headers
makedepends = mesa
makedepends = python
+ makedepends = python-setuptools
makedepends = qt5-base
makedepends = qt5-tools
makedepends = qt5-x11extras
@@ -62,6 +63,7 @@ pkgbase = virtualbox
source = 013-support-building-from-dkms.patch
source = 018-upate-xclient-script.patch
source = 019-libxml-2-12.patch
+ source = 020-python-3-12.patch
sha256sums =
45860d834804a24a163c1bb264a6b1cb802a5bc7ce7e01128072f8d6a4617ca9
sha256sums =
76d98ea062fcad9e5e3fa981d046a6eb12a3e718a296544a68b66f4b65cb56db
sha256sums =
2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c
@@ -83,6 +85,7 @@ pkgbase = virtualbox
sha256sums =
00f68b86d32a1fada900c2da8dad2ab4215106cd58004f049bded99727cda2ff
sha256sums =
87dddfd9047480e4c2b73367facf5dd3702148418c2efcd606af17c07da90fe0
sha256sums =
25271f26d897bb76ae2a39b6fdf10409acc929e2d424e34d1bd42014a42a0d31
+ sha256sums =
ddb2092a5a000aa6ef854796f39dcdf86e72c06d53b24bac3835350571182df6
pkgname = virtualbox
pkgdesc = Powerful x86 virtualization for enterprise as well as home use
=====================================
020-python-3-12.patch
=====================================
@@ -0,0 +1,13 @@
+diff --git a/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UPT.py
b/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UPT.py
+index 693e01e0..35a7c952 100755
+--- a/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UPT.py
++++ b/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UPT.py
+@@ -15,7 +15,7 @@ UPT
+ #
+ import locale
+ import sys
+-from imp import reload
++from impportlib import reload
+ encoding = locale.getdefaultlocale()[1]
+ if encoding:
+ reload(sys)
=====================================
PKGBUILD
=====================================
@@ -11,7 +11,7 @@ pkgname=('virtualbox'
'virtualbox-ext-vnc')
pkgver=7.0.14
_tarver=${pkgver}
-pkgrel=2
+pkgrel=3
arch=('x86_64')
url='https://virtualbox.org/'
license=('GPL' 'custom:CDDL')
@@ -42,6 +42,7 @@ makedepends=('alsa-lib'
'linux-headers'
'mesa'
'python'
+ 'python-setuptools'
'qt5-base'
'qt5-tools'
'qt5-x11extras'
@@ -71,7 +72,8 @@
source=("https://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${_tarv
'012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch'
'013-support-building-from-dkms.patch'
'018-upate-xclient-script.patch'
- '019-libxml-2-12.patch')
+ '019-libxml-2-12.patch'
+ '020-python-3-12.patch')
sha256sums=('45860d834804a24a163c1bb264a6b1cb802a5bc7ce7e01128072f8d6a4617ca9'
'76d98ea062fcad9e5e3fa981d046a6eb12a3e718a296544a68b66f4b65cb56db'
'2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
@@ -92,7 +94,8 @@
sha256sums=('45860d834804a24a163c1bb264a6b1cb802a5bc7ce7e01128072f8d6a4617ca9'
'81900e13d36630488accd8c0bfd2ceb69563fb2c4f0f171caba1cca59d438024'
'00f68b86d32a1fada900c2da8dad2ab4215106cd58004f049bded99727cda2ff'
'87dddfd9047480e4c2b73367facf5dd3702148418c2efcd606af17c07da90fe0'
- '25271f26d897bb76ae2a39b6fdf10409acc929e2d424e34d1bd42014a42a0d31')
+ '25271f26d897bb76ae2a39b6fdf10409acc929e2d424e34d1bd42014a42a0d31'
+ 'ddb2092a5a000aa6ef854796f39dcdf86e72c06d53b24bac3835350571182df6')
prepare() {
cd "VirtualBox-${pkgver}"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/compare/f788a28d746a8a7a846abb700b4b222e3a5aa8fa...570de2086a2447ba4b4faca7d00c224fcf6f55fa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/compare/f788a28d746a8a7a846abb700b4b222e3a5aa8fa...570de2086a2447ba4b4faca7d00c224fcf6f55fa
You're receiving this email because of your account on gitlab.archlinux.org.