[packages/gtk-vnc] - added pc patch (fix gvnc-1.0.pc file)
qboosh
qboosh at pld-linux.org
Mon Jun 22 21:52:23 CEST 2020
commit 45fe56a6f60e3876a71d420fb8d8d3e033198727
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jun 22 21:53:29 2020 +0200
- added pc patch (fix gvnc-1.0.pc file)
gtk-vnc-pc.patch | 11 +++++++++++
gtk-vnc.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/gtk-vnc.spec b/gtk-vnc.spec
index 9e0aebd..43b0332 100644
--- a/gtk-vnc.spec
+++ b/gtk-vnc.spec
@@ -12,6 +12,7 @@ License: LGPL v2+
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.9/%{name}-%{version}.tar.xz
# Source0-md5: 1eed0aa5d71f849eae9fa00ecf28e247
+Patch0: %{name}-pc.patch
URL: https://wiki.gnome.org/Projects/gtk-vnc
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.10
@@ -232,6 +233,7 @@ Narzędzia linii poleceń do interakcji z serwerami VNC.
%prep
%setup -q
+%patch0 -p1
%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' examples/gvncviewer.py
diff --git a/gtk-vnc-pc.patch b/gtk-vnc-pc.patch
new file mode 100644
index 0000000..b72cb34
--- /dev/null
+++ b/gtk-vnc-pc.patch
@@ -0,0 +1,11 @@
+--- gtk-vnc-0.9.0/gvnc-1.0.pc.in.orig 2017-11-13 12:32:22.000000000 +0100
++++ gtk-vnc-0.9.0/gvnc-1.0.pc.in 2020-06-22 21:41:17.420482796 +0200
+@@ -5,7 +5,7 @@
+
+ Name: GVNC
+ Description: GObject for VNC client connections
+-Requires: gobject-2.0 >= @GOBJECT_REQUIRED@
++Requires: gobject-2.0 >= @GLIB_REQUIRED@
+ Version: @VERSION@
+ Libs: -L${libdir} -lgvnc-1.0
+ Cflags: -I${includedir}/gvnc-1.0
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk-vnc.git/commitdiff/45fe56a6f60e3876a71d420fb8d8d3e033198727
More information about the pld-cvs-commit
mailing list