virt-manager/virt-manager-Disable-spice.patch
Pavel Hrdina 1eb87a8f6d virt-manager-5.0.0-1.el9
- Rebased to virt-manager-5.0.0 (RHEL-34607)
- The rebase also fixes the following bugs:
    RHEL-7124, RHEL-741, RHEL-10468, RHEL-17436, RHEL-1126
    RHEL-62959, RHEL-65264

Resolves: RHEL-10468, RHEL-1126, RHEL-17436, RHEL-34607, RHEL-62959
Resolves: RHEL-65264, RHEL-7124, RHEL-741
2024-12-02 17:21:19 +01:00

44 lines
1.2 KiB
Diff

From 866a53d3e8ef1d536bc7b3f41560ba71f7e81c79 Mon Sep 17 00:00:00 2001
Message-ID: <866a53d3e8ef1d536bc7b3f41560ba71f7e81c79.1733156402.git.phrdina@redhat.com>
From: Pavel Hrdina <phrdina@redhat.com>
Date: Mon, 2 Dec 2024 16:55:04 +0100
Subject: [PATCH] Disable spice
- Disable spice options in virt-manager.
Resolves: #1946939
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
---
virt-manager.spec.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/virt-manager.spec.in b/virt-manager.spec.in
index c22ed32b5..fba140388 100644
--- a/virt-manager.spec.in
+++ b/virt-manager.spec.in
@@ -23,7 +23,6 @@ Requires: python3-gobject >= 3.31.3
Requires: gtk3 >= 3.22.0
Requires: libvirt-glib >= 0.0.9
Requires: gtk-vnc2
-Requires: spice-gtk3
# virt-manager is one of those apps that people will often install onto
# a headless machine for use over SSH. This means the virt-manager dep
@@ -104,8 +103,13 @@ machine).
%build
+%if 0%{?rhel}
+%global _default_graphics -Ddefault-graphics=vnc
+%endif
+
%meson \
-Ddefault-hvs=%{default_hvs} \
+ %{?_default_graphics} \
-Dupdate-icon-cache=false \
-Dcompile-schemas=false \
-Dtests=disabled
--
2.47.0