summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* misc: sed -i -e 's/USE_DBUS/USE_DBUS_GLIB/g'Marc-André Lureau2014-02-071-1/+1
|
* Use the new snd_codec interface to process encoded audio.Jeremy White2014-01-021-7/+1
| | | | Signed-off-by: Jeremy White <jwhite@codeweavers.com>
* build-sys: Add real autodetection of pythonChristophe Fergeau2013-11-191-8/+42
| | | | | | | | | | | configure help text says that by default python will be used automatically if appropriate, however this only means that on !windows and !gtk3, we will force build of the python bindings, and fail if any needed package to build them is missing. This commit improves on the current checks so that when autodetecting python, if a package is missing then build of the bindings is silently disabled rather than failing.
* build-sys: Re-enable building of python bindings by defaultChristophe Fergeau2013-11-191-1/+1
| | | | | | Commit daa4ece tried to disable building of python bindings on Windows by default, but in doing so, it also disabled building of python bindings by default when we are building neither for Windows nor for gtk3.
* build-sys: Fix invalid 'test' syntax in configure.acChristophe Fergeau2013-11-191-1/+1
| | | | | | | test ... -o test ... is not a valid shell construct, change it to test ... || test ... as this is more portable than test ... -o ... This was causing a warning when running configure.
* build-sys: do not compile python binding with windows by defaultMarc-André Lureau2013-09-261-14/+10
|
* build-sys: add --with-audio=autoMarc-André Lureau2013-09-261-2/+6
| | | | Defaults to GStreamer on Windows, and PulseAudio otherwise atm.
* build-sys: fix --with-saslMarc-André Lureau2013-09-261-11/+5
| | | | | The default configure sasl auto setting will error out if SASL is missing. Instead, silentely skip sasl configure if detected missing.
* tests: add some dos2unix testsMarc-André Lureau2013-08-241-0/+1
| | | | This is probably not exhaustive enough, but better than nothing.
* Only use GOBJECT_INTROSPECTION_CHECK when availableChristophe Fergeau2013-08-131-5/+7
| | | | | | | | | | | | | | Current el6 systems don't have gobject-introspection packages, so the GOBJECT_INTROSPECTION_CHECK m4 macro is not available on such systems. This makes it difficult to run autogen.sh on these systems. This commit uses m4_ifdef to check if this macro is available before trying to use it, and makes sure introspection is disabled when GOBJECT_INTROSPECTION_CHECK could not be found. This allows to compile spice-gtk from git on el6 systems with: ./autogen.sh --with-gtk=2.0 --disable-gtk-doc --disable-vala --disable-controller --disable-werror
* usb-device-manager: Add support for libusb hotplug APIHans de Goede2013-07-051-14/+27
| | | | | | | | | | For now this makes the usb-code even more of a #ifdef party (albeit only slightly so). But it does give us (theoretical, untested) usb support on Mac OS X, and once the libusb Windows backend also gets hotplug support, we can bump the required libusb version to a new enough one, and drop both the windows gudev emulation as well as the gudev code-paths. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* automake: Disable portability warningsChristophe Fergeau2013-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When they are enabled, autogen.sh fails with: automake: warnings are treated as errors gtk-doc.make:77: warning: GTK_DOC_V_SETUP_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:78: warning: GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:96: warning: GTK_DOC_V_SCAN_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:97: warning: GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:100: warning: GTK_DOC_V_INTROSPECT_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:101: warning: GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:132: warning: GTK_DOC_V_XML_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:133: warning: GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:149: warning: GTK_DOC_V_HTML_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:150: warning: GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:153: warning: GTK_DOC_V_XREF_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:154: warning: GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:185: warning: GTK_DOC_V_PDF_$(V: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here gtk-doc.make:186: warning: GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/reference/Makefile.am:59: 'gtk-doc.make' included from here autoreconf: automake failed with exit status: 1 on my F19. -Wportability used to be automatically disabled with automake <= 1.12 when using silent rules, but this is no longer the case with automake 1.13 which is what fedora 19 uses: http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html "As of version 1.13, though, this opt-in is no longer necessary, as all the Makefiles are generated to support them. The silent-rules option is now a no-op, doing nothing at all, in particular not silencing the portability warnings." This commit disables these warnings in order to avoid autogen.sh breakage because of the use of -Werror, they can be reenabled once gtk-doc.make is fixed to avoid these portability warnings.
* Fix setting of SPICE_{GLIB,GTK}_REQUIRESChristophe Fergeau2013-04-231-4/+4
| | | | | | Because of a typo (REQUIRED vs REQUIRES), these variables only contained the last require that was set rather than a concatenation of all the needed libraries.
* smartcard: trivial cleanupMarc-André Lureau2013-02-261-1/+1
|
* build-sys: don't use -Wstrict-prototypes with Gtk+ 2.0Marc-André Lureau2013-02-061-1/+12
|
* build: fix for automake-1.13Natanael Copa2013-02-041-1/+1
| | | | | | Use AC_CONFIG_HEADER instead of deprecated AM_CONFIG_HEADER. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
* build-sys: Use a portable variable assignment in configure.acJasper Lievisse Adriaanse2013-01-211-4/+4
|
* Add wocky HTTP proxyMarc-André Lureau2012-12-141-0/+3
| | | | | | | | Courtesy of Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> It might make sense to include this proxy in glib/gio, but it is still missing some features according to its author, namely SSL and perhaps better CRLF.
* spicy: demo SpicePort usageMarc-André Lureau2012-12-051-0/+1
| | | | | | | | | | | spicy has been modified to recognized 2 different port types to play with: * org.spice.spicy: will connect the port to the current stdin/stdout, and can be used as a chardev for the qemu monitor * org.spice.spicy.break: will send a break event on connect and disconnect immediately (exercice the port event and flush)
* Deal with libusbredirparser.pc rename to libusbredirparser-0.5.pcHans de Goede2012-09-251-4/+11
| | | | | | | | | | | | | | | | | | | | | The usbredir 0.5 release introduced the new API for 64 bit packet ids, but it kept the libusbredirparser.pc name as is, meaning that older versions of qemu will still have their pkg-config check for usbredirparser fulfilled, and build with the usb-redir device. Due to the API change there will be some compiler warnings, but the build will succeed, however the usb-redir device will be broken on 32 bit machines. To solve this, the usbredir-0.5.2 release renames the libusbredirparser.pc file to libusbredirparser-0.5.pc, so that it will no longer fulfill the pkg-config check of the qemu-1.2 and older releases, stopping the (silent) breakage. spice-gtk does not use the changed parts of the API, but does use libusbredirparser for the usbredirfilter* functions. This patch adapts spice-gtk's configure to accept both the libusbredirparser-0.5 and the libusbredirparser pkg-config names. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* usb-acl-helper: Clear environmentColin Walters2012-09-141-0/+2
| | | | | | Otherwise we can be subject to attack via environment variables such as DBUS_SYSTEM_BUS_ADDRESS. This addresses CVE-2012-4425 http://seclists.org/oss-sec/2012/q3/470
* Move AM_PROG_AR before LT_INIT callChristophe Fergeau2012-08-301-2/+1
| | | | | | The other way round generates warnings: configure.ac:14: warning: LT_INIT was called before AM_PROG_AR aclocal.m4:1015: AM_PROG_AR is expanded from...
* support automate >= 1.12 with new required AM_PROG_ARAlon Levy2012-08-291-0/+2
|
* build: add --enable-smartcard=auto supportChristophe Fergeau2012-08-071-9/+13
| | | | | | | | | | | Currently, when running configure with no arguments, smartcard support is enabled by default, and configure will fail if it cannot find libcacard. This commit adds a --enable-smartcard=auto mode to configure which will use automatically enable smartcard support if libcacard is available, but it will be silently disabled if libcacard is not available. Passing --enable-smartcard will fail if libcacard is not available. Passing --disable-smartcard will always disable smartcard support and will not test for libcacard availability.
* build: make controller build optionalChristophe Fergeau2012-08-071-0/+7
| | | | | | | Apart from the Vala bindings, this is the only part of spice-gtk which requires Vala to be built from git. Since it's only useful when spice-gtk is used in conjunction with an oVirt browser plugin, letting people disabling it will not necessarily cause issues.
* Windows mingw: usb: configure.ac: do not require GUDEV for USBREDIRUri Lublin2012-07-101-1/+14
| | | | | | For windows GUDEV is not required For Linux GUDEV is checked as a part of USBREDIR block, but as a separate check.
* Add a desktop-integration helper classHans de Goede2012-07-061-0/+20
| | | | | | | | | | | | | | | | | We need to integrate closely with the desktop environment of the user in several cases. Some examples are disabling auto-mounting when auto-usbredir is active (rhbz#812972), and disabling the screensaver when fullscreen (fdo#34793). Unfortuntely these kinds of things require desktop environment specific handling. Therefor this patch introduces a desktop-integration helper class, which is to server as a container for all sort of desktop environment specific functions. For now it just supports disabling automounting under Gnome, but this will be extended in the future. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* build-sys: pyparsing req. moved to spice-commonMarc-André Lureau2012-04-211-10/+0
|
* build-sys: move codegen & proto to spice-commonMarc-André Lureau2012-03-251-8/+3
| | | | | | | | | | With this iteration, all the spice_codegen.py/proto/marshaller generation has been moved to spice-common. The spice-common directory will ship spice-protocol, since it's needed there too to build libspice-common. Again, make distcheck passes. Build with mingw & fedora linux.
* build-sys: if stow is installed, default prefix to itMarc-André Lureau2012-03-161-0/+7
| | | | This is going to make life easier for stow users, including myself.
* use common submoduleMarc-André Lureau2012-03-151-0/+2
|
* 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>