From b978a0d10b4aebd2260bf2d4a439844af4a86a717fc929c2c5d54bcfd4ef9c07 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 2 Aug 2024 06:26:10 +0000 Subject: [PATCH] - Update to 0.8.1: * Add sanity check for chosen security type OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/neatvnc?expand=0&rev=25 --- .gitattributes | 23 +++++++ .gitignore | 1 + neatvnc.changes | 168 ++++++++++++++++++++++++++++++++++++++++++++++++ neatvnc.spec | 84 ++++++++++++++++++++++++ v0.8.0.tar.gz | 3 + v0.8.1.tar.gz | 3 + 6 files changed, 282 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 neatvnc.changes create mode 100644 neatvnc.spec create mode 100644 v0.8.0.tar.gz create mode 100644 v0.8.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/neatvnc.changes b/neatvnc.changes new file mode 100644 index 0000000..30dc7ee --- /dev/null +++ b/neatvnc.changes @@ -0,0 +1,168 @@ +------------------------------------------------------------------- +Fri Aug 2 06:25:29 UTC 2024 - Michael Vetter + +- Update to 0.8.1: + * Add sanity check for chosen security type + +------------------------------------------------------------------- +Mon Feb 26 07:10:51 UTC 2024 - Michael Vetter + +- Update to 0.8.0: + Highlights: + * The colour map pixel format as described in RFC 6143 has been + implemented. Before, the client would just get disconnected if + they requested it. Now they get a map that emulates RGB332. + * Momentary interception of log messages. The user can now set a + thread-local log hander and then set it back to the default. + * Philip Zabel made the code more consistent with the style guide. + Breaking Changes: + * nvnc_client_get_hostname has been replaced with nvnc_client_get_address + Bugfixes: + * Apple's Diffie-Hellman authentication (security type 30) has been fixed. + * A new client connection no longer causes a DNS lookup. + +------------------------------------------------------------------- +Sat Feb 3 06:40:46 UTC 2024 - Michael Vetter + +- Update to 0.7.2: + * Clients are now allowed to request more than 32 encodings (#108) + * Zlib streams are now preserved when a client switches between + encodings (#109) + +------------------------------------------------------------------- +Mon Nov 6 07:58:22 UTC 2023 - Michael Vetter + +- Update to 0.7.1: + * Apple's Diffie-Hellman authentication (security type 30) has been fixed. + * A new client connection no longer causes a DNS lookup. + +------------------------------------------------------------------- +Thu Oct 5 07:44:56 UTC 2023 - Michael Vetter + +- Update to 0.7.0: + * Desktop resizing + * Software pixel buffers with less than 32 bits per pixel are now supported + * The server may now choose to open a websocket instead of a regular TCP socket + * The RSA-AES and RSA-AES-256 security types have now been implemented + * A Diffie-Hellman based security type frame Apple is also implemented, + although not recommended + * Murmurhash in the damage refinery has been replaced with xxHash, + which performs much better in my tests so far + * Users should now get proper feedback when authentication fails + +------------------------------------------------------------------- +Mon Jan 23 16:37:06 UTC 2023 - Michael Vetter + +- Update to 0.6.0: + Highlights: + * The client now has control over h264 quality settings + * Left & right scrolling is now supported + * A custom framebuffer allocator function can now be assigned + * The following functions have been added + + A function for querying client side cursor support + + A function to get the hostname of a connected client + + A function to get the credentials of an authenticated client + + A function for listing connected clients + + A function for disconnecting a client + Bug fixes: + * A race condition when a client tries to resize the display before it has an encoder + * Cursor buffers are now freed on close + * Various race conditions in encoders + * Spurious exits due to SIGPIPE + * Occasional leaked buffers when clients disconnect + * Clients no longer linger on exit with TLS + +------------------------------------------------------------------- +Mon Dec 12 11:00:02 UTC 2022 - Bjørn Lie + +- "Pkgconfigify" BuildRequires, align with what meson checks for. +- Modernize spec. + +------------------------------------------------------------------- +Mon Nov 7 22:50:04 UTC 2022 - Michael Vetter + +- Update to 0.5.4: + * This fixes stalling during h264 encoding. The FFmpeg devs + seem to think that it's normal to change the default behaviour + of their code, so this needs to be fixed here instead. + +------------------------------------------------------------------- +Mon Nov 7 22:49:49 UTC 2022 - Michael Vetter + +- Update to 0.5.3: + * Revert "h264-encoder: Add 30 bit color depth formats" + * server: Fix encoding selection for sw frames + +------------------------------------------------------------------- +Mon Nov 7 22:49:33 UTC 2022 - Michael Vetter + +- Update to 0.5.2: + * stream: Remove stray ampersand in tls handshake failure code path + * resampler: Use transformed width as destination stride + +------------------------------------------------------------------- +Mon Nov 7 22:49:16 UTC 2022 - Michael Vetter + +- Update to 0.5.1: + * meson: Use partial_dependency() for libdrm cflags + * test: meson: Add missing libdrm_inc dependency + * server: add missing header after f20ffb5e1efe + +------------------------------------------------------------------- +Mon Nov 7 22:48:50 UTC 2022 - Michael Vetter + +- Update to 0.5.0: + * H.264 Encoding + * UNIX Sockets + * New framebuffer submission API + * Automatic buffer transforms + * Client side cursor rendering + * Now accepts DMA-BUFs + * Presentation time stamps + * New internal encoder abstraction layer + +------------------------------------------------------------------- +Sun Feb 28 20:42:39 UTC 2021 - Dirk Müller + +- update to 0.4.0: + * This release adds support for the qemu extended key event. When this is + also supported by the client, key codes will be used instead of symbols + which eliminates the need for reverse key code lookup on the server-side. + +------------------------------------------------------------------- +Wed Sep 30 08:28:57 UTC 2020 - Dirk Mueller + +- update to 0.3.2: + * This release fixes a crash due to incorrect handling of fragmented packets + and adds copy & paste support. + * This release fixes a bug with tight encoding reported by Jeroen Hofstee + +------------------------------------------------------------------- +Tue Jul 28 09:08:39 UTC 2020 - Alexander Graul + +- Update to version 0.2.0 +- Tight encoding is no longer experimental and also more complete. + + The encoder employs multiple CPU cores, both for lossy and lossless + compression, which makes it considerably faster than ZRLE, even with + lossless compression. + + Supports both lossy (JPEG) and lossless (DEFLATE) compression. + + Allows the client to choose the JPEG "quality" level. + + Allows the client to choose whether to enable lossy compression or not. +- Service-side resizing: the server can notify the client and resize buffers + when a different display mode is set +- The API has been prepared for adding multi-display suppport. It has not been + implemented, but the (hopefully) won't have to change when it is. +- Version info is baked into the library, so applications linking to neatvnc + can report the version to the user. +- The server can now looks up the address to which to bind using getaddrinfo + + +------------------------------------------------------------------- +Sat Jun 6 11:52:41 UTC 2020 - Jan Engelhardt + +- Trim redundancies and conjecture from descriptions. + +------------------------------------------------------------------- +Wed Jun 3 05:04:00 UTC 2020 - Michael Vetter + +- Initial package of neatvnc in version 0.1.0 for openSUSE diff --git a/neatvnc.spec b/neatvnc.spec new file mode 100644 index 0000000..242e260 --- /dev/null +++ b/neatvnc.spec @@ -0,0 +1,84 @@ +# +# spec file for package neatvnc +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define libsoname libneatvnc0 + +Name: neatvnc +Version: 0.8.1 +Release: 0 +Summary: A VNC server library +License: ISC +Group: System/GUI/Other +URL: https://github.com/any1/neatvnc +Source0: %url/archive/v%{version}.tar.gz + +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(aml) >= 0.3.0 +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavfilter) +BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libturbojpeg) +BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(zlib) + +%description +This is a VNC server library. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %libsoname = %{version} + +%description devel +Development files and headers for %{name}. + +%package -n %libsoname +Summary: A VNC server library +Group: System/Libraries + +%description -n %libsoname +A VNC server library. + +%prep +%autosetup -p1 + +%build +%meson + +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets -n %libsoname + +%files devel +%license COPYING +%doc README.md +%{_includedir}/neatvnc.h +%{_libdir}/libneatvnc.so +%{_libdir}/pkgconfig/neatvnc.pc + +%files -n %libsoname +%{_libdir}/libneatvnc.so.* + +%changelog diff --git a/v0.8.0.tar.gz b/v0.8.0.tar.gz new file mode 100644 index 0000000..d53c151 --- /dev/null +++ b/v0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c0feff5d8de20d1f47938936fd2c0e99dc56c28033e2149863cf70ce6cfcc5c +size 661726 diff --git a/v0.8.1.tar.gz b/v0.8.1.tar.gz new file mode 100644 index 0000000..6bf67bb --- /dev/null +++ b/v0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51ef4d02f1621c947d58f2454e8fd4582a66439f09d409c103424c9d34839757 +size 661911