Compare commits

..

41 Commits

Author SHA1 Message Date
3cf539603a bump version to 0.14.3-2 2025-05-21 19:32:47 +08:00
17c0e6f728 Add h264 av1 h265 vaapi amf nvenc qsv 2025-05-21 19:29:48 +08:00
Michael Tokarev
4fa03ef0c2 update changelog; upload 0.14.3-1 to unstable 2020-12-04 15:46:47 +03:00
Michael Tokarev
748f90004b hack: remove arch-specific but unused libdir= assignment in generated spice-protocol.pc 2020-12-04 15:44:51 +03:00
Michael Tokarev
d098945698 remove references to removed files from d/copyright (spice/controller_prot.h spice/foreign_menu_prot.h) 2020-12-04 15:18:26 +03:00
Michael Tokarev
6326b8de16 use meson to build spice-protocol (add it to Build-Depends) 2020-12-04 14:01:37 +03:00
Michael Tokarev
6b232042ab Update upstream source from tag 'upstream/0.14.3'
Update to upstream version '0.14.3'
with Debian dir 5406cd938e
2020-12-04 13:55:23 +03:00
Michael Tokarev
4ed5209050 New upstream version 0.14.3 2020-12-04 13:55:22 +03:00
Michael Tokarev
70ac50c1b3 d/watch: allow .xz extension too (upstream switched to it at 0.14.3) 2020-12-04 13:51:52 +03:00
Michael Tokarev
d71cfc8f06 New upstream version 0.14.3 2020-12-04 13:51:01 +03:00
Michael Tokarev
9e85f9f5d8 update changelog; upload 0.14.1-2 to unstable 2020-07-23 15:23:45 +03:00
Michael Tokarev
cd2537a0ae use secure (https) URLs in d/control & d/copyright 2020-07-18 15:55:06 +03:00
Michael Tokarev
e29b84890c set VCS links to point to qemu-team on salsa 2020-07-18 15:53:55 +03:00
Michael Tokarev
e0ef80ce81 set Maintainer to the QEMU team (Closes: #911429) 2020-07-18 15:52:40 +03:00
Laurent Bigonville
678620f6a6 debian/docs: Install the README.md and CHANGELOG.md files 2020-04-25 12:41:10 +02:00
Laurent Bigonville
f2f15e86d4 Release to unstable 2020-04-25 12:18:54 +02:00
Laurent Bigonville
9363d43a10 Bump debhelper compatibility to 12 2020-04-25 12:17:54 +02:00
Laurent Bigonville
e618462a2f Bump Standards-Version to 4.5.0 (no further changes) 2020-04-25 12:17:20 +02:00
Laurent Bigonville
9f9d1522a4 New upstream release 2020-04-25 12:16:11 +02:00
Laurent Bigonville
bd1bdc3c89 New upstream version 0.14.1 2020-04-25 12:14:24 +02:00
Laurent Bigonville
a81c352698 Update upstream source from tag 'upstream/0.14.1'
Update to upstream version '0.14.1'
with Debian dir 271ffed4e2
2020-04-25 12:14:24 +02:00
Laurent Bigonville
c14d37c781 debian/gbp.conf: Enable pristine-tar 2020-04-25 12:12:34 +02:00
Laurent Bigonville
23827b2b36 Run wrap-and-sort
Gbp-Dch: Ignore
2019-08-02 14:02:02 +02:00
Laurent Bigonville
d833a827f2 Release to unstable 2019-08-02 12:02:36 +02:00
Laurent Bigonville
6801115bc7 debian/control: Bump Standards-Version to 4.4.0 (no further changes) 2019-08-02 12:01:38 +02:00
Laurent Bigonville
dd1c4b5561 debian/docs: Dropped, the NEWS file has been renamed to CHANGELOG.md and is now installed by dh_installchangelogs 2019-08-02 12:01:30 +02:00
Laurent Bigonville
b005c19a0c New upstream version 0.14.0 2019-08-02 12:01:08 +02:00
Laurent Bigonville
8b496c91ed Update upstream source from tag 'upstream/0.14.0'
Update to upstream version '0.14.0'
with Debian dir c0f08d4d17
2019-08-02 12:01:08 +02:00
Laurent Bigonville
086ed9a406 Enable upstream tarball signature verification 2019-08-02 12:00:39 +02:00
Ondřej Nový
a606554c9d d/control: Remove trailing whitespaces 2018-10-01 09:37:56 +02:00
Ondřej Nový
7bbe44df4b d/changelog: Remove trailing whitespaces 2018-10-01 09:37:54 +02:00
Ondřej Nový
c026dbb9c6 d/copyright: Change Format URL to correct one 2018-10-01 09:37:43 +02:00
Laurent Bigonville
f14d16ea32 Release to unstable 2018-08-29 17:16:18 +02:00
Laurent Bigonville
f4d075e571 debian/control: Point the Vcs-* fields to the debian team instead
Gbp-Dch: ignore
2018-08-29 17:14:04 +02:00
Laurent Bigonville
eeb6361216 debian/rules: Disable DH_VERBOSE by default 2018-08-29 16:32:44 +02:00
Laurent Bigonville
cf73c46836 debian/watch: Use https:// instead of http:// 2018-08-29 16:32:44 +02:00
Laurent Bigonville
4bf67abe52 Bump debhelper compatibility to 11 2018-08-29 16:11:02 +02:00
Laurent Bigonville
374997f4c6 debian/control: Bump Standards-Version to 4.2.1 (no further changes) 2018-08-29 16:09:08 +02:00
Laurent Bigonville
039b062d38 New upstream version 0.12.14 2018-08-29 16:07:52 +02:00
Laurent Bigonville
dc038bd73e Update upstream source from tag 'upstream/0.12.14'
Update to upstream version '0.12.14'
with Debian dir c0cef6b3bf
2018-08-29 16:07:52 +02:00
Laurent Bigonville
1d0bf2058d debian/control: Update the Vcs-* fields to point to salsa 2018-08-29 16:06:26 +02:00
12 changed files with 118 additions and 13 deletions

View File

@ -1,3 +1,11 @@
Major changes in 0.14.3
=======================
* Add VD_AGENT_CLIPBOARD_FILE_LIST to support copy/paste of files with
WebDAV support
* Add support for side mouse buttons
* Add a MonitorsMM field to VDAgentMonitorsConfig allowing to pass
physical monitor dimension
Major changes in 0.14.2
=======================
* Removed Autoconf support, only Meson is available

33
debian/changelog vendored
View File

@ -1,3 +1,36 @@
spice-protocol (0.14.3-2) unstable; urgency=medium
Add support for AV1 codec [amf vaapi qsv nvenc]
Add support for H265 codec [amf vaapi qsv nvenc]
Add support for H264 codec [amf vaapi qsv nvenc]
Add support for MJPEG codec [vaapi nvjpg]
-- Lierfang Support Team <itsupport@lierfang.com> Fri, 21 May 2025 15:45:00 +0300
spice-protocol (0.14.3-1) unstable; urgency=medium
* New upstream version 0.14.3 (Closes: #976333)
* d/watch: allow .xz extension too (upstream switched to it at 0.14.3)
* use meson to build spice-protocol (add it to Build-Depends)
* remove references to removed files from d/copyright
(spice/controller_prot.h spice/foreign_menu_prot.h)
* hack: remove arch-specific but unused libdir= assignment
in generated spice-protocol.pc
-- Michael Tokarev <mjt@tls.msk.ru> Fri, 04 Dec 2020 15:45:00 +0300
spice-protocol (0.14.1-2) unstable; urgency=medium
[ Laurent Bigonville ]
* debian/docs: Install the README.md and CHANGELOG.md files
[ Michael Tokarev ]
* set Maintainer to the QEMU team (Closes: #911429)
* set VCS links to point to qemu-team on salsa
* use secure (https) URLs in d/control & d/copyright
-- Michael Tokarev <mjt@tls.msk.ru> Thu, 23 Jul 2020 15:22:04 +0300
spice-protocol (0.14.1-1) unstable; urgency=medium
* Team upload.

8
debian/control vendored
View File

@ -2,12 +2,12 @@ Source: spice-protocol
Priority: optional
Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
Uploaders: Michael Tokarev <mjt@tls.msk.ru>
Build-Depends: debhelper-compat (= 12)
Build-Depends: debhelper-compat (= 12), meson
Standards-Version: 4.5.0
Section: libs
Homepage: http://www.spice-space.org/
Vcs-Git: https://salsa.debian.org/debian/spice-protocol.git
Vcs-Browser: https://salsa.debian.org/debian/spice-protocol
Homepage: https://www.spice-space.org/
Vcs-Git: https://salsa.debian.org/qemu-team/spice-protocol.git
Vcs-Browser: https://salsa.debian.org/qemu-team/spice-protocol
Package: libspice-protocol-dev
Section: libdevel

4
debian/copyright vendored
View File

@ -6,7 +6,7 @@ Upstream-Contact: Alexander Larsson <alexl@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
Izik Eidus <ieidus@redhat.com>,
Yonit Halperin <yhalperi@redhat.com>
Source: http://www.spice-space.org/download/releases/
Source: https://www.spice-space.org/download/releases/
Files: *
Copyright: Copyright (C) 2009-2013 Red Hat, Inc
@ -39,8 +39,6 @@ License: BSD-3-clause
Files: spice/macros.h
spice/controller_prot.h
spice/foreign_menu_prot.h
debian/*
Copyright: Copyright (C) 2009-2010 Red Hat, Inc
Copyright (C) 2010 Liang Guo <bluestonechina@gmail.com>

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.md
CHANGELOG.md

6
debian/rules vendored
View File

@ -5,3 +5,9 @@
%:
dh $@
# meson-generated spice-protocol.pc contains libdir= assignment
# which is not used but causes lintian to emit error condition
override_dh_auto_build:
dh_auto_build
sed -i '/^libdir=/D' obj-*/meson-private/spice-protocol.pc

2
debian/watch vendored
View File

@ -1,3 +1,3 @@
version=4
opts=pgpsigurlmangle=s/$/.sig/ \
https://www.spice-space.org/download/releases/spice-protocol-(\d+\.\d*[02468]\.\d+)\.tar\.(?:gz|bz2|xz)
https://www.spice-space.org/download/releases/spice-protocol-(\d+\.\d*[02468]\.\d+)\.tar\.(bz2|xz)

View File

@ -2,7 +2,7 @@
# project definition
#
project('spice-protocol',
version : '0.14.2',
version : '0.14.3',
license : 'BSD',
meson_version : '>= 0.41.0')

View File

@ -1,5 +1,5 @@
Name: spice-protocol
Version: 0.14.2
Version: 0.14.3
Release: 1%{?dist}
Summary: Spice protocol header files
Group: Development/Libraries
@ -44,7 +44,8 @@ Requires: mingw64-pkg-config
%install
%meson_install
%mingw_ninja_install
export DESTDIR=%{buildroot}
%mingw_ninja install
%files

View File

@ -146,11 +146,24 @@ typedef enum SpicePathFlags {
typedef enum SpiceVideoCodecType {
SPICE_VIDEO_CODEC_TYPE_MJPEG = 1,
SPICE_VIDEO_CODEC_TYPE_MJPEG_NVJPG,
SPICE_VIDEO_CODEC_TYPE_MJPEG_VAAPI,
SPICE_VIDEO_CODEC_TYPE_VP8,
SPICE_VIDEO_CODEC_TYPE_H264,
SPICE_VIDEO_CODEC_TYPE_H264_NVENC,
SPICE_VIDEO_CODEC_TYPE_H264_AMF,
SPICE_VIDEO_CODEC_TYPE_H264_QSV,
SPICE_VIDEO_CODEC_TYPE_H264_VAAPI,
SPICE_VIDEO_CODEC_TYPE_VP9,
SPICE_VIDEO_CODEC_TYPE_H265,
SPICE_VIDEO_CODEC_TYPE_H265_NVENC,
SPICE_VIDEO_CODEC_TYPE_H265_AMF,
SPICE_VIDEO_CODEC_TYPE_H265_QSV,
SPICE_VIDEO_CODEC_TYPE_H265_VAAPI,
SPICE_VIDEO_CODEC_TYPE_AV1_NVENC,
SPICE_VIDEO_CODEC_TYPE_AV1_AMF,
SPICE_VIDEO_CODEC_TYPE_AV1_QSV,
SPICE_VIDEO_CODEC_TYPE_AV1_VAAPI,
SPICE_VIDEO_CODEC_TYPE_ENUM_END
} SpiceVideoCodecType;
@ -336,6 +349,8 @@ typedef enum SpiceMouseButton {
SPICE_MOUSE_BUTTON_RIGHT,
SPICE_MOUSE_BUTTON_UP,
SPICE_MOUSE_BUTTON_DOWN,
SPICE_MOUSE_BUTTON_SIDE,
SPICE_MOUSE_BUTTON_EXTRA,
SPICE_MOUSE_BUTTON_ENUM_END
} SpiceMouseButton;
@ -344,8 +359,12 @@ typedef enum SpiceMouseButtonMask {
SPICE_MOUSE_BUTTON_MASK_LEFT = (1 << 0),
SPICE_MOUSE_BUTTON_MASK_MIDDLE = (1 << 1),
SPICE_MOUSE_BUTTON_MASK_RIGHT = (1 << 2),
SPICE_MOUSE_BUTTON_MASK_UP = (1 << 3),
SPICE_MOUSE_BUTTON_MASK_DOWN = (1 << 4),
SPICE_MOUSE_BUTTON_MASK_SIDE = (1 << 5),
SPICE_MOUSE_BUTTON_MASK_EXTRA = (1 << 6),
SPICE_MOUSE_BUTTON_MASK_MASK = 0x7
SPICE_MOUSE_BUTTON_MASK_MASK = 0x7F
} SpiceMouseButtonMask;
typedef enum SpiceCursorType {

View File

@ -145,11 +145,25 @@ enum {
SPICE_DISPLAY_CAP_GL_SCANOUT,
SPICE_DISPLAY_CAP_MULTI_CODEC,
SPICE_DISPLAY_CAP_CODEC_MJPEG,
SPICE_DISPLAY_CAP_CODEC_MJPEG_NVJPG,
SPICE_DISPLAY_CAP_CODEC_MJPEG_VAAPI,
SPICE_DISPLAY_CAP_CODEC_VP8,
SPICE_DISPLAY_CAP_CODEC_H264,
SPICE_DISPLAY_CAP_CODEC_H264_NVENC,
SPICE_DISPLAY_CAP_CODEC_H264_AMF,
SPICE_DISPLAY_CAP_CODEC_H264_QSV,
SPICE_DISPLAY_CAP_CODEC_H264_VAAPI,
SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE,
SPICE_DISPLAY_CAP_CODEC_VP9,
SPICE_DISPLAY_CAP_CODEC_H265,
SPICE_DISPLAY_CAP_CODEC_H265_NVENC,
SPICE_DISPLAY_CAP_CODEC_H265_AMF,
SPICE_DISPLAY_CAP_CODEC_H265_QSV,
SPICE_DISPLAY_CAP_CODEC_H265_VAAPI,
SPICE_DISPLAY_CAP_CODEC_AV1_NVENC,
SPICE_DISPLAY_CAP_CODEC_AV1_AMF,
SPICE_DISPLAY_CAP_CODEC_AV1_QSV,
SPICE_DISPLAY_CAP_CODEC_AV1_VAAPI,
};
enum {

View File

@ -205,14 +205,30 @@ typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
enum {
VD_AGENT_CONFIG_MONITORS_FLAG_USE_POS = (1 << 0),
VD_AGENT_CONFIG_MONITORS_FLAG_PHYSICAL_SIZE = (1 << 1),
};
typedef struct SPICE_ATTR_PACKED VDAgentMonitorsConfig {
uint32_t num_of_monitors;
uint32_t flags;
VDAgentMonConfig monitors[0];
/* only sent if the FLAG_PHYSICAL_SIZE is present: */
/* VDAgentMonitorMM physical_sizes[0]; */
} VDAgentMonitorsConfig;
/* Physical size of the monitor in millimeters.
* Having this information, the remote/guest display can configure itself with
* appropriate font & scaling to maintain readability. */
typedef struct SPICE_ATTR_PACKED VDAgentMonitorMM {
/*
* Note a width and height of 0 can be used to indicate a disabled
* monitor or no size information is present.
*/
uint16_t height;
uint16_t width;
} VDAgentMonitorMM;
enum {
VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER = (1 << 0),
VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH = (1 << 1),
@ -230,6 +246,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentDisplayConfig {
#define VD_AGENT_RBUTTON_MASK (1 << 3)
#define VD_AGENT_UBUTTON_MASK (1 << 4)
#define VD_AGENT_DBUTTON_MASK (1 << 5)
#define VD_AGENT_SBUTTON_MASK (1 << 6)
#define VD_AGENT_EBUTTON_MASK (1 << 7)
typedef struct SPICE_ATTR_PACKED VDAgentMouseState {
uint32_t x;
@ -264,6 +282,12 @@ enum {
VD_AGENT_CLIPBOARD_IMAGE_BMP, /* optional */
VD_AGENT_CLIPBOARD_IMAGE_TIFF, /* optional */
VD_AGENT_CLIPBOARD_IMAGE_JPG, /* optional */
/* identifies a list of absolute paths in phodav server
* that is associated with the "org.spice-space.webdav.0" webdav channel;
* the items are encoded in UTF-8 and separated by '\0';
* the first item must be either "copy" or "cut" (without the quotes)
* to indicate what action should be performed with the files that follow */
VD_AGENT_CLIPBOARD_FILE_LIST,
};
enum {