Skip to contentSkip to conversation

nodejs: no internationalization support

meta-oe Raphael Kubo da Costa 2 participants 2 messages Sep 19, 2018

lore
Share & tools
lore
#0 lore raw

I originally filed
https://github.com/openembedded/meta-openembedded/issues/93 about this but was told it's probably better to discuss it on the list.

The nodejs recipe currently builds node with --without-intl. That means there's no internationalization support. One of the consequences of that is is that the inspector module is not built at all.

Recent (at least M71 onwards) Chromium releases need the inspector module as part of the build, so I wonder if the recipe can start depending on ICU and pass --with-intl=system-icu to configure.py.

Using --with-intl=system-icu might require checking if the ICU version provided in a branch matches the one Node expects; in the worst case, I guess --with-intl=small-icu should work).

Is there any specific reason why --without-intl is being passed in the first place?

#1 lore raw
Quoted 9 lines · Raphael Kubo da Costa

I originally filed
https://github.com/openembedded/meta-openembedded/issues/93 about this but was told it's probably better to discuss it on the list.

The nodejs recipe currently builds node with --without-intl. That means there's no internationalization support. One of the consequences of that is is that the inspector module is not built at all.

right, it is there for size reasons. ICU is kind of large and since debugger uses it, when we disable ICU debugger is disabled too.

I think we could make it a packageconfig and enable/disable debugger support that way if you care to send a patch, I can look into integrating it.

Quoted 10 lines

Recent (at least M71 onwards) Chromium releases need the inspector module as part of the build, so I wonder if the recipe can start depending on ICU and pass --with-intl=system-icu to configure.py.

Using --with-intl=system-icu might require checking if the ICU version provided in a branch matches the one Node expects; in the worst case, I guess --with-intl=small-icu should work).

Is there any specific reason why --without-intl is being passed in the first place?