2019-11-03 18:04:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.87 2019/11/03 17:04:21 rillig Exp $
|
1998-05-27 00:07:19 +02:00
|
|
|
|
dialog: update to 1.3.20190211.
Provided by Thomas Dickey in private email.
2019/02/11
+ modify to work with ncurses' threaded-library, which does not allow
assignment to LINES/COLS (report by Marcus Roeckrath).
+ correct clearing after text in progressbox from 2018/06/21 changes
for resizing (reports by David Boyd, Alan Somers).
+ improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
CF_XOPEN_SOURCE
+ update config.guess, config.sub
2018/11/07
+ convert ja.po to UTF-8 for consistency (suggested by Stanislav
Brabec).
+ repair mis-encoded hi.po (report/analysis by Stanislav Brabec).
2018/10/22
+ improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
CF_WITH_VERSIONED_SYMS from ncurses
+ add ast.po, from
http://translationproject.org/latest/dialog/
2018/06/21
+ improve file-offset computation in textbox.c (Werner Fink).
+ fix an overlooked case with real_auto_size() to maximize when
height or width is given as -1.
+ build-fixes for configure options "--disable-Xdialog2" and
"--disable-form"
+ add traces for each widget to show its parameters.
+ modify color scheme for mixedgauge to use the dialog window colors,
like the captions.
+ fix a too-small malloc in the mixedgauge widget.
+ fix a use-after-free in dlg_remove_callback().
+ improve handling of SIGWINCH for several widgets (Debian #865840).
+ menubox, the point of the Debian report was that it would be nice
to increase the window size if the terminal size increases. Did
that as a special case less problematic than decreasing the
terminal size. Added samples/menubox11 to demonstrate by
comparison with menubox10 a problem with debconf which puts extra
newlines in the caption that interfere with autowrap.
+ progressbox and derived prgbox, programbox, now handle resizing.
+ yesno, window was cleared
+ add dlg_ttysize() to support new options, allowing scripts to obtain
some text-formatting details without initializing the terminal.
+ add options --print-text-only, and --print-text-size for scripts that
adjust the widget size according to how the captions are formatted.
+ improve dialog.pl:
+ add demo.pl, to demonstrate the functions
+ quote/escape string parameters passed to dialog.
+ ensure all "integer" parameters are really integers.
+ use actual screensize for list captions rather than assuming 24
lines.
+ when trimming blanks, treat unconverted tabs the same as spaces.
+ correct parameter to test when trimming blanks from the script,
e.g., with "--trim" (report by Jarno Suni).
+ improve documentation of the various whitespace-filtering options,
to show which take precedence (Debian #867536, cf: Debian #102942).
+ modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
message up/down rather than be aliases for tab-traversal (report by
Fredrik Kers).
+ modify dump_one_binding() to show when a binding is overridden.
+ improve format of trace-file, making comment-syntax consistent,
as well as showing argv-splitting as a series of comments.
+ modify dlg_string_to_argv() to change the quoting behavior to be
more consistent with shell behavior (patch by Denilson Sa Maia).
+ modify dlg_getc() to return ESC when a timeout expires, notifying
callers that a quit occurred rather than exiting the application
(suggested by Rodrigo Freitas).
+ modify handle_inputs() to ensure cursor-visibility is restored when
there is no input character available (report by Guillaume Vareille).
+ improve comment in manual page regarding which widgets can use the
"--help-button" (prompted by discussion with Csanyi Pal).
+ add a check for valid object pointer in tailbox's main loop since
the getc-callback may have been freed within ui_getc.c (report by
"David").
+ improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
+ improved configure script checks for groff vs man2html:
CF_PROG_GROFF and CF_WITH_MAN2HTML
+ build-fix from lynx for AM_WITH_NLS configure macro
+ update config.guess, config.sub
2017/12/09
+ update ftp url in test-packages.
+ modify test-packages to use recommended compiler/linker flags.
+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
CF__INTL_BODY.
+ update config.guess, config.sub
2019-02-15 20:53:00 +01:00
|
|
|
DISTNAME= dialog-1.3-20190211
|
2005-10-01 00:02:56 +02:00
|
|
|
PKGNAME= ${DISTNAME:C/-2/.2/}
|
1998-05-27 00:07:19 +02:00
|
|
|
CATEGORIES= misc
|
dialog: update to 1.3.20190211.
Provided by Thomas Dickey in private email.
2019/02/11
+ modify to work with ncurses' threaded-library, which does not allow
assignment to LINES/COLS (report by Marcus Roeckrath).
+ correct clearing after text in progressbox from 2018/06/21 changes
for resizing (reports by David Boyd, Alan Somers).
+ improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
CF_XOPEN_SOURCE
+ update config.guess, config.sub
2018/11/07
+ convert ja.po to UTF-8 for consistency (suggested by Stanislav
Brabec).
+ repair mis-encoded hi.po (report/analysis by Stanislav Brabec).
2018/10/22
+ improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
CF_WITH_VERSIONED_SYMS from ncurses
+ add ast.po, from
http://translationproject.org/latest/dialog/
2018/06/21
+ improve file-offset computation in textbox.c (Werner Fink).
+ fix an overlooked case with real_auto_size() to maximize when
height or width is given as -1.
+ build-fixes for configure options "--disable-Xdialog2" and
"--disable-form"
+ add traces for each widget to show its parameters.
+ modify color scheme for mixedgauge to use the dialog window colors,
like the captions.
+ fix a too-small malloc in the mixedgauge widget.
+ fix a use-after-free in dlg_remove_callback().
+ improve handling of SIGWINCH for several widgets (Debian #865840).
+ menubox, the point of the Debian report was that it would be nice
to increase the window size if the terminal size increases. Did
that as a special case less problematic than decreasing the
terminal size. Added samples/menubox11 to demonstrate by
comparison with menubox10 a problem with debconf which puts extra
newlines in the caption that interfere with autowrap.
+ progressbox and derived prgbox, programbox, now handle resizing.
+ yesno, window was cleared
+ add dlg_ttysize() to support new options, allowing scripts to obtain
some text-formatting details without initializing the terminal.
+ add options --print-text-only, and --print-text-size for scripts that
adjust the widget size according to how the captions are formatted.
+ improve dialog.pl:
+ add demo.pl, to demonstrate the functions
+ quote/escape string parameters passed to dialog.
+ ensure all "integer" parameters are really integers.
+ use actual screensize for list captions rather than assuming 24
lines.
+ when trimming blanks, treat unconverted tabs the same as spaces.
+ correct parameter to test when trimming blanks from the script,
e.g., with "--trim" (report by Jarno Suni).
+ improve documentation of the various whitespace-filtering options,
to show which take precedence (Debian #867536, cf: Debian #102942).
+ modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
message up/down rather than be aliases for tab-traversal (report by
Fredrik Kers).
+ modify dump_one_binding() to show when a binding is overridden.
+ improve format of trace-file, making comment-syntax consistent,
as well as showing argv-splitting as a series of comments.
+ modify dlg_string_to_argv() to change the quoting behavior to be
more consistent with shell behavior (patch by Denilson Sa Maia).
+ modify dlg_getc() to return ESC when a timeout expires, notifying
callers that a quit occurred rather than exiting the application
(suggested by Rodrigo Freitas).
+ modify handle_inputs() to ensure cursor-visibility is restored when
there is no input character available (report by Guillaume Vareille).
+ improve comment in manual page regarding which widgets can use the
"--help-button" (prompted by discussion with Csanyi Pal).
+ add a check for valid object pointer in tailbox's main loop since
the getc-callback may have been freed within ui_getc.c (report by
"David").
+ improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
+ improved configure script checks for groff vs man2html:
CF_PROG_GROFF and CF_WITH_MAN2HTML
+ build-fix from lynx for AM_WITH_NLS configure macro
+ update config.guess, config.sub
2017/12/09
+ update ftp url in test-packages.
+ modify test-packages to use recommended compiler/linker flags.
+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
CF__INTL_BODY.
+ update config.guess, config.sub
2019-02-15 20:53:00 +01:00
|
|
|
MASTER_SITES= ftp://ftp.invisible-island.net/dialog/
|
2005-10-01 00:02:56 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-05-27 00:07:19 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-06-22 13:37:13 +02:00
|
|
|
HOMEPAGE= https://invisible-island.net/dialog/dialog.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Display dialog boxes from shell scripts
|
Update to 1.1.20100119. Set LICENSE.
2010/01/19
+ split up binding tables in inputbox and similar widgets to avoid
conflict between cursor-key use for input-string versus navigation
(report by slakmagik).
+ if strftime() is available, support --time-format option for timebox
widget.
+ if strftime() is available, support --date-format option for calendar
widget (request by Walter Harms).
+ build-fixes for linking to intl library in /usr/local
+ add --scrollbar option, use in most widgets to show a scrollbar on
the right margin of the data. That is cosmetic, does not respond to
the mouse.
+ reuse functions from msgbox to allow prompt for yesno box to be
scrolled in a too-small window.
+ correct mapping of button-codes with --nook option (report by Lebedev
Vadim).
+ cleanup sample scripts using new utility scripts setup-* and report-*,
and allow command-line parameters to be added, for ad hoc testing.
+ correct change to tailbox widget from 2009/02/22 using
dlg_button_layout(), which broke that widget.
+ document some of the portability caveats.
+ modify gauge widget to service callbacks (prompted by patch and
comments by Frank Sorenson).
+ modify editbox to allow its input buffer to be larger than MAX_LEN
unless bounded by the --max-input option, and add limit-checks for
the buffer (report by slakmagik).
+ improve manpage description of --checklist (report by Isaac Good).
+ several improvements to configure script macros: CF_ADD_CFLAGS
CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
+ add is.po, lv.po, sw.po from
http://translationproject.org/latest/dialog/
+ update de.po, id.po, pl.po, pt_BR.po, vi.po from
http://translationproject.org/latest/dialog/
2009/02/22
+ do not display top-arrows for scrolling if they would overwrite the
title (report by slakmagik)
+ consistently use dlg_button_layout() when autosizing widgets (report
by slakmagik).
+ add "-" and "+" bindings to timebox widget.
+ add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
+ review/fix other widgets to ensure that they exit on error, e.g.,
editbox.c
+ modify check in dlg_getc() to treat closure of either stdin or stdout
as an error, rather than both. This is more stringent than the check
added in 2007/07/04.
+ modify dlg_result_key() to map curses ERR to dialog's error exit
(adapted from patch by Domagoj Pensa).
+ updated several configure script macros:
+ consistently append, rather then prepend, to $CFLAGS
+ add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
+ use $PATH_SEPARATOR rather than $PATHSEP
+ improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
libutf8 and libiconv.
+ update da.po, ru.po from
http://translationproject.org/latest/dialog/
+ updated config.guess, config.sub
2010-02-03 20:05:24 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
1998-05-27 00:07:19 +02:00
|
|
|
|
2019-11-03 18:04:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_FILE= makefile
|
|
|
|
USE_LIBTOOL= yes
|
2008-10-08 11:34:00 +02:00
|
|
|
CONFIGURE_ARGS+= --with-libtool
|
1998-05-27 00:07:19 +02:00
|
|
|
|
2006-12-20 03:04:52 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-05-31 18:47:47 +02:00
|
|
|
|
2008-10-08 11:34:00 +02:00
|
|
|
SUBST_CLASSES+= rpath
|
|
|
|
SUBST_FILES.rpath= dialog-config.in
|
|
|
|
SUBST_MESSAGE.rpath= Fixing rpath in dialog-config
|
|
|
|
SUBST_SED.rpath= -e 's;-L\(.\);${_COMPILER_RPATH_FLAG}\1\{exec_prefix\}/lib -L\1;'
|
|
|
|
SUBST_STAGE.rpath= pre-configure
|
|
|
|
|
2015-07-03 17:08:24 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# curses from NetBSD 5 and earlier will coredump when displaying shadows
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5]*)
|
|
|
|
CONFIGURE_ARGS+= --disable-widec
|
|
|
|
.endif
|
|
|
|
|
2014-03-09 12:59:09 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2000-11-02 04:25:32 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|