| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Defaults to GStreamer on Windows, and PulseAudio otherwise atm.
|
|
|
|
|
| |
The default configure sasl auto setting will error out if SASL is
missing. Instead, silentely skip sasl configure if detected missing.
|
|
|
|
| |
This is probably not exhaustive enough, but better than nothing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Use AC_CONFIG_HEADER instead of deprecated AM_CONFIG_HEADER.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
|
| |
|
|
|
|
|
|
|
|
| |
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 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
For windows GUDEV is not required
For Linux GUDEV is checked as a part of USBREDIR block, but
as a separate check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is going to make life easier for stow users, including myself.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
| |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
| |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
This check is only added to configure.ac contrary to the pyparsing
patch.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|