From dd55e00332cd327b22d2c289fd92638d26876998 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 12 Jul 2011 13:50:07 +0000 Subject: Update to 1.1.20110707: 2011/07/07 + modify util.c to work better with old versions of ncurses: + suppress use of wchgat() before fix in 20060715 which is needed for simple shadow manipulation used here in 2011/06/30 (report by xDog Walker). + add a null-pointer check in dlg_print_scrolled() + fix a regression in dlg_getc() introduced by changes to intercept F1 for help-popup (report by xDog Walker). 2011/06/30 + correct license statement for prgbox.c (Debian #632198). + correct layout when "--colors" is used, by discounting characters in the escape sequences from the column counts (report by xDog Walker). + modify dlg_checklist() so that only one item in the list can initially be selected (report by xDog Walker). + add/use macro dlg_enter_buttoncode() to improve implementation of "--nook" option (report by xDog Walker). + add option "--no-nl-expand" to suppress the conversion of "\n" strings into newlines (request by xDog Walker). + modify LIB_CREATE symbol in makefile.in to include the library dependencies such as ncurses. This is needed when dynamically loading the library (report/analysis by xDog Walker). + modify dlg_exit_label() to suppress the Cancel button, for consistency. + modify dlg_exit_label() to honor the --nook option, except when there is no other button, e.g., the help-button. + modify dlg_exit_buttoncode() so that it returns the proper code for help-button (report by xDog Walker). + correct loop limit when processing "--column-separator" (report by xDog Walker). + modify handling of "--version" and "--help" to ensure that they are processed, and exit before widgets. Separate "--print-version" from "--version", allowing its output to be interspersed with widget output (report by xDog Walker). + correct a few places where "--version" or "--help" options went always to stdout rather than allowing redirection with the "--stderr" option (report by xDog Walker). + improve repainting after erasing a widget and its shadow. + add "--hline" and "--hfile" options for compatibility with FreeBSD dialog (request by Devin Teske). + add dialog version message when opening a trace file (request by xDog Walker). + show filename of rc-file in traces. + add piped-in data for gauge widget to traces. + add entrypoints to gauge widget, for allocating, updating and freeing the widget (adapted from patch by Stephen Hurd). + fix a reference to freed memory in the gauge widget. + fix --no-mouse option by actually closing the mouse (report by xDog Walker). + add sk.po from http://translationproject.org/latest/dialog/ + limit Solaris xpg4 portability fix for redefinition of ERR to cover the specific value found in , in case an application includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko Heinonen, Stephen Hurd). + updated configure macros: + CF_CURSES_CPPFLAGS, + CF_CURSES_LIBS, make checks for special libraries on hpux10 and sunos4 optional + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1) which caused part of test program to be omitted, i.e., when it saw two return-statements in a row it omitted the _first_ one. Also add expression to pointer check to help FreeBSD's linker decide it should be validated. Just an assignment was not enough. Also, add check for unctrl.h + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to put ncurses.h first, which will tend to provide the same #define's as in CF_NCURSES_HEADER (report by Dennis Preiser). + CF_CURSES_TERM_H, modify to avoid spurious check for if there is no ncurses version. Look for ncurses's term.h anyway, to work around breakage by packagers who separate ncurses' header files. + CF_DISABLE_RPATH_HACK, fix garbled message + CF_LD_RPATH_OPT, add mirbsd + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages. This only appeared when using the macro in a dpkg script, though it should have in other cases. + CF_RPATH_HACK, add a check for libraries not found, e.g., from suppressed functionality of gcc in linking from /usr/local/lib, and add a -L option to help work around this. + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h doesn't do anything, so it needs a crutch). + updated config.guess, config.sub --- misc/dialog/Makefile | 4 ++-- misc/dialog/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'misc/dialog') diff --git a/misc/dialog/Makefile b/misc/dialog/Makefile index 6dd2d714967..bb73623998a 100644 --- a/misc/dialog/Makefile +++ b/misc/dialog/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.55 2011/03/11 10:59:35 wiz Exp $ +# $NetBSD: Makefile,v 1.56 2011/07/12 13:50:07 wiz Exp $ -DISTNAME= dialog-1.1-20110302 +DISTNAME= dialog-1.1-20110707 PKGNAME= ${DISTNAME:C/-2/.2/} CATEGORIES= misc MASTER_SITES= ftp://invisible-island.net/dialog/ diff --git a/misc/dialog/distinfo b/misc/dialog/distinfo index d9e430d044d..9e8522b7362 100644 --- a/misc/dialog/distinfo +++ b/misc/dialog/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.28 2011/03/11 10:59:35 wiz Exp $ +$NetBSD: distinfo,v 1.29 2011/07/12 13:50:07 wiz Exp $ -SHA1 (dialog-1.1-20110302.tgz) = ba4e79abaf579e0d23f247ae65196437f8d8e031 -RMD160 (dialog-1.1-20110302.tgz) = 3dfcdb674f8d3f91f48984b9bea31574faeddf64 -Size (dialog-1.1-20110302.tgz) = 423269 bytes +SHA1 (dialog-1.1-20110707.tgz) = 31e0e3c40cd51629cc802d7ee0b1a4e1ada90f00 +RMD160 (dialog-1.1-20110707.tgz) = 58ebc3510f8337ffec52f92c6d2b4df9ae564f29 +Size (dialog-1.1-20110707.tgz) = 437106 bytes -- cgit v1.2.3