Skip to contentSkip to conversation

package/libvncserver: fix pkg-config file

PATCH New Fabrice Fontaine 2 participants 3 messages Feb 28, 2020 – Mar 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libvncserver: fix pkg-config file

This will fix a build failure with vlc and without zlib

Fixes:
- http://autobuild.buildroot.org/results/7d5f5980f1ba248a1d95b380d422eaeeaca265f8

---
 ...lient-server-.pc.cmakein-remove-zlib.patch | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch
package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch new file +45 -0
new file mode 100644
index 0000000000..7941a98882
@@ -0,0 +1,45 @@
+From 5abd95b65fe5ec24749164338a9718ecce19e240 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <[email protected]>
+Date: Fri, 28 Feb 2020 10:29:58 +0100
+Subject: [PATCH] libvnc{client,server}.pc.cmakein: remove zlib
+
+Remove zlib from Requires.private as libvnc can be built without zlib
+thanks to WITH_LIB, zlib will be added to Libs.private thanks to
+PRIVATE_LIBS
+
+Signed-off-by: Fabrice Fontaine <[email protected]>
+[Upstream status: https://github.com/LibVNC/libvncserver/pull/377]
+---
+ libvncclient.pc.cmakein | 2 +-
+ libvncserver.pc.cmakein | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein
+index 336e73f..ceeda39 100644
+--- a/libvncclient.pc.cmakein
++++ b/libvncclient.pc.cmakein
+@@ -7,7 +7,7 @@ Name: LibVNCClient
+ Description: A library for easy implementation of a VNC client.
+ Version: @LibVNCServer_VERSION@
+ Requires:
+-Requires.private: zlib
++Requires.private:
+ Libs: -L${libdir} -lvncclient
+ Libs.private: @PRIVATE_LIBS@
+ Cflags: -I${includedir}
+diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein
+index dfcec9d..33ec668 100644
+--- a/libvncserver.pc.cmakein
++++ b/libvncserver.pc.cmakein
+@@ -7,7 +7,7 @@ Name: LibVNCServer
+ Description: A library for easy implementation of a VNC server.
+ Version: @LibVNCServer_VERSION@
+ Requires:
+-Requires.private: zlib
++Requires.private:
+ Libs: -L${libdir} -lvncserver
+ Libs.private: @PRIVATE_LIBS@
+ Cflags: -I${includedir}
+-- 
+2.25.0
+
Signature · 1 line
2.25.0
#2 lore raw

PATCH 1/1 package/libvncserver: fix pkg-config file

In reply to Fabrice Fontaine
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

This will fix a build failure with vlc and without zlib
Fixes:
- http://autobuild.buildroot.org/results/7d5f5980f1ba248a1d95b380d422eaeeaca265f8

Committed to 2019.02.x and 2019.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard