Package Details: libtinfo 6-18

Git Clone URL: https://aur.archlinux.org/libtinfo.git (read-only)
Package Base: libtinfo
Description: symlink to ncurses for use in cuda and other packages
Upstream URL: http://www.gnu.org/software/ncurses/
Keywords: libtinfo libtinfo5
Licenses: MIT
Submitter: hav3lock
Maintainer: hav3lock
Last Packager: hav3lock
Votes: 231
Popularity: 8.464761
First Submitted: 2013-08-18 23:48
Last Updated: 2017-01-19 02:49

Dependencies (2)

Required by (18)

Sources (0)

Latest Comments

hav3lock commented on 2017-03-07 02:22

@AlmuHS, isn't that what I'm already doing with `optdepends`, or did you mean something else?

hav3lock commented on 2017-03-07 02:21

@DacodaS that command should give you 0: you may find the following illuminating:

false; echo $?
true; echo $?

jplatte commented on 2017-03-03 18:03

DacodaS: While it is a really bad idea to select whether to include a file in the package depending on the system state at build time, I'm pretty sure it works here. 0 is exactly what you would expect that command to return when ncurses5-compat-libs is installed. 0 is the "successful" exit code for programs, so shells have this unfortunate inverse logic of true == 0, false == 1.

DacodaS commented on 2017-03-02 23:18

The following line in PKGBUILD:

_libtinfo5="$(pacman -Q ncurses5-compat-libs > /dev/null 2>&1; echo $?)"

I'm not convinced that that's doing the trick. I have ncurses5-compat-libs installed, but I don't think this variable is set.

The command:

pacman -Q ncurses5-compat-libs > /dev/null 2>&1; echo $?

gives 0 for me whereas

pacman -Q ncurses5-compat-libs

gives

ncurses5-compat-libs 6.0+20161224-1

AlmuHS commented on 2017-02-18 20:22

Hi all:

Would be possible add ncurses5-compat-libs package to recommends package list during the installation?

Thanks

r3pek commented on 2017-01-19 01:11

@hav3lock
you have a typo in the PKGBUILD: "$pkgdir"/usrlib/libtinfo.so.5 <-- it's missing the forward slash (build fails)

hav3lock commented on 2017-01-19 00:58

@alan, libtinfo now offers a symlink to ncurses5-compat-libs as libtinfo.so.5, however, this _only_ made available if ncurses5-compat-libs is already installed prior to updating/installing libtinfo.

alan commented on 2016-12-25 16:11

There no longer seems to be an AUR package for libtinfo-5, however the Arduino IDE needs this library to upload sketches. Could the symlink be re-included in this package instead?

hav3lock commented on 2016-12-24 00:22

@Kirgo, should be fixed now. Lemme know if you still can't install via AUR.

hav3lock commented on 2016-12-24 00:12

@Kirgo, thanks for pointing this out. Fixing it now.

All comments