forked from pool/virtualbox
Compare commits
28 Commits
Author | SHA256 | Date | |
---|---|---|---|
af828c789b | |||
|
47085371cc | ||
|
9a229bd6b6 | ||
ba1c39dd3f | |||
|
1fa759675d | ||
|
28627050ed | ||
74a76a8cf6 | |||
|
89ce80e57e | ||
abc0386ea6 | |||
|
f7f84c2c96 | ||
|
1e0fe5aaf7 | ||
|
4302f9f03e | ||
522b8649ef | |||
|
33e474e47d | ||
27549b0396 | |||
|
860ff60f82 | ||
deda901cec | |||
|
76f29f0942 | ||
|
3558be706c | ||
2b3184c013 | |||
|
ea13a7e583 | ||
dcc13629d7 | |||
|
d1f29f048a | ||
|
fa4643bc2e | ||
2ba5ab27e3 | |||
|
a2a4e0d873 | ||
a2b67f0919 | |||
9953038bec |
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -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
|
||||||
|
BIN
VirtualBox-7.1.12a-patched.tpxz
(Stored with Git LFS)
BIN
VirtualBox-7.1.12a-patched.tpxz
(Stored with Git LFS)
Binary file not shown.
3
VirtualBox-7.1.4-patched.tpxz
Normal file
3
VirtualBox-7.1.4-patched.tpxz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bd2fe03a82514f7c7e2673cbdcd8496ace2bee5925c54dca92f1a6d74fdc09dc
|
||||||
|
size 150630796
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1740394380
|
||||||
|
commit: c69449fd8a98e823269d01975cd8b6f2f416b1e8c57d36a727ba3348655026b3
|
||||||
|
url: https://src.opensuse.org/jengelh/virtualbox
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b2fb4af1284032e44ad62b5ee28863c8f6deb7add562c0302ad9b80114b6e5a3
|
||||||
|
size 256
|
0
fix_usb_rules.sh
Executable file → Normal file
0
fix_usb_rules.sh
Executable file → Normal 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
32
kernel-6-13.patch
Normal 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
0
update-extpack.sh
Executable file → Normal file
0
vboxautostart-service.sh
Executable file → Normal file
0
vboxautostart-service.sh
Executable file → Normal file
0
vboxconfig.sh
Executable file → Normal file
0
vboxconfig.sh
Executable file → Normal file
0
vboxdrv.sh
Executable file → Normal file
0
vboxdrv.sh
Executable file → Normal file
0
vboxguestconfig.sh
Executable file → Normal file
0
vboxguestconfig.sh
Executable file → Normal file
0
vboxweb-service.sh
Executable file → Normal file
0
vboxweb-service.sh
Executable file → Normal file
2
virtualbox-patch-source.sh
Executable file → Normal file
2
virtualbox-patch-source.sh
Executable file → Normal 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
0
virtualbox-wrapper.sh
Executable file → Normal file
@@ -1,105 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
||||||
|
|
||||||
|
@@ -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.1.12a
|
Version: 7.1.4
|
||||||
%define rversion 7.1.12
|
|
||||||
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}
|
||||||
@@ -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
|
||||||
@@ -933,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
|
||||||
@@ -942,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
|
||||||
@@ -976,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
|
||||||
|
Reference in New Issue
Block a user