Accepting request 1235573 from X11:Wayland

- Update to 0.9.2:
  * This patch release adds missing bounds checks.
    Two buffer overflow vulnerabilities were reported by Frederik
    Reiter who also provided patches to fix them.
    There are potential security implications, but only authenticated
    clients would be able to exploit these vulnerabilities, if at all.
    Nevertheless, it is prudent to update as soon as possible.

- Update to 0.9.1:
  * Fix a data type mismatch in the clipboard code that caused the
    build to fail for 32 bit architectures.

- Update to 0.9.0:
  Highlights:
  * A v4l2m2m based H.264 encoder that works on Raspberry Pi 1 to 4,
    sponsored by Raspberry Pi Ltd.
  * Extended clipboard for UTF-8 text was implemented by Attila Fidan.
  * Listening on a pre-bound file descriptor, implemented by Attila Fidan.
  * The continuous updates extension was implemented by Philipp Zabel.
  * We now have simple bandwidth estimation and improved frame pacing.
  * Methods for rating pixel formats and modifiers have according to Neat VNC's
    preferences have been added.
  * The Qemu/VMWare LED state extensions have been implemented.
  * H.264 encoders will now encode the correct colour space into the elementary
    stream.
  Bug fixes:
  * Some memory leaks and reference counting errors have been eradicated.
  * A race between resizing events and framebuffer updates that would cause a
    buffer with the previous size to be sent after a resize event has been fixed.
  * Buffers with 24 bits per pixel will now result in 32 bpp being reported to

OBS-URL: https://build.opensuse.org/request/show/1235573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neatvnc?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2025-01-07 19:54:31 +00:00 committed by Git OBS Bridge
commit e269acbfdc
7 changed files with 59 additions and 30 deletions

View File

@ -3,11 +3,11 @@
<service name="obs_scm" mode="manual"> <service name="obs_scm" mode="manual">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://github.com/any1/neatvnc.git</param> <param name="url">https://github.com/any1/neatvnc.git</param>
<param name="revision">master</param> <param name="revision">4c37ae9349f16a255cd3e95ed7931c71e6abf8fc</param>
<param name="versionformat">0.8.1+git%cd.%h</param> <param name="versionformat">0.9.2</param>
</service> </service>
<service name="tar" mode="buildtime"/> <service name="tar" mode="manual"/>
<service name="recompress" mode="buildtime"> <service name="recompress" mode="manual">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">xz</param>
</service> </service>

View File

@ -1,22 +1,7 @@
Index: neatvnc-0.8.0+git20241008.b539421/src/enc/h264/ffmpeg-impl.c Index: neatvnc-0.9.2/meson.build
=================================================================== ===================================================================
--- neatvnc-0.8.0+git20241008.b539421.orig/src/enc/h264/ffmpeg-impl.c --- neatvnc-0.9.2.orig/meson.build
+++ neatvnc-0.8.0+git20241008.b539421/src/enc/h264/ffmpeg-impl.c +++ neatvnc-0.9.2/meson.build
@@ -224,8 +224,10 @@ static int h264_encoder__init_buffersrc(
params->sample_aspect_ratio = (AVRational){1, 1};
params->time_base = self->timebase;
params->hw_frames_ctx = self->hw_frames_ctx;
+#if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(10,1,100)
params->color_space = AVCOL_SPC_RGB;
params->color_range = AVCOL_RANGE_JPEG;
+#endif
rc = av_buffersrc_parameters_set(self->filter_in, params);
assert(rc == 0);
Index: neatvnc-0.8.0+git20241008.b539421/meson.build
===================================================================
--- neatvnc-0.8.0+git20241008.b539421.orig/meson.build
+++ neatvnc-0.8.0+git20241008.b539421/meson.build
@@ -54,7 +54,7 @@ libturbojpeg = dependency('libturbojpeg' @@ -54,7 +54,7 @@ libturbojpeg = dependency('libturbojpeg'
gnutls = dependency('gnutls', required: get_option('tls')) gnutls = dependency('gnutls', required: get_option('tls'))
nettle = dependency('nettle', required: get_option('nettle')) nettle = dependency('nettle', required: get_option('nettle'))

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:746b5a1bc20d3a50b167adaa5e743ac2cee51ab3d3c131551a6e6b2f46284d8a
size 1491468

3
neatvnc-0.9.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:310f33ff7ba0a2cf248e12e18557efd1374dac4a256ae3ee2f9dcd71d3e4600d
size 785168

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Mon Dec 30 11:06:23 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.2:
* This patch release adds missing bounds checks.
Two buffer overflow vulnerabilities were reported by Frederik
Reiter who also provided patches to fix them.
There are potential security implications, but only authenticated
clients would be able to exploit these vulnerabilities, if at all.
Nevertheless, it is prudent to update as soon as possible.
-------------------------------------------------------------------
Mon Dec 30 11:05:56 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.1:
* Fix a data type mismatch in the clipboard code that caused the
build to fail for 32 bit architectures.
-------------------------------------------------------------------
Mon Dec 30 11:05:23 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.0:
Highlights:
* A v4l2m2m based H.264 encoder that works on Raspberry Pi 1 to 4,
sponsored by Raspberry Pi Ltd.
* Extended clipboard for UTF-8 text was implemented by Attila Fidan.
* Listening on a pre-bound file descriptor, implemented by Attila Fidan.
* The continuous updates extension was implemented by Philipp Zabel.
* We now have simple bandwidth estimation and improved frame pacing.
* Methods for rating pixel formats and modifiers have according to Neat VNC's
preferences have been added.
* The Qemu/VMWare LED state extensions have been implemented.
* H.264 encoders will now encode the correct colour space into the elementary
stream.
Bug fixes:
* Some memory leaks and reference counting errors have been eradicated.
* A race between resizing events and framebuffer updates that would cause a
buffer with the previous size to be sent after a resize event has been fixed.
* Buffers with 24 bits per pixel will now result in 32 bpp being reported to
the client because 24 bpp is not allowed by the protocol. Nvidia users should
now be able to use a wider selection of clients as a result of this change.
- Update fix-build-in-15.6.patch
15e56b8e444532d299598b753f760cf0d4d9a4e2 added the LIBAVFILTER_VERSION_INT
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 23 07:57:14 UTC 2024 - Antonio Larrosa <alarrosa@suse.com> Wed Oct 23 07:57:14 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -1,4 +1,4 @@
name: neatvnc name: neatvnc
version: 0.8.1+git20241008.b539421 version: 0.9.2
mtime: 1728377463 mtime: 1733604143
commit: b539421d3b10bbb790c48200eb1955fd54a3b8fb commit: 4c37ae9349f16a255cd3e95ed7931c71e6abf8fc

View File

@ -1,7 +1,7 @@
# #
# spec file for package neatvnc # spec file for package neatvnc
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define libsoname libneatvnc0 %define libsoname libneatvnc0
Name: neatvnc Name: neatvnc
Version: 0.8.1+git20241008.b539421 Version: 0.9.2
Release: 0 Release: 0
Summary: A VNC server library Summary: A VNC server library
License: ISC License: ISC