From aa237d87292f92ec6df525094e57863bfb10de82ae82d8967b8389996818ccb2 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 14 Aug 2017 08:42:46 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=323 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses-6.0.dif | 46 ++++++++++++++++++------------------- ncurses.changes | 36 +++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 25 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 9d6571c..45d7f5a 100644 --- a/ncurses-6.0-patches.tar.bz2 +++ b/ncurses-6.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:62578e06a2297bfe5a142964a4a10349c83fbc384734c72fc2b1ac5583bb55fd -size 2711478 +oid sha256:238b9088bf081def91b0343ac3af1b0d952aec53fb7140b051893f89d8faa66d +size 2795469 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index e9cd32f..15dfba5 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -22,7 +22,7 @@ 20 files changed, 249 insertions(+), 82 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2017-08-01 08:37:09.362094788 +0000 ++++ aclocal.m4 2017-08-14 08:26:48.310624291 +0000 @@ -580,7 +580,7 @@ AC_MSG_CHECKING([for size of bool]) AC_CACHE_VAL(cf_cv_type_of_bool,[ rm -f cf_test.out @@ -151,7 +151,7 @@ esac done --- configure -+++ configure 2017-08-01 08:37:09.362094788 +0000 ++++ configure 2017-08-14 08:26:48.314624217 +0000 @@ -5950,7 +5950,7 @@ case $cf_cv_system_name in fi ;; @@ -279,7 +279,7 @@ ;; esac done -@@ -22771,6 +22775,7 @@ if test "$with_termlib" != no ; then +@@ -22773,6 +22777,7 @@ if test "$with_termlib" != no ; then TINFO_LDFLAGS="-L${LIB_DIR}" SHLIB_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}" fi @@ -288,7 +288,7 @@ # the next lines are needed for linking libtic over libncurses TINFO_NAME=${LIB_NAME} --- include/curses.h.in -+++ include/curses.h.in 2017-08-01 08:37:09.366094714 +0000 ++++ include/curses.h.in 2017-08-14 08:26:48.314624217 +0000 @@ -177,6 +177,9 @@ typedef @cf_cv_typeof_chtype@ chtype; typedef @cf_cv_typeof_mmask_t@ mmask_t; #endif @@ -300,7 +300,7 @@ * We need FILE, etc. Include this before checking any feature symbols. */ --- include/termcap.h.in -+++ include/termcap.h.in 2017-08-01 08:37:09.366094714 +0000 ++++ include/termcap.h.in 2017-08-14 08:26:48.314624217 +0000 @@ -46,6 +46,8 @@ extern "C" { #endif /* __cplusplus */ @@ -311,7 +311,7 @@ #undef NCURSES_CONST --- include/tic.h -+++ include/tic.h 2017-08-01 08:37:09.366094714 +0000 ++++ include/tic.h 2017-08-14 08:26:48.314624217 +0000 @@ -207,12 +207,12 @@ struct alias */ @@ -328,7 +328,7 @@ #define CANCELLED_STRING (char *)(-1) --- man/man_db.renames -+++ man/man_db.renames 2017-08-01 08:37:09.366094714 +0000 ++++ man/man_db.renames 2017-08-14 08:26:48.314624217 +0000 @@ -163,6 +163,7 @@ term.7 term.7 term_variables.3x terminfo_variables.3ncurses terminfo.5 terminfo.5 @@ -346,7 +346,7 @@ # getty.1 getty.8 --- man/ncurses.3x -+++ man/ncurses.3x 2017-08-01 08:37:09.366094714 +0000 ++++ man/ncurses.3x 2017-08-14 08:26:48.318624143 +0000 @@ -137,6 +137,10 @@ after the shell environment variable \fB [See \fBterminfo\fR(\*n) for further details.] .SS Datatypes @@ -359,7 +359,7 @@ called \fIwindows\fR, which can be thought of as two-dimensional arrays of characters representing all or part of a CRT screen. --- misc/gen-pkgconfig.in -+++ misc/gen-pkgconfig.in 2017-08-01 08:37:09.366094714 +0000 ++++ misc/gen-pkgconfig.in 2017-08-14 08:26:48.318624143 +0000 @@ -76,7 +76,7 @@ if test "$includedir" != "/usr/include" fi @@ -399,7 +399,7 @@ echo "** creating ${name}${suffix}.pc" --- misc/ncurses-config.in -+++ misc/ncurses-config.in 2017-08-01 08:37:09.366094714 +0000 ++++ misc/ncurses-config.in 2017-08-14 08:26:48.318624143 +0000 @@ -100,7 +100,7 @@ while test $# -gt 0; do # compile/link --cflags) @@ -410,7 +410,7 @@ fi if test "${includedir}" != /usr/include ; then --- misc/terminfo.src -+++ misc/terminfo.src 2017-08-01 08:37:09.370094642 +0000 ++++ misc/terminfo.src 2017-08-14 08:26:48.390622807 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -804,7 +804,7 @@ s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154, ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, --- ncurses/Makefile.in -+++ ncurses/Makefile.in 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/Makefile.in 2017-08-14 08:26:48.318624143 +0000 @@ -219,7 +219,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ @@ -815,8 +815,8 @@ ./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h $(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@ --- ncurses/curses.priv.h -+++ ncurses/curses.priv.h 2017-08-01 08:37:09.370094642 +0000 -@@ -2130,6 +2130,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec ++++ ncurses/curses.priv.h 2017-08-14 08:26:48.322624069 +0000 +@@ -2145,6 +2145,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *); extern NCURSES_EXPORT(char *) _nc_trace_mmask_t (SCREEN *, mmask_t); extern NCURSES_EXPORT(int) _nc_access (const char *, int); @@ -826,7 +826,7 @@ extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *); extern NCURSES_EXPORT(int) _nc_getenv_num (const char *); --- ncurses/run_cmd.sh -+++ ncurses/run_cmd.sh 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/run_cmd.sh 2017-08-14 08:26:48.322624069 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -840,7 +840,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/tinfo/MKfallback.sh 2017-08-14 08:26:48.322624069 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -873,7 +873,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/tinfo/access.c 2017-08-14 08:26:48.322624069 +0000 @@ -35,6 +35,9 @@ #include @@ -916,7 +916,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/tinfo/lib_setup.c 2017-08-14 08:26:48.322624069 +0000 @@ -599,6 +599,9 @@ _nc_locale_breaks_acs(TERMINAL *termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -928,7 +928,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/tinfo/read_entry.c 2017-08-14 08:26:48.322624069 +0000 @@ -431,6 +431,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -946,7 +946,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2017-08-01 08:37:09.370094642 +0000 ++++ ncurses/tinfo/read_termcap.c 2017-08-14 08:26:48.322624069 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -993,7 +993,7 @@ } if (copied != 0) --- progs/Makefile.in -+++ progs/Makefile.in 2017-08-01 08:37:41.133514443 +0000 ++++ progs/Makefile.in 2017-08-14 08:26:48.322624069 +0000 @@ -100,7 +100,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS) CFLAGS_NORMAL = $(CCFLAGS) CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE @@ -1013,8 +1013,8 @@ LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@) --- test/test.priv.h -+++ test/test.priv.h 2017-08-01 08:37:09.370094642 +0000 -@@ -805,12 +805,12 @@ extern char *strnames[], *strcodes[], *s ++++ test/test.priv.h 2017-08-14 08:26:48.322624069 +0000 +@@ -813,12 +813,12 @@ extern char *strnames[], *strcodes[], *s #endif /* out-of-band values for representing absent capabilities */ diff --git a/ncurses.changes b/ncurses.changes index 8ac1f81..f8e3c34 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon Aug 14 08:25:49 UTC 2017 - werner@suse.de + +- Add ncurses patch 20170812 + + improve description of -R option in infocmp manual page (report by + Stephane Chazelas). + + add reset_color_pairs() function. + + add user_caps.5 manual page to document the terminfo extensions used + by ncurses. + + improve build scripts, using SIGQUIT vs SIGTRAP; add other configure + script fixes from work on xterm, lynx and tack. + + modify install-rule for ncurses-examples to put the data files in + /usr/share/ncurses-examples + + improve tracemunch, by changing address-parameters of add_wch(), + color_content() and pair_content() to dummy parameters. + + minor optimization to _nc_change_pair, to return quickly when the + current screen is marked for clearing. + + in-progress changes to improve performance of test/picsmap.c for + loading image files. + + modify allocation for SCREEN's color-pair table to start small, grow + on demand up to the existing limit. + + add "RGB" extension capability for direct-color support, use this to + improve color_content(). + + improve picsmap test-program: + + if no palette file is needed, attempt to load one based on $TERM, + checking first in the current directory, then by adding ".dat" + suffix, and finally in the data-directory, e.g., + /usr/share/ncurses-examples + + add "-l" option for logging + + add "-d" option for debugging + + add "-s" option for stepping automatically through list of images, + with time delay. + + use tsearch to improve time for loading color table for images. + + update config.guess, config.sub from + http://git.savannah.gnu.org/cgit/config.git + ------------------------------------------------------------------- Mon Jul 31 12:14:36 UTC 2017 - werner@suse.de