gnutls: drop wchar dependency
authorBaruch Siach <baruch@tkos.co.il>
Fri, 22 Jun 2018 05:38:41 +0000 (08:38 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 22 Jun 2018 09:43:33 +0000 (11:43 +0200)
Commit 19448f40a0 (gnutls: use included unistring unless libunistring is
selected) made libunistring an optional dependency.  So now gnutls no longer
depend on wchar.

Drop wchar dependency of libmicrohttpd and libsoup, which are gnutls
reverse dependencies that do not depend themselves on wchar.

Update the comments in libsoup and taskd; the wchar dependency is now
not due to gnutls.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gnutls/Config.in
package/libmicrohttpd/Config.in
package/libsoup/Config.in
package/taskd/Config.in
package/vpnc/Config.in

index ef995d21d2e0b89ebd8f19dc006dd1f13bf5d132..61b4b239ff82d17f416d7ef54062a51cc98e644b 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_GNUTLS
        bool "gnutls"
        # https://gitlab.com/gnutls/gnutls/issues/203
        depends on !BR2_STATIC_LIBS
-       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_LIBTASN1
        select BR2_PACKAGE_NETTLE
        select BR2_PACKAGE_PCRE
@@ -24,5 +23,5 @@ config BR2_PACKAGE_GNUTLS_TOOLS
 
 endif
 
-comment "gnutls needs a toolchain w/ wchar, dynamic library"
-       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
+comment "gnutls needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
index 7f3c9bb8fda073bc9c8f433c9bd2c04183e6677d..f3386a63f27247719ddcd8fb3c710425e595a056 100644 (file)
@@ -12,13 +12,12 @@ if BR2_PACKAGE_LIBMICROHTTPD
 config BR2_PACKAGE_LIBMICROHTTPD_SSL
        bool "https support"
        depends on !BR2_STATIC_LIBS # gnutls
-       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_GNUTLS
        help
          Enable HTTPS (SSL) support.
 
-comment "libmicrohttpd https support needs a toolchain w/ wchar, dynamic library"
-       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
+comment "libmicrohttpd https support needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
 
 endif
 
index 236d3c428a83a4454326e30ed1d60de0cf8bd656..f5833229139a7fbc4a155dc5910128c8673bc3e4 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBSOUP
        bool "libsoup"
-       depends on BR2_USE_WCHAR # glib2 and gnutls
+       depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
        select BR2_PACKAGE_LIBXML2
index 19d123fb5910c1e166f5c3b6e79e9afcec46dd38..c068b347242b32eb48c51d82fc4f2aa1dcac89e5 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_TASKD
        bool "taskd"
        depends on !BR2_STATIC_LIBS # gnutls
-       depends on BR2_USE_WCHAR # gnutls
+       depends on BR2_USE_WCHAR
        depends on BR2_USE_MMU # fork()
        depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_GNUTLS
index 6455b0d87abe356ead6622fff90690756965594f..b988ba342bef6f321914db55428cf9db137e3b61 100644 (file)
@@ -3,7 +3,6 @@ config BR2_PACKAGE_VPNC
        depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on !BR2_STATIC_LIBS # gnutls
        depends on BR2_USE_MMU # fork()
-       depends on BR2_USE_WCHAR # gnutls
        select BR2_PACKAGE_LIBGCRYPT
        select BR2_PACKAGE_LIBGPG_ERROR
        select BR2_PACKAGE_GNUTLS
@@ -16,6 +15,6 @@ config BR2_PACKAGE_VPNC
 
          http://www.unix-ag.uni-kl.de/~massar/vpnc
 
-comment "vpnc needs a toolchain w/ wchar, dynamic library"
+comment "vpnc needs a toolchain w/ dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
+       depends on BR2_STATIC_LIBS