diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-02-20 15:12:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-20 11:30:36 +0000 |
commit | 57dd028d8adf7a0a46125288a81acfdab5e18401 (patch) | |
tree | 0a150c4fd04b166d1ec4e7c83d17ce66c50b52e8 | |
parent | 42bf1baea43633ee85898e64ab8c2939c4082314 (diff) | |
download | poky-57dd028d8adf7a0a46125288a81acfdab5e18401.tar.gz |
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
(From OE-Core rev: 2cdc3c42283da2782461357a5936c88b402bea5e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/glib-networking/glib-networking_2.54.1.bb | 29 | ||||
-rw-r--r-- | meta/recipes-core/glib-networking/glib-networking_2.58.0.bb | 31 |
2 files changed, 31 insertions, 29 deletions
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb b/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb deleted file mode 100644 index 5d17a824f0..0000000000 --- a/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | SUMMARY = "GLib networking extensions" | ||
2 | DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies." | ||
3 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/" | ||
4 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
5 | |||
6 | LICENSE = "LGPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
8 | |||
9 | SECTION = "libs" | ||
10 | DEPENDS = "glib-2.0" | ||
11 | |||
12 | SRC_URI[archive.md5sum] = "99867463f182c2767bce0c74bc9cc981" | ||
13 | SRC_URI[archive.sha256sum] = "eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f" | ||
14 | |||
15 | PACKAGECONFIG ??= "ca-certificates gnutls" | ||
16 | |||
17 | # No explicit dependency as it works without ca-certificates installed | ||
18 | PACKAGECONFIG[ca-certificates] = "--with-ca-certificates=${sysconfdir}/ssl/certs/ca-certificates.crt,--without-ca-certificates" | ||
19 | PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" | ||
20 | PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy" | ||
21 | PACKAGECONFIG[pkcs11] = "--with-pkcs11,--without-pkcs11,p11-kit" | ||
22 | |||
23 | EXTRA_OECONF = "--without-gnome-proxy" | ||
24 | |||
25 | inherit gnomebase gettext upstream-version-is-even gio-module-cache | ||
26 | |||
27 | FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/" | ||
28 | FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la" | ||
29 | FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a" | ||
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 new file mode 100644 index 0000000000..f3190e1cae --- /dev/null +++ b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "GLib networking extensions" | ||
2 | DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies." | ||
3 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/" | ||
4 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
5 | |||
6 | LICENSE = "LGPLv2.1" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
8 | |||
9 | SECTION = "libs" | ||
10 | DEPENDS = "glib-2.0" | ||
11 | |||
12 | SRC_URI[archive.md5sum] = "75b14b7e73a67753be9ce307751c661d" | ||
13 | SRC_URI[archive.sha256sum] = "bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068" | ||
14 | |||
15 | PACKAGECONFIG ??= "gnutls" | ||
16 | |||
17 | PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" | ||
18 | PACKAGECONFIG[libproxy] = "-Dlibproxy_support=true,-Dlibproxy_support=false,libproxy" | ||
19 | |||
20 | EXTRA_OEMESON = "-Dgnome_proxy_support=false" | ||
21 | |||
22 | GNOMEBASEBUILDCLASS = "meson" | ||
23 | inherit gnomebase gettext upstream-version-is-even gio-module-cache | ||
24 | |||
25 | FILES_${PN} += "\ | ||
26 | ${libdir}/gio/modules/libgio*.so \ | ||
27 | ${datadir}/dbus-1/services/ \ | ||
28 | ${systemd_user_unitdir} \ | ||
29 | " | ||
30 | FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la" | ||
31 | FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a" | ||