mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 14:54:14 +00:00
Fix spice includes
Spice release version 0.31 requires that only spice-client.h or spice-client-gtk.h should be included directly. As a result, compilation is now throwing warnings like: warning: #warning "Only <spice-client.h> can be included directly" [-Wcpp] warning: #warning "Only <spice-client-gtk.h> can be included directly" [-Wcpp] This patch also bumps spice version requirement to 0.31, to ensure those files are available. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
parent
3367285c37
commit
e5239c7cbb
@ -24,7 +24,7 @@ LIBXML2_REQUIRED="2.6.0"
|
||||
LIBVIRT_REQUIRED="0.10.0"
|
||||
LIBVIRT_GLIB_REQUIRED="0.1.8"
|
||||
GTK_VNC_REQUIRED="0.4.0"
|
||||
SPICE_GTK_REQUIRED="0.30"
|
||||
SPICE_GTK_REQUIRED="0.31"
|
||||
SPICE_PROTOCOL_REQUIRED="0.12.7"
|
||||
GOVIRT_REQUIRED="0.3.2"
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <spice-audio.h>
|
||||
#include <spice-client-gtk.h>
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
|
||||
@ -25,8 +25,7 @@
|
||||
#define _VIRT_VIEWER_DISPLAY_SPICE_H
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <spice-widget.h>
|
||||
#include <spice-audio.h>
|
||||
#include <spice-client.h>
|
||||
|
||||
#include "virt-viewer-display.h"
|
||||
#include "virt-viewer-session-spice.h"
|
||||
|
||||
@ -24,12 +24,9 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <spice-audio.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include <spice-option.h>
|
||||
#include <spice-util.h>
|
||||
#include <spice-client.h>
|
||||
#include <spice-client-gtk.h>
|
||||
|
||||
#include <usb-device-widget.h>
|
||||
#include "virt-viewer-file.h"
|
||||
|
||||
@ -25,8 +25,7 @@
|
||||
#define _VIRT_VIEWER_SESSION_SPICE_H
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <spice-widget.h>
|
||||
#include <spice-audio.h>
|
||||
#include <spice-client.h>
|
||||
|
||||
#include "virt-viewer-session.h"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user