Opened 9 years ago
Closed 9 years ago
#1102 closed task (fixed)
Remove libcurses links/scripts
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | BOOK | Version: | |
Keywords: | Cc: | berzerkula@…, jonathan@…, chris@…, cross-lfs@… |
Description
I believe that in the final-system Ncurses installation, the commands to create libcurses symlinks and linker scripts are not needed. As I understand it, those are for older packages that don't know about Ncurses yet, but I've seen very few packages that need them on my current system. No base CLFS packages need any changes, and the only libcurses references I've seen at all were in Inetutils (does not build the talk program if libcurses is not found) and Nethack (Makefile needed to be updated to use libncurses). Specifically, the change in the book would look like this:
diff --git a/BOOK/final-system/common/ncurses.xml b/BOOK/final-system/common/ncurses.xml index 3175374..afce66c 100644 --- a/BOOK/final-system/common/ncurses.xml +++ b/BOOK/final-system/common/ncurses.xml @@ -91,12 +91,10 @@ rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen> scripts and symbolic links to allow older and non-widec compatible programs to build properly:</para> -<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do +<screen os="m"><userinput>for lib in ncurses form panel menu ; do echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a done -ln -sfv libncursesw.so /usr/lib/libcursesw.so -ln -sfv libncursesw.a /usr/lib/libcursesw.a ln -sfv libncurses++w.a /usr/lib/libncurses++.a ln -sfv ncursesw6-config /usr/bin/ncurses6-config</userinput></screen>
Is there any reason to keep those links still? Are there any other packages that still need them?
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | ncurses.patch added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 870ba41a956111d5b03b5fd88e0bb52c12f25380.