Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ncurses-libs: provide libncurses.so.5
@ 2020-07-27  0:54 gt7-void
  2020-07-27  1:25 ` ahesford
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gt7-void @ 2020-07-27  0:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

There is a new pull request by gt7-void against master on the void-packages repository

https://github.com/gt7-void/void-packages ncurses
https://github.com/void-linux/void-packages/pull/23862

ncurses-libs: provide libncurses.so.5
@q66 can you please allow this symlink at least?

I state my case:

a. I need /usr/lib/libncurses.so.5 to run a binary (fwiw, megacli to manage a LSI raid controller -- unfortunately there's no other way to manage the raid arrays without rebooting to bios)

b. This binary runs without any problem with the symlink

c. I think this is expected since the ncurses 6 library is both API and ABI compatible with ncurses 5, according to its own documentation:

> This release is designed to be source-compatible with ncurses 5.0 through 6.1; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the ncurses 5 ABI, the reason for the release is to reflect improvements to the ncurses 6 ABI and the supporting utility programs.

d. Someone else requested it on reddit (https://www.reddit.com/r/voidlinux/comments/hprhjp/where_to_download_libncursesso5/)

I'm not sure about all the other symlinks that https://github.com/void-linux/void-packages/commit/854828d619792969aef4315747c768a618434acd removed, an alternative would be to revert that one and apply https://github.com/void-linux/void-packages/pull/23660/commits/37f47318107975b56192a84fec9502b534628f4d from PR #23660 instead.

A patch file from https://github.com/void-linux/void-packages/pull/23862.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ncurses-23862.patch --]
[-- Type: text/x-diff, Size: 1074 bytes --]

From 47d51d1b146f864ec14cbeb9df5ef7b08d17fc6c Mon Sep 17 00:00:00 2001
From: gt7-void <gt7@mail.com>
Date: Sun, 26 Jul 2020 21:34:42 -0300
Subject: [PATCH] ncurses-libs: provide libncurses.so.5

compatibility for binaries requiring libncurses.so.5
---
 srcpkgs/ncurses/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template
index d1bb2ae3aa8..a82d8805212 100644
--- a/srcpkgs/ncurses/template
+++ b/srcpkgs/ncurses/template
@@ -1,7 +1,7 @@
 # Template file for 'ncurses'
 pkgname=ncurses
 version=6.2
-revision=3
+revision=4
 bootstrap=yes
 configure_args="--enable-big-core"
 short_desc="System V Release 4.0 curses emulation library"
@@ -81,6 +81,9 @@ do_install() {
 	ln -sf libncurses.so.${version} \
 		${DESTDIR}/usr/lib/libncurses.so.${version:0:1}
 
+	# compatibility for binaries requiring libncurses.so.5
+	ln -sf libncurses.so.${version} ${DESTDIR}/usr/lib/libncurses.so.5
+
 	# Create libtinfo symlinks.
 	ln -sfr ${DESTDIR}/usr/lib/libncursesw.so \
 		${DESTDIR}/usr/lib/libtinfo.so

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-07-27  2:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27  0:54 [PR PATCH] ncurses-libs: provide libncurses.so.5 gt7-void
2020-07-27  1:25 ` ahesford
2020-07-27  1:25 ` [PR PATCH] [Closed]: " ahesford
2020-07-27  1:42 ` q66
2020-07-27  1:44 ` q66
2020-07-27  1:48 ` q66
2020-07-27  2:01 ` gt7-void
2020-07-27  2:08 ` q66
2020-07-27  2:10 ` q66
2020-07-27  2:43 ` gt7-void
2020-07-27  2:51 ` ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).