In OpenSuse, Fedora, and CentOS, packages "ncurses-libs-5.x.y" provide "libtic.so.5" and "libtinfo.so.5". Our similar packages (e.g., lib64ncurses5) provide: /lib64/libform.so.5 /usr/lib64/libform.so.5.9 /usr/lib64/libmenu.so.5 /usr/lib64/libmenu.so.5.9 /usr/lib64/libncurses.so.5 รข/usr/lib64/libncurses.so.5.9 /usr/lib64/libpanel.so.5 /usr/lib64/libpanel.so.5.9 but they lack corresponding: /usr/lib64/libtic.so.5 /usr/lib64/libtinfo.so.5 3rd party packages built for RPM distros (e.g., Vista EHR) are linked to libtinfo.so.5 I wonder, why did we choose to ship without it? And why not include it, instead of creatng custom builds for some other things which generally link this library? (e.g. NVIDIA CUDA Toolkit 5.0.35)
Keywords: (none) => TriagedCC: (none) => dirteat, fundawang, mageia, mageia, thierry.vignaudSource RPM: (none) => ncurses
I have a local build here that builds fine with tinfo, so incorporating that change should be fine. Regarding libtic, it requires passing --enable-ticlib to configure, but that also requires not passing --enable-termcap. Ultimately the fedora ncurses package seems to obsolete termcap and provide a termcap-devel compatibility layer (basically linking to tinfo it seems). I'm not sure of the implications of this, but if others are happy to push ahead with this change I can commit what I have and do the necessary fixups to obsolete libtermcap and provide it here.
A quick google/wikipedia suggests this should generally be OK. termcap was dropped from fedora 6 years ago so I suspect bar a few conversion issues, we should be OK :)
Created attachment 4249 [details] Patch to add libtic and disable/obsolete termcap/libterrmcap OK, I committed some spec tidyups etc. Attached is a patch which obsoletes termcap/libtermcap and adds a compatibility .so file to (hopefully) make the transition silent. I installed the resulting RPM, and recompiled bash and it now links against libtinfo. I didn't test it, but if others think this is the right approach we should do it before the mass rebuild.
Created attachment 4250 [details] Proper patch Ignore the last one, this one is the correct one.
Attachment 4249 is obsolete: 0 => 1
Hi there, tested various terminals with Colin's patched spec rpm, Eterm, aterm, xterm, rxvt-unicode, they work fine. So, for me you can push, but others may want to test other parts. Thanks! chris.
This was resolved a while back.
Status: NEW => RESOLVEDResolution: (none) => FIXED