36 Commits

Author SHA1 Message Date
Hongxu Jia
e2bdd9cee2 dialog: 1.3-20250116 -> 1.3-20260107
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-30 19:46:39 -07:00
Liu Yiding
2181c17f8e dialog: Fix install conflict when enable multilib
fix issue that:
file /usr/bin/dialog conflicts between attempted installs of dialog-1.3+20250116-r0.cortexa57 and lib32-dialog-1.3+20250116-r0.armv7at2hf_neon

To be noticed that dialog itself is already symlink now
xxx/image/usr/bin$ ls -l -t
total 888
lrwxrwxrwx 1 userland userland     45 Jul 10 02:15 dialog -> /usr/bin/arm-pokymllib32-linux-gnueabi-dialog
-rwxr-xr-x 1 userland userland 907748 Jul 10 02:15 arm-pokymllib32-linux-gnueabi-dialog

xxx/image/usr/bin$ ls -l -t
total 988
lrwxrwxrwx 1 userland userland      34 Jul 10 02:15 dialog -> /usr/bin/aarch64-poky-linux-dialog
-rwxr-xr-x 1 userland userland 1037624 Jul 10 02:15 aarch64-poky-linux-dialog

after this commit:
xxx/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0/rootfs/usr/bin$ ls -l -t dialog*
lrwxrwxrwx 1 userland userland 21 Mar  9  2018 dialog -> /usr/bin/dialog-lib64
lrwxrwxrwx 1 userland userland 45 Mar  9  2018 dialog-lib -> /usr/bin/arm-pokymllib32-linux-gnueabi-dialog
lrwxrwxrwx 1 userland userland 34 Mar  9  2018 dialog-lib64 -> /usr/bin/aarch64-poky-linux-dialog

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 00:05:57 -07:00
Alexander Kanavin
fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Hongxu Jia
e355e9af79 dialog: fix /usr/bin/dialog not found for multilib
While multilib was enabled, /usr/bin/dialog was not found,
but /usr/bin/lib32-dialog existed

root@intel-x86-64:~# which dialog
which: no dialog in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)

root@intel-x86-64:~# which lib32-dialog
/usr/bin/lib32-dialog

Due to commit [2f7b184cda dialogp: By default, dialog_1.3-20250116
renames /usr/bin/dialog to /usr/bin/${HOST_SYS}-dialog.] applied,
it created a symlink for dialog, use BPN to instead of PN to fix
the issue

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-12 06:34:19 -07:00
Lei Maohui
2f7b184cda dialogp: By default, dialog_1.3-20250116 renames /usr/bin/dialog to /usr/bin/${HOST_SYS}-dialog.
mkdir -p /build-dir/202503/build-poky/tmp/work/core2-64-poky-linux/dialog/1.3-20250116/image/usr/share/man/man1
/build-dir/202503/build-poky/tmp/hosttools/install -c dialog /build-dir/202503/build-poky/tmp/work/core2-64-poky-linux/dialog/1.3-20250116/image/usr/bin/`echo dialog |sed s,^,x86_64-poky-linux-,`

This change goes against established user habits. So, create a symbolic link named /usr/bin/dialog.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Wang Mingyu
e27b749c0a dialog: upgrade 1.3-20240619 -> 1.3-20250116
Changelog:
===========
- modify dialog-config.in to allow for include-subdirectory.
- update configure script macros for changes made with Cdk.
- use $ LIB_ROOTNAME, e.g., set by --with-libname, in generating
  *-config and ".pc" files
- further improvements to matching output from *-config and ".pc"
  improve gen-pkgconfig.in to mark the screen library, e.g., ncurses,
  as "Required" and filter the cflags/libs from required packages out
  of the ".pc" file, because pkg-config will add those automatically.
- fix some gcc15 strict compiler warnings
- configure script fixes for compiler warnings
- update config.guess, config.sub

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:00 -08:00
Wang Mingyu
f569ed2365 dialog: upgrade 1.3-20240307 -> 1.3-20240619
Changelog:
============
+ modify configure script to ease deprecation of libtool-bin package
+ update dialog.map, dialog.sym for 2023/10/02 changes.
+ improve dialog-config.in,
  + suppressing several special cases of linker options, and
  + adding support for --cflags-only-I, --cflags-only-other
+ fix a few cppcheck warnings
+ improvements to NLS configuration.
+ add configure check for PIC vs PIE, needed for linking to libraries
  which lack pkg-config scripts to specify LDFLAGS.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:18:50 -07:00
Wang Mingyu
cbe25ec1ae dialog: upgrade 1.3-20240101 -> 1.3-20240307
Changelog:
===========
+ add option --color-modes, which can be used to color the content of
  programbox, tailbox, textbox
+ updated configure script, e.g., for compiler-warning fixes.
+ amend change to formbox while revising --max-input to work with the
  form's "ilen" parameter
+ update config.guess, config.sub

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:04 -07:00
Wang Mingyu
922b99f8c8 dialog: upgrade 1.3-20231002 -> 1.3-20240101
Changelog:
========
* updated configure script
* updated lv.po

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:41 -08:00
Wang Mingyu
acf0c0aab7 dialog: upgrade 1.3-20230209 -> 1.3-20231002
Changelog:
===========
+ add/use dlg_print_nowrap(), to handle multibyte character strings in
  progressbox and tailbox (report/testcase by Sergey Merzlikin).
+ updated configure script, e.g., for compiler-warning fixes.
+ update config.guess, config.sub
+ updated configure script, e.g., for compiler-warning fixes.
+ minor fixes for manpages to address mandoc warnings.
+ updated th.po from
        http://translationproject.org/latest/dialog/
+ update config.guess, config.sub

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-23 08:05:01 -07:00
Wang Mingyu
f392e0ce11 dialog: upgrade 1.3-20210509 -> 1.3-20230209
Changelog:
==========
 + update test-package for Debian to use debhelper.
 + adjust character-offset in editbox.c in case it is past the end of
   the string after trimming (Debian #1003185).
 + updated ro.po from
         http://translationproject.org/latest/dialog/
 + fix some inconsistent #if vs #ifdef.
 + correct off-by-one limit for month when validating parameters of the
   calendar widget
 + modify dlg_yes_labels to not switch to ok/cancel labels if the
   extra button is used
 + move leak-checking definitions from dialog.h to dlg_internals.h
 + use mktemp utility rather than tempfile for temporary filename in
   the sample scripts
 + updated id.po, lt.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub
 + directly include stddef.h for systems which need it for offsetof().
 + modify gauge's handle_input function to use the file pointer in the
   object in preference to the global dialog_state.
 + correct height-computation for fselect and timebox, broken by fixes
   for auto-layout (Debian #990043, cf: 2019/11/10).
 + improve configure --with-no-leaks option
 + amend adjustment to inputbox height so the autosized dimensions match
   older versions
 + improve configure checks, to reduce warnings during those checks
 + updated fr.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub
 + change shared-library configuration in test-packages to use the
   ABI version in the library filename to match its SONAME.
 + add sample scripts to test-packages, using new makefile rule
   "install-examples".
 + corrected cdialog*.install helper scripts in test-package for Debian
 + change ftp URLs in test-packages to https
 + updated configure script, e.g., for compiler-warning fixes.
 + updated fur.po, zh_TW.po from
         http://translationproject.org/latest/dialog/
 + modify slackware.rc to match dialog's output from "make check" using
   this configuration file (FreeBSD #267777).
 + fix shellcheck warnings in helper-scripts for building/installing.
 + updated configure script, e.g., for compiler-warning fixes.
 + updated hu.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub, install-sh
 + initialize color-settings before --create-rc option is processed.
 + add "use_scrollbar" setting in rc-file to use in whiptail.rc
 + improve manual page discussion of "--" token.
 + updated configure macro for math-library functions.
 + updated ca.po from
         http://translationproject.org/latest/dialog/
 + update config.guess
 + fix links in manpages (FreeBSD #264660).
 + document the built-in key bindings which are not part of widgets.
 + updated da.po fa.po is.po, added ka.po from
         http://translationproject.org/latest/dialog/
 + update config.sub
 + adjust fallback bindings for backspace/delete to match the curses
   library's sense of backspace (Arch #74379).
 + amend limit-checks to make --max-input work for sizes greater than
   2048 (Debian #1004874).
 + corrected limit-checks in checklist.c, menubox.c, and treeview.c when
   resizing while the data is scrolled (Debian #1004868).
 + improve logic for updating form-height after screen-resizing.
 + move most of the non-API definitions from dialog.h to dlg_internals.h
 + updated configure macros.
 + update config.guess, config.sub
 + updated es.po, tr.po from
         http://translationproject.org/latest/dialog/
 + install ".pc" files in the test-packages.
 + add pkg-config ".pc" file, for use with the development library.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Mingli Yu
6d1b7df8c0 dialog: Update the SRC_URI
Update the SRC_URI to fix the do_fetch error.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Andreas Müller
34c1fa8b8f dialog: upgrade 1.3-20210319 -> 1.3-20210509
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-24 07:39:35 -07:00
zhengruoqin
78c7eba008 dialog: upgrade 1.3-20210306 -> 1.3-20210319
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28 12:12:57 -07:00
zangrc
bf42dff971 dialog: upgrade 1.3-20210117 -> 1.3-20210306
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-16 21:37:14 -07:00
zangrc
1770627f07 dialog: upgrade 1.3-20201126 -> 1.3-20210117
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25 14:34:06 -08:00
Zang Ruochen
a1a088e893 dialog: upgrade 1.3-20200327 -> 1.3-20201126
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 22:32:56 -08:00
Khem Raj
6bcbc0364b dialog: Turn X11 support into a packageconfig option
Enable it only if x11 is in distro features

Ensure patch to X includes/libs is pointing into sysroot otherwise it
starts to poke at build systems includes/libs dirs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:32:07 -07:00
Oleksandr Kravchuk
872f1b6ad1 dialog: update to 1.3-20200327
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Zheng Ruoqin
de1ccc8e51 dialog: upgrade 1.3-20190728 -> 1.3-20190808
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 19:58:01 -08:00
Zang Ruochen
c4bb891648 dialog: upgrade 1.3-20190211 -> 1.3-20190728
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-02 18:02:44 -07:00
Zang Ruochen
4ef4bb30b9 dialog: upgrade 1.3-20180621 -> 1.3-20190211
-Upgrade from dialog_1.3-20180621.bb to dialog_1.3-20190211.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:33 -07:00
Mingli Yu
45edb2de23 dialog: Upgrade to 1.3-20180621
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Jackie Huang
8c1655e099 dialog: update to 1.3-20171209
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Yi Zhao
550acd3295 dialog: update SRC_URI
Update the SRC_URI since the upstream server is changed from
ftp://invisible-island.net to ftp://ftp.invisible-island.net

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:38:09 -08:00
Khem Raj
c0eabbeccb dialog: Update 1.3-20160424 -> 1.3-20160828
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:04 +01:00
Wang Xin
41abb7e616 dialog: 1.2-20150920 -> 1.3-20160424
Upgrade dialog from 1.2-20150920 to 1.3-20160424.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:26 +02:00
Li xin
75810ea29d dialog: 1.2-20150528 -> 1.2-20150920
Upgrade dialog from 1.2-20150528 to 1.2-20150920.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-06 13:25:54 +01:00
Roy Li
937d0699f7 dialog: upgrade to 1.2-20150528
remove use-pkg-config-for-ncurses-detection.patch, the new version is
using the pkg-config to check ncurses
configuration assumes the cf_have_ncuconfig is unknown for cross-compile,
but ncurses is added into DEPENDS, so change it as yes

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:48:01 +02:00
Roy Li
11617df76a dialog: upgrade to 1.2-20150225
1. upgrade it to 1.2-20150225
2. update the use-pkg-config-for-ncurses-detection.patch
3. remove dialog-static recipe file, since dialog will generate the static
library.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:34:18 +02:00
Roy Li
01816e4420 dialog: fix the redirection of the error information
Drop the error information, other than redirect them to stdout, otherwise
the error information will be included into LIBS/CFLAG

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Roy Li
52b21a1951 dialog: inherit brokensep and use pkg-config to detect ncurses
1. inherit autotools-brokensep, or else configuration will fail since B!=S
2. use pkg-config to detect ncurses, since ncurses-config no longer works

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 12:20:20 +02:00
Jackie Huang
a8b66573e4 dialog: update to version 1.1-20120706
Changes:
- add SUMMARY and HOMEPAGE
- remove the use of INC_PR

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 11:19:09 +02:00
Marcin Juszkiewicz
d9f2c8fb84 dialog: added gnu-configize for AArch64 support
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:42 +01:00
Otavio Salvador
2642db3615 dialog: add 1.1-20111020 recipe (dynamic and static)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-24 19:07:53 +01:00