From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Cc: Matt Weber <matthew.weber@collins.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 5/5] package/gnutls: libunistring is not optional
Date: Thu, 12 May 2022 22:55:11 +0200 [thread overview]
Message-ID: <20220512205511.GN1597494@scaer> (raw)
In-Reply-To: <20220512160116.2011627-5-arnout@mind.be>
Arnout, All,
On 2022-05-12 18:01 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly:
> Since the very beginning, libunistring was a mandatory dependency of
> gnutls. However, it would use its internal copy if libunistring was not
> selected. We never want that, so make libunistring an actual mandatory
> dependency.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> package/gnutls/Config.in | 5 ++---
> package/gnutls/gnutls.mk | 9 ++-------
> 2 files changed, 4 insertions(+), 10 deletions(-)
>
> diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
> index 28982b15a1..b3f9f5420b 100644
> --- a/package/gnutls/Config.in
> +++ b/package/gnutls/Config.in
> @@ -2,10 +2,9 @@ config BR2_PACKAGE_GNUTLS
> bool "gnutls"
> # https://gitlab.com/gnutls/gnutls/issues/203
> depends on !BR2_STATIC_LIBS
> - # gnulib requires a library that implements wctomb().
> - # This is noticed only when linking with libgnutls.so.
> - depends on BR2_USE_WCHAR
> + depends on BR2_USE_WCHAR # libunistring
In fact, the wchar dependency is for gnutls itself; the source code is
littered with wchar_t everywhere, so I jsut dropped the comment.
Applied to master, thanks.
Regards,
Yann E. MORIN.
> select BR2_PACKAGE_LIBTASN1
> + select BR2_PACKAGE_LIBUNISTRING
> select BR2_PACKAGE_NETTLE
> help
> GnuTLS is a secure communications library implementing the SSL
> diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
> index 0210d18597..89ab9b9476 100644
> --- a/package/gnutls/gnutls.mk
> +++ b/package/gnutls/gnutls.mk
> @@ -17,7 +17,7 @@ GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library)
> GNUTLS_LICENSE_FILES += doc/COPYING
> endif
>
> -GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle
> +GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 libunistring nettle
> GNUTLS_CPE_ID_VENDOR = gnu
> GNUTLS_CONF_OPTS = \
> --disable-doc \
> @@ -25,6 +25,7 @@ GNUTLS_CONF_OPTS = \
> --disable-libdane \
> --disable-rpath \
> --disable-tests \
> + --without-included-unistring \
> --without-libcrypto-prefix \
> --without-libdl-prefix \
> --without-libev-prefix \
> @@ -72,12 +73,6 @@ else
> GNUTLS_CONF_OPTS += --without-p11-kit
> endif
>
> -ifeq ($(BR2_PACKAGE_LIBUNISTRING),y)
> -GNUTLS_DEPENDENCIES += libunistring
> -else
> -GNUTLS_CONF_OPTS += --with-included-unistring
> -endif
> -
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> GNUTLS_CONF_OPTS += --with-zlib
> GNUTLS_DEPENDENCIES += zlib
> --
> 2.35.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-05-12 20:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 16:01 [Buildroot] [PATCH 1/5] package/gnutls: disable library search in /usr/lib Arnout Vandecappelle (Essensium/Mind)
2022-05-12 16:01 ` [Buildroot] [PATCH 2/5] package/gnutls: remove unused libregex dependency Arnout Vandecappelle (Essensium/Mind)
2022-05-12 20:52 ` Yann E. MORIN
2022-05-12 16:01 ` [Buildroot] [PATCH 3/5] package/gnutls: remove redundant --enable-openssl-compatibility Arnout Vandecappelle (Essensium/Mind)
2022-05-12 20:53 ` Yann E. MORIN
2022-05-12 16:01 ` [Buildroot] [PATCH 4/5] package/gnutls: add optional dependency on brotli, zlib, zstd Arnout Vandecappelle (Essensium/Mind)
2022-05-12 20:54 ` Yann E. MORIN
2022-05-12 16:01 ` [Buildroot] [PATCH 5/5] package/gnutls: libunistring is not optional Arnout Vandecappelle (Essensium/Mind)
2022-05-12 20:55 ` Yann E. MORIN [this message]
2022-05-12 20:52 ` [Buildroot] [PATCH 1/5] package/gnutls: disable library search in /usr/lib Yann E. MORIN
2022-05-28 10:54 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220512205511.GN1597494@scaer \
--to=yann.morin.1998@free.fr \
--cc=arnout@mind.be \
--cc=buildroot@buildroot.org \
--cc=matthew.weber@collins.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox