From 03656602abea72bdbabf2845650f95b92eec4e36 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 May 2024 17:09:41 +0800 Subject: nano: upgrade 7.2 -> 8.0 Changelog: ============= - Above modern bindings are activated also when the name of nano's executable (or a symlink to it) starts with the letter "e". - To open a file at a certain line number, one can now use also 'nano filename:number', besides 'nano +number filename'. - and put the cursor on the first and last row in the viewport, while retaining the horizontal position. - When the three digits in an #RGB color code are all the same, the code is mapped to the xterm grey scale, giving access to fourteen levels of grey instead of just four. - For easier access, M-" is bound to placing/removing an anchor, and M-' to jumping to the next anchor. - Whenever an error occurs, the keystroke buffer is cleared, thus stopping the execution of a macro or a string bind. - The mousewheel scrolls the viewport instead of moving the cursor. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/nano/nano_7.2.bb | 22 ---------------------- meta-oe/recipes-support/nano/nano_8.0.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-oe/recipes-support/nano/nano_7.2.bb create mode 100644 meta-oe/recipes-support/nano/nano_8.0.bb diff --git a/meta-oe/recipes-support/nano/nano_7.2.bb b/meta-oe/recipes-support/nano/nano_7.2.bb deleted file mode 100644 index 0642287c98..0000000000 --- a/meta-oe/recipes-support/nano/nano_7.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Small and friendly console text editor" -DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ -Not ANOther editor) is an enhanced clone of the \ -Pico text editor." -HOMEPAGE = "http://www.nano-editor.org/" -SECTION = "console/utils" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" - -DEPENDS = "ncurses file" -RDEPENDS:${PN} = "ncurses-terminfo-base" - -PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" - -SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" -SRC_URI[sha256sum] = "86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526" - -UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" - -inherit autotools gettext pkgconfig - -PACKAGECONFIG[tiny] = "--enable-tiny," diff --git a/meta-oe/recipes-support/nano/nano_8.0.bb b/meta-oe/recipes-support/nano/nano_8.0.bb new file mode 100644 index 0000000000..56aa47f641 --- /dev/null +++ b/meta-oe/recipes-support/nano/nano_8.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "Small and friendly console text editor" +DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ +Not ANOther editor) is an enhanced clone of the \ +Pico text editor." +HOMEPAGE = "http://www.nano-editor.org/" +SECTION = "console/utils" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" + +DEPENDS = "ncurses file" +RDEPENDS:${PN} = "ncurses-terminfo-base" + +PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" + +SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" +SRC_URI[sha256sum] = "c17f43fc0e37336b33ee50a209c701d5beb808adc2d9f089ca831b40539c9ac4" + +UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" + +inherit autotools gettext pkgconfig + +PACKAGECONFIG[tiny] = "--enable-tiny," -- cgit v1.2.3-54-g00ecf