[Pkg-libvirt-commits] [Git][libvirt-team/gtk-vnc][debian/sid] 7 commits: Use python3 for autopkgtest

Jeremy Bicha (@jbicha) gitlab at salsa.debian.org
Thu Apr 14 22:16:34 BST 2022



Jeremy Bicha pushed to branch debian/sid at Libvirt Packaging Team / gtk-vnc


Commits:
14a85020 by Jeremy Bicha at 2022-04-14T17:00:16-04:00
Use python3 for autopkgtest

since python-gi (the python2 version) doesn't exist any more

- - - - -
15fad88b by Jeremy Bicha at 2022-04-14T17:04:45-04:00
Add provides to the gir package for the expected typelib names

- - - - -
0334af9a by Jeremy Bicha at 2022-04-14T17:13:18-04:00
Add Build-Depends-Package to symbols file

- - - - -
a0721abb by Jeremy Bicha at 2022-04-14T17:13:22-04:00
debian/rules: Set some standard C library build options

- - - - -
ad9bfce8 by Jeremy Bicha at 2022-04-14T17:13:22-04:00
Cherry-pick patch to fix connections to Raspberry Pi OS

- - - - -
dcdc146a by Jeremy Bicha at 2022-04-14T17:13:22-04:00
Bump Standards-Version to 4.6.0

- - - - -
49d9faea by Jeremy Bicha at 2022-04-14T17:15:51-04:00
releasing package gtk-vnc version 1.3.0-1

- - - - -


8 changed files:

- debian/changelog
- debian/control
- debian/libgtk-vnc-2.0-0.symbols
- debian/libgvnc-1.0-0.symbols
- + debian/patches/Handle-ZRLE-encoding-of-zero-size-alpha-cursor.patch
- + debian/patches/series
- debian/rules
- debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,25 @@
-gtk-vnc (1.3.0-1) UNRELEASED; urgency=medium
+gtk-vnc (1.3.0-1) unstable; urgency=medium
 
+  * Team upload
+
+  [ Jeremy Bicha ]
   * New upstream release (Closes: #995058)
+  * [1189652] Bump debhelper-compat to 13
+  * [83f881d] Add new symbols
+  * [0334af9] Add Build-Depends-Package to symbols file
+  * [15fad88] Add Provides to the gir package for the expected typelib names
+  * [ad9bfce] Cherry-pick patch to fix connections to Raspberry Pi OS
+
+  [ Debian Janitor ]
+  * [bf21fb2] Use secure copyright file specification URI
+  * [69c5759] Set debhelper-compat version in Build-Depends
+  * [c0f2db1] Set upstream metadata fields
+  * [d6c6e33] Update standards version to 4.6.0, no changes needed
+
+  [ Guido Günther ]
+  * Add autopkgtest
 
- -- Jeremy Bicha <jbicha at ubuntu.com>  Wed, 13 Apr 2022 17:12:16 -0400
+ -- Jeremy Bicha <jbicha at ubuntu.com>  Thu, 14 Apr 2022 17:14:01 -0400
 
 gtk-vnc (1.0.0-1) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers at lists.alioth.debian.org>
 Uploaders:
  Guido Günther <agx at sigxcpu.org>,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.0
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-gir,
@@ -124,7 +124,9 @@ Section: introspection
 Architecture: any
 Multi-Arch: same
 Provides:
- gir1.2-gvnc-1.0,
+ gir1.2-gvnc-1.0 (= ${binary:Version}),
+ gir1.2-gvncpulse-1.0 (= ${binary:Version}),
+ gir1.2-gtkvnc-2.0 (= ${binary:Version})
 Depends:
  ${gir:Depends},
  ${misc:Depends},


=====================================
debian/libgtk-vnc-2.0-0.symbols
=====================================
@@ -1,4 +1,5 @@
 libgtk-vnc-2.0.so.0 libgtk-vnc-2.0-0 #MINVER#
+* Build-Depends-Package: libgtk-vnc-2.0-dev
  vnc_cairo_framebuffer_get_surface at Base 0.4.2
  vnc_cairo_framebuffer_get_type at Base 0.4.2
  vnc_cairo_framebuffer_new at Base 0.4.2


=====================================
debian/libgvnc-1.0-0.symbols
=====================================
@@ -1,4 +1,5 @@
 libgvnc-1.0.so.0 libgvnc-1.0-0 #MINVER#
+* Build-Depends-Package: libgvnc-1.0-dev
  vnc_audio_format_copy at Base 0.5.0
  vnc_audio_format_free at Base 0.5.0
  vnc_audio_format_get_type at Base 0.5.0
@@ -95,5 +96,6 @@ libgvnc-1.0.so.0 libgvnc-1.0-0 #MINVER#
  vnc_util_get_version_string at Base 0.4.2
  vnc_util_set_debug at Base 0.4.1
 libgvncpulse-1.0.so.0 libgvnc-1.0-0 #MINVER#
+* Build-Depends-Package: libgvnc-1.0-dev
  vnc_audio_pulse_get_type at Base 0.5.0
  vnc_audio_pulse_new at Base 0.5.0


=====================================
debian/patches/Handle-ZRLE-encoding-of-zero-size-alpha-cursor.patch
=====================================
@@ -0,0 +1,38 @@
+From: Johannes Maibaum <jmaibaum at gmail.com>
+Date: Wed, 23 Feb 2022 09:39:50 +0000
+Subject: Handle ZRLE encoding of zero size alpha cursor
+
+(cherry picked from commit ec2e9ab4370fc64cfbcf0b336364d877980c77ed)
+---
+ src/vncconnection.c | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/src/vncconnection.c b/src/vncconnection.c
+index 475cfcb..9f97f17 100644
+--- a/src/vncconnection.c
++++ b/src/vncconnection.c
+@@ -3297,10 +3297,24 @@ static void vnc_connection_alpha_cursor(VncConnection *conn, guint16 x, guint16
+         switch (encoding) {
+         case VNC_CONNECTION_ENCODING_RAW:
+             break;
++        case VNC_CONNECTION_ENCODING_ZRLE: {
++            guint32 length = vnc_connection_read_u32(conn);
++            if (vnc_connection_has_error(conn)) {
++                return;
++            }
++            if (length != 0) {
++                vnc_connection_set_error(conn,
++                                         "Read non-zero length %u for zero sized ZRLE alpha cursor",
++                                         length);
++                return;
++            }
++            break;
++        }
+         default:
+             vnc_connection_set_error(conn,
+                                      "Unsupported encoding %u for zero size alpha cursor",
+                                      encoding);
++            return;
+             break;
+         }
+     }


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+Handle-ZRLE-encoding-of-zero-size-alpha-cursor.patch


=====================================
debian/rules
=====================================
@@ -1,6 +1,8 @@
 #! /usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
+export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
 %:
 	dh $@ --builddirectory=_build


=====================================
debian/tests/control
=====================================
@@ -4,6 +4,6 @@ Depends: gvncviewer
 Restrictions: superficial
 
 # Make sure gir works
-Test-Command: xvfb-run examples/gvncviewer.py 127.0.0.1
-Depends: gir1.2-gtk-vnc-2.0, python, python-gi, xvfb, xauth
+Test-Command: xvfb-run python3 examples/gvncviewer.py 127.0.0.1
+Depends: gir1.2-gtk-vnc-2.0, python3-gi, xvfb, xauth
 Restrictions: superficial, allow-stderr



View it on GitLab: https://salsa.debian.org/libvirt-team/gtk-vnc/-/compare/83f881df2ee233f76f4a3f03742e60886ca3587a...49d9faea64a46f294393285b9c8e32a32cb6e888

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/gtk-vnc/-/compare/83f881df2ee233f76f4a3f03742e60886ca3587a...49d9faea64a46f294393285b9c8e32a32cb6e888
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20220414/3d68a421/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list