File 01-quickemu-drop-sdl-support.patch of Package quickemu
Index: b/docs/quickemu.1
===================================================================
--- a/docs/quickemu.1
+++ b/docs/quickemu.1
@@ -236,7 +236,7 @@ requirements manually:
.UR https://www.qemu.org/
QEMU
.UE \c
-\ (\f[I]6.0.0 or newer\f[R]) \f[B]with GTK, SDL, SPICE & VirtFS
+\ (\f[I]6.0.0 or newer\f[R]) \f[B]with GTK, SPICE & VirtFS
support\f[R]
.IP \[bu] 2
\c
Index: b/quickemu
===================================================================
--- a/quickemu
+++ b/quickemu
@@ -1403,10 +1403,9 @@ function usage() {
echo
echo "Arguments"
echo " --access : Enable remote spice access support. 'local' (default), 'remote', 'clientipaddress'"
- echo " --braille : Enable braille support. Requires SDL."
echo " --delete-disk : Delete the disk image and EFI variables"
echo " --delete-vm : Delete the entire VM and it's configuration"
- echo " --display : Select display backend. 'sdl' (default), 'gtk', 'none', 'spice' or 'spice-app'"
+ echo " --display : Select display backend. 'gtk', 'none', 'spice' (default) or 'spice-app'"
echo " --fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)"
echo " --ignore-msrs-always : Configure KVM to always ignore unhandled machine-specific registers"
echo " --screen <screen> : Use specified screen to determine the window size."
@@ -1441,7 +1440,7 @@ function usage() {
}
function display_param_check() {
- if [ "${OUTPUT}" != "gtk" ] && [ "${OUTPUT}" != "none" ] && [ "${OUTPUT}" != "sdl" ] && [ "${OUTPUT}" != "spice" ] && [ "${OUTPUT}" != "spice-app" ]; then
+ if [ "${OUTPUT}" != "gtk" ] && [ "${OUTPUT}" != "none" ] && [ "${OUTPUT}" != "spice" ] && [ "${OUTPUT}" != "spice-app" ]; then
echo "ERROR! Requested output '${OUTPUT}' is not recognised."
exit 1
fi
@@ -1851,12 +1850,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; the
# Set the default OUTPUT if not provided by user
if [ -z "${OUTPUT}" ]; then
- OUTPUT="sdl"
- fi
-
- # Braille support requires SDL. Override OUTPUT if braille was requested.
- if [ -n "${BRAILLE}" ]; then
- OUTPUT="sdl"
+ OUTPUT="spice"
fi
display_param_check