From 5b70a13c5f2270f750db5352739db656406ff300c850925079f49dd568cb7e22 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 21 Sep 2017 07:13:39 +0000 Subject: [PATCH 1/6] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=329 --- ncurses.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncurses.changes b/ncurses.changes index a2f6c3a..cb14bc0 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Sep 18 15:03:22 UTC 2017 - werner@suse.de -- Add ncurses patch +20170916 +- Add ncurses patch 20170916 + minor fix to test/filter.c to avoid clearing the command in one case. + modify filter() to discard clr_eos if back_color_erase is set. From 9ed90d29c1c8cdc5a3df066fbcdda5627c2b65872fed5044a59c517420cbf64c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 25 Sep 2017 07:50:42 +0000 Subject: [PATCH 2/6] Update to 6.0-20170923 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=330 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses-6.0.dif | 46 ++++++++++++++++++------------------- ncurses.changes | 8 +++++++ 3 files changed, 33 insertions(+), 25 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 683243d..f760f96 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:f68a10599401b16daa2863dbea754de997b52728c63b7fa6882f00ea9bb6a406 -size 2934285 +oid sha256:bbec4f5647bec9bec437e8df979d08b02a07cccea18ebc097f6efcfb896eb804 +size 2940871 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index 84ceb80..6722eba 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -8,7 +8,7 @@ man/ncurses.3x | 4 + misc/gen-pkgconfig.in | 7 +- misc/ncurses-config.in | 2 - misc/terminfo.src | 140 ++++++++++++++++++++++++++++++++++--------- + misc/terminfo.src | 138 ++++++++++++++++++++++++++++++++++--------- ncurses/Makefile.in | 2 ncurses/curses.priv.h | 2 ncurses/run_cmd.sh | 11 +++ @@ -19,10 +19,10 @@ ncurses/tinfo/read_termcap.c | 21 ++++-- progs/Makefile.in | 4 - test/test.priv.h | 4 - - 20 files changed, 249 insertions(+), 82 deletions(-) + 20 files changed, 248 insertions(+), 81 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2017-09-11 09:50:30.547698975 +0000 ++++ aclocal.m4 2017-09-25 07:49:16.358294203 +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-09-11 09:50:30.551698903 +0000 ++++ configure 2017-09-25 07:49:16.362294129 +0000 @@ -5950,7 +5950,7 @@ case $cf_cv_system_name in 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-09-11 09:50:30.551698903 +0000 ++++ include/curses.h.in 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.551698903 +0000 ++++ include/termcap.h.in 2017-09-25 07:49:16.362294129 +0000 @@ -46,6 +46,8 @@ extern "C" { #endif /* __cplusplus */ @@ -311,7 +311,7 @@ #undef NCURSES_CONST --- include/tic.h -+++ include/tic.h 2017-09-11 09:50:30.551698903 +0000 ++++ include/tic.h 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.551698903 +0000 ++++ man/man_db.renames 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.551698903 +0000 ++++ man/ncurses.3x 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.551698903 +0000 ++++ misc/gen-pkgconfig.in 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.551698903 +0000 ++++ misc/ncurses-config.in 2017-09-25 07:49:16.362294129 +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-09-11 09:50:30.631697446 +0000 ++++ misc/terminfo.src 2017-09-25 07:49:16.366294055 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -795,7 +795,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-09-11 09:50:30.559698757 +0000 ++++ ncurses/Makefile.in 2017-09-25 07:49:16.366294055 +0000 @@ -219,7 +219,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ @@ -806,8 +806,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-09-11 09:50:30.559698757 +0000 -@@ -2145,6 +2145,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec ++++ ncurses/curses.priv.h 2017-09-25 07:49:16.366294055 +0000 +@@ -2146,6 +2146,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); @@ -817,7 +817,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-09-11 09:50:30.559698757 +0000 ++++ ncurses/run_cmd.sh 2017-09-25 07:49:16.366294055 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -831,7 +831,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2017-09-11 09:50:30.559698757 +0000 ++++ ncurses/tinfo/MKfallback.sh 2017-09-25 07:49:16.366294055 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -864,7 +864,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2017-09-11 09:50:30.559698757 +0000 ++++ ncurses/tinfo/access.c 2017-09-25 07:49:16.366294055 +0000 @@ -35,6 +35,9 @@ #include @@ -907,7 +907,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2017-09-11 09:50:30.559698757 +0000 ++++ ncurses/tinfo/lib_setup.c 2017-09-25 07:49:16.370293980 +0000 @@ -599,6 +599,9 @@ _nc_locale_breaks_acs(TERMINAL *termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -919,7 +919,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2017-09-11 09:50:30.559698757 +0000 ++++ ncurses/tinfo/read_entry.c 2017-09-25 07:49:16.370293980 +0000 @@ -431,6 +431,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -937,7 +937,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2017-09-11 09:50:30.559698757 +0000 ++++ ncurses/tinfo/read_termcap.c 2017-09-25 07:49:16.370293980 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -984,7 +984,7 @@ } if (copied != 0) --- progs/Makefile.in -+++ progs/Makefile.in 2017-09-11 09:50:30.559698757 +0000 ++++ progs/Makefile.in 2017-09-25 07:49:16.370293980 +0000 @@ -100,7 +100,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS) CFLAGS_NORMAL = $(CCFLAGS) CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE @@ -1004,7 +1004,7 @@ LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@) --- test/test.priv.h -+++ test/test.priv.h 2017-09-11 09:50:30.559698757 +0000 ++++ test/test.priv.h 2017-09-25 07:49:16.370293980 +0000 @@ -875,12 +875,12 @@ extern char *strnames[], *strcodes[], *s #endif diff --git a/ncurses.changes b/ncurses.changes index cb14bc0..7b2f471 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 25 07:48:39 UTC 2017 - werner@suse.de + +- Add ncurses patch 20170923 + + modify menu for test/ncurses.c to fit on 24-line screen. + + build-fix for configure --with-caps=uwin + + add options to test_arrays.c, for selecting termcap vs terminfo, etc. + ------------------------------------------------------------------- Mon Sep 18 15:03:22 UTC 2017 - werner@suse.de From 692b1e6828c3cbeef5a95edc310da43423d69297fc6f75d21d845562a6af1cb1 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 4 Oct 2017 07:11:34 +0000 Subject: [PATCH 3/6] Add ncurses patch 20170930 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=331 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses-6.0.dif | 42 ++++++++++++++++++------------------- ncurses.changes | 20 ++++++++++++++++++ 3 files changed, 43 insertions(+), 23 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index f760f96..a41a67f 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:bbec4f5647bec9bec437e8df979d08b02a07cccea18ebc097f6efcfb896eb804 -size 2940871 +oid sha256:64783bda9964560c6b73fdd7c33fa55ba6f1540b3194f8bef5a12f148eb21193 +size 2954078 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index 6722eba..cc44a62 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -22,7 +22,7 @@ 20 files changed, 248 insertions(+), 81 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2017-09-25 07:49:16.358294203 +0000 ++++ aclocal.m4 2017-10-04 07:09:37.634921083 +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-09-25 07:49:16.362294129 +0000 ++++ configure 2017-10-04 07:09:37.638921009 +0000 @@ -5950,7 +5950,7 @@ case $cf_cv_system_name in 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-09-25 07:49:16.362294129 +0000 ++++ include/curses.h.in 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.362294129 +0000 ++++ include/termcap.h.in 2017-10-04 07:09:37.638921009 +0000 @@ -46,6 +46,8 @@ extern "C" { #endif /* __cplusplus */ @@ -311,7 +311,7 @@ #undef NCURSES_CONST --- include/tic.h -+++ include/tic.h 2017-09-25 07:49:16.362294129 +0000 ++++ include/tic.h 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.362294129 +0000 ++++ man/man_db.renames 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.362294129 +0000 ++++ man/ncurses.3x 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.362294129 +0000 ++++ misc/gen-pkgconfig.in 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.362294129 +0000 ++++ misc/ncurses-config.in 2017-10-04 07:09:37.638921009 +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-09-25 07:49:16.366294055 +0000 ++++ misc/terminfo.src 2017-10-04 07:09:37.646920860 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -795,7 +795,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-09-25 07:49:16.366294055 +0000 ++++ ncurses/Makefile.in 2017-10-04 07:09:37.646920860 +0000 @@ -219,7 +219,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ @@ -806,7 +806,7 @@ ./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-09-25 07:49:16.366294055 +0000 ++++ ncurses/curses.priv.h 2017-10-04 07:09:37.646920860 +0000 @@ -2146,6 +2146,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); @@ -817,7 +817,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-09-25 07:49:16.366294055 +0000 ++++ ncurses/run_cmd.sh 2017-10-04 07:09:37.646920860 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -831,7 +831,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2017-09-25 07:49:16.366294055 +0000 ++++ ncurses/tinfo/MKfallback.sh 2017-10-04 07:09:37.646920860 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -864,7 +864,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2017-09-25 07:49:16.366294055 +0000 ++++ ncurses/tinfo/access.c 2017-10-04 07:09:37.646920860 +0000 @@ -35,6 +35,9 @@ #include @@ -907,7 +907,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2017-09-25 07:49:16.370293980 +0000 ++++ ncurses/tinfo/lib_setup.c 2017-10-04 07:09:37.646920860 +0000 @@ -599,6 +599,9 @@ _nc_locale_breaks_acs(TERMINAL *termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -919,7 +919,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2017-09-25 07:49:16.370293980 +0000 ++++ ncurses/tinfo/read_entry.c 2017-10-04 07:09:37.646920860 +0000 @@ -431,6 +431,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -937,7 +937,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2017-09-25 07:49:16.370293980 +0000 ++++ ncurses/tinfo/read_termcap.c 2017-10-04 07:09:37.646920860 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -984,7 +984,7 @@ } if (copied != 0) --- progs/Makefile.in -+++ progs/Makefile.in 2017-09-25 07:49:16.370293980 +0000 ++++ progs/Makefile.in 2017-10-04 07:09:37.646920860 +0000 @@ -100,7 +100,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS) CFLAGS_NORMAL = $(CCFLAGS) CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE @@ -1004,8 +1004,8 @@ LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@) --- test/test.priv.h -+++ test/test.priv.h 2017-09-25 07:49:16.370293980 +0000 -@@ -875,12 +875,12 @@ extern char *strnames[], *strcodes[], *s ++++ test/test.priv.h 2017-10-04 07:09:37.646920860 +0000 +@@ -883,12 +883,12 @@ extern char *strnames[], *strcodes[], *s #endif /* out-of-band values for representing absent capabilities */ diff --git a/ncurses.changes b/ncurses.changes index 7b2f471..007f38a 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Oct 4 07:08:23 UTC 2017 - werner@suse.de + +- Add ncurses patch 20170930 + + fix a symbol conflict that made ncurses.c C/c menu not work with + Solaris xpg4 curses. + + add refresh() call to dots_mvcur.c, needed to use mvcur() with + Solaris xpg4 curses after calling newterm(). + + minor fixes for configure script from work on ncurses-examples and + tin. + + improve animation in test/xmas.c by adding a time-delay in blinkit(). + + modify several test programs to reflect that ncurses honors existing + signal handlers in initscr(), while other implementations do not. + + modify bs.c to make it easier to quit. + + change ncurses-examples to use attr_t vs chtype to follow X/Open + documentation more closely since Solaris xpg4-curses uses different + values for WA_xxx vs A_xxx that rely on attr_t being an unsigned + short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the + two sets. + ------------------------------------------------------------------- Mon Sep 25 07:48:39 UTC 2017 - werner@suse.de From 76383a5adb128455165c10bb703c1330f71d7d2913303dfdacded27d1eaed9c0 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 9 Oct 2017 11:01:58 +0000 Subject: [PATCH 4/6] Add ncurses patch 6.0-20171007 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=332 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses.changes | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index a41a67f..ff131fe 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:64783bda9964560c6b73fdd7c33fa55ba6f1540b3194f8bef5a12f148eb21193 -size 2954078 +oid sha256:1cb9dff5fc870afb0cbf2fe64c236619b80bcbd2e011fc00040f58fb15fdc45a +size 2980397 diff --git a/ncurses.changes b/ncurses.changes index 007f38a..7fae6a7 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Oct 9 10:51:49 UTC 2017 - werner@suse.de + +- Add ncurses patch 20171007 + + modify "-T" option of clear and tput to call use_tioctl() to obtain + the operating system's notion of the screensize if possible. + + review/repair some exit-codes for tput, making usage-message exit + with 2 rather than 1, and a failure to open terminal 4+errno. + + amend check in tput, tabs and clear to allow those to use the + database-only features in cron if a -T option gives a suitable + terminal name (report by Lauri Tirkkonen). + + correct an ifdef in test/ncurses.c for systems with soft-keys but + not slk_color(). + + regenerate man-html documentation. + ------------------------------------------------------------------- Wed Oct 4 07:08:23 UTC 2017 - werner@suse.de From 437fca0abf7c7c4eb7ce3e1164b27704252e1d21721aba4954b756d2f4028be1 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 16 Oct 2017 10:02:07 +0000 Subject: [PATCH 5/6] Update to 6.0-20171014 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=333 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses-6.0.dif | 42 ++++++++++++++++++------------------- ncurses.changes | 20 ++++++++++++++++++ 3 files changed, 43 insertions(+), 23 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index ff131fe..979ac8f 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:1cb9dff5fc870afb0cbf2fe64c236619b80bcbd2e011fc00040f58fb15fdc45a -size 2980397 +oid sha256:b178bf68592b3d20c7adcda7bdfc081e7febd81c29aadcfa13352f00e0d6edc7 +size 2993563 diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif index cc44a62..8f317bf 100644 --- a/ncurses-6.0.dif +++ b/ncurses-6.0.dif @@ -22,7 +22,7 @@ 20 files changed, 248 insertions(+), 81 deletions(-) --- aclocal.m4 -+++ aclocal.m4 2017-10-04 07:09:37.634921083 +0000 ++++ aclocal.m4 2017-10-16 10:00:42.326486502 +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-10-04 07:09:37.638921009 +0000 ++++ configure 2017-10-16 10:00:42.330486427 +0000 @@ -5950,7 +5950,7 @@ case $cf_cv_system_name in 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-10-04 07:09:37.638921009 +0000 ++++ include/curses.h.in 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.638921009 +0000 ++++ include/termcap.h.in 2017-10-16 10:00:42.330486427 +0000 @@ -46,6 +46,8 @@ extern "C" { #endif /* __cplusplus */ @@ -311,7 +311,7 @@ #undef NCURSES_CONST --- include/tic.h -+++ include/tic.h 2017-10-04 07:09:37.638921009 +0000 ++++ include/tic.h 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.638921009 +0000 ++++ man/man_db.renames 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.638921009 +0000 ++++ man/ncurses.3x 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.638921009 +0000 ++++ misc/gen-pkgconfig.in 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.638921009 +0000 ++++ misc/ncurses-config.in 2017-10-16 10:00:42.330486427 +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-10-04 07:09:37.646920860 +0000 ++++ misc/terminfo.src 2017-10-16 10:00:42.334486353 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -795,7 +795,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-10-04 07:09:37.646920860 +0000 ++++ ncurses/Makefile.in 2017-10-16 10:00:42.334486353 +0000 @@ -219,7 +219,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ @@ -806,7 +806,7 @@ ./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-10-04 07:09:37.646920860 +0000 ++++ ncurses/curses.priv.h 2017-10-16 10:00:42.334486353 +0000 @@ -2146,6 +2146,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); @@ -817,7 +817,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-10-04 07:09:37.646920860 +0000 ++++ ncurses/run_cmd.sh 2017-10-16 10:00:42.334486353 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + @@ -831,7 +831,7 @@ + +exec ${1+"$@"} --- ncurses/tinfo/MKfallback.sh -+++ ncurses/tinfo/MKfallback.sh 2017-10-04 07:09:37.646920860 +0000 ++++ ncurses/tinfo/MKfallback.sh 2017-10-16 10:00:42.334486353 +0000 @@ -68,6 +68,12 @@ else tmp_info= fi @@ -864,7 +864,7 @@ done --- ncurses/tinfo/access.c -+++ ncurses/tinfo/access.c 2017-10-04 07:09:37.646920860 +0000 ++++ ncurses/tinfo/access.c 2017-10-16 10:00:42.334486353 +0000 @@ -35,6 +35,9 @@ #include @@ -907,7 +907,7 @@ _nc_access(const char *path, int mode) { --- ncurses/tinfo/lib_setup.c -+++ ncurses/tinfo/lib_setup.c 2017-10-04 07:09:37.646920860 +0000 ++++ ncurses/tinfo/lib_setup.c 2017-10-16 10:00:42.334486353 +0000 @@ -599,6 +599,9 @@ _nc_locale_breaks_acs(TERMINAL *termp) } else if ((value = tigetnum("U8")) >= 0) { result = value; /* use extension feature */ @@ -919,7 +919,7 @@ result = 1; /* always broken */ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c -+++ ncurses/tinfo/read_entry.c 2017-10-04 07:09:37.646920860 +0000 ++++ ncurses/tinfo/read_entry.c 2017-10-16 10:00:42.334486353 +0000 @@ -431,6 +431,7 @@ _nc_read_file_entry(const char *const fi FILE *fp = 0; int code; @@ -937,7 +937,7 @@ return (code); } --- ncurses/tinfo/read_termcap.c -+++ ncurses/tinfo/read_termcap.c 2017-10-04 07:09:37.646920860 +0000 ++++ ncurses/tinfo/read_termcap.c 2017-10-16 10:00:42.334486353 +0000 @@ -322,14 +322,18 @@ _nc_getent( */ if (fd >= 0) { @@ -984,7 +984,7 @@ } if (copied != 0) --- progs/Makefile.in -+++ progs/Makefile.in 2017-10-04 07:09:37.646920860 +0000 ++++ progs/Makefile.in 2017-10-16 10:00:42.334486353 +0000 @@ -100,7 +100,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS) CFLAGS_NORMAL = $(CCFLAGS) CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE @@ -1004,8 +1004,8 @@ LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@) --- test/test.priv.h -+++ test/test.priv.h 2017-10-04 07:09:37.646920860 +0000 -@@ -883,12 +883,12 @@ extern char *strnames[], *strcodes[], *s ++++ test/test.priv.h 2017-10-16 10:00:42.334486353 +0000 +@@ -891,12 +891,12 @@ extern char *strnames[], *strcodes[], *s #endif /* out-of-band values for representing absent capabilities */ diff --git a/ncurses.changes b/ncurses.changes index 7fae6a7..7a5cdc0 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Oct 16 09:59:53 UTC 2017 - werner@suse.de + +- Add ncurses patch 20171014 + + minor cleanup to test/view.c: + + eliminate "-n" option by simply reading the whole file. + + implement page up/down commands. + + add check in tput for init/reset operands to ensure those use a + terminal. + + improve manual pages which discuss chtype, cchar_t types and the + attribute values which can be stored in those types. + + correct array-index when parsing "-T" command-line option in tabs + program. + + modify demo_new_pair.c to pass extended pairs to setcchar(). + + add test/dots_xcurses.c to illustrate a different approach used for + extended colors which can be contrasted with dots_curses.c. + + add a check in tic to note when a description uses non-mandatory + delays without xon_xoff. This is not an error, but some descriptions + for a terminal emulator may use the combination incorrectly. + ------------------------------------------------------------------- Mon Oct 9 10:51:49 UTC 2017 - werner@suse.de From ce469d0c7641c5cd5cd038afe87f7a5bb9ee628c14759ffad9e827991df5fce8 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Sun, 22 Oct 2017 11:42:23 +0000 Subject: [PATCH 6/6] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=334 --- ncurses-6.0-patches.tar.bz2 | 4 ++-- ncurses.changes | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2 index 979ac8f..914af0a 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:b178bf68592b3d20c7adcda7bdfc081e7febd81c29aadcfa13352f00e0d6edc7 -size 2993563 +oid sha256:8351dfe461df7fffee174428a9c45153202c7f26f328b7c72ee52b4a5de79fdb +size 3000225 diff --git a/ncurses.changes b/ncurses.changes index 7a5cdc0..8ee54b2 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Oct 22 11:41:09 UTC 2017 - werner@suse.de + +- Add ncurses patch 20171021 + + modify test/view.c to expand tabs using the ncurses library rather + than in the test-program. + + remove very old SIGWINCH example in test/view.c, just use KEY_RESIZE. + + add -T, -e, -f -m options to "dots" test-programs. + + fix a few typos in usage-messages for test-programs. + ------------------------------------------------------------------- Mon Oct 16 09:59:53 UTC 2017 - werner@suse.de