patched VBoxClient-all to avoid showing a notification on desktop login if vboxclient driver is not loaded [release 7.0.10-2mamba;Wed Sep 13 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 17:55:10 +01:00
parent c4b606a2ac
commit a729d5214f
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,12 @@
--- VirtualBox-7.0.10/src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig 2023-09-13 21:47:24.298300105 +0200
+++ VirtualBox-7.0.10/src/VBox/Additions/x11/Installer/98vboxadd-xclient 2023-09-13 21:47:41.654258752 +0200
@@ -35,7 +35,8 @@
# Do not start if the kernel module is not present.
# Execute notify-send in the back-ground to avoid racing with sddm,
# as notify-send may wait for sddm to start while it waits for us to exit.
- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
+ #notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
+ :
elif test -z "${SSH_CONNECTION}"; then
# This script can also be triggered by a connection over SSH, which is not
# what we had in mind, so we do not start VBoxClient in that case. We do

View File

@ -18,7 +18,7 @@
Name: VirtualBox Name: VirtualBox
Version: 7.0.10 Version: 7.0.10
Release: 1mamba Release: 2mamba
Summary: A general-purpose full virtualizer for x86 hardware Summary: A general-purpose full virtualizer for x86 hardware
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
@ -55,6 +55,7 @@ Patch12: VirtualBox-6.1.10-vboxweb-gsoap.patch
Patch13: VirtualBox-6.1.18-kernel-5.10.patch Patch13: VirtualBox-6.1.18-kernel-5.10.patch
Patch14: VirtualBox-6.1.34-ffreestanding.patch Patch14: VirtualBox-6.1.34-ffreestanding.patch
Patch15: VirtualBox-7.0.10-dxvk-native-gcc-13.2.patch Patch15: VirtualBox-7.0.10-dxvk-native-gcc-13.2.patch
Patch16: VirtualBox-7.0.10-VBoxClient-all-disable-notification.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -191,6 +192,7 @@ X.org mouse driver for VirtualBox guest machine.
#%patch13 -p1 #%patch13 -p1
#%patch14 -p1 -b .ffreestanding #%patch14 -p1 -b .ffreestanding
%patch 15 -p1 %patch 15 -p1
%patch 16 -p1
%ifarch %{ix86} %ifarch %{ix86}
sed -i "s|VBOX_SUPPORTED_HOST_ARCHS := amd64|VBOX_SUPPORTED_HOST_ARCHS := x86|" Config.kmk sed -i "s|VBOX_SUPPORTED_HOST_ARCHS := amd64|VBOX_SUPPORTED_HOST_ARCHS := x86|" Config.kmk
@ -669,6 +671,9 @@ KERNEL=/boot/vmlinuz-$KVER
%{_libdir}/%{name}/additions/VBoxGuestAdditions.iso %{_libdir}/%{name}/additions/VBoxGuestAdditions.iso
%changelog %changelog
* Wed Sep 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.10-2mamba
- patched VBoxClient-all to avoid showing a notification on desktop login if vboxclient driver is not loaded
* Wed Aug 30 2023 Automatic Build System <autodist@mambasoft.it> 7.0.10-1mamba * Wed Aug 30 2023 Automatic Build System <autodist@mambasoft.it> 7.0.10-1mamba
- automatic version update by autodist - automatic version update by autodist