package/glib-networking: bump to version 2.61.1
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 5 Jul 2019 18:35:40 +0000 (20:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 14 Jul 2019 14:11:45 +0000 (16:11 +0200)
- gnutls can be made optional again since
  https://gitlab.gnome.org/GNOME/glib-networking/commit/14a3138a6d242238f61ce83018a806e4358961de
- add openssl optional dependency
- pkcs option has been removed since
  https://gitlab.gnome.org/GNOME/glib-networking/commit/4d6caa033051f55a157d8b7fb9debdc2fa7e561e
- use new options, see
  https://gitlab.gnome.org/GNOME/glib-networking/commit/8629f3d5a58bd12d2b6818b6ca8ff1231375a2fb
- fix build failure with gnutls

Fixes:
 - http://autobuild.buildroot.org/results/e233f9a5693e18bee90669910007e122857c7f77

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/glib-networking/Config.in
package/glib-networking/glib-networking.hash
package/glib-networking/glib-networking.mk

index b84a739460141036ce52ff3940f89daa2622c53e..ec2962392c5e66a6bf61b884e3a64d6db8e9c4e2 100644 (file)
@@ -1,14 +1,12 @@
 config BR2_PACKAGE_GLIB_NETWORKING
        bool "glib-networking"
-       depends on BR2_USE_WCHAR # glib2, gnutls
+       depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
-       depends on !BR2_STATIC_LIBS # gnutls
-       select BR2_PACKAGE_GNUTLS
        select BR2_PACKAGE_LIBGLIB2
        help
          Network-related GIO modules for glib.
 
-comment "glib-networking needs a toolchain w/ wchar, threads, dynamic library"
+comment "glib-networking needs a toolchain w/ wchar, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
index d959175e7c99e886261b103db427204be71e3454..061b7af6954bc5700e65a074751e6f9118383a85 100644 (file)
@@ -1,3 +1,3 @@
-# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.58/glib-networking-2.58.0.sha256sum
-sha256  bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068 glib-networking-2.58.0.tar.xz
+# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.61/glib-networking-2.61.1.sha256sum
+sha256  a3acbe8953ba80e408bdc4a3e8c240fd9447181c7e800a175c3105604c38bad5 glib-networking-2.61.1.tar.xz
 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
index b11f3a4a678c5441806c2f2d30865a206ae57cf0..39133371f5cb6083832e7358a60d1ac6241abd6f 100644 (file)
@@ -4,25 +4,37 @@
 #
 ################################################################################
 
-GLIB_NETWORKING_VERSION_MAJOR = 2.58
-GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0
+GLIB_NETWORKING_VERSION_MAJOR = 2.61
+GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
 GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
 GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
 GLIB_NETWORKING_INSTALL_STAGING = YES
 GLIB_NETWORKING_DEPENDENCIES = \
        $(TARGET_NLS_DEPENDENCIES) \
        host-pkgconf \
-       libglib2 \
-       gnutls
+       libglib2
 
 GLIB_NETWORKING_CONF_OPTS = \
-       -Dlibproxy_support=false \
-       -Dgnome_proxy_support=false \
-       -Dpkcs11_support=false
+       -Dlibproxy=disabled \
+       -Dgnome_proxy=disabled
 
 GLIB_NETWORKING_LICENSE = LGPL-2.0+
 GLIB_NETWORKING_LICENSE_FILES = COPYING
 GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
        GIO_MODULE_DIR=/usr/lib/gio/modules install
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+GLIB_NETWORKING_DEPENDENCIES += gnutls
+GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled
+else
+GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+GLIB_NETWORKING_DEPENDENCIES += openssl
+GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled
+else
+GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled
+endif
+
 $(eval $(meson-package))