Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] uclibc: deprecate locale support
Date: Sun, 28 Jun 2015 09:14:17 +0200	[thread overview]
Message-ID: <20150628071417.GA13377@waldemar-brodkorb.de> (raw)

The quality of the locale implementation in uClibc seems
to be bad. Recently a discussion on the uClibc mailinglist
showed that the uClibc maintainer has no time to fix
remaining issues in the locale implementation.
http://lists.uclibc.org/pipermail/uclibc/2015-June/049000.html

Because of the bad state of the code I would like to deprecate
it. I never used it myself and see no good reason why I would
need it for an embedded system.

I believe not many people are using it. For good working
locale support there is still GNU libc and musl.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 Config.in.legacy         |    6 ++++++
 package/uclibc/Config.in |    8 --------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index d86d585..1814acb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -107,6 +107,12 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2015.08"
 
+config BR2_TOOLCHAIN_BUILDROOT_LOCALE
+	bool "Toolchain locale/i18n setting removed"
+	select BR2_LEGACY
+	help
+	  uClibc locale support have been removed.
+
 config BR2_TARGET_UBOOT_NETWORK
 	bool "U-Boot custom network settings removed"
 	select BR2_LEGACY
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 15a590f..03d7171 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -100,14 +100,6 @@ config BR2_TOOLCHAIN_BUILDROOT_WCHAR
 	  wide characters (i.e characters longer than 8 bits, needed
 	  for locale support).
 
-config BR2_TOOLCHAIN_BUILDROOT_LOCALE
-	bool "Enable toolchain locale/i18n support"
-	select BR2_TOOLCHAIN_BUILDROOT_WCHAR
-	select BR2_ENABLE_LOCALE
-	help
-	  Enable this option if you want your toolchain to support
-	  localization and internationalization.
-
 choice
 	prompt "Thread library implementation"
 	default BR2_PTHREADS_NATIVE if BR2_UCLIBC_VERSION_SUPPORTS_NPTL
-- 
1.7.10.4

             reply	other threads:[~2015-06-28  7:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-28  7:14 Waldemar Brodkorb [this message]
2015-06-28  9:50 ` [Buildroot] [PATCH] uclibc: deprecate locale support Yann E. MORIN
2015-06-28 10:02   ` Waldemar Brodkorb
2015-06-28 12:01 ` Thomas Petazzoni
2015-06-28 12:58   ` Waldemar Brodkorb
2015-06-28 13:08     ` Thomas Petazzoni
2015-06-29 17:47       ` Waldemar Brodkorb

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=20150628071417.GA13377@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=buildroot@busybox.net \
    /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