Hello community, here is the log from the commit of package spice-protocol for openSUSE:Factory checked in at 2020-03-12 22:58:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spice-protocol (Old) and /work/SRC/openSUSE:Factory/.spice-protocol.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spice-protocol" Thu Mar 12 22:58:01 2020 rev:26 rq:783102 version:0.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/spice-protocol/spice-protocol.changes 2019-05-22 10:51:39.727316375 +0200 +++ /work/SRC/openSUSE:Factory/.spice-protocol.new.3160/spice-protocol.changes 2020-03-12 22:58:15.918989754 +0100 @@ -1,0 +2,12 @@ +Mon Mar 9 19:35:56 UTC 2020 - Bruce Rogers <[email protected]> + +- Update to version 0.14.1 + + Introduce VD_AGENT_CAP_CLIPBOARD_GRAB_SERIAL + + Introduce VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB + + Deprecate foreign-menui_prot.h and controller_prot.h interfaces + + Remove VD_AGENT_CLIPBOARD_MAX_SIZE_[DEFAULT ENV] + + Define Quality Indicator messages and enums + + Fix alignment for QXLReleaseInfo + + Other misc fixes + +------------------------------------------------------------------- Old: ---- spice-protocol-0.14.0.tar.bz2 spice-protocol-0.14.0.tar.bz2.sig New: ---- spice-protocol-0.14.1.tar.bz2 spice-protocol-0.14.1.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spice-protocol.spec ++++++ --- /var/tmp/diff_new_pack.3AUHjo/_old 2020-03-12 22:58:16.402989947 +0100 +++ /var/tmp/diff_new_pack.3AUHjo/_new 2020-03-12 22:58:16.406989949 +0100 @@ -1,7 +1,7 @@ # # spec file for package spice-protocol # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: spice-protocol -Version: 0.14.0 +Version: 0.14.1 Release: 0 Summary: SPICE-protocol definitions License: BSD-3-Clause ++++++ spice-protocol-0.14.0.tar.bz2 -> spice-protocol-0.14.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/CHANGELOG.md new/spice-protocol-0.14.1/CHANGELOG.md --- old/spice-protocol-0.14.0/CHANGELOG.md 2019-04-12 15:54:46.000000000 +0200 +++ new/spice-protocol-0.14.1/CHANGELOG.md 2020-03-07 08:43:51.000000000 +0100 @@ -1,3 +1,21 @@ +Major changes in 0.14.1 +======================= +* This is the last release with: + * Autotools: Meson is now the only supported + * foreign_menu_prot.h: Deprecated in this release + * controller_prot.h: Deprecated in this release +* Add VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB +* Add VD_AGENT_CAP_CLIPBOARD_GRAB_SERIAL +* Add SPICE_MSGC_MAIN_QUALITY_INDICATOR enum +* Add STREAM_TYPE_QUALITY_INDICATOR message +* Remove deprecated vdi_dev.h interface +* Remove deprecated VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT +* Remove deprecated VD_AGENT_CLIPBOARD_MAX_SIZE_ENV +* Remove unused SPICE_GNUC_ macros +* qxl_dev: QXLReleaseInfo alignment fix +* Some documentation added in vd_agentd.h +* Now shipping a rpm spec file to easy deployment and testing + Major changes in 0.14.0 ======================= * Bumping minor to show that some types and values were removed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/Makefile.am new/spice-protocol-0.14.1/Makefile.am --- old/spice-protocol-0.14.0/Makefile.am 2019-04-12 15:54:46.000000000 +0200 +++ new/spice-protocol-0.14.1/Makefile.am 2020-03-06 09:24:59.000000000 +0100 @@ -25,6 +25,7 @@ EXTRA_DIST = \ README.md \ CHANGELOG.md \ + spice-protocol.spec \ meson.build -include $(top_srcdir)/git.mk diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/Makefile.in new/spice-protocol-0.14.1/Makefile.in --- old/spice-protocol-0.14.0/Makefile.in 2019-04-12 15:55:07.000000000 +0200 +++ new/spice-protocol-0.14.1/Makefile.in 2020-03-07 08:52:54.000000000 +0100 @@ -97,7 +97,7 @@ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = spice-protocol.pc +CONFIG_CLEAN_FILES = spice-protocol.pc spice-protocol.spec CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) @@ -186,7 +186,8 @@ CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(srcdir)/spice-protocol.pc.in AUTHORS COPYING install-sh \ + $(srcdir)/spice-protocol.pc.in \ + $(srcdir)/spice-protocol.spec.in AUTHORS COPYING install-sh \ missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) @@ -329,6 +330,7 @@ EXTRA_DIST = \ README.md \ CHANGELOG.md \ + spice-protocol.spec \ meson.build all: config.h @@ -385,6 +387,8 @@ -rm -f config.h stamp-h1 spice-protocol.pc: $(top_builddir)/config.status $(srcdir)/spice-protocol.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ +spice-protocol.spec: $(top_builddir)/config.status $(srcdir)/spice-protocol.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/configure new/spice-protocol-0.14.1/configure --- old/spice-protocol-0.14.0/configure 2019-04-12 15:55:07.000000000 +0200 +++ new/spice-protocol-0.14.1/configure 2020-03-07 08:52:53.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for spice-protocol 0.14.0. +# Generated by GNU Autoconf 2.69 for spice-protocol 0.14.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='spice-protocol' PACKAGE_TARNAME='spice-protocol' -PACKAGE_VERSION='0.14.0' -PACKAGE_STRING='spice-protocol 0.14.0' +PACKAGE_VERSION='0.14.1' +PACKAGE_STRING='spice-protocol 0.14.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1200,7 +1200,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures spice-protocol 0.14.0 to adapt to many kinds of systems. +\`configure' configures spice-protocol 0.14.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1266,7 +1266,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of spice-protocol 0.14.0:";; + short | recursive ) echo "Configuration of spice-protocol 0.14.1:";; esac cat <<\_ACEOF @@ -1343,7 +1343,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -spice-protocol configure 0.14.0 +spice-protocol configure 0.14.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1360,7 +1360,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by spice-protocol $as_me 0.14.0, which was +It was created by spice-protocol $as_me 0.14.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2228,7 +2228,7 @@ # Define the identity of the package. PACKAGE='spice-protocol' - VERSION='0.14.0' + VERSION='0.14.1' cat >>confdefs.h <<_ACEOF @@ -2385,7 +2385,7 @@ AM_BACKSLASH='\' -ac_config_files="$ac_config_files Makefile spice-protocol.pc spice/Makefile" +ac_config_files="$ac_config_files Makefile spice-protocol.pc spice/Makefile spice-protocol.spec" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -2905,7 +2905,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by spice-protocol $as_me 0.14.0, which was +This file was extended by spice-protocol $as_me 0.14.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2967,7 +2967,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -spice-protocol config.status 0.14.0 +spice-protocol config.status 0.14.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -3095,6 +3095,7 @@ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "spice-protocol.pc") CONFIG_FILES="$CONFIG_FILES spice-protocol.pc" ;; "spice/Makefile") CONFIG_FILES="$CONFIG_FILES spice/Makefile" ;; + "spice-protocol.spec") CONFIG_FILES="$CONFIG_FILES spice-protocol.spec" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/configure.ac new/spice-protocol-0.14.1/configure.ac --- old/spice-protocol-0.14.0/configure.ac 2019-04-12 15:54:46.000000000 +0200 +++ new/spice-protocol-0.14.1/configure.ac 2020-03-06 09:24:59.000000000 +0100 @@ -2,7 +2,7 @@ m4_define([SPICE_MAJOR], 0) m4_define([SPICE_MINOR], 14) -m4_define([SPICE_MICRO], 0) +m4_define([SPICE_MICRO], 1) AC_INIT(spice-protocol, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-protocol) @@ -18,4 +18,5 @@ Makefile spice-protocol.pc spice/Makefile +spice-protocol.spec ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/meson.build new/spice-protocol-0.14.1/meson.build --- old/spice-protocol-0.14.0/meson.build 2019-04-12 15:28:38.000000000 +0200 +++ new/spice-protocol-0.14.1/meson.build 2020-03-07 08:43:51.000000000 +0100 @@ -2,7 +2,7 @@ # project definition # project('spice-protocol', 'c', - version : '0.14.0', + version : '0.14.1', license : 'BSD', meson_version : '>= 0.41.0') @@ -23,3 +23,12 @@ subdirs : 'spice-1', install_dir : pkgconfig_dir, variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir))) + +# +# spice-protocol.spec +# +config_data = configuration_data() +config_data.set ('VERSION', meson.project_version()) +configure_file(input : 'spice-protocol.spec.in', + output : 'spice-protocol.spec', + configuration : config_data) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/Makefile.am new/spice-protocol-0.14.1/spice/Makefile.am --- old/spice-protocol-0.14.0/spice/Makefile.am 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/Makefile.am 2020-03-06 09:24:59.000000000 +0100 @@ -17,7 +17,6 @@ stats.h \ types.h \ vd_agent.h \ - vdi_dev.h \ stream-device.h \ $(NULL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/Makefile.in new/spice-protocol-0.14.1/spice/Makefile.in --- old/spice-protocol-0.14.0/spice/Makefile.in 2019-04-12 15:55:08.000000000 +0200 +++ new/spice-protocol-0.14.1/spice/Makefile.in 2020-03-07 08:52:54.000000000 +0100 @@ -257,7 +257,6 @@ stats.h \ types.h \ vd_agent.h \ - vdi_dev.h \ stream-device.h \ $(NULL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/controller_prot.h new/spice-protocol-0.14.1/spice/controller_prot.h --- old/spice-protocol-0.14.0/spice/controller_prot.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/controller_prot.h 2020-03-07 08:43:51.000000000 +0100 @@ -22,6 +22,10 @@ #include <spice/types.h> #include <spice/start-packed.h> +#ifndef SPICE_DISABLE_DEPRECATED +#error "This SPICE interface is deprecated" +#endif + #define CONTROLLER_MAGIC SPICE_MAGIC_CONST("CTRL") #define CONTROLLER_VERSION 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/enums.h new/spice-protocol-0.14.1/spice/enums.h --- old/spice-protocol-0.14.0/spice/enums.h 2019-04-04 10:42:57.000000000 +0200 +++ new/spice-protocol-0.14.1/spice/enums.h 2020-03-06 09:24:59.000000000 +0100 @@ -468,6 +468,7 @@ SPICE_MSGC_MAIN_MIGRATE_END, SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS, SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS, + SPICE_MSGC_MAIN_QUALITY_INDICATOR, SPICE_MSGC_END_MAIN }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/foreign_menu_prot.h new/spice-protocol-0.14.1/spice/foreign_menu_prot.h --- old/spice-protocol-0.14.0/spice/foreign_menu_prot.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/foreign_menu_prot.h 2020-03-07 08:43:51.000000000 +0100 @@ -22,6 +22,10 @@ #include <spice/types.h> #include <spice/start-packed.h> +#ifndef SPICE_DISABLE_DEPRECATED +#error "This SPICE interface is deprecated" +#endif + #define FOREIGN_MENU_MAGIC SPICE_MAGIC_CONST("FRGM") #define FOREIGN_MENU_VERSION 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/macros.h new/spice-protocol-0.14.1/spice/macros.h --- old/spice-protocol-0.14.0/spice/macros.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/macros.h 2020-03-05 17:13:57.000000000 +0100 @@ -34,19 +34,11 @@ #include <spice/types.h> #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -#define SPICE_GNUC_PURE __attribute__((__pure__)) #define SPICE_GNUC_MALLOC __attribute__((__malloc__)) #else -#define SPICE_GNUC_PURE #define SPICE_GNUC_MALLOC #endif -#if __GNUC__ >= 4 -#define SPICE_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) -#else -#define SPICE_GNUC_NULL_TERMINATED -#endif - #ifndef __has_feature #define __has_feature(x) 0 /* Compatibility with non-clang compilers. */ #endif @@ -62,20 +54,12 @@ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) #define SPICE_GNUC_PRINTF( format_idx, arg_idx ) __attribute__((__format__ (__printf__, format_idx, arg_idx))) -#define SPICE_GNUC_SCANF( format_idx, arg_idx ) __attribute__((__format__ (__scanf__, format_idx, arg_idx))) -#define SPICE_GNUC_FORMAT( arg_idx ) __attribute__((__format_arg__ (arg_idx))) #define SPICE_GNUC_NORETURN __attribute__((__noreturn__)) -#define SPICE_GNUC_CONST __attribute__((__const__)) #define SPICE_GNUC_UNUSED __attribute__((__unused__)) -#define SPICE_GNUC_NO_INSTRUMENT __attribute__((__no_instrument_function__)) #else /* !__GNUC__ */ #define SPICE_GNUC_PRINTF( format_idx, arg_idx ) -#define SPICE_GNUC_SCANF( format_idx, arg_idx ) -#define SPICE_GNUC_FORMAT( arg_idx ) #define SPICE_GNUC_NORETURN -#define SPICE_GNUC_CONST #define SPICE_GNUC_UNUSED -#define SPICE_GNUC_NO_INSTRUMENT #endif /* !__GNUC__ */ #ifdef G_DEPRECATED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/meson.build new/spice-protocol-0.14.1/spice/meson.build --- old/spice-protocol-0.14.0/spice/meson.build 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/meson.build 2020-03-06 09:24:59.000000000 +0100 @@ -13,7 +13,6 @@ 'stats.h', 'types.h', 'vd_agent.h', - 'vdi_dev.h', 'stream-device.h', ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/qxl_dev.h new/spice-protocol-0.14.1/spice/qxl_dev.h --- old/spice-protocol-0.14.0/spice/qxl_dev.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/qxl_dev.h 2020-03-05 17:13:57.000000000 +0100 @@ -275,16 +275,11 @@ } QXLRam; -typedef union QXLReleaseInfo { +typedef union SPICE_ATTR_PACKED QXLReleaseInfo { uint64_t id; // in uint64_t next; // out } QXLReleaseInfo; -typedef struct QXLReleaseInfoExt { - QXLReleaseInfo *info; - uint32_t group_id; -} QXLReleaseInfoExt; - typedef struct SPICE_ATTR_PACKED QXLDataChunk { uint32_t data_size; QXLPHYSICAL prev_chunk; @@ -745,6 +740,9 @@ typedef struct SPICE_ATTR_PACKED QXLQUICData { uint32_t data_size; + /* This data for QUIC is a QXLDataChunk. + * This differs from QXLBitmap where it's a reference to bitmap data or + * a reference to QXLDataChunk */ uint8_t data[0]; } QXLQUICData, QXLLZRGBData, QXLJPEGData; @@ -779,4 +777,9 @@ #include <spice/end-packed.h> +typedef struct QXLReleaseInfoExt { + QXLReleaseInfo *info; + uint32_t group_id; +} QXLReleaseInfoExt; + #endif /* _H_QXL_DEV */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/start-packed.h new/spice-protocol-0.14.1/spice/start-packed.h --- old/spice-protocol-0.14.0/spice/start-packed.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/start-packed.h 2020-03-05 17:13:57.000000000 +0100 @@ -30,8 +30,8 @@ */ /* Ideally this should all have been macros in a common headers, but - * its not possible to put pragmas into header files, so we have - * to use include magic. + * its not possible to put pragmas into macros, so we have to use + * include magic. * * Use it like this: * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/stream-device.h new/spice-protocol-0.14.1/spice/stream-device.h --- old/spice-protocol-0.14.0/spice/stream-device.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/stream-device.h 2020-03-06 09:24:59.000000000 +0100 @@ -92,9 +92,13 @@ STREAM_TYPE_CURSOR_MOVE, /* the graphics device display information message (device address and display id) */ STREAM_TYPE_DEVICE_DISPLAY_INFO, + /* video encoding quality indicator message */ + STREAM_TYPE_QUALITY_INDICATOR, } StreamMsgType; typedef enum StreamCapabilities { + /* handling of STREAM_TYPE_QUALITY_INDICATOR messages */ + STREAM_CAP_QUALITY_INDICATOR, STREAM_CAP_END // this must be the last } StreamCapabilities; @@ -171,6 +175,23 @@ uint8_t device_address[0]; // a zero-terminated string } StreamMsgDeviceDisplayInfo; +/* This message contains a quality indicator string, generated by the + * streaming agent. It is indended to be used by a module running of + * the server to ajust the streaming quality. + * + * The format of the string message is not specificied because + * module-specific. + * + * This message is sent by the guest to the host. + * + * States allowed: any + * + * Capability required: STREAM_CAP_QUALITY_INDICATOR + */ +typedef struct StreamMsgQualityIndicator { + uint8_t quality[0]; // a zero-terminated string +} StreamMsgQualityIndicator; + /* Tell to stop current stream and possibly start a new one. * This message is sent by the host to the guest. * Allows to communicate the codecs supported by the clients. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/vd_agent.h new/spice-protocol-0.14.1/spice/vd_agent.h --- old/spice-protocol-0.14.0/spice/vd_agent.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/vd_agent.h 2020-03-06 09:26:44.000000000 +0100 @@ -57,20 +57,33 @@ #define VD_AGENT_PROTOCOL 1 #define VD_AGENT_MAX_DATA_SIZE 2048 -#ifdef SPICE_DEPRECATED -#define VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT 1024 -#define VD_AGENT_CLIPBOARD_MAX_SIZE_ENV "SPICE_CLIPBOARD_MAX_SIZE" -#endif - +/* + * Messages and types for guest agent. + * These messages are sent through the virtio port "com.redhat.spice.0" + * (agent <-> server) or embedded in "agent_data" SPICE protocol message in + * the "MainChannel" (server <-> client) + */ enum { + /* server -> agent */ VD_AGENT_MOUSE_STATE = 1, + /* client -> agent|server. + * Acknowledged by the agent using VD_AGENT_REPLY. + * See VDAgentMonitorsConfig structure. + */ VD_AGENT_MONITORS_CONFIG, + /* agent -> client. + * See VDAgentReply structure. + */ VD_AGENT_REPLY, /* Set clipboard data (both directions). * Message comes with type and data. * See VDAgentClipboard structure. */ VD_AGENT_CLIPBOARD, + /* client -> agent. + * Acknowledged by Windows agent using VD_AGENT_REPLY. + * See VDAgentDisplayConfig structure. + */ VD_AGENT_DISPLAY_CONFIG, VD_AGENT_ANNOUNCE_CAPABILITIES, /* Asks to listen for clipboard changes (both directions). @@ -219,6 +232,9 @@ uint8_t selection; uint8_t __reserved[sizeof(uint32_t) - 1 * sizeof(uint8_t)]; #endif +#if 0 /* VD_AGENT_CAP_CLIPBOARD_GRAB_SERIAL */ + uint32_t serial; +#endif uint32_t types[0]; } VDAgentClipboardGrab; @@ -254,7 +270,7 @@ uint32_t monitor_id; uint32_t device_display_id; uint32_t device_address_len; - uint8_t device_address[0]; // a zero-terminated string + uint8_t device_address[0]; /* a zero-terminated string */ } VDAgentDeviceDisplayInfo; @@ -270,6 +286,9 @@ VDAgentDeviceDisplayInfo display_info[0]; } VDAgentGraphicsDeviceInfo; + +/* Capabilities definitions + */ enum { VD_AGENT_CAP_MOUSE_STATE = 0, VD_AGENT_CAP_MONITORS_CONFIG, @@ -287,6 +306,8 @@ VD_AGENT_CAP_FILE_XFER_DISABLED, VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS, VD_AGENT_CAP_GRAPHICS_DEVICE_INFO, + VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB, + VD_AGENT_CAP_CLIPBOARD_GRAB_SERIAL, VD_AGENT_END_CAP, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice/vdi_dev.h new/spice-protocol-0.14.1/spice/vdi_dev.h --- old/spice-protocol-0.14.0/spice/vdi_dev.h 2019-02-04 14:48:47.000000000 +0100 +++ new/spice-protocol-0.14.1/spice/vdi_dev.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ -/* - Copyright (C) 2009 Red Hat, Inc. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS - IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef _H_VDI_DEV -#define _H_VDI_DEV - -#include <spice/types.h> -#include <spice/barrier.h> -#include <spice/ipc_ring.h> -#include <spice/macros.h> - -#include <spice/start-packed.h> - -#ifndef SPICE_DISABLE_DEPRECATED -#error "This SPICE interface is deprecated" -#endif - -#define REDHAT_PCI_VENDOR_ID 0x1b36 - -#define VDI_PORT_DEVICE_ID 0x0105 -#define VDI_PORT_REVISION 0x01 - -#define VDI_PORT_INTERRUPT (1 << 0) - -#define VDI_PORT_MAGIC SPICE_MAGIC_CONST("VDIP") - -typedef struct SPICE_ATTR_PACKED VDIPortPacket { - uint32_t gen; - uint32_t size; - uint8_t data[512 - 2 * sizeof(uint32_t)]; -} VDIPortPacket; - -SPICE_RING_DECLARE(VDIPortRing, VDIPortPacket, 32); - -enum { - VDI_PORT_IO_RANGE_INDEX, - VDI_PORT_RAM_RANGE_INDEX, -}; - -enum { - VDI_PORT_IO_CONNECTION, - VDI_PORT_IO_NOTIFY = 4, - VDI_PORT_IO_UPDATE_IRQ = 8, - - VDI_PORT_IO_RANGE_SIZE = 12 -}; - -typedef struct SPICE_ATTR_PACKED VDIPortRam { - uint32_t magic; - uint32_t generation; - uint32_t int_pending; - uint32_t int_mask; - VDIPortRing input; - VDIPortRing output; - uint32_t reserv[32]; -} VDIPortRam; - -#include <spice/end-packed.h> - -#endif /* _H_VDI_DEV */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice-protocol.spec new/spice-protocol-0.14.1/spice-protocol.spec --- old/spice-protocol-0.14.0/spice-protocol.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/spice-protocol-0.14.1/spice-protocol.spec 2020-03-07 08:52:55.000000000 +0100 @@ -0,0 +1,174 @@ +Name: spice-protocol +Version: 0.14.1 +Release: 1%{?dist} +Summary: Spice protocol header files +Group: Development/Libraries +# Main headers are BSD, controller / foreign menu are LGPL +License: BSD and LGPLv2+ +URL: https://www.spice-space.org +Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2 +BuildArch: noarch + +%description +Header files describing the spice protocol +and the para-virtual graphics card QXL. + + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install + + +%files +%doc COPYING CHANGELOG.md +%{_includedir}/spice-1 +%{_datadir}/pkgconfig/spice-protocol.pc + + +%changelog +* Fri Apr 12 2019 Victor Toso <[email protected]> - 0.14.0-1 +- Update to 0.14.0 release + +* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 0.12.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Marc-André Lureau <[email protected]> - 0.12.15-1 +- Update to 0.12.15 release + +* Fri Jul 13 2018 Victor Toso <[email protected]> - 0.12.14-2 +- Align QXLRam to 4 bytes to avoid compilers detect misaligned access + Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565766 + +* Thu Jun 07 2018 Christophe Fergeau <[email protected]> - 0.12.14-1 +- Update to 0.12.14 release + +* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 0.12.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 0.12.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 12 2017 Marc-André Lureau <[email protected]> - 0.12.13-1 +- Update to 0.12.13 release + +* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.12.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Aug 05 2016 Christophe Fergeau <[email protected]> - 0.12.12-1 +- Update to 0.12.12 release + +* Fri Mar 11 2016 Marc-André Lureau <[email protected]> - 0.12.11-1 +- Update to 0.12.11 release + +* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 0.12.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Oct 01 2015 Christophe Fergeau <[email protected]> 0.12.10-1 +- Update to 0.12.10 - Add python scripts and .proto files used + to generate spice-gtk/spice-server marshalling C code + +* Wed Jul 29 2015 Christophe Fergeau <[email protected]> 0.12.9-1 +- Update to 0.12.9 - Fixes QEMU build failures when using 0.12.8 with + spice-server 0.12.5 + +* Tue Jun 30 2015 Christophe Fergeau <[email protected]> 0.12.8-1 +- Update to 0.12.8 + +* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 0.12.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 0.12.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 19 2014 Christophe Fergeau <[email protected]> 0.12.7-1 +- Update to 0.12.7 + +* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 0.12.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 3 2013 Hans de Goede <[email protected]> - 0.12.6-1 +- Update to 0.12.6 + +* Thu Mar 7 2013 Hans de Goede <[email protected]> - 0.12.5-1 +- Update to 0.12.5 + +* Fri Feb 1 2013 Marc-André Lureau <[email protected]> - 0.12.4-1 +- Update to 0.12.4 + +* Thu Dec 20 2012 Hans de Goede <[email protected]> - 0.12.3-1 +- Update to 0.12.3 + +* Fri Sep 28 2012 Hans de Goede <[email protected]> - 0.12.2-1 +- Update to 0.12.2 + +* Thu Sep 6 2012 Soren Sandmann <[email protected]> - 0.12.1-1 +- Add patch1 and patch2 to support capability bits + +* Thu Sep 6 2012 Soren Sandmann <[email protected]> - 0.12.1-1 +- Update to 0.12.1 + +* Sat Jul 21 2012 Fedora Release Engineering <[email protected]> - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jan 16 2012 Hans de Goede <[email protected]> - 0.10.1-1 +- Update to 0.10.1 + +* Sat Jan 14 2012 Fedora Release Engineering <[email protected]> - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Nov 13 2011 Alon Levy <[email protected]> - 0.10.0-1 +- Update to 0.10.0 + +* Sun Oct 23 2011 Alon Levy <[email protected]> - 0.9.1-1 +- Update to 0.9.1 + +* Thu Aug 25 2011 Hans de Goede <[email protected]> - 0.9.0-1 +- Update to 0.9.0 + +* Mon Jul 25 2011 Marc-André Lureau <[email protected]> - 0.8.1-2 +- Added spice-protocol-0.8.1-define-INLINE.patch + +* Tue Jul 19 2011 Marc-André Lureau <[email protected]> - 0.8.1-1 +- Update to 0.8.1 + +* Tue Mar 1 2011 Hans de Goede <[email protected]> - 0.8.0-1 +- Update to 0.8.0 + +* Fri Feb 11 2011 Hans de Goede <[email protected]> - 0.7.1-1 +- Update to 0.7.1 + +* Wed Feb 09 2011 Fedora Release Engineering <[email protected]> - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jan 12 2011 Hans de Goede <[email protected]> - 0.7.0-2 +- Update License tag (controller and foreign menu headers are LGPL) + +* Fri Dec 17 2010 Hans de Goede <[email protected]> - 0.7.0-1 +- Update to 0.7.0 + +* Mon Oct 18 2010 Hans de Goede <[email protected]> - 0.6.3-1 +- Update to 0.6.3 + +* Thu Sep 30 2010 Gerd Hoffmann <[email protected]> - 0.6.1-1 +- Update to 0.6.1. + +* Tue Aug 31 2010 Alexander Larsson <[email protected]> - 0.6.0-1 +- Update to 0.6.0 (stable release) + +* Tue Jul 20 2010 Alexander Larsson <[email protected]> - 0.5.3-1 +- Update to 0.5.3 + +* Mon Jul 12 2010 Gerd Hoffmann <[email protected]> - 0.5.2-2 +- Fix license: It is BSD, not GPL. +- Cleanup specfile, drop bits not needed any more with + recent rpm versions (F13+). + +* Fri Jul 9 2010 Gerd Hoffmann <[email protected]> - 0.5.2-1 +- initial package. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spice-protocol-0.14.0/spice-protocol.spec.in new/spice-protocol-0.14.1/spice-protocol.spec.in --- old/spice-protocol-0.14.0/spice-protocol.spec.in 1970-01-01 01:00:00.000000000 +0100 +++ new/spice-protocol-0.14.1/spice-protocol.spec.in 2020-03-06 09:24:59.000000000 +0100 @@ -0,0 +1,174 @@ +Name: spice-protocol +Version: @VERSION@ +Release: 1%{?dist} +Summary: Spice protocol header files +Group: Development/Libraries +# Main headers are BSD, controller / foreign menu are LGPL +License: BSD and LGPLv2+ +URL: https://www.spice-space.org +Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2 +BuildArch: noarch + +%description +Header files describing the spice protocol +and the para-virtual graphics card QXL. + + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install + + +%files +%doc COPYING CHANGELOG.md +%{_includedir}/spice-1 +%{_datadir}/pkgconfig/spice-protocol.pc + + +%changelog +* Fri Apr 12 2019 Victor Toso <[email protected]> - 0.14.0-1 +- Update to 0.14.0 release + +* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 0.12.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Marc-André Lureau <[email protected]> - 0.12.15-1 +- Update to 0.12.15 release + +* Fri Jul 13 2018 Victor Toso <[email protected]> - 0.12.14-2 +- Align QXLRam to 4 bytes to avoid compilers detect misaligned access + Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565766 + +* Thu Jun 07 2018 Christophe Fergeau <[email protected]> - 0.12.14-1 +- Update to 0.12.14 release + +* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 0.12.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 0.12.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 12 2017 Marc-André Lureau <[email protected]> - 0.12.13-1 +- Update to 0.12.13 release + +* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.12.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Aug 05 2016 Christophe Fergeau <[email protected]> - 0.12.12-1 +- Update to 0.12.12 release + +* Fri Mar 11 2016 Marc-André Lureau <[email protected]> - 0.12.11-1 +- Update to 0.12.11 release + +* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 0.12.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Oct 01 2015 Christophe Fergeau <[email protected]> 0.12.10-1 +- Update to 0.12.10 - Add python scripts and .proto files used + to generate spice-gtk/spice-server marshalling C code + +* Wed Jul 29 2015 Christophe Fergeau <[email protected]> 0.12.9-1 +- Update to 0.12.9 - Fixes QEMU build failures when using 0.12.8 with + spice-server 0.12.5 + +* Tue Jun 30 2015 Christophe Fergeau <[email protected]> 0.12.8-1 +- Update to 0.12.8 + +* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 0.12.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 0.12.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 19 2014 Christophe Fergeau <[email protected]> 0.12.7-1 +- Update to 0.12.7 + +* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 0.12.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 3 2013 Hans de Goede <[email protected]> - 0.12.6-1 +- Update to 0.12.6 + +* Thu Mar 7 2013 Hans de Goede <[email protected]> - 0.12.5-1 +- Update to 0.12.5 + +* Fri Feb 1 2013 Marc-André Lureau <[email protected]> - 0.12.4-1 +- Update to 0.12.4 + +* Thu Dec 20 2012 Hans de Goede <[email protected]> - 0.12.3-1 +- Update to 0.12.3 + +* Fri Sep 28 2012 Hans de Goede <[email protected]> - 0.12.2-1 +- Update to 0.12.2 + +* Thu Sep 6 2012 Soren Sandmann <[email protected]> - 0.12.1-1 +- Add patch1 and patch2 to support capability bits + +* Thu Sep 6 2012 Soren Sandmann <[email protected]> - 0.12.1-1 +- Update to 0.12.1 + +* Sat Jul 21 2012 Fedora Release Engineering <[email protected]> - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jan 16 2012 Hans de Goede <[email protected]> - 0.10.1-1 +- Update to 0.10.1 + +* Sat Jan 14 2012 Fedora Release Engineering <[email protected]> - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Nov 13 2011 Alon Levy <[email protected]> - 0.10.0-1 +- Update to 0.10.0 + +* Sun Oct 23 2011 Alon Levy <[email protected]> - 0.9.1-1 +- Update to 0.9.1 + +* Thu Aug 25 2011 Hans de Goede <[email protected]> - 0.9.0-1 +- Update to 0.9.0 + +* Mon Jul 25 2011 Marc-André Lureau <[email protected]> - 0.8.1-2 +- Added spice-protocol-0.8.1-define-INLINE.patch + +* Tue Jul 19 2011 Marc-André Lureau <[email protected]> - 0.8.1-1 +- Update to 0.8.1 + +* Tue Mar 1 2011 Hans de Goede <[email protected]> - 0.8.0-1 +- Update to 0.8.0 + +* Fri Feb 11 2011 Hans de Goede <[email protected]> - 0.7.1-1 +- Update to 0.7.1 + +* Wed Feb 09 2011 Fedora Release Engineering <[email protected]> - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jan 12 2011 Hans de Goede <[email protected]> - 0.7.0-2 +- Update License tag (controller and foreign menu headers are LGPL) + +* Fri Dec 17 2010 Hans de Goede <[email protected]> - 0.7.0-1 +- Update to 0.7.0 + +* Mon Oct 18 2010 Hans de Goede <[email protected]> - 0.6.3-1 +- Update to 0.6.3 + +* Thu Sep 30 2010 Gerd Hoffmann <[email protected]> - 0.6.1-1 +- Update to 0.6.1. + +* Tue Aug 31 2010 Alexander Larsson <[email protected]> - 0.6.0-1 +- Update to 0.6.0 (stable release) + +* Tue Jul 20 2010 Alexander Larsson <[email protected]> - 0.5.3-1 +- Update to 0.5.3 + +* Mon Jul 12 2010 Gerd Hoffmann <[email protected]> - 0.5.2-2 +- Fix license: It is BSD, not GPL. +- Cleanup specfile, drop bits not needed any more with + recent rpm versions (F13+). + +* Fri Jul 9 2010 Gerd Hoffmann <[email protected]> - 0.5.2-1 +- initial package. +
