Github messages for voidlinux
 help / color / mirror / Atom feed
From: gt7-void <gt7-void@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ncurses-libs: provide libncurses.so.{5,6}
Date: Mon, 20 Jul 2020 06:09:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23660@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 485 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/23660

ncurses-libs: provide libncurses.so.{5,6}
For compatibility, provide symlinks

    /usr/lib/libncurses.so.5 -> /usr/lib/libncurses.so.6.2
    /usr/lib/libncurses.so.6 -> /usr/lib/libncurses.so.6.2

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

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

From 37f47318107975b56192a84fec9502b534628f4d Mon Sep 17 00:00:00 2001
From: gt7-void <gt7@mail.com>
Date: Mon, 20 Jul 2020 01:00:37 -0300
Subject: [PATCH] ncurses-libs: provide libncurses.so.{5,6}

For compatibility, provide symlinks

    /usr/lib/libncurses.so.5 -> /usr/lib/libncurses.so.6.2
    /usr/lib/libncurses.so.6 -> /usr/lib/libncurses.so.6.2
---
 srcpkgs/ncurses/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template
index eb0b4fcafc7..f4c048b2a3c 100644
--- a/srcpkgs/ncurses/template
+++ b/srcpkgs/ncurses/template
@@ -1,7 +1,7 @@
 # Template file for 'ncurses'
 pkgname=ncurses
 version=6.2
-revision=2
+revision=3
 bootstrap=yes
 configure_args="--enable-big-core"
 short_desc="System V Release 4.0 curses emulation library"
@@ -78,6 +78,8 @@ do_install() {
 	cd ${wrksrc}/ncurses-build
 	install -Dm755 lib/libncurses.so.${version} \
 		${DESTDIR}/usr/lib/libncurses.so.${version}
+	ln -sf libncurses.so.${version} ${DESTDIR}/usr/lib/libncurses.so.6
+	ln -sf libncurses.so.${version} ${DESTDIR}/usr/lib/libncurses.so.5
 
 	# Create libtinfo symlinks.
 	ln -sfr ${DESTDIR}/usr/lib/libncursesw.so \
@@ -107,7 +109,7 @@ do_install() {
 }
 
 ncurses-libs_package() {
-	shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5"
+	shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5 libncurses.so.5"
 	short_desc+=" -- shared libraries"
 	pkg_install() {
 		vmove "usr/lib/libform*.so.*"

             reply	other threads:[~2020-07-20  4:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20  4:09 gt7-void [this message]
2020-07-21 15:59 ` [PR PATCH] [Closed]: " q66

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23660@inbox.vuxu.org \
    --to=gt7-void@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).