On Sat, May 19, 2012 at 05:20:00PM -0400, Cristian Rodríguez wrote:
Hi:
What do people think about providing just one ncurses/curses variant in 12.2 ?
Currently there is ncurses5, ncurses6 each one having a "widechar" variant whose headers are provided by the same package at the same time...
I have a few mutually-exclusive proposals to cleanup this:
Proposal 1:
- Provide only ncurses6 in widechar variant as libncurses.so, with headers in /usr/include/ncurses fix the fallout if any.
This is my favorite option.
Proposal 2:
- Separate curses5, curses6 , their headers and its variants in separate packages,
libncurses5-devel libncurses5w-devel libncurses6-devel libncurses6w-devel
all providing an update-alternative script for ncurses-config and making the widely used ncurses-devel package name a provides of libncurses6w-devel
Q: Is there soemting wrong with README.devel below /usr/share/doc/packages/ncurses/? AFAIK we have currently only the official API 5 whereas the API 6 is experimental and not final. And there are also third party software which do not use the widechar version of API 5 nor of API 6. As long as there is no final API 6 around we could make an libncurses5w the default by setting a link ncursesw5-config -> ncurses-config with the appropiate libraries and headers in the default linkage and include path. That means that libncurses.so becomes a linker script %{_libdir}/libncurses.so with e.g. INPUT(%{_libdir}/libncursesw5.so) for those which do not use the ncurses-config script. This because this is the official naming of the wide character version of ncurses. But, nevertheless, using implicit a widechar version may cause trouble for the using program as the API is different. And exactly this was the reason for me *not* to do this.
any thoughts or suggestions appreciated.
Be aware that the wide character version of ncurses is incompatible not only in binary form but also in the used API. In most case this may works as the single byte API is mostly compatible but it may also fail. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org