public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/neatvnc] rawhide: Update to v1.0.2 (rhbz#2384197)
Date: Tue, 13 Oct 2026 08:53:32 GMT	[thread overview]
Message-ID: <179188161206.1.5234865380587970590.rpms-neatvnc-ae2791dee52b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/neatvnc
Branch : rawhide
Commit : ae2791dee52b88f0820933b5b03ab5708071dee1
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-10-02T13:53:10+02:00
Stats  : +15/-55 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/neatvnc/c/ae2791dee52b88f0820933b5b03ab5708071dee1?branch=rawhide

Log:
Update to v1.0.2 (rhbz#2384197)

---
diff --git a/.gitignore b/.gitignore
index 318d97a..263fd5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /neatvnc-0.8.0.tar.gz
 /neatvnc-0.8.1.tar.gz
 /neatvnc-0.9.0.tar.gz
+/neatvnc-1.0.2.tar.gz

diff --git a/0001-server-Use-correct-type-for-length-in-compress.patch b/0001-server-Use-correct-type-for-length-in-compress.patch
deleted file mode 100644
index 1ef2788..0000000
--- a/0001-server-Use-correct-type-for-length-in-compress.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e0e0ce5c579cafc763992f1c1bb964eb95999fb7 Mon Sep 17 00:00:00 2001
-From: Han Gao <rabenda.cn@gmail.com>
-Date: Wed, 20 Nov 2024 12:54:45 +0000
-Subject: [PATCH] server: Use correct type for length in compress()
-
-This fixes data type mismatch on 32 bit systems
-
-Signed-off-by: Han Gao <rabenda.cn@gmail.com>
----
- src/server.c | 9 ++++-----
- 1 file changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/src/server.c b/src/server.c
-index ac15b0b..b94ed0d 100644
---- a/src/server.c
-+++ b/src/server.c
-@@ -1509,9 +1509,8 @@ static void ext_clipboard_save_provide_msg(struct nvnc* server, const char* text
- 	memcpy(provide_msg_buf + 4, text, len);
- 	provide_msg_buf[provide_msg_len - 1] = 0;
- 
--	server->ext_clipboard_provide_msg.length = compressBound(provide_msg_len);
--	server->ext_clipboard_provide_msg.buffer = malloc(
--			server->ext_clipboard_provide_msg.length);
-+	unsigned long length = compressBound(provide_msg_len);
-+	server->ext_clipboard_provide_msg.buffer = malloc(length);
- 	if (!server->ext_clipboard_provide_msg.buffer) {
- 		nvnc_log(NVNC_LOG_ERROR, "OOM: %m");
- 		return;
-@@ -1519,8 +1518,8 @@ static void ext_clipboard_save_provide_msg(struct nvnc* server, const char* text
- 
- 	int rc;
- 	rc = compress((unsigned char*)server->ext_clipboard_provide_msg.buffer,
--			&server->ext_clipboard_provide_msg.length,
--			provide_msg_buf, provide_msg_len);
-+			&length, provide_msg_buf, provide_msg_len);
-+	server->ext_clipboard_provide_msg.length = length;
- 
- 	free(provide_msg_buf);
- 
--- 
-2.47.0
-

diff --git a/neatvnc.spec b/neatvnc.spec
index 5d2eccd..f500ef8 100644
--- a/neatvnc.spec
+++ b/neatvnc.spec
@@ -1,8 +1,8 @@
 # -*-Mode: rpm-spec -*-
 
 Name:     neatvnc
-Version:  0.9.0
-Release:  9%{?dist}
+Version:  1.0.2
+Release:  1%{?dist}
 Summary:  Liberally licensed VNC server library
 # main source is ISC
 # include/sys/queue.h is BSD
@@ -11,10 +11,6 @@ License:  ISC AND BSD-2-Clause AND BSD-3-Clause
 URL:      https://github.com/any1/neatvnc
 Source:   %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
-# Backport to fix i686 builds
-# From: https://github.com/any1/neatvnc/commit/e0e0ce5c579cafc763992f1c1bb964eb95999fb7
-Patch:    0001-server-Use-correct-type-for-length-in-compress.patch
-
 # Backport to fix build with nettle 4
 Patch:    https://github.com/any1/neatvnc/commit/5b190f0fd9e6b0bfd32752a9115242f87ec36c59.patch#/0001-Use-nettle-hogweed-version-4.patch
 Patch:    https://github.com/any1/neatvnc/commit/f97805deaaea489a1c8c851324163a92a3125195.patch#/0002-crypto-Remove-hash-digest-size-argument.patch
@@ -24,22 +20,24 @@ BuildRequires: gcc
 BuildRequires: git-core
 BuildRequires: meson
 BuildRequires: cmake
-BuildRequires: pkgconfig(gbm)
+BuildRequires: pkgconfig(aml1)
 BuildRequires: pkgconfig(libavcodec)
 BuildRequires: pkgconfig(libavfilter)
 BuildRequires: pkgconfig(libavutil)
-BuildRequires: pkgconfig(aml)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(libsixel)
+BuildRequires: pkgconfig(gbm)
+BuildRequires: pkgconfig(gmp)
 BuildRequires: pkgconfig(gnutls)
 BuildRequires: pkgconfig(nettle)
-BuildRequires: pkgconfig(libdrm)
 BuildRequires: pkgconfig(pixman-1)
 BuildRequires: pkgconfig(zlib)
 BuildRequires: turbojpeg-devel
 
 %description
 This is a liberally licensed VNC server library that's intended to be
-fast and neat. Note: This is a beta release, so the interface is not
-yet stable.
+fast and neat.
 
 %package devel
 Summary: Development files for %{name}
@@ -61,7 +59,7 @@ This package contains header files for %{name}.
 %files
 %doc README.md
 %license COPYING
-%{_libdir}/lib%{name}.so.0{,.*}
+%{_libdir}/lib%{name}.so.1{,.*}
 
 %files devel
 %{_includedir}/%{name}.h
@@ -69,6 +67,9 @@ This package contains header files for %{name}.
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Fri Oct 02 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.0.2-1
+- Update to v1.0.2
+
 * Thu Sep 03 2026 Dominik Mierzejewski <dominik@greysector.net> - 0.9.0-9
 - Rebuilt for FFmpeg 9
 

diff --git a/sources b/sources
index 146f42e..9efb9be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (neatvnc-0.9.0.tar.gz) = 7280e3cd521346096cabb2d22c89108051736eede5cc38d829d77917ad5da79f5e6737bf9463c1e5b3cb5f17bf782d309e3f92405e5f4727bd338510185c0d48
+SHA512 (neatvnc-1.0.2.tar.gz) = ac2b36a2fc00ab3674aab04fa75ec5b6765a310f4833e211a6f0547814fc4cd98caea11eec72938bff433447685ea6fc8d21d4d032a7b486874fec931a6eee3e

                 reply	other threads:[~2026-10-13  8:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179188161206.1.5234865380587970590.rpms-neatvnc-ae2791dee52b@fedoraproject.org \
    --to=fedora@svgames.pl \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox