Package Details: ncurses5-compat-libs 6.5-1

Git Clone URL: https://aur.archlinux.org/ncurses5-compat-libs.git (read-only, click to copy)
Package Base: ncurses5-compat-libs
Description: System V Release 4.0 curses emulation library, ABI 5
Upstream URL: http://invisible-island.net/ncurses/ncurses.html
Licenses: MIT
Conflicts: libtinfo5
Provides: libtinfo5
Submitter: Barthalion
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 590
Popularity: 2.15
First Submitted: 2015-09-18 21:03 (UTC)
Last Updated: 2024-07-16 20:06 (UTC)

Required by (116)

Sources (2)

Pinned Comments

WoefulDerelict commented on 2016-05-23 19:35 (UTC) (edited on 2018-08-18 20:22 (UTC) by WoefulDerelict)

This PKGBUILD verifies the authenticity of the source via PGP signatures which are not part of the Arch Linux keyring. In order to complete the process it is necessary to import the key(s) from the ‘validpgpkeys’ array into the user’s keyring before calling makepkg. There is a helpful article explaining this process by one of Arch Linux's developers located here: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/

Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver This article also contains helpful information describing the installation of GnuPG, its configuration and usage.

Execute the following to import keys using gpg:

gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>

The PGP signature check can be skipped by passing --skippgpcheck to makepkg.

Consult the makepkg manual page for a full list of options. [https://www.archlinux.org/pacman/makepkg.8.html]

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 27 Next › Last »

fredszaq commented on 2018-02-21 10:51 (UTC)

Would it be possible to update this to 6.1 ? I've no color output in gradle without this, and with the current version it just crashes...

Here's a corrected PKGBUILD (I've got colored output on gradle with this)

# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=ncurses5-compat-libs
_pkgname=ncurses
pkgver=6.1
pkgrel=1
pkgdesc='System V Release 4.0 curses emulation library, ABI 5'
arch=(i686 x86_64)
url='http://invisible-island.net/ncurses/ncurses.html'
license=(MIT)
depends=(glibc gcc-libs sh)
provides=(libtinfo5)
conflicts=(libtinfo5)
source=(https://ftp.gnu.org/pub/gnu/ncurses/ncurses-$pkgver.tar.gz{,.sig})
md5sums=('98c889aaf8d23910d2b92d65be2e737a'
         'SKIP')
validpgpkeys=('C52048C0C0748FEE227D47A2702353E0F7E48EDB')  # Thomas Dickey

build() {
  cd ${_pkgname}-${pkgver}

  ./configure --prefix=/usr --mandir=/usr/share/man \
    --with-shared --with-normal --without-debug --without-ada --enable-widec \
    --disable-pc-files --with-cxx-binding --with-cxx-shared --with-abi-version=5
  make
}

package() {
  cd ${_pkgname}-${pkgver}
  make DESTDIR="$pkgdir" install.libs
  rm -rf "$pkgdir/usr/include/" "$pkgdir/usr/lib/pkgconfig" \
    "$pkgdir"/usr/lib/*.so

  # fool packages looking to link to non-wide-character ncurses libraries
  for lib in ncurses ncurses++ form panel menu; do
    ln -s /usr/lib/lib${lib}w.so.5 "$pkgdir/usr/lib/lib${lib}.so.5"
  done
  ln -s /usr/lib/libncurses.so.5 "$pkgdir/usr/lib/libtinfo.so.5"

  # install license, rip it from the readme
  install -d "$pkgdir/usr/share/licenses/$pkgname"
  grep -B 100 '$Id' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

}

mirh commented on 2018-02-15 09:50 (UTC) (edited on 2018-02-20 22:16 (UTC) by mirh)

Could somebody give a check to the symbol versioning of libtinfo.so.5 ? https://stackoverflow.com/a/38851073/5994170

It's quite annoying to have info warnings spawned millions of times in console during linking.

EDIT: fixed by adding --with-versioned-syms configure switch

jaap commented on 2018-02-13 14:07 (UTC)

curl: (22) The requested URL returned error: 416 curl can't download ncurses-6.0-20170902.tgz

Barthalion commented on 2018-02-11 19:50 (UTC)

Thank you for your very detailed comment.

Anonymo commented on 2018-02-11 14:52 (UTC)

Thank you for the repo but the package itself is not building.

amos commented on 2018-01-30 10:50 (UTC)

Seems that the copyright section in the README (currently ripped as LICENSE) is rather out of date; however there exists also a COPYING file, probably better to use that.

Barthalion commented on 2018-01-14 16:51 (UTC)

Very unlikely to happen. The point always was to have a package providing only libraries just for proprietary applications.

eschwartz commented on 2018-01-14 15:38 (UTC)

It came up on IRC that the package https://aur.archlinux.org/packages/mp is developed upstream against ncurses5 in such a way that some features (syntax highlighting) will not work on newer versions of ncurses. Therefore, stef204 wants to use this package as a dependency even though it builds from source... I think it would make sense to have a package that provided the headers and pkg-config files as well.