[OE-core] [PATCH 2/2] glib-networking: upgrade 2.54.1 -> 2.58.0

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Feb 21 23:46:03 UTC 2019


This does not build any more if USE_NLS = "no" is used. Has anyone 
looked at making this work together with meson? Otherwise I guess 
there is trouble ahead now that more and more packages are being 
converted to use meson, since the code in gettext.bbclass currently 
only supports autotools. A quick look at meson's i18n.py module does 
not indicate that there is any easy way to disable the gettext 
support, corresponding to autotools' --disable-nls. Apparently it 
was discussed in https://github.com/mesonbuild/meson/issues/821, but 
it seems they only added detection of the gettext tools without 
adding support for disabling gettext and then closed the issue.

Looking at 1d6648102 (json-glib: fix native build), it seems Ross 
encountered a similar problem for json-glib and opted to workaround 
the problem by overriding USE_NLS. However, that does not seem like 
a long term solution...

//Peter

> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> core-bounces at lists.openembedded.org> On Behalf Of Anuj Mittal
> Sent: den 20 februari 2019 08:13
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH 2/2] glib-networking: upgrade 2.54.1 ->
> 2.58.0
> 
> * Autotools support has been removed upstream, so migrate recipe to
> meson. For changes, see:
> https://gitlab.gnome.org/GNOME/glib-networking/blob/glib-2-58/NEWS
> 
> * Remove unsupported configure options: pkcs11, ca-certificates. See:
> https://bugzilla.gnome.org/show_bug.cgi?id=793281
> https://bugzilla.gnome.org/show_bug.cgi?id=753260
> 
> License-Update: Change to LGPLv2.1
> 
> Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
> ---
>  ...ng_2.54.1.bb => glib-networking_2.58.0.bb} | 26 ++++++++++---------
>  1 file changed, 14 insertions(+), 12 deletions(-)
>  rename meta/recipes-core/glib-networking/{glib-networking_2.54.1.bb =>
> glib-networking_2.58.0.bb} (40%)
> 
> diff --git a/meta/recipes-core/glib-networking/glib-
> networking_2.54.1.bb b/meta/recipes-core/glib-networking/glib-
> networking_2.58.0.bb
> similarity index 40%
> rename from meta/recipes-core/glib-networking/glib-networking_2.54.1.bb
> rename to meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
> index 5d17a824f0..f3190e1cae 100644
> --- a/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb
> +++ b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
> @@ -3,27 +3,29 @@ DESCRIPTION = "glib-networking contains the
> implementations of certain GLib netw
>  HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/"
>  BUGTRACKER = "http://bugzilla.gnome.org"
> 
> -LICENSE = "LGPLv2"
> -LIC_FILES_CHKSUM =
> "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> 
>  SECTION = "libs"
>  DEPENDS = "glib-2.0"
> 
> -SRC_URI[archive.md5sum] = "99867463f182c2767bce0c74bc9cc981"
> -SRC_URI[archive.sha256sum] =
> "eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f"
> +SRC_URI[archive.md5sum] = "75b14b7e73a67753be9ce307751c661d"
> +SRC_URI[archive.sha256sum] =
> "bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068"
> 
> -PACKAGECONFIG ??= "ca-certificates gnutls"
> +PACKAGECONFIG ??= "gnutls"
> 
> -# No explicit dependency as it works without ca-certificates installed
> -PACKAGECONFIG[ca-certificates] = "--with-ca-
> certificates=${sysconfdir}/ssl/certs/ca-certificates.crt,--without-ca-
> certificates"
> -PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
> -PACKAGECONFIG[libproxy] = "--with-libproxy,--without-
> libproxy,libproxy"
> -PACKAGECONFIG[pkcs11] = "--with-pkcs11,--without-pkcs11,p11-kit"
> +PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
> +PACKAGECONFIG[libproxy] = "-Dlibproxy_support=true,-
> Dlibproxy_support=false,libproxy"
> 
> -EXTRA_OECONF = "--without-gnome-proxy"
> +EXTRA_OEMESON = "-Dgnome_proxy_support=false"
> 
> +GNOMEBASEBUILDCLASS = "meson"
>  inherit gnomebase gettext upstream-version-is-even gio-module-cache
> 
> -FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-
> 1/services/"
> +FILES_${PN} += "\
> +                ${libdir}/gio/modules/libgio*.so \
> +                ${datadir}/dbus-1/services/ \
> +                ${systemd_user_unitdir} \
> +                "
>  FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la"
>  FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a"
> --
> 2.17.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list