From afc47868ee06cf8e466fd88881b36d5a7c71f29a Mon Sep 17 00:00:00 2001
From: Sergej Schumilo <sergej@schumilo.de>
Date: Fri, 14 Apr 2023 04:39:15 +0200
Subject: [PATCH] bump QEMU-Nyx version

The QEMU-Nyx compile script does not set "--enable-gtk" anymore.
So it is no longer necessary to patch the compile_qemu_nyx.sh script manually.
---
 nyx_mode/QEMU-Nyx             | 2 +-
 nyx_mode/QEMU_NYX_VERSION     | 2 +-
 nyx_mode/build_nyx_support.sh | 5 -----
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/nyx_mode/QEMU-Nyx b/nyx_mode/QEMU-Nyx
index 5c8cf793..60c216bc 160000
--- a/nyx_mode/QEMU-Nyx
+++ b/nyx_mode/QEMU-Nyx
@@ -1 +1 @@
-Subproject commit 5c8cf793ec615b0df5fa722878c8f6906ad7936f
+Subproject commit 60c216bc9e4c79834716d4099993d8397a3a8fd9
diff --git a/nyx_mode/QEMU_NYX_VERSION b/nyx_mode/QEMU_NYX_VERSION
index f5888136..98cb134f 100644
--- a/nyx_mode/QEMU_NYX_VERSION
+++ b/nyx_mode/QEMU_NYX_VERSION
@@ -1 +1 @@
-5c8cf793ec
+60c216bc9e
diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh
index e7fca64f..581a8292 100755
--- a/nyx_mode/build_nyx_support.sh
+++ b/nyx_mode/build_nyx_support.sh
@@ -60,11 +60,6 @@ fi
 
 echo "[*] Checking QEMU-Nyx ..."
 if [ ! -f "QEMU-Nyx/x86_64-softmmu/qemu-system-x86_64" ]; then
-    
-    if ! dpkg -s gtk3-devel > /dev/null 2>&1; then
-        echo "[-] Disabling GTK because gtk3-devel is not installed."
-        sed -i 's/--enable-gtk//g' QEMU-Nyx/compile_qemu_nyx.sh
-    fi
     (cd QEMU-Nyx && ./compile_qemu_nyx.sh static)
 fi
 
-- 
GitLab