nano: update to version 6.0

Update nano editor to version 6.0

Version 6.0 enable toggling the display of the line numbers with
the shortcut key M-N (Alt-n). Also the cmdline option "-l" works.
Remove earlier patch regarding that.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

(backported from commits 0571f5400, 9023845d5 and ae7f62d63)
This commit is contained in:
Hannu Nyman 2021-12-16 20:32:41 +02:00
parent 7db6f87334
commit 5a9b5ee78c

View file

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=nano PKG_NAME:=nano
PKG_VERSION:=5.9 PKG_VERSION:=6.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/nano PKG_SOURCE_URL:=@GNU/nano
PKG_HASH:=757db8cda4bb2873599e47783af463e3b547a627b0cabb30ea7bf71fb4c24937 PKG_HASH:=93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
@ -29,21 +29,26 @@ define Package/nano
SUBMENU:=Editors SUBMENU:=Editors
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=An enhanced clone of the Pico text editor TITLE:=GNU nano - enhanced clone of the Pico text editor
URL:=https://www.nano-editor.org/ URL:=https://www.nano-editor.org/
DEPENDS:=+libncurses DEPENDS:=+libncurses
endef endef
define Package/nano/description define Package/nano/description
Nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone Nano is a small and simple text editor for use on the terminal.
of the Pico text editor.
Nano started as an enhanced clone of the Pico text editor.
Nowadays Nano wants to be a generally useful editor with sensible
defaults (linewise scrolling, no automatic line breaking).
Nano is an official GNU package.
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-tiny \ --enable-tiny \
--disable-utf8 \ --disable-utf8 \
--without-slang \
--disable-color \ --disable-color \
--enable-linenumbers
CONFIGURE_VARS += \ CONFIGURE_VARS += \
ac_cv_header_regex_h=no \ ac_cv_header_regex_h=no \