* Sending an illegal security type would result in use-after-free. * The required size for the alpha map for cursors was incorrectly calculated. This resulted in a heap-overflow under some circumstances. * The buffer transform for the cursor was being applied to the cursor hotspot. The buffer transform does not apply to the hotspot, so undoing the transform is incorrect. This resulted in the cursor being offset from the correct hotspot. OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/neatvnc?expand=0&rev=38
86 lines
2.1 KiB
RPMSpec
86 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package neatvnc
|
|
#
|
|
# Copyright (c) 2025 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.9.5
|
|
Release: 0
|
|
Summary: A VNC server library
|
|
License: ISC
|
|
Group: System/GUI/Other
|
|
URL: https://github.com/any1/neatvnc
|
|
Source0: %{name}-%{version}.tar.xz
|
|
Patch0: fix-build-in-15.6.patch
|
|
|
|
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
|