Skip to content

Commit fc3b1ea

Browse files
committed
Add libvncserver.patch
1 parent e71058e commit fc3b1ea

File tree

2 files changed

+46
-6
lines changed

2 files changed

+46
-6
lines changed

SPECS-PATCHES/libvncserver.patch

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
--- libvncserver.spec 2024-12-11 19:17:46.381561858 +0800
2+
+++ libvncserver.spec.new 2024-12-11 19:17:43.482565064 +0800
3+
@@ -69,9 +69,17 @@
4+
It hides the programmer from the tedious task of managing clients and
5+
compression schemata.
6+
7+
+%pacakge -n libvncclient
8+
+Summary: Library to make writing a VNC client easy
9+
+
10+
+%description
11+
+LibVNCClient makes writing a VNC client (or more correctly, a program importing
12+
+a frame-buffer via the Remote Frame Buffer protocol) easy.
13+
+
14+
%package devel
15+
Summary: Development files for %{name}
16+
Requires: %{name}%{?_isa} = %{version}-%{release}
17+
+Requires: libvncclient%{?_isa} = %{version}-%{release}
18+
# libvncserver-config deps
19+
Requires: coreutils
20+
# /usr/include/rfb/rfbproto.h:#include <zlib.h>
21+
@@ -131,11 +139,15 @@
22+
%files
23+
%license COPYING
24+
%doc AUTHORS ChangeLog NEWS* README* CONTRIBUTING.md HISTORY.md SECURITY.md
25+
-%{_libdir}/libvncclient.so.1
26+
-%{_libdir}/libvncclient.so.%{version}
27+
%{_libdir}/libvncserver.so.1
28+
%{_libdir}/libvncserver.so.%{version}
29+
30+
+%files -n libvncclient
31+
+%license COPYING
32+
+%doc AUTHORS ChangeLog NEWS* README* CONTRIBUTING.md HISTORY.md SECURITY.md
33+
+%{_libdir}/libvncclient.so.1
34+
+%{_libdir}/libvncclient.so.%{version}
35+
+
36+
%files devel
37+
#{_bindir}/libvncserver-config
38+
%{_includedir}/rfb/

SPECS-PATCHES/systemd.patch

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- systemd.spec 2024-12-06 00:14:56.921400452 +0800
2-
+++ systemd.spec.new 2024-12-06 00:13:07.141409911 +0800
3-
@@ -536,28 +536,52 @@
1+
--- systemd.spec 2024-12-11 19:22:25.389268108 +0800
2+
+++ systemd.spec.new 2024-12-11 19:24:24.352149747 +0800
3+
@@ -536,28 +536,54 @@
44
the version that works with Secure Boot.
55
%endif
66

@@ -14,7 +14,7 @@
1414
Requires(preun): systemd%{_isa} = %{version}-%{release}
1515
Requires(postun): systemd%{_isa} = %{version}-%{release}
1616
-# For systemd-vmspawn which uses qemu:
17-
-Recommends: qemu-kvm-core
17+
-Recommends: qemu-kvm
1818
-Recommends: qemu-device-display-virtio-gpu
1919
-Recommends: qemu-device-display-virtio-vga
2020
# Obsolete parent package so that dnf will install new subpackage on upgrade (#1260394)
@@ -52,8 +52,10 @@
5252
+Requires(postun): systemd%{_isa} = %{version}-%{release}
5353
+# For systemd-vmspawn which uses qemu:
5454
+Requires: qemu-kvm-core
55+
+%if 0%{?fedora}
5556
+Recommends: qemu-device-display-virtio-gpu
5657
+Recommends: qemu-device-display-virtio-vga
58+
+%endif
5759
+License: LGPL-2.1-or-later
5860
+
5961
+%description vmspawn
@@ -63,7 +65,7 @@
6365

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

@@ -74,7 +76,7 @@
7476
%check
7577
%if %{with tests}
7678
meson test -C %{_vpath_builddir} -t 6 --print-errorlogs
77-
@@ -1291,9 +1319,13 @@
79+
@@ -1291,9 +1321,13 @@
7880
%files boot-unsigned -f .file-list-boot
7981
%endif
8082

0 commit comments

Comments
 (0)