[packages/ncurses] Up to 20250201, just use xterm+pcfkeys which redefines home/end
arekm
arekm at pld-linux.org
Sat Feb 8 12:15:35 CET 2025
commit 17cdb4333bfff8e011bc98c763fe5bcf502626d8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Feb 8 11:16:30 2025 +0100
Up to 20250201, just use xterm+pcfkeys which redefines home/end
ncurses-xterm-home-end.patch | 28 +++++++++++-----------------
ncurses.spec | 12 +++++++++---
2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/ncurses.spec b/ncurses.spec
index a81d040..d5cb4f6 100644
--- a/ncurses.spec
+++ b/ncurses.spec
@@ -9,7 +9,7 @@
%endif
%define basever 6.5
-%define patchlevel 20240817
+%define patchlevel 20250201
Summary: curses terminal control library
Summary(de.UTF-8): curses-Terminal-Control-Library
Summary(es.UTF-8): Biblioteca de control de terminal curses
@@ -25,7 +25,7 @@ Release: 1
License: distributable
Group: Libraries
Source0: https://invisible-island.net/archives/ncurses/current/%{name}-%{basever}-%{patchlevel}.tgz
-# Source0-md5: 4659115a83ebc721868e424707f766d2
+# Source0-md5: b55f0c371d0f0577c80c745cdbc40498
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
Patch100: %{name}-xterm-home-end.patch
@@ -307,10 +307,11 @@ gcc_target=$(gcc -dumpmachine)
gcc_version=%{cc_version}
CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
+%define configuredir ..
for t in narrowc widec; do
install -d obj-$t
cd obj-$t
-../%configure \
+%configure \
--with-install-prefix=$RPM_BUILD_ROOT \
--with-pkg-config-libdir=%{_pkgconfigdir} \
--with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
@@ -533,7 +534,9 @@ rm -rf $RPM_BUILD_ROOT
%{_pkgconfigdir}/ncursesw.pc
%{_mandir}/man1/ncurses6-config.1*
%{_mandir}/man1/ncursesw6-config.1*
+%{_mandir}/man3/A_COLOR.3x*
%{_mandir}/man3/BC.3x*
+%{_mandir}/man3/CCHARW_MAX.3x*
%{_mandir}/man3/COLORS.3x*
%{_mandir}/man3/COLOR_BLACK.3x*
%{_mandir}/man3/COLOR_BLUE.3x*
@@ -550,6 +553,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/ESCDELAY.3x*
%{_mandir}/man3/FALSE.3x*
%{_mandir}/man3/LINES.3x*
+%{_mandir}/man3/MEVENT.3x
%{_mandir}/man3/NCURSES_SCREEN_CB.3x*
%{_mandir}/man3/NCURSES_WINDOW_CB.3x*
%{_mandir}/man3/OK.3x*
@@ -644,6 +648,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/longname_sp.3x*
%{_mandir}/man3/mcprint*.3x*
%{_mandir}/man3/meta.3x*
+%{_mandir}/man3/mmask_t.3x*
%{_mandir}/man3/mouse*.3x*
%{_mandir}/man3/move.3x*
%{_mandir}/man3/mv*.3x*
@@ -688,6 +693,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/setcchar.3x*
%{_mandir}/man3/setscrreg.3x*
%{_mandir}/man3/setsyx.3x*
+%{_mandir}/man3/settchar.3x*
%{_mandir}/man3/setterm.3x*
%{_mandir}/man3/setupterm.3x*
%{_mandir}/man3/slk_*.3x*
diff --git a/ncurses-xterm-home-end.patch b/ncurses-xterm-home-end.patch
index 119744b..1d7a9f0 100644
--- a/ncurses-xterm-home-end.patch
+++ b/ncurses-xterm-home-end.patch
@@ -1,17 +1,11 @@
---- ncurses-6.4-20240330/misc/terminfo.src~ 2024-03-09 21:01:40.000000000 +0100
-+++ ncurses-6.4-20240330/misc/terminfo.src 2024-04-02 15:45:00.259957556 +0200
-@@ -4818,12 +4818,12 @@ xterm-r6|xterm X11R6 version,
- dch1=\E[P, ed=\E[J, el=\E[K, enacs=\E)0, home=\E[H, ht=^I,
- hts=\EH, ind=\n,
- is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8,
-- kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\E[11~,
-+ kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF, kf1=\E[11~,
- 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~,
- kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
-- kf8=\E[19~, kf9=\E[20~, kmous=\E[M, meml=\El, memu=\Em,
-+ kf8=\E[19~, kf9=\E[20~, khome=\EOH, kmous=\E[M, meml=\El, memu=\Em,
- rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmkx=\E[?1l\E>,
- rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8,
- sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, tbc=\E[3g,
+--- ncurses-6.5-20250201/misc/terminfo.src~ 2025-01-04 22:02:11.000000000 +0100
++++ ncurses-6.5-20250201/misc/terminfo.src 2025-02-08 10:47:29.309930740 +0100
+@@ -4895,7 +4895,7 @@ xterm-r6|xterm X11R6 version,
+ use=ansi+erase, use=ansi+idl, use=ansi+local,
+ use=ansi+sgrso, use=ansi+sgrul, use=vt220+vtedit,
+ use=xterm+kbs, use=vt100+enq, use=vt220+sfkeys,
+- use=xterm+r5+fkeys,
++ use=xterm+pcfkeys,
+
+ xterm-old|antique xterm version,
+ use=xterm-r6,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ncurses.git/commitdiff/17cdb4333bfff8e011bc98c763fe5bcf502626d8
More information about the pld-cvs-commit
mailing list