Skip to contentSkip to conversation

qtbase.inc: configure with -openssl-linked instead of -openssl

PATCH Superseded Andre McCurdy 2 participants 3 messages Feb 21, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 qtbase.inc: configure with -openssl-linked instead of -openssl

Configure qtbase with -openssl-linked (instead of -openssl) to ensure that run-time dependencies on libcryto and libssl are detected.

---
 recipes-qt/qt5/qtbase.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtbase.inc +2 -1
index f056393..ad5bb12 100644
@@ -110,7 +110,8 @@ PACKAGECONFIG[kms] = "-kms,-no-kms,kms"
 # needed for qtdeclarative (qtdeclarative.do_configure fails to find quick module without)
 PACKAGECONFIG[icu] = "-icu,-no-icu,${ICU}"
 PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev"
-PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl"
+# use -openssl-linked here to ensure that RDEPENDS for libcrypto and libssl are detected
+PACKAGECONFIG[openssl] = "-openssl-linked,-no-openssl,openssl"
 PACKAGECONFIG[alsa] = "-alsa,-no-alsa,alsa-lib"
 PACKAGECONFIG[pulseaudio] = "-pulseaudio,-no-pulseaudio,pulseaudio"
 PACKAGECONFIG[nis] = "-nis,-no-nis"
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 2/2 qtwebkit-examples: add missing RDEPENDS for ca-certificates

If qtbase is configured with openssl support (as it is by default) then the qtwebkit example browser apps require CA certificates to check the authenticity of https connections.

---
 recipes-qt/qt5/qtwebkit-examples.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit-examples.inc +1 -1
index 50c28cd..8a8e000 100644
@@ -9,4 +9,4 @@ SRC_URI += " \
 "
 
 DEPENDS += "qtwebkit"
-RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins"
+RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins ca-certificates"
Signature · 1 line
1.8.1.2
#2 lore raw

Re: [meta-qt5][PATCH 2/2] qtwebkit-examples: add missing RDEPENDS for ca-certificates

Quoted 14 lines · Andre McCurdy

If qtbase is configured with openssl support (as it is by default) then the qtwebkit example browser apps require CA certificates to check the authenticity of https connections.

---
 recipes-qt/qt5/qtwebkit-examples.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtwebkit-examples.inc +0 -0
index 50c28cd..8a8e000 100644

recipes-qt/qt5/qtwebkit-examples.inc SRC_URI += " \ · line 12

Quoted 5 lines
recipes-qt/qt5/qtwebkit-examples.inc +1 -1
@@ -9,4 +9,4 @@ SRC_URI += " \
 "
 
 DEPENDS += "qtwebkit"
-RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins"
+RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins ca-certificates"

if this is dependent upon a PACKAGECONFIG feature from other package turn this one unto same/similar PACKAGECONFIG as well otherwise the dependency will be lurking around if openssl is disabled.

Quoted 7 lines

--
1.8.1.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel