New Upstream Release - spice-protocol

Ready changes

Summary

Merged new upstream version: 0.14.4.xz (was: 0.14.3).

Resulting package

Built on 2022-03-14T01:58 (took 2m34s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases libspice-protocol-dev

Lintian Result

Diff

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..654a1aa
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+image: fedora:latest
+
+variables:
+  DEPS_COMMON: git gcc redhat-rpm-config
+               meson ninja-build gtk-doc glib2-devel
+               gettext gettext-devel bzip2 rpmlint rpm-build
+               mingw32-filesystem mingw64-filesystem
+
+before_script:
+- dnf install -y $DEPS_COMMON
+
+fedora:
+  script:
+    # build project and distribution
+    - meson --buildtype=release build-default
+    - ninja -C build-default
+    - ninja -C build-default dist
+    # check SPEC file
+    - rpmlint spice-protocol.spec
+    # check the SPEC version and project (in meson.build) are the same
+    - "VER_SPEC=$(sed '/^Version:/!d; s/.*: \\+//' < spice-protocol.spec)"
+    - "VER_PROJECT=$(sed '/version/ { s/.*'\\''\\(.*\\)'\\''.*/\\1/; q }; d' < meson.build)"
+    - "test \"x$VER_SPEC\" = \"x$VER_PROJECT\""
+    # build RPM from tarball generate
+    - rpmbuild -ta build-default/meson-dist/spice-protocol*.tar.xz
diff --git a/.gitpublish b/.gitpublish
new file mode 100644
index 0000000..80d46b2
--- /dev/null
+++ b/.gitpublish
@@ -0,0 +1,4 @@
+[gitpublishprofile "default"]
+to = spice-devel@lists.freedesktop.org
+prefix = PATCH spice-protocol
+signoff = true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4cf80a1..d4159de 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+Major changes in 0.14.4
+=======================
+* Fix enum deprecation warning for visual studio
+* Fix documentation typos in stream-device.h
+
 Major changes in 0.14.3
 =======================
 * Add VD_AGENT_CLIPBOARD_FILE_LIST to support copy/paste of files with
diff --git a/debian/changelog b/debian/changelog
index 66cd69c..61f257a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+spice-protocol (0.14.4.xz-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 14 Mar 2022 01:56:32 -0000
+
 spice-protocol (0.14.3-1) unstable; urgency=medium
 
   * New upstream version 0.14.3 (Closes: #976333)
diff --git a/docs/how_to_release.md b/docs/how_to_release.md
new file mode 100644
index 0000000..6d6f8e0
--- /dev/null
+++ b/docs/how_to_release.md
@@ -0,0 +1,27 @@
+How to do a SPICE protocol release
+==================================
+
+Some notes to prepare a release, not really strict but better to have in order
+to avoid forgetting something.
+
+* Check `meson.build` and `spice-protocol.spec` for release number
+* Update `CHANGELOG.md` with list of changes done since last release
+* Send a merge request with such changes, handle the review
+* Build distribution file with `meson dist`
+* Try to build an RPM package from `meson dist` output
+* `git push` for the above MR
+* Create a git tag (like `git tag -a v0.14.3 -m 'Release v0.14.3'`)
+* `git push` for the version tag created (for instance you can use
+  `git push origin v0.14.3` or `git push --tags`)
+* Sign generated tarball (to create a detached signature run
+  `gpg2 -sb spice-protocol-RELEASE.tar.xz`)
+* On Gitlab update tags (https://gitlab.freedesktop.org/spice/spice-protocol/-/tags)
+  * Add ChangeLog information
+  * Upload tarball and relative signature
+* Upload tarball and relative signature and sha256sum to
+  https://www.spice-space.org/download/releases/ (sftp to
+  `spice-uploader@spice-web.osci.io:/var/www/www.spice-space.org/download/releases/`)
+* Update file `download.rst` in
+  https://gitlab.freedesktop.org/spice/spice-space-pages
+* Send an email to spice-devel mailing list
+* Bump version post release and send a new MR
diff --git a/meson.build b/meson.build
index 0f9de43..063d6d4 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@
 # project definition
 #
 project('spice-protocol',
-        version : '0.14.3',
+        version : '0.14.4',
         license : 'BSD',
         meson_version : '>= 0.41.0')
 
diff --git a/spice-protocol.spec b/spice-protocol.spec
index 352ec3c..be237cb 100644
--- a/spice-protocol.spec
+++ b/spice-protocol.spec
@@ -1,5 +1,5 @@
 Name:           spice-protocol
-Version:        0.14.3
+Version:        0.14.4
 Release:        1%{?dist}
 Summary:        Spice protocol header files
 Group:          Development/Libraries
diff --git a/spice/enums.h b/spice/enums.h
index 5c9a54c..0199589 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -377,7 +377,7 @@ typedef enum SpiceCursorFlags {
 typedef enum SpiceAudioDataMode {
     SPICE_AUDIO_DATA_MODE_INVALID,
     SPICE_AUDIO_DATA_MODE_RAW,
-    SPICE_AUDIO_DATA_MODE_CELT_0_5_1 SPICE_GNUC_DEPRECATED,
+    SPICE_AUDIO_DATA_MODE_CELT_0_5_1 SPICE_GNUC_DEPRECATED_ENUMERATOR,
     SPICE_AUDIO_DATA_MODE_OPUS,
 
     SPICE_AUDIO_DATA_MODE_ENUM_END
diff --git a/spice/macros.h b/spice/macros.h
index a23e866..dd6b189 100644
--- a/spice/macros.h
+++ b/spice/macros.h
@@ -72,6 +72,14 @@
 #define SPICE_GNUC_DEPRECATED
 #endif
 
+#if ((defined(__GNUC__) && (__GNUC__ > 6 || (__GNUC__ == 6 && __GNUC_MINOR__ >= 1))) || \
+     (defined(__clang_major__) && (__clang_major__ > 3 || \
+      (__clang_major__ == 3 && __clang_minor__ >= 0))))
+#define SPICE_GNUC_DEPRECATED_ENUMERATOR SPICE_GNUC_DEPRECATED
+#else
+#define SPICE_GNUC_DEPRECATED_ENUMERATOR
+#endif
+
 #if     __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
 #  define SPICE_GNUC_MAY_ALIAS __attribute__((may_alias))
 #else
diff --git a/spice/stream-device.h b/spice/stream-device.h
index 15d839b..839079d 100644
--- a/spice/stream-device.h
+++ b/spice/stream-device.h
@@ -176,10 +176,10 @@ typedef struct StreamMsgDeviceDisplayInfo {
 } 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.
+ * streaming agent. It is intended to be used by a module running of
+ * the server to adjust the streaming quality.
  *
- * The format of the string message is not specificied because
+ * The format of the string message is not specified because
  * module-specific.
  *
  * This message is sent by the guest to the host.

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details