Skip to contentSkip to conversation

libvncserver: Make PACKAGECONFIG easier to read by making the list multiline

PATCH New Maxime Roussin-Bélanger 1 participant 2 messages Jan 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libvncserver: Make PACKAGECONFIG easier to read by making the list multiline

---
 .../recipes-graphics/libvncserver/libvncserver_git.bb  | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb +9 -1
index 25917756fc..d8f51c751d 100644
@@ -5,7 +5,15 @@ PRIORITY = "optional"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
 
-PACKAGECONFIG ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib"
+PACKAGECONFIG ??= " \
+    gcrypt \
+    gnutls \
+    jpeg \
+    png \
+    ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
+    sdl \
+    zlib \
+"
 PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt"
 PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 libvncserver: fix configure argument on openssl when disabled

When openssl is not included in the PACKAGECONFIG it shouldn't try to compile with openssl.

libvncserver CMakeLists.txt activates all of its options and tries to find libssl.so. CMake finds it inside the native sysroot which could be the wrong architecture when linking.

---
 meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb +1 -1
index d8f51c751d..b493f7f01e 100644
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \
 PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt"
 PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
-PACKAGECONFIG[openssl] = ",,openssl"
+PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl"
 PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng"
 PACKAGECONFIG[systemd] = ",,systemd"
 PACKAGECONFIG[sdl] = ",,libsdl2"
Signature · 1 line
2.20.1