summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Import GNULIB's GCC warning macrosDaniel P. Berrange2012-03-131-69/+1
| | | | | | | | | | | | | | | GNULIB has a helpful module 'manywarnings' which makes it easy to turn on every single GCC warning. The general goal is that every possible GCC warning should be enabled, except for certain blacklisted warnings. This imports the GNULIB m4 macros, and updates configure.ac to use this new capability. As & when new GCC warnings are created, the 'manywarnings.m4' can be refreshed from upstream GNULIB * m4/manywarnings.m4, m4/warnings.m4: GNULIB warning macros * configure.ac: Remove custom compiler warning checks * m4/spice-compile-warnings.m4: Decide what GCC warnings to enable
* channel-usbredir: Handle some more usbredirhost_read_guest_data errorsHans de Goede2012-03-081-1/+1
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Fix building with policykit < 0.101Hans de Goede2012-02-241-0/+2
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* usbredir: Add awareness of host/guest side filteringHans de Goede2012-02-221-1/+1
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* configure: Fix "USB redirection support" summary on --disable-usbredirHans de Goede2012-02-221-2/+2
| | | | | | | | When running "./configure --disable-usbredir" the "USB redirection support" line in the summary at the end of ./configure would be empty after "support" instead of ending with yes or no. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* RFC: Use spice protocol as a submoduleMarc-André Lureau2012-02-221-5/+7
| | | | | | Spice protocol contains only headers. We would like to be able to use a protocol update without having to wait for the release, a git submodule works well for this purpose.
* usbredir: make channel lifetime equal to session lifetimeHans de Goede2012-02-201-1/+1
|
* usbutil: Add support for getting strings from usb.idsHans de Goede2012-02-201-0/+21
| | | | | | | | Unfortunately not all device makers go to the "trouble" of adding device identification strings to a device's descriptors. This patch makes spice-gtk translate vid/pid into strings if the device lacks the strings. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add controller ENABLE_SMARTCARD messageMarc-André Lureau2012-02-171-1/+1
|
* Link with usbredirparserChristophe Fergeau2012-02-081-1/+1
| | | | | | spice-gtk uses usbredirfilter_string_to_rules which is defined in usbredirparser but does not link with it. This causes link errors on some distributions. Fixes fdo bug #45761.
* configure: Add an option for building the acl helper as PIEHans de Goede2012-01-281-0/+29
| | | | | | | | Josh Bressers has been so kind to review the usb-acl-helper for possible security issues. One of his recomendations was to harden the usb-acl-helper by building it as a Position Independent Executable. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* configure.ac: s/x"$have_foo"/"x$have_foo"/Hans de Goede2012-01-281-8/+8
| | | | | | | | | | | configure.ac was using 2 slightly different styles for have_foo tests: if test x"$have_foo" = "xyes"; then and: if test "x$have_foo" = "xyes"; then Switch to the latter style everywhere for consistency. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* configure.ac: Cleanup policykit checksHans de Goede2012-01-281-5/+6
| | | | | | | | | | * No need to set AM_CONDITIONAL WITH_POLKIT from the enable_usbredir tests, it get sets from the enable_polkit tests in all paths * Improve the help text: mention auto as option, policykit -> PolicyKit, not yes but auto is the default * Warn when building with usbredir support but not building the acl helper Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add check for Perl::Text::CSVChristophe Fergeau2012-01-241-0/+10
| | | | | This check is only added to configure.ac contrary to the pyparsing patch.
* Add check for pyparsingChristophe Fergeau2012-01-241-0/+11
| | | | | | Check both in configure.ac (after checking if we need to rebuild the marshalling files) and in the python script using pyparsing (for people modifying .proto files in tarballs)
* Use PKG_CHECK_EXISTS for g-i has_symbol_prefix checkChristophe Fergeau2012-01-241-1/+1
| | | | | | | | GOBJECT_INTROSPECTION_CHECK will alread test for the presence of gobject-introspection. The PKG_CHECK_MODULES(GOBJECT_INTROSPECTION) call only needs to set the has_symbol_prefix variable, so we can use PKG_CHECK_EXISTS here, and let GOBJECT_INTROSPECTION_CHECK do the rest of the work.
* Autodetect usbredir and PolicyKit by defaultChristophe Fergeau2012-01-241-28/+45
| | | | | | | | | | | | Currently, usb redirection and policykit are enabled by default, and configure will error out if the required dependencies cannot be found. This commit changes the default behaviour, by default usb redirection/policykit support is automatically enabled/disabled depending on the availability of the needed dependencies. Passing --enable-usbredir will error out if the dependencies for usb redirection cannot be found, ditto for policykit. This should make things nicer for people running configure or autogen.sh with no argument.
* build: use AM_GLIB_GNU_GETTEXTMarc-André Lureau2012-01-231-4/+4
| | | | | | | | For some unknown reason, this set DATADIRNAME='share' on Windows, which is what is expected. Although some people say only IT_PROG_INTLTOOL is necessary, it gets the path wrong in this case too.
* usbredir: Add support for filtering out devices from auto-redirectionHans de Goede2012-01-151-1/+1
| | | | | | | | | | | Note this patch adds a default filter filtering out HID devices, since redirecting ie a mouse plugged into a laptop is usually not what the user wants. Also sometimes usb keyboards/mice may experience a glitch causing them to temporarily drop of the bus. If this happens when the spice-client has focussed it used to redirect them to the vm when they re-appeared, not good! Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Lower polkit requirement to 0.96Marc-André Lureau2012-01-121-1/+4
|
* configure: spice-protocol >= 0.10.1 (support mini header)Yonit Halperin2012-01-101-1/+1
|
* usbredir: Use new libusbredirhost write flush callbackHans de Goede2011-12-221-1/+1
| | | | | | | | | | | | The new (in usbredir-0.3.2) usbredirhost_open_full() function allows us to be notified whenever usb packets completing result in data to be send to the host. This removes the need for using g_usb_source_set_callback and seeing if there is data to write on any of the usb channels each time some usb event happens. This also bumps the minimum needed libusbredirhost version to 0.3.2 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Disable vala bindings unless --enable-vala is usedChristophe Fergeau2011-12-221-1/+1
| | | | | | | | | 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.
* Revert previous vala-related commitsChristophe Fergeau2011-12-221-1/+1
| | | | | They were work in progress and not meant to be committed, apologies for the noise :-/
* build: ship vala files & fix make distcheckMarc-André Lureau2011-12-221-1/+1
| | | | | | | | | | | 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
* Make path to the USB ACL helper configurableChristophe Fergeau2011-12-221-0/+7
| | | | | It's currently installed in $bindir, but this patch makes it possible for distros like fedora to install it in $libexecdir/spice/
* build: remove unused common/win/my_getoptMarc-André Lureau2011-12-221-2/+0
|
* build: depends on spice-protocol 0.9.1Marc-André Lureau2011-12-191-1/+1
|
* add explicit links against libraries that are directly usedFrédéric Péters2011-12-181-0/+3
|
* build: fix linking with -Wl,--as-needed -Wl,--no-undefined etc..Marc-André Lureau2011-12-021-1/+1
| | | | | | | | | | | Mageia is using linker flags and miss symbols when linking. The error can be reproduced with: make LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" Based on patch by Christophe Fergeau. https://bugs.freedesktop.org/show_bug.cgi?id=43416
* Add a suid root helper to open usb device nodesHans de Goede2011-11-161-0/+19
| | | | | | | | | | | | | | | | spice-client needs to be able to open the device nodes under /dev/bus/usb to be able to redirect a usb device to the guest. Normally opening these nodes is only allowed by root. This patch adds a suid root helper which asks policykit if it is ok to grant raw usb device access, and if policykit says it is ok, opens up the acl so that the spice-client can open the device node. As soon as spice-client closes the stdin of the helper, the helper removes the extra rights. This ensures that the acl gets put back to normal even if the spice client crashes. Normally the spice-client closes stdin directly after opening the device node. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add vapi bindings generationMarc-André Lureau2011-10-251-0/+8
|
* configure.ac: Update minimum required spice-protocol to 0.9.0Hans de Goede2011-09-021-1/+1
| | | | | | This is needed for usbredir support. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add an usbredir channelHans de Goede2011-08-301-0/+1
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add a private copy of gusbHans de Goede2011-08-301-0/+16
| | | | | | | | | | | | | | | While working on usb redirection support for spice-gtk I needed some code to integrate libusb into glib's mainloop amongst other things. I ended up borrowing code from colord for this. Richard (the colord author) and I quickly agreed that doing generic glib bindings for libusb is a good idea, akin to the gudev bindings for libudev we've called our WIP on this gusb: https://gitorious.org/gusb Since this very much is a WIP, the API is nowere near stable, so for now we bundle a copy of this code with spice-gtk. When gusb has an official release out the door with a stable API we should switch to that. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* gtk: implement coroutines using Windows fibersMarc-André Lureau2011-08-171-11/+29
|
* Release v0.7v0.7Marc-André Lureau2011-07-181-1/+1
|
* build: fix .pc RequiresMarc-André Lureau2011-07-161-5/+8
|
* build-sys: fix disable-smartcard broken earlierMarc-André Lureau2011-06-241-1/+2
|
* build-sys: some minor cleanupMarc-André Lureau2011-06-221-53/+57
|
* add --enable-smartcard configure flagChristophe Fergeau2011-06-221-0/+10
|
* gtk/gstaudio: add volume control supportMarc-André Lureau2011-06-221-1/+1
|
* configure.ac: add defines for windows and osxChristophe Fergeau2011-06-071-1/+8
| | | | | | | | | | | | | | Check for gtk+-win32/gtk+-osx to know when we should define HAVE_WINDOWS/WITH_DISPLAY_WINDOWS and HAVE_QUARTZ/WITH_DISPLAY_QUARTZ This is better than the old scheme that blindly tried to detect libx11, and chose between x11/windows depending on only this test. We probably should check that only one of windows/x11/quartz is enabled at once. NB: for now the QUARTZ defines are not used since we will be using a generic GnomeRR backend instead of having our own OSX backend.
* configure.ac: only check for X11 libs on X11 buildsChristophe Fergeau2011-06-071-6/+9
| | | | | | No need to try to detect xrandr or xkb headers when we won't be doing an X11 build. This is even detrimental on Mac OSX when we want to attempt a native build but have the xkb headers installed.
* configure.ac: simplify --with-x11 processing a bitChristophe Fergeau2011-06-071-3/+1
|
* configure.ac: improve X11 detectionChristophe Fergeau2011-06-071-3/+1
| | | | | Use gtk-x11-[23].0.pc to detect whether we want an x11 build or not. Don't AC_SUBST X11_CFLAGS and X11_LIBS since they are unused.
* configure.ac: group all X11 checksChristophe Fergeau2011-06-071-21/+21
| | | | Gather all x11 related checks in the same place
* build: update spicy.nsis installerMarc-André Lureau2011-06-051-0/+1
|
* build: remove unused c++ checkMarc-André Lureau2011-06-021-2/+0
|
* build: fix build with latest mingwMarc-André Lureau2011-05-161-0/+2
|