Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3164 - libtermcap-1.3.1.ebuild (New Ebuild)
Summary: libtermcap-1.3.1.ebuild (New Ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 08:07 UTC by Johannes Findeisen
Modified: 2003-01-28 00:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The Termcap Ebuild Script (termcap-1.3.1.ebuild,914 bytes, text/plain)
2002-05-29 08:08 UTC, Johannes Findeisen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Findeisen 2002-05-29 08:07:29 UTC
This is the GNU termcap library -- a library of C functions that  
enable programs to send control strings to terminals in a way  
independent of the terminal type. 
 
Most of this package is also distributed with GNU Emacs, but it is 
available in this separate distribution to make it easier to install 
as -ltermcap.
Comment 1 Johannes Findeisen 2002-05-29 08:08:11 UTC
Created attachment 1209 [details]
The Termcap Ebuild Script
Comment 2 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-29 09:12:06 UTC
Isn't termcap supposed to be more or less replaced by ncurses? I can't remember
the last time I compiled an app by hand that couldn't link with -lncurses in
stead of -ltermcap. Why add another library to do the same thing (at least if
it's going to actually be used as dependencies in ebuilds)?
Comment 3 Johannes Findeisen 2002-05-29 09:29:59 UTC
i know this. but since there is released a new version this year, i though  
that this would be a good idea. i think it is easier to use this one, but if  
the other devs thinks like you i'll accept it. but i need to hack all  
makefiles which depends on libtermcap.  
  
i didn' found another ebuild wchich depends on it (-lncurses)?!? 
 
i only need it because of some deps for other ebuilds i make. 
Comment 4 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-29 09:50:40 UTC
I guess we could always do as LFS used to suggest (don't know if it still does,
though); symlinking /lib/libcurses.so to /lib/libtermcap.so and perhaps even
/usr/include/ncurses.h to /usr/include/termcap.h. I don't know how different the
header files are, so it might not work at all. Is this "solution" too hackish?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-30 19:49:06 UTC
You need this package if a program (that you cannot recompile) fails to run with
the error message "...: can't load library 'libtermcap.so.2'" or complains about
a missing /etc/termcap file


That's a little tidbit from Debian's entry for the termcap-compat package they
offer.  So far, I have not noticed any ebuilds specifically call with this
error.  In the past what we have done is just use sed to replace -ltermcap with
-lncurses in the Makefile.in files.  For an example, please have a look at
media-sound/festival.

We had a discussion about termcap, and it was decided that since it truly is
deprecated by ncurses, it is not necessary to have in gentoo.  Thanks for the
ebuild, though :)