pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel ncurses: Disable xterm+rep for maximum portability.
details: https://anonhg.NetBSD.org/pkgsrc/rev/564ce92437c4
branches: trunk
changeset: 392216:564ce92437c4
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Feb 25 11:54:05 2019 +0000
description:
ncurses: Disable xterm+rep for maximum portability.
Many terminal emulators still do not support this capability, resulting in
broken output. Patch from OmniOS, bump PKGREVISIONs.
diffstat:
devel/ncurses/Makefile | 4 ++--
devel/ncurses/Makefile.common | 3 +--
devel/ncurses/distinfo | 3 ++-
devel/ncurses/patches/patch-misc_terminfo.src | 17 +++++++++++++++++
devel/ncursesw/Makefile | 4 ++--
5 files changed, 24 insertions(+), 7 deletions(-)
diffs (83 lines):
diff -r f247167c5732 -r 564ce92437c4 devel/ncurses/Makefile
--- a/devel/ncurses/Makefile Mon Feb 25 11:45:55 2019 +0000
+++ b/devel/ncurses/Makefile Mon Feb 25 11:54:05 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.101 2019/02/12 20:11:22 triaxx Exp $
+# $NetBSD: Makefile,v 1.102 2019/02/25 11:54:05 jperkin Exp $
.include "Makefile.common"
-PKGREVISION= 4
+PKGREVISION= 5
COMMENT= CRT screen handling and optimization package
INSTALLATION_DIRS+= share/examples
diff -r f247167c5732 -r 564ce92437c4 devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common Mon Feb 25 11:45:55 2019 +0000
+++ b/devel/ncurses/Makefile.common Mon Feb 25 11:54:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2019/02/14 22:59:49 gutteridge Exp $
+# $NetBSD: Makefile.common,v 1.40 2019/02/25 11:54:05 jperkin Exp $
#
# used by devel/ncurses/Makefile
# used by devel/ncursesw/Makefile
@@ -73,7 +73,6 @@
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --disable-const
-TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src
TERMINFODIR= share/lib/terminfo
.else
TERMINFODIR= share/terminfo
diff -r f247167c5732 -r 564ce92437c4 devel/ncurses/distinfo
--- a/devel/ncurses/distinfo Mon Feb 25 11:45:55 2019 +0000
+++ b/devel/ncurses/distinfo Mon Feb 25 11:54:05 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2018/10/18 19:42:49 leot Exp $
+$NetBSD: distinfo,v 1.36 2019/02/25 11:54:05 jperkin Exp $
SHA1 (ncurses-6.1.tar.gz) = 57acf6bc24cacd651d82541929f726f4def780cc
RMD160 (ncurses-6.1.tar.gz) = 938235f3922f9c6ef0f1081d643ecb2da1347a17
@@ -11,5 +11,6 @@
SHA1 (patch-c++_Makefile.in) = 68ff81c719ec4aa13beb962cb66d7cd6749d7af5
SHA1 (patch-configure.in) = 48a705b3f4de3a65c0c1c3648f5a24c5310ed3fa
SHA1 (patch-misc_ncurses-config.in) = 43e4dc8abe85804513da1189aeffa5c7746ffcca
+SHA1 (patch-misc_terminfo.src) = 3423a09b0b6aac1139ab21f514c631ee8c36c2f7
SHA1 (patch-ncurses_base_MKlib__gen.sh) = f8ce67fbd273529e4161a2820677d05a623fd527
SHA1 (patch-ncurses_tinfo_parse__entry.c) = 06d2b52e84595f8acd47ad36ded7b7d5bec95b8a
diff -r f247167c5732 -r 564ce92437c4 devel/ncurses/patches/patch-misc_terminfo.src
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncurses/patches/patch-misc_terminfo.src Mon Feb 25 11:54:05 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-misc_terminfo.src,v 1.1 2019/02/25 11:54:05 jperkin Exp $
+
+Many terminal emulators still do not support the "rep" capability, so
+avoid it for maximum portability. Patch from OmniOS, see also
+http://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic
+
+--- misc/terminfo.src.orig 2018-01-27 15:14:08.000000000 +0000
++++ misc/terminfo.src
+@@ -4328,7 +4328,7 @@ xterm-xfree86|xterm terminal emulator (X
+ xterm-new|modern xterm terminal emulator,
+ npc,
+ indn=\E[%p1%dS, kb2=\EOE, kcbt=\E[Z, kent=\EOM,
+- rin=\E[%p1%dT, use=ansi+rep, use=ecma+strikeout,
++ rin=\E[%p1%dT, use=ecma+strikeout,
+ use=xterm+sm+1006, use=xterm+pcfkeys, use=xterm+tmux,
+ use=xterm-basic,
+
diff -r f247167c5732 -r 564ce92437c4 devel/ncursesw/Makefile
--- a/devel/ncursesw/Makefile Mon Feb 25 11:45:55 2019 +0000
+++ b/devel/ncursesw/Makefile Mon Feb 25 11:54:05 2019 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.18 2018/10/24 16:58:38 minskim Exp $
+# $NetBSD: Makefile,v 1.19 2019/02/25 11:54:05 jperkin Exp $
.include "../../devel/ncurses/Makefile.common"
PKGNAME= ${DISTNAME:S/ncurses/ncursesw/}
COMMENT= Wide character CRT screen handling and optimization package
-PKGREVISION= 2
+PKGREVISION= 3
PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches
DISTINFO_FILE= ${.CURDIR}/../../devel/ncurses/distinfo
Home |
Main Index |
Thread Index |
Old Index