Commit Graph

11 Commits

Author SHA1 Message Date
Frediano Ziglio
aed7c51a23 build: Fix compatibility with Meson 0.49
The "install" argument for configure_file is available since 0.50.
However this is already "false" if "install_dir" is not provided.

Update also spice-common submodule to import a similar fix for
spice-common module. This brings in the following changes:

Frediano Ziglio (10):
      gitignore: Ignore auto generated generated_messages.h file
      Do not check for HAVE_CONFIG_H
      build: Remove unused git-version-gen file
      recorder: Update
      build: Disable Celt support by default
      codegen: Use has_end_attr instead of has_attr("end")
      codegen: Exit with error on error generating C structures
      protocol: Removed unneeded type specifications
      codegen: Add a check for C structure fields
      meson: Remove "install" argument from configure_file

Uri Lublin (2):
      ptypes.py: remove useless condition member != None
      test-marshallers.proto: ArrayMessage: make space for name

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2019-08-29 16:58:18 +01:00
Uri Lublin
8df8452a43 spice-common: update submodule
Fix out-of-tree builds.

Uri Lublin (1):
      codegen Makefile: add common/ to --include client_marshallers.h
2019-04-24 08:14:21 +01:00
Frediano Ziglio
8941784dc6 spice-common: update submodule
This brings in the following changes:

Christophe Fergeau (8):
      canvas_base: Fix variable shadowing warning
      backtrace: Add missing include
      lz: Don't try to print uninitialized variable
      build: Add missing G_GNUC_PRINTF annotations
      build: Update verify.h to latest version
      test-marshallers: Fix header guard
      quic: Fix QUIC_VERSION definition
      log: Let gcc know about the logging macros which abort

Eduardo Lima (Etrunko) (5):
      meson: Use underscorify() instead of split()
      meson: Bump libcacard requirement to 2.5.1
      meson: switch smartcard option to auto feature
      meson: Bump requirement to 0.48
      meson: Make targets list store dictionaries instead of lists

Frediano Ziglio (31):
      Remove obsolete Autoconf macros
      log: remove deprecated SPICE_ABORT_LEVEL support
      log: remove deprecated SPICE_DEBUG_LEVEL support
      Obsolete Glib cleanup
      codegen: Document ptr_array attribute
      codegen: Use a better type for pointer converted to integer
      codegen: Reduce indentation
      codegen: Fix c_type result for TypeAlias
      codegen: Check wrong attribute
      codegen: Add a test for attribute combination
      mem: Fix compile error if alignment-checks option is used
      log: Remove useless includes
      proto: Remove obsolete TunnelChannel
      protocol: Add a dummy TunnelChannel
      messages: Remove fields not used by the protocol
      codegen: Remove support for --ptrsize
      codegen: Rename --prefix parameter to --suffix
      ci: Remove dependencies from copr build
      build: Remove snd_codec.h from EXTRA_DIST
      test-ssl-verify: Improve subject_to_x509_name coverage
      meson: Remove some useless checks
      codegen: Factor out a function to write output file
      codegen: Generate headers while generating code
      codegen: Allows to generate C declarations automatically
      Allow to generate C declarations for spice.proto
      Generate automatically most C message declarations
      recorder: Update
      build: Add new check for recorder library
      proto: Fix typo in message name
      meson: Fix dependency of generated files
      meson: Do not build generated files twice

Marc-André Lureau (1):
      docs: add spice URI scheme

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2019-04-04 18:34:31 +01:00
Frediano Ziglio
11e24061ea Allows to enable recorder integration
recorder library will be used to collect some statistics during
development.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2019-02-19 15:52:28 +00:00
Marc-André Lureau
184e72167c Move src/keycodemapdb -> subprojects/keycodemapdb
Follow meson build system conventions.

This will allow meson to handle it as a subproject.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-02-18 18:31:35 +00:00
Marc-André Lureau
620d4f90bd spice-common: update submodule
Get the fix for meson build and big endian machines, like s390x.

Frediano Ziglio (4):
      marshaller: Provide spice_marshaller_fill_iovec for Windows
      test: Add a test for subject_to_x509_name function
      lz: Avoid buffer reading overflow checking for image type
      lz: More checks on image sizes

Marc-André Lureau (4):
      Add a .gitpublish
      build-sys: improve asciidoc rules to allow multiple targets
      quic: fix sign-compare warning
      meson: fix building for big-endian host

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-01-17 13:29:28 +04:00
Marc-André Lureau
c01599b5d2 build-sys: drop support for libcacard < 2.5.1
v2.5.1 was released the 2015-11-24.

According to repology, from the distro we care about, CentOS 6,
openSUSE Leap 42.3 have too old version (0.1.2).

SPICE_CHECK_SMARTCARD is updated with spice-common.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2019-01-08 15:43:21 +04:00
Frediano Ziglio
bde8548e11 Use new common demarshallers.h
Avoids mismatching duplicate declarations causing potentially
ABI incompatibilities.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2018-10-15 14:46:10 +01:00
Frediano Ziglio
f77a1d50aa proto: Remove support for SPICE version 1
SPICE version 2 was introduced more than 8 years ago.
RHEL 6 already removed support for version 1 in the server.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2018-09-28 11:13:45 +01:00
Frediano Ziglio
44f84a7fba Update spice-common submodule
This brings in the following changes:

Eduardo Lima (Etrunko) (5):
      ci: Fix typo: celt501 -> celt051
      meson: Make options accessible through parent project
      meson: Fix checking for python
      Meson: Make use of dictionary type introduced in version 0.47
      Meson: Make use of 'feature' option type introduced in version 0.47

Frediano Ziglio (2):
      ci: Fix Meson feature option
      Fix flexible array buffer overflow

Lukáš Hrázký (1):
      spice*.proto: Replace tabs with the appropriate number of spaces

Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2018-08-16 21:33:28 +01:00
Eduardo Lima (Etrunko)
58884a4572 build: Move spice-common to subprojects/ directory
The reason for this commit is that Meson expects all submodules to be
placed in this subdirectory, and since autotools build is more flexible
in this case, we make some small adjustments to configure.ac and
Makefile.am files to accommodate for this change.

The same has been done for spice-server in commit b0e141b3

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2018-08-01 14:38:15 -03:00