-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ncurses vs ncursesw #526
Comments
From README
On most systems they're different packages. |
Well, I was hoping to get more feedback/ideas on this. @Wedmer On OpenWRT, it's the same thing. Reason for this: I've seen a few issues during build, where if I just build the vanilla OpenWRT target + just python (which references the ncursesw package right now), there's a build failure, because the ncursesw build variant will be built, but the ncurses build variant won't be built, and This is an issue with the build system, since both ncurses & ncursesw variants should be built.
For the moment, I have a branch where I keep some work on converting the system packages to use ncursesw. Then maybe I'll try to assess what the effort would be to convert the current packages feed, and come up with a proposal. |
[also sent on openwrt-devel mailing list, ncurses(w) is packaged in openwrt]
I'll try to get opinions about this.
Since we're in the middle of packages migration, maybe it's an interesting opportunity to try to use ncursesw and drop ncurses.
ncursesw is ncurses + Unicode (UTF8) support
Both libraries built out of the same source base, and they're just 2 build variants.
From what I can see, Midnight Commander may have some problems building with libncursesw, but I think those could be resolved.
python + python3 pick up libncursesw if they find it, but they could be configured to take libncurses
no idea about impact on other libs, hence this RFC
in the openwrt/packages folder there are only these libs that reference libncurses:
libncursesw is slightly fatter (360 kb) than libncurses (295 kb)
Having both installed on a device seems redundant, even though together the bloat is not too big.
So, then, what would be some opinions/prefs ?
Thanks
Alex
The text was updated successfully, but these errors were encountered: