[Buildroot] [PATCH 1/1] ncurses: add support for 256 colors

Thierry Bultel tbultel at free.fr
Fri Dec 12 22:43:09 UTC 2014


Le 11/12/2014 19:14, Yann E. MORIN a écrit :
> Thierry, All,
>
> On 2014-12-09 15:48 +0100, Thierry Bultel spake thusly:
>> Le 09/12/2014 13:21, Gustavo Zacarias a écrit :
>>> On 12/09/2014 07:58 AM, Thierry Bultel wrote:
>>>
>>>> +config BR2_PACKAGE_NCURSES_EXT_COLORS
>>>> +	bool "ncurses extended colors"
>>>> +	select BR2_PACKAGE_NCURSES_WCHAR
>>>> +	depends on BR2_USE_WCHAR
>>>> +	help
>>>> +	  compile for 256-color support
>>>> +
>>>
>>> Hi.
>>> Do you know the size delta between this option enabled and disabled?
>>> I'm asking because it might not be even worth an option.
>>> Thanks.
>>> Regards.
>>>
>>
>> Hi, the size delta is quite small:
>>
>> 256 colors:
>>
>> -rwxr-xr-x 1 thierry thierry 210K déc.   9 14:23
>> output/target/usr/lib/libncursesw.so.6.0
>>
>> std colors:
>>
>> -rwxr-xr-x 1 thierry thierry 202K déc.   9 15:46
>> output/target/usr/lib/libncursesw.so.5.9
>
> Then, I'd say we just enable it by default, since the size delta is
> negligible (~4%).
>

Shall I then repost the patch with 256 colors enabled by default ?

> There is only one case that would require that to be an option: if it
> changes the API, and packages that do not expect it would break.
>
> Regards,
> Yann E. MORIN.
>




More information about the buildroot mailing list