[Buildroot] Ncurses wide support

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Oct 15 12:51:59 UTC 2013


Hi,

On Tue, Oct 15, 2013 at 2:04 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Gustavo Zacarias,
>
> On Tue, 15 Oct 2013 09:02:11 -0300, Gustavo Zacarias wrote:
>> On 10/15/2013 08:59 AM, Thomas Petazzoni wrote:
>>
>> > ncurses is crap :)
>> >
>> > A possible solution would be to have a package/ncursesw/ in Buildroot,
>> > that does the same thing as package/ncurses/, but builds the ncursesw
>> > library. This way, packages who want one or the other variant of the
>> > library can have proper dependencies.
>>
>> But that would require auditing which packages want/benefit from the
>> wide version and add some workarounds about that.
>
> For those who "want" ncursesw, the autobuilders will notice. For those
> who would "benefit", then it can just be progressively improved as
> users notice such cases.
>

If we are to provide two versions of ncurses (narrow, wide) then I
would propose to follow the same principle as for gcc: have one
top-level directory package/ncurses, and inside that provide
ncurses/ncursesw. There will be one common file with the common parts,
and two separate .mk files for the actual packages. This will limit
the amount of code duplication.

Best regards,
Thomas



More information about the buildroot mailing list