Commit Graph

10 Commits

Author SHA1 Message Date
Marc-André Lureau
c4ac4ca2bf build: fix vapigen error and warnings
Thanks to Jeremy Bicha for the bug report and testing solution.

https://bugs.freedesktop.org/show_bug.cgi?id=45154
2012-01-24 02:01:27 +01:00
Christophe Fergeau
c5f42f8fb3 Disable vala bindings unless --enable-vala is used
Currently, building vala bindings from a tarball is broken because
spice-client-glib-2.0.deps is missing from the tarball. This commit
adds it to EXTRA_DIST and also makes sure the vala bindings don't
get built/installed unless --enable-vala has been passed to configure.
This means vala must be installed to build the vala bindings from a
tarball. Fixes fdo bug #44000.
2011-12-22 15:14:06 +01:00
Christophe Fergeau
004322519f Revert previous vala-related commits
They were work in progress and not meant to be committed, apologies
for the noise :-/
2011-12-22 13:45:02 +01:00
Christophe Fergeau
ea45a8fe36 More distcheck fixes 2011-12-22 11:49:26 +01:00
Marc-André Lureau
66ff918f37 build: ship vala files & fix make distcheck
Disable usbredir, since it wants to install file in /.

Disable vala for distcheck for 2 reasons: not needed after dist and
binding build issue.

Ship with spice-gtk-3.0 vala bindings

https://bugs.freedesktop.org/show_bug.cgi?id=44000
2011-12-22 09:58:39 +01:00
Marc-André Lureau
ac435f6a8f build: vapi bindings only available if HAVE_INTROSPECTION 2011-12-05 17:52:13 +01:00
Marc-André Lureau
346bf69b1b build: do not clean spice-client-glib-2.0.deps 2011-12-02 16:49:28 +01:00
Hans de Goede
47d7c79be5 usb-device-manager: Make spice_usb_device_manager_connect_device async
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>
2011-11-16 17:06:56 +01:00
Marc-André Lureau
ef76f18e5b Fix package `SpiceClientGLib-2.0' not found 2011-11-03 13:35:48 +01:00
Marc-André Lureau
5964ea17b0 Add vapi bindings generation 2011-10-25 21:57:13 +02:00