[OE-core] [PATCH] glib-networking: remove PACKAGECONFIG for gnutls

Andreas Müller schnitzeltony at gmail.com
Mon Apr 1 22:28:43 UTC 2019


* with patch suggested in [1] build complains with:
  | ERROR: glib-networking-2.58.0-r0 do_configure: QA Issue: glib-networking: configure was passed unrecognised options: gnutls [unknown-configure-option]
* it turned mandatory - see meson.build:
  | # *** Checks for GnuTLS     ***
  | gnutls_dep = dependency('gnutls', version: '>= 3.4.4', required: true)

[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280693.html

Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
 meta/recipes-core/glib-networking/glib-networking_2.58.0.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
index f3190e1cae0..a4138d67cc6 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
@@ -7,14 +7,11 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SECTION = "libs"
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 gnutls"
 
 SRC_URI[archive.md5sum] = "75b14b7e73a67753be9ce307751c661d"
 SRC_URI[archive.sha256sum] = "bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068"
 
-PACKAGECONFIG ??= "gnutls"
-
-PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
 PACKAGECONFIG[libproxy] = "-Dlibproxy_support=true,-Dlibproxy_support=false,libproxy"
 
 EXTRA_OEMESON = "-Dgnome_proxy_support=false"
-- 
2.20.1



More information about the Openembedded-core mailing list