mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-01-05 13:30:46 +00:00
With the (upcoming) introduction of the usb device node acl helper, which uses policykit, spice_usbredir_channel_connect() may take a long time as it will be waiting for the helper, which will be waiting for policykit which may be interacting with the user. So spice_usbredir_channel_connect() will need to become async, and since spice_usb_device_manager_connect_device calls spice_usbredir_channel_connect it thus also needs to become async. Note that this patch only changes spice_usb_device_manager_connect_device's API to use the standard GIO async API, it is not actually async after this patch since spice_usbredir_channel_connect is not yet async. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
35 lines
990 B
Makefile
35 lines
990 B
Makefile
NULL =
|
|
|
|
if WITH_VALA
|
|
vapidir = $(datadir)/vala/vapi
|
|
vapi_DATA = \
|
|
spice-client-glib-2.0.vapi \
|
|
spice-client-glib-2.0.deps \
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \
|
|
$(NULL)
|
|
|
|
spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir
|
|
$(AM_V_GEN)$(VAPIGEN) \
|
|
--library spice-client-glib-2.0 \
|
|
$<
|
|
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi
|
|
$(AM_V_GEN)$(VAPIGEN) \
|
|
--vapidir=$(builddir) \
|
|
--girdir=$(top_builddir)/gtk \
|
|
--pkg spice-client-glib-2.0 \
|
|
--pkg gtk+-$(GTK_API_VERSION) \
|
|
--library spice-client-gtk-$(SPICE_GTK_API_VERSION) \
|
|
$<
|
|
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps: spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi
|
|
@echo "spice-client-glib-2.0" > $@
|
|
@echo "gtk+-$(GTK_API_VERSION)" >> $@
|
|
|
|
endif
|
|
|
|
CLEANFILES = $(vapi_DATA)
|
|
|
|
-include $(top_srcdir)/git.mk
|