Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] libglib2: the system PCRE needs to have UTF and UCP enabled
@ 2013-11-21 21:25 Sven Neumann
  2013-11-21 21:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Neumann @ 2013-11-21 21:25 UTC (permalink / raw)
  To: buildroot


If glib2 is compiled with the system PCRE instead of the included
copy, then that system PCRE needs to have support for UTF-8 and
Unicode properties enabled. Otherwise you will get such warnings
at run-time:

GLib-CRITICAL **: PCRE library is compiled without UTF8 support
GLib-CRITICAL **: PCRE library is compiled without UTF8 properties support

Signed-off-by: Sven Neumann <neumann@teufel.de>
---
 package/libglib2/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in
index 3590d72..80e059a 100644
--- a/package/libglib2/Config.in
+++ b/package/libglib2/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_LIBFFI
+        select BR2_PACKAGE_PCRE_UCP if BR2_PACKAGE_PCRE
 	select BR2_PACKAGE_ZLIB
 	depends on BR2_USE_WCHAR # gettext
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 2/2] libglib2: the system PCRE needs to have UTF and UCP enabled
  2013-11-21 21:25 [Buildroot] [PATCH 2/2] libglib2: the system PCRE needs to have UTF and UCP enabled Sven Neumann
@ 2013-11-21 21:56 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-11-21 21:56 UTC (permalink / raw)
  To: buildroot

Dear Sven Neumann,

On Thu, 21 Nov 2013 22:25:07 +0100, Sven Neumann wrote:
> 
> If glib2 is compiled with the system PCRE instead of the included
> copy, then that system PCRE needs to have support for UTF-8 and
> Unicode properties enabled. Otherwise you will get such warnings
> at run-time:
> 
> GLib-CRITICAL **: PCRE library is compiled without UTF8 support
> GLib-CRITICAL **: PCRE library is compiled without UTF8 properties support
> 
> Signed-off-by: Sven Neumann <neumann@teufel.de>
> ---
>  package/libglib2/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in
> index 3590d72..80e059a 100644
> --- a/package/libglib2/Config.in
> +++ b/package/libglib2/Config.in
> @@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGLIB2
>  	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
>  	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
>  	select BR2_PACKAGE_LIBFFI
> +        select BR2_PACKAGE_PCRE_UCP if BR2_PACKAGE_PCRE

It should be a tab instead of spaces for the indentation.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-21 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 21:25 [Buildroot] [PATCH 2/2] libglib2: the system PCRE needs to have UTF and UCP enabled Sven Neumann
2013-11-21 21:56 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox