commit ncurses for openSUSE:Factory
Hello community, here is the log from the commit of package ncurses for openSUSE:Factory checked in at 2014-05-28 06:42:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ncurses (Old) and /work/SRC/openSUSE:Factory/.ncurses.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ncurses" Changes: -------- --- /work/SRC/openSUSE:Factory/ncurses/ncurses.changes 2014-05-22 20:38:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ncurses.new/ncurses.changes 2014-05-28 06:42:58.000000000 +0200 @@ -1,0 +2,53 @@ +Mon May 26 08:38:03 UTC 2014 - werner@suse.de + +- Add ncurses patch 20140524 + + fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE + environment variable. + + improve discussion of input-echoing in curs_getch.3x + + clarify discussion in curs_addch.3x of wrapping. + + modify parametrized.h to make fln non-padded. + + correct several entries which had termcap-style padding used in + terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD + + correct syntax for padding in some entries: dg211, h19 -TD + + correct ti924-8 which had confused padding versus octal escapes -TD + + correct padding in sbi entry -TD + + fix an old bug in the termcap emulation; "%i" was ignored in tparm() + because the parameters to be incremented were already on the internal + stack (report by Corinna Vinschen). + + modify tic's "-c" option to take into account the "-C" option to + activate additional checks which compare the results from running + tparm() on the terminfo expressions versus the translated termcap + expressions. + + modify tic to allow it to read from FIFOs (report by Matthieu Fronton, + cf: 20120324). + > patches by Nicolas Boulenguez: + + explicit dereferences to suppress some style warnings. + + when c_varargs_to_ada.c includes its header, use double quotes + instead of <>. + + samples/ncurses2-util.adb: removed unused with clause. The warning + was removed by an obsolete pragma. + + replaced Unreferenced pragmas with Warnings (Off). The latter, + available with older GNATs, needs no configure test. This also + replaces 3 untested Unreferenced pragmas. + + simplified To_C usage in trace handling. Using two parameters allows + some basic formatting, and avoids a warning about security with some + compiler flags. + + for generated Ada sources, replace many snippets with one pure + package. + + removed C_Chtype and its conversions. + + removed C_AttrType and its conversions. + + removed conversions between int, Item_Option_Set, Menu_Option_Set. + + removed int, Field_Option_Set, Item_Option_Set conversions. + + removed C_TraceType, Attribute_Option_Set conversions. + + replaced C.int with direct use of Eti_Error, now enumerated. As it + was used in a case statement, values were tested by the Ada compiler + to be consecutive anyway. + + src/Makefile.in: remove duplicate stanza + only consider using a project for shared libraries. +- Add tack patch 1.07.20130713 + * init.c: typo + * fun.c, scan.c: fix warnings from clang 3.3 --analyze + * init.c: add error check to setupterm call; ncurses does in fact + allow hardcopy and generic terminal descriptions (Debian #716377). + +------------------------------------------------------------------- Old: ---- tack-1.07-20120916.tar.bz2 New: ---- tack-1.07-20130713.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ncurses.spec ++++++ --- /var/tmp/diff_new_pack.nQEKJN/_old 2014-05-28 06:43:00.000000000 +0200 +++ /var/tmp/diff_new_pack.nQEKJN/_new 2014-05-28 06:43:00.000000000 +0200 @@ -44,7 +44,7 @@ Source2: handle.linux Source3: README.devel Source4: ncurses-rpmlintrc -Source5: tack-1.07-20120916.tar.bz2 +Source5: tack-1.07-20130713.tar.bz2 Source6: edit.sed Source7: baselibs.conf Patch0: ncurses-%{version}.dif ++++++ ncurses-5.9-patches.tar.bz2 ++++++ ++++ 30564 lines of diff (skipped) ++++++ tack-1.07-20120916.tar.bz2 -> tack-1.07-20130713.tar.bz2 ++++++ ++++ 7468 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/CHANGES new/tack-1.07-20130713/CHANGES --- old/tack-1.07-20120916/CHANGES 2012-09-17 01:47:41.000000000 +0200 +++ new/tack-1.07-20130713/CHANGES 2013-07-13 21:07:40.000000000 +0200 @@ -1,3 +1,39 @@ +2013-07-13 Thomas E. Dickey <tom@invisible-island.net> + + * init.c: typo + + * fun.c, scan.c: fix warnings from clang 3.3 --analyze + + * init.c: + add error check to setupterm call; ncurses does in fact allow hardcopy and + generic terminal descriptions (Debian #716377). + + * configure: regen + + * aclocal.m4, configure.in: + add/use CF_LIB_PREFIX, CF_MAKEFLAGS, CF_TOP_BUILDDIR and CF_WITH_LIB_PREFIX, + to fix unexpanded variables in Makefile.in + + * package/debian/changelog, tack.h, package/tack.spec: bump + + * configure: regen + + * aclocal.m4: resync with my-autoconf: + + add 3rd parameter to AC_DEFINE's to allow autoheader to run + (several macros) + + CF_MAKE_DOCS: apply workaround from xterm #288 for html output + + CF_INTEL_COMPILER, CF_XOPEN_SOURCE: $host_os needs AC_CANONICAL_HOST + + CF_ACVERSION_CHECK: change from byacc to work around long-ago + breakage in autoconf + + CF_GCC_VERSION: amend workarounds to accommodate Debian's + modification of version-message + + CF_CC_ENV_FLAGS: new macro + + remove unused macros + +2013-02-10 Thomas E. Dickey <tom@invisible-island.net> + + * config.sub, config.guess: update to 2013-02-04 + 2012-09-16 Thomas E. Dickey <tom@invisible-island.net> * configure, configure.in: @@ -195,7 +231,7 @@ * package/debian/changelog, package/tack.spec, tack.h: bump -2011-06-26 weaver +2011-06-26 Daniel.Weaver * ansi.c: minor bug-fix to show "GR" label in appropriate ANSI character-sets. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/configure.in new/tack-1.07-20130713/configure.in --- old/tack-1.07-20120916/configure.in 2012-09-17 01:44:45.000000000 +0200 +++ new/tack-1.07-20130713/configure.in 2013-07-13 19:23:39.000000000 +0200 @@ -28,7 +28,7 @@ dnl dnl Author: Thomas E. Dickey 2007-on dnl -dnl $Id: configure.in,v 1.24 2012/09/16 23:44:45 tom Exp $ +dnl $Id: configure.in,v 1.25 2013/07/13 17:23:39 tom Exp $ dnl This is a simple configuration-script for tack which makes it simpler to dnl build outside the ncurses tree (provided that ncurses was configured using dnl the --with-ticlib option). @@ -49,6 +49,7 @@ CF_PROG_INSTALL CF_PROG_LINT +CF_MAKEFLAGS CF_MAKE_TAGS dnl Things that we don't need (or must override) if we're not building ncurses @@ -82,12 +83,14 @@ NCURSES_TREE="#" AC_SUBST(NCURSES_TREE) +CF_TOP_BUILDDIR cf_cv_screen=ncurses cf_cv_libtype= AC_EXEEXT AC_OBJEXT AC_SYS_LONG_FILE_NAMES +CF_WITH_LIB_PREFIX CF_ANSI_CC_REQD CF_DISABLE_ECHO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/fun.c new/tack-1.07-20130713/fun.c --- old/tack-1.07-20120916/fun.c 2012-03-03 23:05:22.000000000 +0100 +++ new/tack-1.07-20130713/fun.c 2013-07-13 20:48:55.000000000 +0200 @@ -21,7 +21,7 @@ #include <tack.h> -MODULE_ID("$Id: fun.c,v 1.19 2012/03/03 22:05:22 tom Exp $") +MODULE_ID("$Id: fun.c,v 1.20 2013/07/13 18:48:55 tom Exp $") /* * Test the function keys on the terminal. The code for echo tests @@ -200,24 +200,32 @@ char *value, char *lab) { - unsigned j; + size_t j; alloc_strings(); if (value) { - j = (unsigned) strlen(value); - fkmax = fkmax > j ? fkmax : j; - /* do not permit duplicates */ - for (j = 0; (int) j < key_count; j++) { - if (!strcmp(fk_name[j], name)) { - return; + int found = 0; + if (key_count != 0) { + j = strlen(value); + fkmax = (fkmax > j) ? fkmax : j; + /* do not permit duplicates */ + for (j = 0; j < (size_t) key_count; j++) { + if (fk_name[j] == 0) { + break; + } else if (!strcmp(fk_name[j], name)) { + found = 1; + break; + } } } - fkval[key_count] = value; - fk_tested[key_count] = 0; - fk_label[key_count] = lab; - fk_name[key_count++] = name; - if (lab) { - got_labels = TRUE; + if (!found) { + fkval[key_count] = value; + fk_tested[key_count] = 0; + fk_label[key_count] = lab; + fk_name[key_count++] = name; + if (lab) { + got_labels = TRUE; + } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/init.c new/tack-1.07-20130713/init.c --- old/tack-1.07-20120916/init.c 2012-03-03 16:15:32.000000000 +0100 +++ new/tack-1.07-20130713/init.c 2013-07-13 20:59:47.000000000 +0200 @@ -23,7 +23,7 @@ #include <tack.h> #include <tic.h> -MODULE_ID("$Id: init.c,v 1.14 2012/03/03 15:15:32 tom Exp $") +MODULE_ID("$Id: init.c,v 1.16 2013/07/13 18:59:47 tom Exp $") #if NCURSES_VERSION_MAJOR >= 5 || NCURSES_VERSION_PATCH >= 981219 #define _nc_get_curterm(p) _nc_get_tty_mode(p) @@ -222,12 +222,16 @@ #endif /** - * This call will load the terminfo data base and set the cur-term - * variable. Only terminals that actually exist will get here so its - * OK to ignore errors. This is a good thing since ncurses does not - * permit (os) or (gn) to be set. + * This call loads the terminfo data base and sets the cur-term + * variable. Only terminals that actually exist get here so it is + * simpler to handle errors. */ - setupterm(tty_basename, 1, &status); + if (setupterm(tty_basename, 1, &status) != OK) { + fprintf(stderr, "The \"%s\" terminal is listed as %s\n", + tty_basename, + (status > 0) ? "hardcopy" : "generic"); + ExitProgram(EXIT_FAILURE); + } /** * Get the current terminal definitions. This must be done before diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/package/debian/changelog new/tack-1.07-20130713/package/debian/changelog --- old/tack-1.07-20120916/package/debian/changelog 2012-09-16 16:01:27.000000000 +0200 +++ new/tack-1.07-20130713/package/debian/changelog 2013-07-13 17:45:17.000000000 +0200 @@ -1,3 +1,9 @@ +tack (1.07-20130713) unstable; urgency=low + + * improvements for configure script + + -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 13 Jul 2013 11:44:55 -0400 + tack (1.07-20120916) unstable; urgency=low * improvements for configure script diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/package/tack.spec new/tack-1.07-20130713/package/tack.spec --- old/tack-1.07-20120916/package/tack.spec 2012-09-16 16:00:29.000000000 +0200 +++ new/tack-1.07-20130713/package/tack.spec 2013-07-13 17:45:05.000000000 +0200 @@ -1,8 +1,8 @@ Summary: tack - terminfo action checker %define AppProgram tack %define AppVersion 1.07 -%define AppRelease 20120916 -# $XTermId: tack.spec,v 1.7 2012/09/16 14:00:29 tom Exp $ +%define AppRelease 20130713 +# $XTermId: tack.spec,v 1.8 2013/07/13 15:45:05 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: %{AppRelease} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/scan.c new/tack-1.07-20130713/scan.c --- old/tack-1.07-20120916/scan.c 2012-03-03 17:12:35.000000000 +0100 +++ new/tack-1.07-20130713/scan.c 2013-07-13 20:43:00.000000000 +0200 @@ -22,7 +22,7 @@ #include <tack.h> -MODULE_ID("$Id: scan.c,v 1.11 2012/03/03 16:12:35 tom Exp $") +MODULE_ID("$Id: scan.c,v 1.12 2013/07/13 18:43:00 tom Exp $") size_t scan_max; /* length of longest scan code */ char **scan_up, **scan_down, **scan_name; @@ -146,9 +146,9 @@ scan_up = (char **) malloc(sizeof(char *) * MAX_SCAN); scan_down = (char **) malloc(sizeof(char *) * MAX_SCAN); scan_name = (char **) malloc(sizeof(char *) * MAX_SCAN); - scan_tested = (size_t *) malloc(sizeof(size_t *) * MAX_SCAN); - scan_length = (size_t *) malloc(sizeof(size_t *) * MAX_SCAN); - scan_value = (unsigned *) malloc(sizeof(unsigned *) * MAX_SCAN); + scan_tested = (size_t *) malloc(sizeof(size_t) * MAX_SCAN); + scan_length = (size_t *) malloc(sizeof(size_t) * MAX_SCAN); + scan_value = (unsigned *) malloc(sizeof(unsigned) * MAX_SCAN); scan_up[0] = scan_down[0] = scan_name[0] = (char *) 0; str = (char *) malloc((size_t) CHUNK); /* buffer space */ sl = str + CHUNK_LO; /* an upper limit */ @@ -176,7 +176,8 @@ scan_max = len; scan_value[i] = UChar(scan_name[i][0]); - if (scan_name[i][1]) /* multi-character name */ + if (scan_name[i][0] + && scan_name[i][1]) /* multi-character name */ for (j = 0; scan_special[j].name; j++) { if (!strcmp(scan_name[i], scan_special[j].name)) { scan_value[i] = scan_special[j].type; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/tack.1 new/tack-1.07-20130713/tack.1 --- old/tack-1.07-20120916/tack.1 2011-06-26 19:17:20.000000000 +0200 +++ new/tack-1.07-20130713/tack.1 2011-06-26 19:17:20.000000000 +0200 @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: tack.1,v 1.4 2011/06/26 17:17:20 weaver Exp $ +.\" $Id: tack.1,v 1.4 2011/06/26 17:17:20 Daniel.Weaver Exp $ .TH tack 1M "" .ds n 5 .ds d @TERMINFO@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/tack-1.07-20120916/tack.h new/tack-1.07-20130713/tack.h --- old/tack-1.07-20120916/tack.h 2012-09-16 17:16:00.000000000 +0200 +++ new/tack-1.07-20130713/tack.h 2013-07-13 17:45:17.000000000 +0200 @@ -19,7 +19,7 @@ ** Boston, MA 02110-1301, USA */ -/* $Id: tack.h,v 1.35 2012/09/16 15:16:00 Adrian.Bunk Exp $ */ +/* $Id: tack.h,v 1.36 2013/07/13 15:45:17 tom Exp $ */ #ifndef NCURSES_TACK_H_incl #define NCURSES_TACK_H_incl 1 @@ -28,7 +28,7 @@ #define MAJOR_VERSION 1 #define MINOR_VERSION 7 -#define PATCH_VERSION 20120916 +#define PATCH_VERSION 20130713 #ifdef HAVE_CONFIG_H #include <ncurses_cfg.h> -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de