Accepting request 1078402 from Base:System

- Add ncurses patch 20230408
  + document limitations of tparm, and error-returns in curs_terminfo.3x
  + document limitations of tgoto, and error-returns in curs_termcap.3x
  + add xterm+focus to alacritty+common (patch by Christian Duerr).
  + add "-v" option to tput, to show warnings.
  > improve checks for malformed terminfo data (report/analysis by
    Jonathan Bar Or, Michael Pearse, Emanuele Cozzi).
    + make the parameter type/count checks in _nc_tiparm() more stringent
    + update tgoto() to account for _nc_tiparm() changes
    + add checks in tparm() and tiparm() for misuse of string parameters
    + add special cases in tput to handle extensions Cs/Ms parameters
    + ignore compiled-terminfo where the array sizes exceed the standard
- Skip gzipping manual pages as brp-compress does the job

- Add ncurses patch 20230401
  + modify experimental Windows driver to work with xterm mouse protocol.
  + remove DECCOLM+DECSCLM from foot (patch by Daniel Ekloef).

OBS-URL: https://build.opensuse.org/request/show/1078402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ncurses?expand=0&rev=236
This commit is contained in:
Dominique Leuenberger 2023-04-14 11:11:59 +00:00 committed by Git OBS Bridge
commit 457af1d583
5 changed files with 44 additions and 28 deletions

View File

@ -4,7 +4,7 @@
--- misc/terminfo.src
+++ misc/terminfo.src 2018-10-29 10:23:47.271511864 +0000
@@ -18062,8 +18062,8 @@ hazel|exec80|h80|he80|Hazeltine Executiv
@@ -18072,8 +18072,8 @@ hazel|exec80|h80|he80|Hazeltine Executiv
#
ibm327x|line mode IBM 3270 style,

BIN
ncurses-6.4-patches.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -477,7 +477,7 @@
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5
%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
sgr0=\E[m\017, smacs=^N, use=linux2.2,
@@ -5010,7 +5019,7 @@ xterm-new|modern xterm terminal emulator
@@ -5020,7 +5029,7 @@ xterm-new|modern xterm terminal emulator
# This fragment is for people who cannot agree on what the backspace key
# should send.
xterm+kbs|fragment for backspace key,
@ -486,7 +486,7 @@
#
# This fragment describes as much of XFree86 xterm's "pc-style" function
# keys as will fit into terminfo's 60 function keys.
@@ -5392,7 +5401,7 @@ xterm+88color2|xterm 88-color feature,
@@ -5402,7 +5411,7 @@ xterm+88color2|xterm 88-color feature,
# These variants of XFree86 3.9.16 xterm are built as a configure option.
xterm-256color|xterm with 256 colors,
@ -495,7 +495,7 @@
xterm-88color|xterm with 88 colors,
use=xterm+osc104, use=xterm+88color,
use=xterm-256color,
@@ -5670,9 +5679,25 @@ xterm-noapp|xterm with cursor keys in no
@@ -5680,9 +5689,25 @@ xterm-noapp|xterm with cursor keys in no
xterm-24|vs100|xterms|xterm terminal emulator 24-line (X Window System),
lines#24, use=xterm-old,
@ -522,7 +522,7 @@
# This entry assumes that xterm's handling of VT100 SI/SO is disabled by
# setting the vt100Graphics resource to false.
@@ -6101,7 +6126,7 @@ xterms-sun|small (80x24) xterm with sunF
@@ -6111,7 +6136,7 @@ xterms-sun|small (80x24) xterm with sunF
#### GNOME (VTE)
# this describes the alpha-version of GNOME terminal shipped with Redhat 6.0
@ -531,7 +531,7 @@
bce,
kdch1=^?, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
use=xterm-color,
@@ -6390,10 +6415,14 @@ mgt|Multi GNOME Terminal,
@@ -6400,10 +6425,14 @@ mgt|Multi GNOME Terminal,
#### KDE
# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
# or not is debatable).
@ -547,7 +547,7 @@
# Konsole 1.0.1 (2001/11/25)
# (formerly known as kvt)
#
@@ -6647,7 +6676,7 @@ mlterm3|multi lingual terminal emulator
@@ -6657,7 +6686,7 @@ mlterm3|multi lingual terminal emulator
mlterm2|multi lingual terminal emulator 2.x,
am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
colors#8, cols#80, it#8, lines#24, pairs#64,
@ -556,7 +556,7 @@
bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=\r,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
@@ -6723,7 +6752,7 @@ rxvt-basic|rxvt terminal base (X Window
@@ -6733,7 +6762,7 @@ rxvt-basic|rxvt terminal base (X Window
enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
ind=\n, is1=\E[?47l\E=\E[?1l,
@ -565,7 +565,7 @@
kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
@@ -6817,8 +6846,8 @@ rxvt-basic|rxvt terminal base (X Window
@@ -6827,8 +6856,8 @@ rxvt-basic|rxvt terminal base (X Window
# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
rxvt+pcfkeys|rxvt fragment for PC-style fkeys,
kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
@ -576,7 +576,7 @@
kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
@@ -6906,6 +6935,38 @@ rxvt-cygwin-native|rxvt terminal emulato
@@ -6916,6 +6945,38 @@ rxvt-cygwin-native|rxvt terminal emulato
\302x\263y\363z\362{\343|\330~\376,
use=rxvt-cygwin,
@ -615,7 +615,7 @@
# This variant is supposed to work with rxvt 2.7.7 when compiled with
# NO_BRIGHTCOLOR defined. rxvt needs more work...
rxvt-16color|rxvt with 16 colors like aixterm,
@@ -6970,7 +7031,7 @@ Eterm|Eterm-color|Eterm with xterm-style
@@ -6980,7 +7041,7 @@ Eterm|Eterm-color|Eterm with xterm-style
home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E>\E[?1l,
is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
@ -624,7 +624,7 @@
kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
rmam=\E[?7l, rmir=\E[4l, rmkx=, rmso=\E[27m, rmul=\E[24m,
@@ -8086,7 +8147,7 @@ pty|4bsd pseudo teletype,
@@ -8096,7 +8157,7 @@ pty|4bsd pseudo teletype,
# https://github.com/emacs-mirror/emacs/blob/master/lisp/term.el
#
# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
@ -633,7 +633,7 @@
am, mir, xenl,
cols#80, lines#24,
bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=\r,
@@ -8098,6 +8159,13 @@ eterm|GNU Emacs term.el terminal emulati
@@ -8108,6 +8169,13 @@ eterm|GNU Emacs term.el terminal emulati
il=\E[%p1%dL, il1=\E[L, ind=\n, rev=\E[7m, rmir=\E[4l,
rmso=\E[m, rmul=\E[m, sgr0=\E[m, smir=\E[4h, smso=\E[7m,
smul=\E[4m, use=xterm+alt47, use=ansi+cpr,
@ -647,7 +647,7 @@
# The codes supported by the term.el terminal emulation in GNU Emacs 22.2
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
@@ -8346,11 +8414,18 @@ screen.xterm-xfree86|screen.xterm-new|sc
@@ -8356,11 +8424,18 @@ screen.xterm-xfree86|screen.xterm-new|sc
E3@, use=screen+italics, use=screen+fkeys,
use=xterm+x11mouse, use=ecma+index, use=ansi+rep,
use=ecma+strikeout, use=xterm+pcfkeys,
@ -667,7 +667,7 @@
# xterm-r6 does not really support khome/kend unless it is propped up by
# the translations resource.
@@ -8441,7 +8516,7 @@ screen2|VT 100/ANSI X3.64 virtual termin
@@ -8451,7 +8526,7 @@ screen2|VT 100/ANSI X3.64 virtual termin
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
@ -676,7 +676,7 @@
kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
nel=\r\n, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
@@ -10418,7 +10493,7 @@ hp700-wy|HP 700/41 emulating Wyse30,
@@ -10428,7 +10503,7 @@ hp700-wy|HP 700/41 emulating Wyse30,
ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
@ -685,7 +685,7 @@
am, da, db, xhp,
cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
@@ -18072,7 +18147,7 @@ ibm3101|i3101|IBM 3101-10,
@@ -18082,7 +18157,7 @@ ibm3101|i3101|IBM 3101-10,
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
el=\EI, home=\EH, hts=\E0, ind=\n, kcub1=\ED, kcud1=\EB,
kcuf1=\EC, kcuu1=\EA, nel=\r\n, tbc=\EH,
@ -694,7 +694,7 @@
is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;
%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t
@@ -18330,7 +18405,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
@@ -18340,7 +18415,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
tbc=\E[3g, use=ecma+index,
# "Megapel" refers to the display adapter, which was used with the IBM RT
# aka IBM 6150.

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Apr 11 09:24:59 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Add ncurses patch 20230408
+ document limitations of tparm, and error-returns in curs_terminfo.3x
+ document limitations of tgoto, and error-returns in curs_termcap.3x
+ add xterm+focus to alacritty+common (patch by Christian Duerr).
+ add "-v" option to tput, to show warnings.
> improve checks for malformed terminfo data (report/analysis by
Jonathan Bar Or, Michael Pearse, Emanuele Cozzi).
+ make the parameter type/count checks in _nc_tiparm() more stringent
+ update tgoto() to account for _nc_tiparm() changes
+ add checks in tparm() and tiparm() for misuse of string parameters
+ add special cases in tput to handle extensions Cs/Ms parameters
+ ignore compiled-terminfo where the array sizes exceed the standard
- Skip gzipping manual pages as brp-compress does the job
-------------------------------------------------------------------
Tue Apr 4 07:24:54 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Add ncurses patch 20230401
+ modify experimental Windows driver to work with xterm mouse protocol.
+ remove DECCOLM+DECSCLM from foot (patch by Daniel Ekloef).
-------------------------------------------------------------------
Mon Mar 13 08:27:06 UTC 2023 - Dr. Werner Fink <werner@suse.de>

View File

@ -454,15 +454,8 @@ export CFLAGS_SHARED
unset include
fi
test -n "$TERM" || TERM=linux
mkdir gzip
cat > gzip/gzip <<-'EOF'
#!/bin/sh
exec /usr/bin/gzip -9 ${1+"$@"}
EOF
chmod 0755 gzip/gzip
INSTALL_PROGRAM='${INSTALL}'
INSTALL_OPT_S=""
PATH=$PWD/gzip:$PATH
export CC CFLAGS CXX CXXFLAGS CPPFLAGS TERM LDFLAGS INSTALL_PROGRAM INSTALL_OPT_S
#
# Detect 64bit architecures and be sure that we use an
@ -521,7 +514,6 @@ export CFLAGS_SHARED
--without-tests \
--with-shared \
--with-normal \
--with-manpage-format=gzip \
--with-manpage-renames=${PWD}/man/man_db.renames.in \
--with-manpage-aliases \
--with-ospeed=speed_t \