Skip to content

Commit

Permalink
Add libvncserver.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fxzxmicah committed Dec 11, 2024
1 parent e71058e commit f008413
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 6 deletions.
38 changes: 38 additions & 0 deletions SPECS-PATCHES/libvncserver.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
--- libvncserver.spec 2024-12-11 19:17:46.381561858 +0800
+++ libvncserver.spec.new 2024-12-11 19:32:32.527688732 +0800
@@ -69,9 +69,17 @@
It hides the programmer from the tedious task of managing clients and
compression schemata.

+%package -n libvncclient
+Summary: Library to make writing a VNC client easy
+
+%description -n libvncclient
+LibVNCClient makes writing a VNC client (or more correctly, a program importing
+a frame-buffer via the Remote Frame Buffer protocol) easy.
+
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: libvncclient%{?_isa} = %{version}-%{release}
# libvncserver-config deps
Requires: coreutils
# /usr/include/rfb/rfbproto.h:#include <zlib.h>
@@ -131,11 +139,15 @@
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS* README* CONTRIBUTING.md HISTORY.md SECURITY.md
-%{_libdir}/libvncclient.so.1
-%{_libdir}/libvncclient.so.%{version}
%{_libdir}/libvncserver.so.1
%{_libdir}/libvncserver.so.%{version}

+%files -n libvncclient
+%license COPYING
+%doc AUTHORS ChangeLog NEWS* README* CONTRIBUTING.md HISTORY.md SECURITY.md
+%{_libdir}/libvncclient.so.1
+%{_libdir}/libvncclient.so.%{version}
+
%files devel
#{_bindir}/libvncserver-config
%{_includedir}/rfb/
14 changes: 8 additions & 6 deletions SPECS-PATCHES/systemd.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- systemd.spec 2024-12-06 00:14:56.921400452 +0800
+++ systemd.spec.new 2024-12-06 00:13:07.141409911 +0800
@@ -536,28 +536,52 @@
--- systemd.spec 2024-12-11 19:22:25.389268108 +0800
+++ systemd.spec.new 2024-12-11 19:24:24.352149747 +0800
@@ -536,28 +536,54 @@
the version that works with Secure Boot.
%endif

Expand All @@ -14,7 +14,7 @@
Requires(preun): systemd%{_isa} = %{version}-%{release}
Requires(postun): systemd%{_isa} = %{version}-%{release}
-# For systemd-vmspawn which uses qemu:
-Recommends: qemu-kvm-core
-Recommends: qemu-kvm
-Recommends: qemu-device-display-virtio-gpu
-Recommends: qemu-device-display-virtio-vga
# Obsolete parent package so that dnf will install new subpackage on upgrade (#1260394)
Expand Down Expand Up @@ -52,8 +52,10 @@
+Requires(postun): systemd%{_isa} = %{version}-%{release}
+# For systemd-vmspawn which uses qemu:
+Requires: qemu-kvm-core
+%if 0%{?fedora}
+Recommends: qemu-device-display-virtio-gpu
+Recommends: qemu-device-display-virtio-vga
+%endif
+License: LGPL-2.1-or-later
+
+%description vmspawn
Expand All @@ -63,7 +65,7 @@

%package journal-remote
# Name is the same as in Debian
@@ -1040,6 +1064,10 @@
@@ -1040,6 +1066,10 @@
# Split files in build root into rpms
python3 %{SOURCE2} %buildroot %{!?want_bootloader:--no-bootloader}

Expand All @@ -74,7 +76,7 @@
%check
%if %{with tests}
meson test -C %{_vpath_builddir} -t 6 --print-errorlogs
@@ -1291,9 +1319,13 @@
@@ -1291,9 +1321,13 @@
%files boot-unsigned -f .file-list-boot
%endif

Expand Down

0 comments on commit f008413

Please sign in to comment.