Merge ~paelzer/ubuntu/+source/spice-protocol:eoan-go-to-0.14.0 into ubuntu/+source/spice-protocol:ubuntu/eoan-devel
- Git
- lp:~paelzer/ubuntu/+source/spice-protocol
- eoan-go-to-0.14.0
- Merge into ubuntu/eoan-devel
Proposed by
Christian Ehrhardt
Status: | Merged |
---|---|
Approved by: | Christian Ehrhardt |
Approved revision: | f7ff763f2ccb9ef94a7140f6359971de8e6dab51 |
Merge reported by: | Christian Ehrhardt |
Merged at revision: | cb3b29a826551734cb9cb5ed073e3e028fe7d436 |
Proposed branch: | ~paelzer/ubuntu/+source/spice-protocol:eoan-go-to-0.14.0 |
Merge into: | ubuntu/+source/spice-protocol:ubuntu/eoan-devel |
Diff against target: |
1517 lines (+236/-200) 27 files modified
CHANGELOG.md (+18/-0) Makefile.am (+4/-1) Makefile.in (+20/-13) README.md (+27/-0) aclocal.m4 (+23/-23) configure (+14/-14) configure.ac (+3/-3) debian/changelog (+7/-0) debian/control (+2/-1) debian/docs (+2/-1) dev/null (+0/-51) install-sh (+31/-14) meson.build (+3/-1) missing (+8/-8) spice/Makefile.am (+0/-1) spice/Makefile.in (+10/-8) spice/controller_prot.h (+1/-1) spice/end-packed.h (+1/-0) spice/enums.h (+1/-57) spice/foreign_menu_prot.h (+1/-1) spice/meson.build (+0/-1) spice/protocol.h (+1/-0) spice/qxl_dev.h (+1/-1) spice/start-packed.h (+2/-0) spice/stats.h (+2/-0) spice/stream-device.h (+31/-0) spice/vd_agent.h (+23/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rafael David Tinoco (community) | Approve | ||
Canonical Server | Pending | ||
Canonical Server packageset reviewers | Pending | ||
git-ubuntu developers | Pending | ||
Review via email: mp+369221@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt (paelzer) wrote : | # |
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
I have reviewed this, together with the other 2 packages, including functional tests, and it looks good to me. +1.
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
Check:
https:/
But this merge looks good!
review:
Approve
- cb3b29a... by Christian Ehrhardt
-
d/control: update-maintainer
Signed-off-by: Christian Ehrhardt <email address hidden>
Revision history for this message
Christian Ehrhardt (paelzer) wrote : | # |
migrated
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/NEWS b/CHANGELOG.md |
2 | similarity index 88% |
3 | rename from NEWS |
4 | rename to CHANGELOG.md |
5 | index d17acba..596643a 100644 |
6 | --- a/NEWS |
7 | +++ b/CHANGELOG.md |
8 | @@ -1,3 +1,21 @@ |
9 | +Major changes in 0.14.0 |
10 | +======================= |
11 | +* Bumping minor to show that some types and values were removed |
12 | +* Regenerate enums.h (from spice.proto) which removes: |
13 | + * SpicePubkeyType; |
14 | + * SpiceTunnelServiceType; |
15 | + * SpiceTunnelIpType; |
16 | + * SPICE_MSG_TUNNEL_* and SPICE_MSGC_TUNNEL_* |
17 | +* Add VDAgentGraphicsDeviceInfo message |
18 | +* Add StreamMsgGraphicsDeviceInfo message |
19 | +* Add padding to SpiceStat structure |
20 | + |
21 | +Major changes in 0.12.15 |
22 | +======================== |
23 | +* Add support for h265 video codec |
24 | +* qxl_dev: Align QXLRam to 4 bytes |
25 | +* meson: fix spice-protocol as subproject |
26 | + |
27 | Major changes in 0.12.14 |
28 | ======================== |
29 | * add stream-device protocol |
30 | diff --git a/ChangeLog b/ChangeLog |
31 | deleted file mode 100644 |
32 | index e69de29..0000000 |
33 | --- a/ChangeLog |
34 | +++ /dev/null |
35 | diff --git a/INSTALL b/INSTALL |
36 | deleted file mode 100644 |
37 | index 8865734..0000000 |
38 | --- a/INSTALL |
39 | +++ /dev/null |
40 | @@ -1,368 +0,0 @@ |
41 | -Installation Instructions |
42 | -************************* |
43 | - |
44 | - Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software |
45 | -Foundation, Inc. |
46 | - |
47 | - Copying and distribution of this file, with or without modification, |
48 | -are permitted in any medium without royalty provided the copyright |
49 | -notice and this notice are preserved. This file is offered as-is, |
50 | -without warranty of any kind. |
51 | - |
52 | -Basic Installation |
53 | -================== |
54 | - |
55 | - Briefly, the shell command './configure && make && make install' |
56 | -should configure, build, and install this package. The following |
57 | -more-detailed instructions are generic; see the 'README' file for |
58 | -instructions specific to this package. Some packages provide this |
59 | -'INSTALL' file but do not implement all of the features documented |
60 | -below. The lack of an optional feature in a given package is not |
61 | -necessarily a bug. More recommendations for GNU packages can be found |
62 | -in *note Makefile Conventions: (standards)Makefile Conventions. |
63 | - |
64 | - The 'configure' shell script attempts to guess correct values for |
65 | -various system-dependent variables used during compilation. It uses |
66 | -those values to create a 'Makefile' in each directory of the package. |
67 | -It may also create one or more '.h' files containing system-dependent |
68 | -definitions. Finally, it creates a shell script 'config.status' that |
69 | -you can run in the future to recreate the current configuration, and a |
70 | -file 'config.log' containing compiler output (useful mainly for |
71 | -debugging 'configure'). |
72 | - |
73 | - It can also use an optional file (typically called 'config.cache' and |
74 | -enabled with '--cache-file=config.cache' or simply '-C') that saves the |
75 | -results of its tests to speed up reconfiguring. Caching is disabled by |
76 | -default to prevent problems with accidental use of stale cache files. |
77 | - |
78 | - If you need to do unusual things to compile the package, please try |
79 | -to figure out how 'configure' could check whether to do them, and mail |
80 | -diffs or instructions to the address given in the 'README' so they can |
81 | -be considered for the next release. If you are using the cache, and at |
82 | -some point 'config.cache' contains results you don't want to keep, you |
83 | -may remove or edit it. |
84 | - |
85 | - The file 'configure.ac' (or 'configure.in') is used to create |
86 | -'configure' by a program called 'autoconf'. You need 'configure.ac' if |
87 | -you want to change it or regenerate 'configure' using a newer version of |
88 | -'autoconf'. |
89 | - |
90 | - The simplest way to compile this package is: |
91 | - |
92 | - 1. 'cd' to the directory containing the package's source code and type |
93 | - './configure' to configure the package for your system. |
94 | - |
95 | - Running 'configure' might take a while. While running, it prints |
96 | - some messages telling which features it is checking for. |
97 | - |
98 | - 2. Type 'make' to compile the package. |
99 | - |
100 | - 3. Optionally, type 'make check' to run any self-tests that come with |
101 | - the package, generally using the just-built uninstalled binaries. |
102 | - |
103 | - 4. Type 'make install' to install the programs and any data files and |
104 | - documentation. When installing into a prefix owned by root, it is |
105 | - recommended that the package be configured and built as a regular |
106 | - user, and only the 'make install' phase executed with root |
107 | - privileges. |
108 | - |
109 | - 5. Optionally, type 'make installcheck' to repeat any self-tests, but |
110 | - this time using the binaries in their final installed location. |
111 | - This target does not install anything. Running this target as a |
112 | - regular user, particularly if the prior 'make install' required |
113 | - root privileges, verifies that the installation completed |
114 | - correctly. |
115 | - |
116 | - 6. You can remove the program binaries and object files from the |
117 | - source code directory by typing 'make clean'. To also remove the |
118 | - files that 'configure' created (so you can compile the package for |
119 | - a different kind of computer), type 'make distclean'. There is |
120 | - also a 'make maintainer-clean' target, but that is intended mainly |
121 | - for the package's developers. If you use it, you may have to get |
122 | - all sorts of other programs in order to regenerate files that came |
123 | - with the distribution. |
124 | - |
125 | - 7. Often, you can also type 'make uninstall' to remove the installed |
126 | - files again. In practice, not all packages have tested that |
127 | - uninstallation works correctly, even though it is required by the |
128 | - GNU Coding Standards. |
129 | - |
130 | - 8. Some packages, particularly those that use Automake, provide 'make |
131 | - distcheck', which can by used by developers to test that all other |
132 | - targets like 'make install' and 'make uninstall' work correctly. |
133 | - This target is generally not run by end users. |
134 | - |
135 | -Compilers and Options |
136 | -===================== |
137 | - |
138 | - Some systems require unusual options for compilation or linking that |
139 | -the 'configure' script does not know about. Run './configure --help' |
140 | -for details on some of the pertinent environment variables. |
141 | - |
142 | - You can give 'configure' initial values for configuration parameters |
143 | -by setting variables in the command line or in the environment. Here is |
144 | -an example: |
145 | - |
146 | - ./configure CC=c99 CFLAGS=-g LIBS=-lposix |
147 | - |
148 | - *Note Defining Variables::, for more details. |
149 | - |
150 | -Compiling For Multiple Architectures |
151 | -==================================== |
152 | - |
153 | - You can compile the package for more than one kind of computer at the |
154 | -same time, by placing the object files for each architecture in their |
155 | -own directory. To do this, you can use GNU 'make'. 'cd' to the |
156 | -directory where you want the object files and executables to go and run |
157 | -the 'configure' script. 'configure' automatically checks for the source |
158 | -code in the directory that 'configure' is in and in '..'. This is known |
159 | -as a "VPATH" build. |
160 | - |
161 | - With a non-GNU 'make', it is safer to compile the package for one |
162 | -architecture at a time in the source code directory. After you have |
163 | -installed the package for one architecture, use 'make distclean' before |
164 | -reconfiguring for another architecture. |
165 | - |
166 | - On MacOS X 10.5 and later systems, you can create libraries and |
167 | -executables that work on multiple system types--known as "fat" or |
168 | -"universal" binaries--by specifying multiple '-arch' options to the |
169 | -compiler but only a single '-arch' option to the preprocessor. Like |
170 | -this: |
171 | - |
172 | - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
173 | - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
174 | - CPP="gcc -E" CXXCPP="g++ -E" |
175 | - |
176 | - This is not guaranteed to produce working output in all cases, you |
177 | -may have to build one architecture at a time and combine the results |
178 | -using the 'lipo' tool if you have problems. |
179 | - |
180 | -Installation Names |
181 | -================== |
182 | - |
183 | - By default, 'make install' installs the package's commands under |
184 | -'/usr/local/bin', include files under '/usr/local/include', etc. You |
185 | -can specify an installation prefix other than '/usr/local' by giving |
186 | -'configure' the option '--prefix=PREFIX', where PREFIX must be an |
187 | -absolute file name. |
188 | - |
189 | - You can specify separate installation prefixes for |
190 | -architecture-specific files and architecture-independent files. If you |
191 | -pass the option '--exec-prefix=PREFIX' to 'configure', the package uses |
192 | -PREFIX as the prefix for installing programs and libraries. |
193 | -Documentation and other data files still use the regular prefix. |
194 | - |
195 | - In addition, if you use an unusual directory layout you can give |
196 | -options like '--bindir=DIR' to specify different values for particular |
197 | -kinds of files. Run 'configure --help' for a list of the directories |
198 | -you can set and what kinds of files go in them. In general, the default |
199 | -for these options is expressed in terms of '${prefix}', so that |
200 | -specifying just '--prefix' will affect all of the other directory |
201 | -specifications that were not explicitly provided. |
202 | - |
203 | - The most portable way to affect installation locations is to pass the |
204 | -correct locations to 'configure'; however, many packages provide one or |
205 | -both of the following shortcuts of passing variable assignments to the |
206 | -'make install' command line to change installation locations without |
207 | -having to reconfigure or recompile. |
208 | - |
209 | - The first method involves providing an override variable for each |
210 | -affected directory. For example, 'make install |
211 | -prefix=/alternate/directory' will choose an alternate location for all |
212 | -directory configuration variables that were expressed in terms of |
213 | -'${prefix}'. Any directories that were specified during 'configure', |
214 | -but not in terms of '${prefix}', must each be overridden at install time |
215 | -for the entire installation to be relocated. The approach of makefile |
216 | -variable overrides for each directory variable is required by the GNU |
217 | -Coding Standards, and ideally causes no recompilation. However, some |
218 | -platforms have known limitations with the semantics of shared libraries |
219 | -that end up requiring recompilation when using this method, particularly |
220 | -noticeable in packages that use GNU Libtool. |
221 | - |
222 | - The second method involves providing the 'DESTDIR' variable. For |
223 | -example, 'make install DESTDIR=/alternate/directory' will prepend |
224 | -'/alternate/directory' before all installation names. The approach of |
225 | -'DESTDIR' overrides is not required by the GNU Coding Standards, and |
226 | -does not work on platforms that have drive letters. On the other hand, |
227 | -it does better at avoiding recompilation issues, and works well even |
228 | -when some directory options were not specified in terms of '${prefix}' |
229 | -at 'configure' time. |
230 | - |
231 | -Optional Features |
232 | -================= |
233 | - |
234 | - If the package supports it, you can cause programs to be installed |
235 | -with an extra prefix or suffix on their names by giving 'configure' the |
236 | -option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. |
237 | - |
238 | - Some packages pay attention to '--enable-FEATURE' options to |
239 | -'configure', where FEATURE indicates an optional part of the package. |
240 | -They may also pay attention to '--with-PACKAGE' options, where PACKAGE |
241 | -is something like 'gnu-as' or 'x' (for the X Window System). The |
242 | -'README' should mention any '--enable-' and '--with-' options that the |
243 | -package recognizes. |
244 | - |
245 | - For packages that use the X Window System, 'configure' can usually |
246 | -find the X include and library files automatically, but if it doesn't, |
247 | -you can use the 'configure' options '--x-includes=DIR' and |
248 | -'--x-libraries=DIR' to specify their locations. |
249 | - |
250 | - Some packages offer the ability to configure how verbose the |
251 | -execution of 'make' will be. For these packages, running './configure |
252 | ---enable-silent-rules' sets the default to minimal output, which can be |
253 | -overridden with 'make V=1'; while running './configure |
254 | ---disable-silent-rules' sets the default to verbose, which can be |
255 | -overridden with 'make V=0'. |
256 | - |
257 | -Particular systems |
258 | -================== |
259 | - |
260 | - On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC |
261 | -is not installed, it is recommended to use the following options in |
262 | -order to use an ANSI C compiler: |
263 | - |
264 | - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
265 | - |
266 | -and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
267 | - |
268 | - HP-UX 'make' updates targets which have the same time stamps as their |
269 | -prerequisites, which makes it generally unusable when shipped generated |
270 | -files such as 'configure' are involved. Use GNU 'make' instead. |
271 | - |
272 | - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
273 | -parse its '<wchar.h>' header file. The option '-nodtk' can be used as a |
274 | -workaround. If GNU CC is not installed, it is therefore recommended to |
275 | -try |
276 | - |
277 | - ./configure CC="cc" |
278 | - |
279 | -and if that doesn't work, try |
280 | - |
281 | - ./configure CC="cc -nodtk" |
282 | - |
283 | - On Solaris, don't put '/usr/ucb' early in your 'PATH'. This |
284 | -directory contains several dysfunctional programs; working variants of |
285 | -these programs are available in '/usr/bin'. So, if you need '/usr/ucb' |
286 | -in your 'PATH', put it _after_ '/usr/bin'. |
287 | - |
288 | - On Haiku, software installed for all users goes in '/boot/common', |
289 | -not '/usr/local'. It is recommended to use the following options: |
290 | - |
291 | - ./configure --prefix=/boot/common |
292 | - |
293 | -Specifying the System Type |
294 | -========================== |
295 | - |
296 | - There may be some features 'configure' cannot figure out |
297 | -automatically, but needs to determine by the type of machine the package |
298 | -will run on. Usually, assuming the package is built to be run on the |
299 | -_same_ architectures, 'configure' can figure that out, but if it prints |
300 | -a message saying it cannot guess the machine type, give it the |
301 | -'--build=TYPE' option. TYPE can either be a short name for the system |
302 | -type, such as 'sun4', or a canonical name which has the form: |
303 | - |
304 | - CPU-COMPANY-SYSTEM |
305 | - |
306 | -where SYSTEM can have one of these forms: |
307 | - |
308 | - OS |
309 | - KERNEL-OS |
310 | - |
311 | - See the file 'config.sub' for the possible values of each field. If |
312 | -'config.sub' isn't included in this package, then this package doesn't |
313 | -need to know the machine type. |
314 | - |
315 | - If you are _building_ compiler tools for cross-compiling, you should |
316 | -use the option '--target=TYPE' to select the type of system they will |
317 | -produce code for. |
318 | - |
319 | - If you want to _use_ a cross compiler, that generates code for a |
320 | -platform different from the build platform, you should specify the |
321 | -"host" platform (i.e., that on which the generated programs will |
322 | -eventually be run) with '--host=TYPE'. |
323 | - |
324 | -Sharing Defaults |
325 | -================ |
326 | - |
327 | - If you want to set default values for 'configure' scripts to share, |
328 | -you can create a site shell script called 'config.site' that gives |
329 | -default values for variables like 'CC', 'cache_file', and 'prefix'. |
330 | -'configure' looks for 'PREFIX/share/config.site' if it exists, then |
331 | -'PREFIX/etc/config.site' if it exists. Or, you can set the |
332 | -'CONFIG_SITE' environment variable to the location of the site script. |
333 | -A warning: not all 'configure' scripts look for a site script. |
334 | - |
335 | -Defining Variables |
336 | -================== |
337 | - |
338 | - Variables not defined in a site shell script can be set in the |
339 | -environment passed to 'configure'. However, some packages may run |
340 | -configure again during the build, and the customized values of these |
341 | -variables may be lost. In order to avoid this problem, you should set |
342 | -them in the 'configure' command line, using 'VAR=value'. For example: |
343 | - |
344 | - ./configure CC=/usr/local2/bin/gcc |
345 | - |
346 | -causes the specified 'gcc' to be used as the C compiler (unless it is |
347 | -overridden in the site shell script). |
348 | - |
349 | -Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an |
350 | -Autoconf limitation. Until the limitation is lifted, you can use this |
351 | -workaround: |
352 | - |
353 | - CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash |
354 | - |
355 | -'configure' Invocation |
356 | -====================== |
357 | - |
358 | - 'configure' recognizes the following options to control how it |
359 | -operates. |
360 | - |
361 | -'--help' |
362 | -'-h' |
363 | - Print a summary of all of the options to 'configure', and exit. |
364 | - |
365 | -'--help=short' |
366 | -'--help=recursive' |
367 | - Print a summary of the options unique to this package's |
368 | - 'configure', and exit. The 'short' variant lists options used only |
369 | - in the top level, while the 'recursive' variant lists options also |
370 | - present in any nested packages. |
371 | - |
372 | -'--version' |
373 | -'-V' |
374 | - Print the version of Autoconf used to generate the 'configure' |
375 | - script, and exit. |
376 | - |
377 | -'--cache-file=FILE' |
378 | - Enable the cache: use and save the results of the tests in FILE, |
379 | - traditionally 'config.cache'. FILE defaults to '/dev/null' to |
380 | - disable caching. |
381 | - |
382 | -'--config-cache' |
383 | -'-C' |
384 | - Alias for '--cache-file=config.cache'. |
385 | - |
386 | -'--quiet' |
387 | -'--silent' |
388 | -'-q' |
389 | - Do not print messages saying which checks are being made. To |
390 | - suppress all normal output, redirect it to '/dev/null' (any error |
391 | - messages will still be shown). |
392 | - |
393 | -'--srcdir=DIR' |
394 | - Look for the package's source code in directory DIR. Usually |
395 | - 'configure' can determine that directory automatically. |
396 | - |
397 | -'--prefix=DIR' |
398 | - Use DIR as the installation prefix. *note Installation Names:: for |
399 | - more details, including other options available for fine-tuning the |
400 | - installation locations. |
401 | - |
402 | -'--no-create' |
403 | -'-n' |
404 | - Run the configure checks, but stop before creating any output |
405 | - files. |
406 | - |
407 | -'configure' also accepts some other, not widely useful, options. Run |
408 | -'configure --help' for more details. |
409 | diff --git a/Makefile.am b/Makefile.am |
410 | index c464fa7..db2d5ba 100644 |
411 | --- a/Makefile.am |
412 | +++ b/Makefile.am |
413 | @@ -22,6 +22,9 @@ MAINTAINERCLEANFILES = \ |
414 | `find "$(srcdir)" -type f -name Makefile.in -print` \ |
415 | $(NULL) |
416 | |
417 | -EXTRA_DIST = meson.build |
418 | +EXTRA_DIST = \ |
419 | + README.md \ |
420 | + CHANGELOG.md \ |
421 | + meson.build |
422 | |
423 | -include $(top_srcdir)/git.mk |
424 | diff --git a/Makefile.in b/Makefile.in |
425 | index 2413e89..6289310 100644 |
426 | --- a/Makefile.in |
427 | +++ b/Makefile.in |
428 | @@ -1,7 +1,7 @@ |
429 | -# Makefile.in generated by automake 1.15.1 from Makefile.am. |
430 | +# Makefile.in generated by automake 1.16.1 from Makefile.am. |
431 | # @configure_input@ |
432 | |
433 | -# Copyright (C) 1994-2017 Free Software Foundation, Inc. |
434 | +# Copyright (C) 1994-2018 Free Software Foundation, Inc. |
435 | |
436 | # This Makefile.in is free software; the Free Software Foundation |
437 | # gives unlimited permission to copy and/or distribute it, |
438 | @@ -162,7 +162,7 @@ am__recursive_targets = \ |
439 | $(RECURSIVE_CLEAN_TARGETS) \ |
440 | $(am__extra_recursive_targets) |
441 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
442 | - cscope distdir dist dist-all distcheck |
443 | + cscope distdir distdir-am dist dist-all distcheck |
444 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
445 | $(LISP)config.h.in |
446 | # Read a list of newline-separated strings from the standard input, |
447 | @@ -186,8 +186,8 @@ CTAGS = ctags |
448 | CSCOPE = cscope |
449 | DIST_SUBDIRS = $(SUBDIRS) |
450 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
451 | - $(srcdir)/spice-protocol.pc.in AUTHORS COPYING ChangeLog \ |
452 | - INSTALL NEWS README install-sh missing |
453 | + $(srcdir)/spice-protocol.pc.in AUTHORS COPYING install-sh \ |
454 | + missing |
455 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
456 | distdir = $(PACKAGE)-$(VERSION) |
457 | top_distdir = $(distdir) |
458 | @@ -326,7 +326,11 @@ MAINTAINERCLEANFILES = \ |
459 | `find "$(srcdir)" -type f -name Makefile.in -print` \ |
460 | $(NULL) |
461 | |
462 | -EXTRA_DIST = meson.build |
463 | +EXTRA_DIST = \ |
464 | + README.md \ |
465 | + CHANGELOG.md \ |
466 | + meson.build |
467 | + |
468 | all: config.h |
469 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
470 | |
471 | @@ -337,23 +341,23 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi |
472 | @for dep in $?; do \ |
473 | case '$(am__configure_deps)' in \ |
474 | *$$dep*) \ |
475 | - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
476 | - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
477 | + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
478 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ |
479 | && exit 0; \ |
480 | exit 1;; \ |
481 | esac; \ |
482 | done; \ |
483 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
484 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
485 | $(am__cd) $(top_srcdir) && \ |
486 | - $(AUTOMAKE) --gnu Makefile |
487 | + $(AUTOMAKE) --foreign Makefile |
488 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
489 | @case '$?' in \ |
490 | *config.status*) \ |
491 | echo ' $(SHELL) ./config.status'; \ |
492 | $(SHELL) ./config.status;; \ |
493 | *) \ |
494 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
495 | - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
496 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ |
497 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ |
498 | esac; |
499 | |
500 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
501 | @@ -509,7 +513,10 @@ distclean-tags: |
502 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
503 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
504 | |
505 | -distdir: $(DISTFILES) |
506 | +distdir: $(BUILT_SOURCES) |
507 | + $(MAKE) $(AM_MAKEFLAGS) distdir-am |
508 | + |
509 | +distdir-am: $(DISTFILES) |
510 | $(am__remove_distdir) |
511 | test -d "$(distdir)" || mkdir "$(distdir)" |
512 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
513 | diff --git a/README b/README |
514 | deleted file mode 100644 |
515 | index e69de29..0000000 |
516 | --- a/README |
517 | +++ /dev/null |
518 | diff --git a/README.md b/README.md |
519 | new file mode 100644 |
520 | index 0000000..244712f |
521 | --- /dev/null |
522 | +++ b/README.md |
523 | @@ -0,0 +1,27 @@ |
524 | +spice-protocol |
525 | +============== |
526 | + |
527 | +The protocol definition for [SPICE] project used by: |
528 | +* [spice-server]: A server side library used by [QEMU] and [x11spice]; |
529 | +* [spice-gtk]: A client side library used by [virt-viewer and virt-manager] and |
530 | + [GNOME Boxes]; |
531 | +* [linux/vd-agent] and [win32/vd-agent]: Guest components for Linux and Windows |
532 | +* [xf86-video-qxl], [gpu/drm/qxl], [win32/qxl], [win32/qxl-wddm-dod]: Guest video |
533 | + drivers; |
534 | + |
535 | +Please [report bugs] at Freedesktop's instance of Gitlab |
536 | + |
537 | +[SPICE]: https://spice-space.org |
538 | +[spice-server]: https://gitlab.freedesktop.org/spice/spice |
539 | +[QEMU]: https://www.qemu.org |
540 | +[x11spice]: https://gitlab.com/spice/x11spice |
541 | +[spice-gtk]: https://gitlab.freedesktop.org/spice/spice-gtk |
542 | +[virt-viewer and virt-manager]: https://virt-manager.org/ |
543 | +[GNOME Boxes]: https://wiki.gnome.org/Apps/Boxes |
544 | +[linux/vd-agent]: https://gitlab.freedesktop.org/spice/linux/vd_agent |
545 | +[win32/vd-agent]: https://gitlab.freedesktop.org/spice/win32/vd_agent |
546 | +[xf86-video-qxl]: https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl |
547 | +[gpu/drm/qxl]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/qxl |
548 | +[win32/qxl]: https://gitlab.freedesktop.org/spice/win32/qxl |
549 | +[win32/qxl-wddm-dod]: https://gitlab.freedesktop.org/spice/win32/qxl-wddm-dod |
550 | +[report bugs]: https://gitlab.freedesktop.org/spice/spice-protocol/issues/ |
551 | diff --git a/aclocal.m4 b/aclocal.m4 |
552 | index 299e6b0..fe91ed7 100644 |
553 | --- a/aclocal.m4 |
554 | +++ b/aclocal.m4 |
555 | @@ -1,6 +1,6 @@ |
556 | -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- |
557 | +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- |
558 | |
559 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
560 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
561 | |
562 | # This file is free software; the Free Software Foundation |
563 | # gives unlimited permission to copy and/or distribute it, |
564 | @@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. |
565 | If you have problems, you may need to regenerate the build system entirely. |
566 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
567 | |
568 | -# Copyright (C) 2002-2017 Free Software Foundation, Inc. |
569 | +# Copyright (C) 2002-2018 Free Software Foundation, Inc. |
570 | # |
571 | # This file is free software; the Free Software Foundation |
572 | # gives unlimited permission to copy and/or distribute it, |
573 | @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) |
574 | # generated from the m4 files accompanying Automake X.Y. |
575 | # (This private macro should not be called outside this file.) |
576 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
577 | -[am__api_version='1.15' |
578 | +[am__api_version='1.16' |
579 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
580 | dnl require some minimum version. Point them to the right macro. |
581 | -m4_if([$1], [1.15.1], [], |
582 | +m4_if([$1], [1.16.1], [], |
583 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
584 | ]) |
585 | |
586 | @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) |
587 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
588 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
589 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
590 | -[AM_AUTOMAKE_VERSION([1.15.1])dnl |
591 | +[AM_AUTOMAKE_VERSION([1.16.1])dnl |
592 | m4_ifndef([AC_AUTOCONF_VERSION], |
593 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
594 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
595 | |
596 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
597 | |
598 | -# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
599 | +# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
600 | # |
601 | # This file is free software; the Free Software Foundation |
602 | # gives unlimited permission to copy and/or distribute it, |
603 | @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` |
604 | |
605 | # AM_CONDITIONAL -*- Autoconf -*- |
606 | |
607 | -# Copyright (C) 1997-2017 Free Software Foundation, Inc. |
608 | +# Copyright (C) 1997-2018 Free Software Foundation, Inc. |
609 | # |
610 | # This file is free software; the Free Software Foundation |
611 | # gives unlimited permission to copy and/or distribute it, |
612 | @@ -143,7 +143,7 @@ fi])]) |
613 | |
614 | # Do all the work for Automake. -*- Autoconf -*- |
615 | |
616 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
617 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
618 | # |
619 | # This file is free software; the Free Software Foundation |
620 | # gives unlimited permission to copy and/or distribute it, |
621 | @@ -230,8 +230,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
622 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
623 | # For better backward compatibility. To be removed once Automake 1.9.x |
624 | # dies out for good. For more background, see: |
625 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
626 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
627 | +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
628 | +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
629 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
630 | # We need awk for the "check" target (and possibly the TAP driver). The |
631 | # system "awk" is bad on some platforms. |
632 | @@ -298,7 +298,7 @@ END |
633 | Aborting the configuration process, to ensure you take notice of the issue. |
634 | |
635 | You can download and install GNU coreutils to get an 'rm' implementation |
636 | -that behaves properly: <http://www.gnu.org/software/coreutils/>. |
637 | +that behaves properly: <https://www.gnu.org/software/coreutils/>. |
638 | |
639 | If you want to complete the configuration process using your problematic |
640 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
641 | @@ -340,7 +340,7 @@ for _am_header in $config_headers :; do |
642 | done |
643 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
644 | |
645 | -# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
646 | +# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
647 | # |
648 | # This file is free software; the Free Software Foundation |
649 | # gives unlimited permission to copy and/or distribute it, |
650 | @@ -361,7 +361,7 @@ if test x"${install_sh+set}" != xset; then |
651 | fi |
652 | AC_SUBST([install_sh])]) |
653 | |
654 | -# Copyright (C) 2003-2017 Free Software Foundation, Inc. |
655 | +# Copyright (C) 2003-2018 Free Software Foundation, Inc. |
656 | # |
657 | # This file is free software; the Free Software Foundation |
658 | # gives unlimited permission to copy and/or distribute it, |
659 | @@ -383,7 +383,7 @@ AC_SUBST([am__leading_dot])]) |
660 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
661 | # From Jim Meyering |
662 | |
663 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
664 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
665 | # |
666 | # This file is free software; the Free Software Foundation |
667 | # gives unlimited permission to copy and/or distribute it, |
668 | @@ -418,7 +418,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
669 | |
670 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
671 | |
672 | -# Copyright (C) 1997-2017 Free Software Foundation, Inc. |
673 | +# Copyright (C) 1997-2018 Free Software Foundation, Inc. |
674 | # |
675 | # This file is free software; the Free Software Foundation |
676 | # gives unlimited permission to copy and/or distribute it, |
677 | @@ -459,7 +459,7 @@ fi |
678 | # Obsolete and "removed" macros, that must however still report explicit |
679 | # error messages when used, to smooth transition. |
680 | # |
681 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
682 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
683 | # |
684 | # This file is free software; the Free Software Foundation |
685 | # gives unlimited permission to copy and/or distribute it, |
686 | @@ -486,7 +486,7 @@ AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) |
687 | |
688 | # Helper functions for option handling. -*- Autoconf -*- |
689 | |
690 | -# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
691 | +# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
692 | # |
693 | # This file is free software; the Free Software Foundation |
694 | # gives unlimited permission to copy and/or distribute it, |
695 | @@ -517,7 +517,7 @@ AC_DEFUN([_AM_IF_OPTION], |
696 | |
697 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
698 | |
699 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
700 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
701 | # |
702 | # This file is free software; the Free Software Foundation |
703 | # gives unlimited permission to copy and/or distribute it, |
704 | @@ -598,7 +598,7 @@ AC_CONFIG_COMMANDS_PRE( |
705 | rm -f conftest.file |
706 | ]) |
707 | |
708 | -# Copyright (C) 2009-2017 Free Software Foundation, Inc. |
709 | +# Copyright (C) 2009-2018 Free Software Foundation, Inc. |
710 | # |
711 | # This file is free software; the Free Software Foundation |
712 | # gives unlimited permission to copy and/or distribute it, |
713 | @@ -658,7 +658,7 @@ AC_SUBST([AM_BACKSLASH])dnl |
714 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
715 | ]) |
716 | |
717 | -# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
718 | +# Copyright (C) 2001-2018 Free Software Foundation, Inc. |
719 | # |
720 | # This file is free software; the Free Software Foundation |
721 | # gives unlimited permission to copy and/or distribute it, |
722 | @@ -686,7 +686,7 @@ fi |
723 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
724 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
725 | |
726 | -# Copyright (C) 2006-2017 Free Software Foundation, Inc. |
727 | +# Copyright (C) 2006-2018 Free Software Foundation, Inc. |
728 | # |
729 | # This file is free software; the Free Software Foundation |
730 | # gives unlimited permission to copy and/or distribute it, |
731 | @@ -705,7 +705,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
732 | |
733 | # Check how to create a tarball. -*- Autoconf -*- |
734 | |
735 | -# Copyright (C) 2004-2017 Free Software Foundation, Inc. |
736 | +# Copyright (C) 2004-2018 Free Software Foundation, Inc. |
737 | # |
738 | # This file is free software; the Free Software Foundation |
739 | # gives unlimited permission to copy and/or distribute it, |
740 | diff --git a/configure b/configure |
741 | index 83fd44c..2838fb0 100755 |
742 | --- a/configure |
743 | +++ b/configure |
744 | @@ -1,6 +1,6 @@ |
745 | #! /bin/sh |
746 | # Guess values for system-dependent variables and create Makefiles. |
747 | -# Generated by GNU Autoconf 2.69 for spice-protocol 0.12.14. |
748 | +# Generated by GNU Autoconf 2.69 for spice-protocol 0.14.0. |
749 | # |
750 | # |
751 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
752 | @@ -576,8 +576,8 @@ MAKEFLAGS= |
753 | # Identity of this package. |
754 | PACKAGE_NAME='spice-protocol' |
755 | PACKAGE_TARNAME='spice-protocol' |
756 | -PACKAGE_VERSION='0.12.14' |
757 | -PACKAGE_STRING='spice-protocol 0.12.14' |
758 | +PACKAGE_VERSION='0.14.0' |
759 | +PACKAGE_STRING='spice-protocol 0.14.0' |
760 | PACKAGE_BUGREPORT='' |
761 | PACKAGE_URL='' |
762 | |
763 | @@ -1200,7 +1200,7 @@ if test "$ac_init_help" = "long"; then |
764 | # Omit some internal or obsolete options to make the list less imposing. |
765 | # This message is too long to be a string in the A/UX 3.1 sh. |
766 | cat <<_ACEOF |
767 | -\`configure' configures spice-protocol 0.12.14 to adapt to many kinds of systems. |
768 | +\`configure' configures spice-protocol 0.14.0 to adapt to many kinds of systems. |
769 | |
770 | Usage: $0 [OPTION]... [VAR=VALUE]... |
771 | |
772 | @@ -1266,7 +1266,7 @@ fi |
773 | |
774 | if test -n "$ac_init_help"; then |
775 | case $ac_init_help in |
776 | - short | recursive ) echo "Configuration of spice-protocol 0.12.14:";; |
777 | + short | recursive ) echo "Configuration of spice-protocol 0.14.0:";; |
778 | esac |
779 | cat <<\_ACEOF |
780 | |
781 | @@ -1343,7 +1343,7 @@ fi |
782 | test -n "$ac_init_help" && exit $ac_status |
783 | if $ac_init_version; then |
784 | cat <<\_ACEOF |
785 | -spice-protocol configure 0.12.14 |
786 | +spice-protocol configure 0.14.0 |
787 | generated by GNU Autoconf 2.69 |
788 | |
789 | Copyright (C) 2012 Free Software Foundation, Inc. |
790 | @@ -1360,7 +1360,7 @@ cat >config.log <<_ACEOF |
791 | This file contains any messages produced by compilers while |
792 | running configure, to aid debugging if configure makes a mistake. |
793 | |
794 | -It was created by spice-protocol $as_me 0.12.14, which was |
795 | +It was created by spice-protocol $as_me 0.14.0, which was |
796 | generated by GNU Autoconf 2.69. Invocation command line was |
797 | |
798 | $ $0 $@ |
799 | @@ -1713,7 +1713,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
800 | ac_config_headers="$ac_config_headers config.h" |
801 | |
802 | |
803 | -am__api_version='1.15' |
804 | +am__api_version='1.16' |
805 | |
806 | ac_aux_dir= |
807 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
808 | @@ -2228,7 +2228,7 @@ fi |
809 | |
810 | # Define the identity of the package. |
811 | PACKAGE='spice-protocol' |
812 | - VERSION='0.12.14' |
813 | + VERSION='0.14.0' |
814 | |
815 | |
816 | cat >>confdefs.h <<_ACEOF |
817 | @@ -2258,8 +2258,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
818 | |
819 | # For better backward compatibility. To be removed once Automake 1.9.x |
820 | # dies out for good. For more background, see: |
821 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
822 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
823 | +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
824 | +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
825 | mkdir_p='$(MKDIR_P)' |
826 | |
827 | # We need awk for the "check" target (and possibly the TAP driver). The |
828 | @@ -2310,7 +2310,7 @@ END |
829 | Aborting the configuration process, to ensure you take notice of the issue. |
830 | |
831 | You can download and install GNU coreutils to get an 'rm' implementation |
832 | -that behaves properly: <http://www.gnu.org/software/coreutils/>. |
833 | +that behaves properly: <https://www.gnu.org/software/coreutils/>. |
834 | |
835 | If you want to complete the configuration process using your problematic |
836 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
837 | @@ -2905,7 +2905,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
838 | # report actual input values of CONFIG_FILES etc. instead of their |
839 | # values after options handling. |
840 | ac_log=" |
841 | -This file was extended by spice-protocol $as_me 0.12.14, which was |
842 | +This file was extended by spice-protocol $as_me 0.14.0, which was |
843 | generated by GNU Autoconf 2.69. Invocation command line was |
844 | |
845 | CONFIG_FILES = $CONFIG_FILES |
846 | @@ -2967,7 +2967,7 @@ _ACEOF |
847 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
848 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
849 | ac_cs_version="\\ |
850 | -spice-protocol config.status 0.12.14 |
851 | +spice-protocol config.status 0.14.0 |
852 | configured by $0, generated by GNU Autoconf 2.69, |
853 | with options \\"\$ac_cs_config\\" |
854 | |
855 | diff --git a/configure.ac b/configure.ac |
856 | index ed9b38a..b56f414 100644 |
857 | --- a/configure.ac |
858 | +++ b/configure.ac |
859 | @@ -1,15 +1,15 @@ |
860 | AC_PREREQ([2.57]) |
861 | |
862 | m4_define([SPICE_MAJOR], 0) |
863 | -m4_define([SPICE_MINOR], 12) |
864 | -m4_define([SPICE_MICRO], 14) |
865 | +m4_define([SPICE_MINOR], 14) |
866 | +m4_define([SPICE_MICRO], 0) |
867 | |
868 | AC_INIT(spice-protocol, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-protocol) |
869 | |
870 | AC_CONFIG_MACRO_DIR([m4]) |
871 | AM_CONFIG_HEADER([config.h]) |
872 | |
873 | -AM_INIT_AUTOMAKE([dist-bzip2]) |
874 | +AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
875 | AM_MAINTAINER_MODE |
876 | |
877 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
878 | diff --git a/debian/changelog b/debian/changelog |
879 | index a8a0647..5dd7740 100644 |
880 | --- a/debian/changelog |
881 | +++ b/debian/changelog |
882 | @@ -1,3 +1,10 @@ |
883 | +spice-protocol (0.14.0-0ubuntu1) eoan; urgency=medium |
884 | + |
885 | + * New upstream release 0.14.0 |
886 | + - d/docs: NEWS split and renamed to CHANGELOG.md/README.md |
887 | + |
888 | + -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 24 May 2019 15:09:51 +0200 |
889 | + |
890 | spice-protocol (0.12.14-1) unstable; urgency=medium |
891 | |
892 | * Team upload. |
893 | diff --git a/debian/control b/debian/control |
894 | index 7c1da46..5a0a794 100644 |
895 | --- a/debian/control |
896 | +++ b/debian/control |
897 | @@ -1,6 +1,7 @@ |
898 | Source: spice-protocol |
899 | Priority: optional |
900 | -Maintainer: Liang Guo <guoliang@debian.org> |
901 | +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
902 | +XSBC-Original-Maintainer: Liang Guo <guoliang@debian.org> |
903 | Uploaders: Michael Tokarev <mjt@tls.msk.ru> |
904 | Build-Depends: debhelper (>= 11) |
905 | Standards-Version: 4.2.1 |
906 | diff --git a/debian/docs b/debian/docs |
907 | index edc0071..88dae24 100644 |
908 | --- a/debian/docs |
909 | +++ b/debian/docs |
910 | @@ -1 +1,2 @@ |
911 | -NEWS |
912 | +README.md |
913 | +CHANGELOG.md |
914 | diff --git a/install-sh b/install-sh |
915 | index 0360b79..8175c64 100755 |
916 | --- a/install-sh |
917 | +++ b/install-sh |
918 | @@ -1,7 +1,7 @@ |
919 | #!/bin/sh |
920 | # install - install a program, script, or datafile |
921 | |
922 | -scriptversion=2016-01-11.22; # UTC |
923 | +scriptversion=2018-03-11.20; # UTC |
924 | |
925 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
926 | # later released in X11R6 (xc/config/util/install.sh) with the |
927 | @@ -271,15 +271,18 @@ do |
928 | fi |
929 | dst=$dst_arg |
930 | |
931 | - # If destination is a directory, append the input filename; won't work |
932 | - # if double slashes aren't ignored. |
933 | + # If destination is a directory, append the input filename. |
934 | if test -d "$dst"; then |
935 | if test "$is_target_a_directory" = never; then |
936 | echo "$0: $dst_arg: Is a directory" >&2 |
937 | exit 1 |
938 | fi |
939 | dstdir=$dst |
940 | - dst=$dstdir/`basename "$src"` |
941 | + dstbase=`basename "$src"` |
942 | + case $dst in |
943 | + */) dst=$dst$dstbase;; |
944 | + *) dst=$dst/$dstbase;; |
945 | + esac |
946 | dstdir_status=0 |
947 | else |
948 | dstdir=`dirname "$dst"` |
949 | @@ -288,6 +291,11 @@ do |
950 | fi |
951 | fi |
952 | |
953 | + case $dstdir in |
954 | + */) dstdirslash=$dstdir;; |
955 | + *) dstdirslash=$dstdir/;; |
956 | + esac |
957 | + |
958 | obsolete_mkdir_used=false |
959 | |
960 | if test $dstdir_status != 0; then |
961 | @@ -324,34 +332,43 @@ do |
962 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
963 | ;; |
964 | *) |
965 | + # Note that $RANDOM variable is not portable (e.g. dash); Use it |
966 | + # here however when possible just to lower collision chance. |
967 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ |
968 | - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 |
969 | |
970 | + trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 |
971 | + |
972 | + # Because "mkdir -p" follows existing symlinks and we likely work |
973 | + # directly in world-writeable /tmp, make sure that the '$tmpdir' |
974 | + # directory is successfully created first before we actually test |
975 | + # 'mkdir -p' feature. |
976 | if (umask $mkdir_umask && |
977 | - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 |
978 | + $mkdirprog $mkdir_mode "$tmpdir" && |
979 | + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 |
980 | then |
981 | if test -z "$dir_arg" || { |
982 | # Check for POSIX incompatibilities with -m. |
983 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
984 | # other-writable bit of parent directory when it shouldn't. |
985 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
986 | - ls_ld_tmpdir=`ls -ld "$tmpdir"` |
987 | + test_tmpdir="$tmpdir/a" |
988 | + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` |
989 | case $ls_ld_tmpdir in |
990 | d????-?r-*) different_mode=700;; |
991 | d????-?--*) different_mode=755;; |
992 | *) false;; |
993 | esac && |
994 | - $mkdirprog -m$different_mode -p -- "$tmpdir" && { |
995 | - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` |
996 | + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { |
997 | + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` |
998 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" |
999 | } |
1000 | } |
1001 | then posix_mkdir=: |
1002 | fi |
1003 | - rmdir "$tmpdir/d" "$tmpdir" |
1004 | + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" |
1005 | else |
1006 | # Remove any dirs left behind by ancient mkdir implementations. |
1007 | - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null |
1008 | + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null |
1009 | fi |
1010 | trap '' 0;; |
1011 | esac;; |
1012 | @@ -427,8 +444,8 @@ do |
1013 | else |
1014 | |
1015 | # Make a couple of temp file names in the proper directory. |
1016 | - dsttmp=$dstdir/_inst.$$_ |
1017 | - rmtmp=$dstdir/_rm.$$_ |
1018 | + dsttmp=${dstdirslash}_inst.$$_ |
1019 | + rmtmp=${dstdirslash}_rm.$$_ |
1020 | |
1021 | # Trap to clean up those temp files at exit. |
1022 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
1023 | @@ -493,7 +510,7 @@ do |
1024 | done |
1025 | |
1026 | # Local variables: |
1027 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
1028 | +# eval: (add-hook 'before-save-hook 'time-stamp) |
1029 | # time-stamp-start: "scriptversion=" |
1030 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
1031 | # time-stamp-time-zone: "UTC0" |
1032 | diff --git a/meson.build b/meson.build |
1033 | index 5ed4177..f9da4ac 100644 |
1034 | --- a/meson.build |
1035 | +++ b/meson.build |
1036 | @@ -2,12 +2,14 @@ |
1037 | # project definition |
1038 | # |
1039 | project('spice-protocol', 'c', |
1040 | - version : '0.12.14', |
1041 | + version : '0.14.0', |
1042 | license : 'BSD', |
1043 | meson_version : '>= 0.41.0') |
1044 | |
1045 | subdir('spice') |
1046 | |
1047 | +spice_protocol_dep = declare_dependency(include_directories : include_directories('.')) |
1048 | + |
1049 | # |
1050 | # spice-protocol.pc generation |
1051 | # |
1052 | diff --git a/missing b/missing |
1053 | index b7e571e..625aeb1 100755 |
1054 | --- a/missing |
1055 | +++ b/missing |
1056 | @@ -1,9 +1,9 @@ |
1057 | -#!/bin/sh |
1058 | +#! /bin/sh |
1059 | # Common wrapper for a few potentially missing GNU programs. |
1060 | |
1061 | -scriptversion=2016-01-11.22; # UTC |
1062 | +scriptversion=2018-03-07.03; # UTC |
1063 | |
1064 | -# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
1065 | +# Copyright (C) 1996-2018 Free Software Foundation, Inc. |
1066 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
1067 | |
1068 | # This program is free software; you can redistribute it and/or modify |
1069 | @@ -17,7 +17,7 @@ scriptversion=2016-01-11.22; # UTC |
1070 | # GNU General Public License for more details. |
1071 | |
1072 | # You should have received a copy of the GNU General Public License |
1073 | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1074 | +# along with this program. If not, see <https://www.gnu.org/licenses/>. |
1075 | |
1076 | # As a special exception to the GNU General Public License, if you |
1077 | # distribute this file as part of a program that contains a |
1078 | @@ -101,9 +101,9 @@ else |
1079 | exit $st |
1080 | fi |
1081 | |
1082 | -perl_URL=http://www.perl.org/ |
1083 | -flex_URL=http://flex.sourceforge.net/ |
1084 | -gnu_software_URL=http://www.gnu.org/software |
1085 | +perl_URL=https://www.perl.org/ |
1086 | +flex_URL=https://github.com/westes/flex |
1087 | +gnu_software_URL=https://www.gnu.org/software |
1088 | |
1089 | program_details () |
1090 | { |
1091 | @@ -207,7 +207,7 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \ |
1092 | exit $st |
1093 | |
1094 | # Local variables: |
1095 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
1096 | +# eval: (add-hook 'before-save-hook 'time-stamp) |
1097 | # time-stamp-start: "scriptversion=" |
1098 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
1099 | # time-stamp-time-zone: "UTC0" |
1100 | diff --git a/spice/Makefile.am b/spice/Makefile.am |
1101 | index e41f41d..69c9976 100644 |
1102 | --- a/spice/Makefile.am |
1103 | +++ b/spice/Makefile.am |
1104 | @@ -7,7 +7,6 @@ spice_protocol_include_HEADERS = \ |
1105 | controller_prot.h \ |
1106 | end-packed.h \ |
1107 | enums.h \ |
1108 | - error_codes.h \ |
1109 | foreign_menu_prot.h \ |
1110 | ipc_ring.h \ |
1111 | macros.h \ |
1112 | diff --git a/spice/Makefile.in b/spice/Makefile.in |
1113 | index 7ea323c..4165720 100644 |
1114 | --- a/spice/Makefile.in |
1115 | +++ b/spice/Makefile.in |
1116 | @@ -1,7 +1,7 @@ |
1117 | -# Makefile.in generated by automake 1.15.1 from Makefile.am. |
1118 | +# Makefile.in generated by automake 1.16.1 from Makefile.am. |
1119 | # @configure_input@ |
1120 | |
1121 | -# Copyright (C) 1994-2017 Free Software Foundation, Inc. |
1122 | +# Copyright (C) 1994-2018 Free Software Foundation, Inc. |
1123 | |
1124 | # This Makefile.in is free software; the Free Software Foundation |
1125 | # gives unlimited permission to copy and/or distribute it, |
1126 | @@ -247,7 +247,6 @@ spice_protocol_include_HEADERS = \ |
1127 | controller_prot.h \ |
1128 | end-packed.h \ |
1129 | enums.h \ |
1130 | - error_codes.h \ |
1131 | foreign_menu_prot.h \ |
1132 | ipc_ring.h \ |
1133 | macros.h \ |
1134 | @@ -275,16 +274,16 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi |
1135 | exit 1;; \ |
1136 | esac; \ |
1137 | done; \ |
1138 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu spice/Makefile'; \ |
1139 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign spice/Makefile'; \ |
1140 | $(am__cd) $(top_srcdir) && \ |
1141 | - $(AUTOMAKE) --gnu spice/Makefile |
1142 | + $(AUTOMAKE) --foreign spice/Makefile |
1143 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
1144 | @case '$?' in \ |
1145 | *config.status*) \ |
1146 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
1147 | *) \ |
1148 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
1149 | - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
1150 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ |
1151 | + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ |
1152 | esac; |
1153 | |
1154 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1155 | @@ -369,7 +368,10 @@ cscopelist-am: $(am__tagged_files) |
1156 | distclean-tags: |
1157 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1158 | |
1159 | -distdir: $(DISTFILES) |
1160 | +distdir: $(BUILT_SOURCES) |
1161 | + $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1162 | + |
1163 | +distdir-am: $(DISTFILES) |
1164 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1165 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1166 | list='$(DISTFILES)'; \ |
1167 | diff --git a/spice/controller_prot.h b/spice/controller_prot.h |
1168 | index 91dbe6f..0b0316f 100644 |
1169 | --- a/spice/controller_prot.h |
1170 | +++ b/spice/controller_prot.h |
1171 | @@ -48,7 +48,7 @@ typedef struct SPICE_ATTR_PACKED ControllerMsg { |
1172 | } ControllerMsg; |
1173 | |
1174 | enum { |
1175 | - //extrenal app -> spice client |
1176 | + //external app -> spice client |
1177 | CONTROLLER_HOST = 1, |
1178 | CONTROLLER_PORT, |
1179 | CONTROLLER_SPORT, |
1180 | diff --git a/spice/end-packed.h b/spice/end-packed.h |
1181 | index 1acea18..0efd588 100644 |
1182 | --- a/spice/end-packed.h |
1183 | +++ b/spice/end-packed.h |
1184 | @@ -32,6 +32,7 @@ |
1185 | /* See start-packed.h for details */ |
1186 | |
1187 | #undef SPICE_ATTR_PACKED |
1188 | +#undef SPICE_ATTR_ALIGNED |
1189 | |
1190 | #if defined(__MINGW32__) || !defined(__GNUC__) |
1191 | #pragma pack(pop) |
1192 | diff --git a/spice/enums.h b/spice/enums.h |
1193 | index f593777..172cc4d 100644 |
1194 | --- a/spice/enums.h |
1195 | +++ b/spice/enums.h |
1196 | @@ -119,21 +119,6 @@ typedef enum SpiceMouseMode { |
1197 | SPICE_MOUSE_MODE_MASK = 0x3 |
1198 | } SpiceMouseMode; |
1199 | |
1200 | -typedef enum SpicePubkeyType { |
1201 | - SPICE_PUBKEY_TYPE_INVALID, |
1202 | - SPICE_PUBKEY_TYPE_RSA, |
1203 | - SPICE_PUBKEY_TYPE_RSA2, |
1204 | - SPICE_PUBKEY_TYPE_DSA, |
1205 | - SPICE_PUBKEY_TYPE_DSA1, |
1206 | - SPICE_PUBKEY_TYPE_DSA2, |
1207 | - SPICE_PUBKEY_TYPE_DSA3, |
1208 | - SPICE_PUBKEY_TYPE_DSA4, |
1209 | - SPICE_PUBKEY_TYPE_DH, |
1210 | - SPICE_PUBKEY_TYPE_EC, |
1211 | - |
1212 | - SPICE_PUBKEY_TYPE_ENUM_END |
1213 | -} SpicePubkeyType; |
1214 | - |
1215 | typedef enum SpiceDataCompressionType { |
1216 | SPICE_DATA_COMPRESSION_TYPE_NONE, |
1217 | SPICE_DATA_COMPRESSION_TYPE_LZ4, |
1218 | @@ -162,6 +147,7 @@ typedef enum SpiceVideoCodecType { |
1219 | SPICE_VIDEO_CODEC_TYPE_VP8, |
1220 | SPICE_VIDEO_CODEC_TYPE_H264, |
1221 | SPICE_VIDEO_CODEC_TYPE_VP9, |
1222 | + SPICE_VIDEO_CODEC_TYPE_H265, |
1223 | |
1224 | SPICE_VIDEO_CODEC_TYPE_ENUM_END |
1225 | } SpiceVideoCodecType; |
1226 | @@ -396,21 +382,6 @@ typedef enum SpiceAudioFmt { |
1227 | SPICE_AUDIO_FMT_ENUM_END |
1228 | } SpiceAudioFmt; |
1229 | |
1230 | -typedef enum SpiceTunnelServiceType { |
1231 | - SPICE_TUNNEL_SERVICE_TYPE_INVALID, |
1232 | - SPICE_TUNNEL_SERVICE_TYPE_GENERIC, |
1233 | - SPICE_TUNNEL_SERVICE_TYPE_IPP, |
1234 | - |
1235 | - SPICE_TUNNEL_SERVICE_TYPE_ENUM_END |
1236 | -} SpiceTunnelServiceType; |
1237 | - |
1238 | -typedef enum SpiceTunnelIpType { |
1239 | - SPICE_TUNNEL_IP_TYPE_INVALID, |
1240 | - SPICE_TUNNEL_IP_TYPE_IPv4, |
1241 | - |
1242 | - SPICE_TUNNEL_IP_TYPE_ENUM_END |
1243 | -} SpiceTunnelIpType; |
1244 | - |
1245 | typedef enum SpiceVscMessageType { |
1246 | SPICE_VSC_MESSAGE_TYPE_Init = 1, |
1247 | SPICE_VSC_MESSAGE_TYPE_Error, |
1248 | @@ -613,33 +584,6 @@ enum { |
1249 | }; |
1250 | |
1251 | enum { |
1252 | - SPICE_MSG_TUNNEL_INIT = 101, |
1253 | - SPICE_MSG_TUNNEL_SERVICE_IP_MAP, |
1254 | - SPICE_MSG_TUNNEL_SOCKET_OPEN, |
1255 | - SPICE_MSG_TUNNEL_SOCKET_FIN, |
1256 | - SPICE_MSG_TUNNEL_SOCKET_CLOSE, |
1257 | - SPICE_MSG_TUNNEL_SOCKET_DATA, |
1258 | - SPICE_MSG_TUNNEL_SOCKET_CLOSED_ACK, |
1259 | - SPICE_MSG_TUNNEL_SOCKET_TOKEN, |
1260 | - |
1261 | - SPICE_MSG_END_TUNNEL |
1262 | -}; |
1263 | - |
1264 | -enum { |
1265 | - SPICE_MSGC_TUNNEL_SERVICE_ADD = 101, |
1266 | - SPICE_MSGC_TUNNEL_SERVICE_REMOVE, |
1267 | - SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK, |
1268 | - SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK, |
1269 | - SPICE_MSGC_TUNNEL_SOCKET_FIN, |
1270 | - SPICE_MSGC_TUNNEL_SOCKET_CLOSED, |
1271 | - SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK, |
1272 | - SPICE_MSGC_TUNNEL_SOCKET_DATA, |
1273 | - SPICE_MSGC_TUNNEL_SOCKET_TOKEN, |
1274 | - |
1275 | - SPICE_MSGC_END_TUNNEL |
1276 | -}; |
1277 | - |
1278 | -enum { |
1279 | SPICE_MSG_SMARTCARD_DATA = 101, |
1280 | |
1281 | SPICE_MSG_END_SMARTCARD |
1282 | diff --git a/spice/error_codes.h b/spice/error_codes.h |
1283 | deleted file mode 100644 |
1284 | index 9fcfe3f..0000000 |
1285 | --- a/spice/error_codes.h |
1286 | +++ /dev/null |
1287 | @@ -1,51 +0,0 @@ |
1288 | -/* |
1289 | - Copyright (C) 2009 Red Hat, Inc. |
1290 | - |
1291 | - Redistribution and use in source and binary forms, with or without |
1292 | - modification, are permitted provided that the following conditions are |
1293 | - met: |
1294 | - |
1295 | - * Redistributions of source code must retain the above copyright |
1296 | - notice, this list of conditions and the following disclaimer. |
1297 | - * Redistributions in binary form must reproduce the above copyright |
1298 | - notice, this list of conditions and the following disclaimer in |
1299 | - the documentation and/or other materials provided with the |
1300 | - distribution. |
1301 | - * Neither the name of the copyright holder nor the names of its |
1302 | - contributors may be used to endorse or promote products derived |
1303 | - from this software without specific prior written permission. |
1304 | - |
1305 | - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS |
1306 | - IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
1307 | - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
1308 | - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
1309 | - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
1310 | - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
1311 | - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
1312 | - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
1313 | - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
1314 | - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
1315 | - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1316 | -*/ |
1317 | - |
1318 | -#ifndef _H_SPICE_ERROR_CODES |
1319 | -#define _H_SPICE_ERROR_CODES |
1320 | - |
1321 | -#define SPICEC_ERROR_CODE_SUCCESS 0 |
1322 | -#define SPICEC_ERROR_CODE_ERROR 1 |
1323 | -#define SPICEC_ERROR_CODE_GETHOSTBYNAME_FAILED 2 |
1324 | -#define SPICEC_ERROR_CODE_CONNECT_FAILED 3 |
1325 | -#define SPICEC_ERROR_CODE_SOCKET_FAILED 4 |
1326 | -#define SPICEC_ERROR_CODE_SEND_FAILED 5 |
1327 | -#define SPICEC_ERROR_CODE_RECV_FAILED 6 |
1328 | -#define SPICEC_ERROR_CODE_SSL_ERROR 7 |
1329 | -#define SPICEC_ERROR_CODE_NOT_ENOUGH_MEMORY 8 |
1330 | -#define SPICEC_ERROR_CODE_AGENT_TIMEOUT 9 |
1331 | -#define SPICEC_ERROR_CODE_AGENT_ERROR 10 |
1332 | -#define SPICEC_ERROR_CODE_VERSION_MISMATCH 11 |
1333 | -#define SPICEC_ERROR_CODE_PERMISSION_DENIED 12 |
1334 | -#define SPICEC_ERROR_CODE_INVALID_ARG 13 |
1335 | -#define SPICEC_ERROR_CODE_CMD_LINE_ERROR 14 |
1336 | - |
1337 | -#endif /* _H_SPICE_ERROR_CODES */ |
1338 | - |
1339 | diff --git a/spice/foreign_menu_prot.h b/spice/foreign_menu_prot.h |
1340 | index 2ee2552..44f88a2 100644 |
1341 | --- a/spice/foreign_menu_prot.h |
1342 | +++ b/spice/foreign_menu_prot.h |
1343 | @@ -43,7 +43,7 @@ typedef struct SPICE_ATTR_PACKED FrgMenuMsg { |
1344 | } FrgMenuMsg; |
1345 | |
1346 | enum { |
1347 | - //extrenal app -> spice client |
1348 | + //external app -> spice client |
1349 | FOREIGN_MENU_SET_TITLE = 1, |
1350 | FOREIGN_MENU_ADD_ITEM, |
1351 | FOREIGN_MENU_MODIFY_ITEM, |
1352 | diff --git a/spice/meson.build b/spice/meson.build |
1353 | index 5b1ff30..05b2b28 100644 |
1354 | --- a/spice/meson.build |
1355 | +++ b/spice/meson.build |
1356 | @@ -3,7 +3,6 @@ spice_protocol_headers = [ |
1357 | 'controller_prot.h', |
1358 | 'end-packed.h', |
1359 | 'enums.h', |
1360 | - 'error_codes.h', |
1361 | 'foreign_menu_prot.h', |
1362 | 'ipc_ring.h', |
1363 | 'macros.h', |
1364 | diff --git a/spice/protocol.h b/spice/protocol.h |
1365 | index 6cc65b8..c5cbb6b 100644 |
1366 | --- a/spice/protocol.h |
1367 | +++ b/spice/protocol.h |
1368 | @@ -149,6 +149,7 @@ enum { |
1369 | SPICE_DISPLAY_CAP_CODEC_H264, |
1370 | SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE, |
1371 | SPICE_DISPLAY_CAP_CODEC_VP9, |
1372 | + SPICE_DISPLAY_CAP_CODEC_H265, |
1373 | }; |
1374 | |
1375 | enum { |
1376 | diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h |
1377 | index 9e753c4..a9cc4f4 100644 |
1378 | --- a/spice/qxl_dev.h |
1379 | +++ b/spice/qxl_dev.h |
1380 | @@ -253,7 +253,7 @@ SPICE_RING_DECLARE(QXLReleaseRing, uint64_t, QXL_RELEASE_RING_SIZE); |
1381 | #define QXL_INTERRUPT_CLIENT_MONITORS_CONFIG (1 << 5) |
1382 | |
1383 | /* qxl-1 compat: append only */ |
1384 | -typedef struct SPICE_ATTR_PACKED QXLRam { |
1385 | +typedef struct SPICE_ATTR_ALIGNED(4) SPICE_ATTR_PACKED QXLRam { |
1386 | uint32_t magic; |
1387 | uint32_t int_pending; |
1388 | uint32_t int_mask; |
1389 | diff --git a/spice/start-packed.h b/spice/start-packed.h |
1390 | index ab3fa98..de0c595 100644 |
1391 | --- a/spice/start-packed.h |
1392 | +++ b/spice/start-packed.h |
1393 | @@ -48,6 +48,7 @@ |
1394 | #ifdef __GNUC__ |
1395 | |
1396 | #define SPICE_ATTR_PACKED __attribute__ ((__packed__)) |
1397 | +#define SPICE_ATTR_ALIGNED(n) __attribute__ ((__aligned__ (n))) |
1398 | |
1399 | #ifdef __MINGW32__ |
1400 | #pragma pack(push,1) |
1401 | @@ -58,6 +59,7 @@ |
1402 | #pragma pack(push) |
1403 | #pragma pack(1) |
1404 | #define SPICE_ATTR_PACKED |
1405 | +#define SPICE_ATTR_ALIGNED(n) __declspec (align (n)) |
1406 | #pragma warning(disable:4200) |
1407 | #pragma warning(disable:4103) |
1408 | |
1409 | diff --git a/spice/stats.h b/spice/stats.h |
1410 | index 46bbfed..eed8a63 100644 |
1411 | --- a/spice/stats.h |
1412 | +++ b/spice/stats.h |
1413 | @@ -62,6 +62,8 @@ typedef struct SpiceStat { |
1414 | uint32_t generation; |
1415 | uint32_t num_of_nodes; |
1416 | uint32_t root_index; |
1417 | + /* to avoid holes in the structure on some platforms */ |
1418 | + uint32_t padding; |
1419 | SpiceStatNode nodes[]; |
1420 | } SpiceStat; |
1421 | |
1422 | diff --git a/spice/stream-device.h b/spice/stream-device.h |
1423 | index 6add42b..c70690a 100644 |
1424 | --- a/spice/stream-device.h |
1425 | +++ b/spice/stream-device.h |
1426 | @@ -90,6 +90,8 @@ typedef enum StreamMsgType { |
1427 | STREAM_TYPE_CURSOR_SET, |
1428 | /* guest cursor position */ |
1429 | STREAM_TYPE_CURSOR_MOVE, |
1430 | + /* the graphics device display information message (device address and display id) */ |
1431 | + STREAM_TYPE_DEVICE_DISPLAY_INFO, |
1432 | } StreamMsgType; |
1433 | |
1434 | typedef enum StreamCapabilities { |
1435 | @@ -140,6 +142,35 @@ typedef struct StreamMsgData { |
1436 | uint8_t data[0]; |
1437 | } StreamMsgData; |
1438 | |
1439 | +/* This message contains information about the graphics device and monitor |
1440 | + * belonging to a particular video stream (which maps to a channel) from |
1441 | + * the streaming agent. |
1442 | + * |
1443 | + * The device_address is the hardware address of the device (e.g. PCI), |
1444 | + * device_display_id is the id of the monitor on the device. |
1445 | + * |
1446 | + * The supported device address format is: |
1447 | + * "pci/<DOMAIN>/<SLOT>.<FUNCTION>/.../<SLOT>.<FUNCTION>" |
1448 | + * |
1449 | + * The "pci" identifies the rest of the string as a PCI address. It is the only |
1450 | + * supported address at the moment, other identifiers can be introduced later. |
1451 | + * <DOMAIN> is the PCI domain, followed by <SLOT>.<FUNCTION> of any PCI bridges |
1452 | + * in the chain leading to the device. The last <SLOT>.<FUNCTION> is the |
1453 | + * graphics device. All of <DOMAIN>, <SLOT>, <FUNCTION> are hexadecimal numbers |
1454 | + * with the following number of digits: |
1455 | + * <DOMAIN>: 4 |
1456 | + * <SLOT>: 2 |
1457 | + * <FUNCTION>: 1 |
1458 | + * |
1459 | + * Sent from the streaming agent to the server. |
1460 | + */ |
1461 | +typedef struct StreamMsgDeviceDisplayInfo { |
1462 | + uint32_t stream_id; |
1463 | + uint32_t device_display_id; |
1464 | + uint32_t device_address_len; |
1465 | + uint8_t device_address[0]; // a zero-terminated string |
1466 | +} StreamMsgDeviceDisplayInfo; |
1467 | + |
1468 | /* Tell to stop current stream and possibly start a new one. |
1469 | * This message is sent by the host to the guest. |
1470 | * Allows to communicate the codecs supported by the clients. |
1471 | diff --git a/spice/vd_agent.h b/spice/vd_agent.h |
1472 | index dda7044..42ec77a 100644 |
1473 | --- a/spice/vd_agent.h |
1474 | +++ b/spice/vd_agent.h |
1475 | @@ -91,6 +91,7 @@ enum { |
1476 | VD_AGENT_CLIENT_DISCONNECTED, |
1477 | VD_AGENT_MAX_CLIPBOARD, |
1478 | VD_AGENT_AUDIO_VOLUME_SYNC, |
1479 | + VD_AGENT_GRAPHICS_DEVICE_INFO, |
1480 | VD_AGENT_END_MESSAGE, |
1481 | }; |
1482 | |
1483 | @@ -248,6 +249,27 @@ typedef struct SPICE_ATTR_PACKED VDAgentAudioVolumeSync { |
1484 | uint16_t volume[0]; |
1485 | } VDAgentAudioVolumeSync; |
1486 | |
1487 | +typedef struct SPICE_ATTR_PACKED VDAgentDeviceDisplayInfo { |
1488 | + uint32_t channel_id; |
1489 | + uint32_t monitor_id; |
1490 | + uint32_t device_display_id; |
1491 | + uint32_t device_address_len; |
1492 | + uint8_t device_address[0]; // a zero-terminated string |
1493 | +} VDAgentDeviceDisplayInfo; |
1494 | + |
1495 | + |
1496 | +/* This message contains the mapping of (channel_id, monitor_id) pair to a |
1497 | + * "physical" (virtualized) device and its monitor identified by device_address |
1498 | + * and device_display_id. |
1499 | + * |
1500 | + * It's used on the vd_agent to identify the guest monitors for the |
1501 | + * mouse_position and monitors_config messages. |
1502 | + */ |
1503 | +typedef struct SPICE_ATTR_PACKED VDAgentGraphicsDeviceInfo { |
1504 | + uint32_t count; |
1505 | + VDAgentDeviceDisplayInfo display_info[0]; |
1506 | +} VDAgentGraphicsDeviceInfo; |
1507 | + |
1508 | enum { |
1509 | VD_AGENT_CAP_MOUSE_STATE = 0, |
1510 | VD_AGENT_CAP_MONITORS_CONFIG, |
1511 | @@ -264,6 +286,7 @@ enum { |
1512 | VD_AGENT_CAP_MONITORS_CONFIG_POSITION, |
1513 | VD_AGENT_CAP_FILE_XFER_DISABLED, |
1514 | VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS, |
1515 | + VD_AGENT_CAP_GRAPHICS_DEVICE_INFO, |
1516 | VD_AGENT_END_CAP, |
1517 | }; |
1518 |
This is a group of MPs/uploads for spice, spice-protocol and spice-gtk.
Discussions and extra infos in the main MP for spice /code.launchpad .net/~paelzer/ ubuntu/ +source/ spice/+ git/spice/ +merge/ 369222
=> https:/