nano: update to version 6.0
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 16 Dec 2021 18:32:41 +0000 (20:32 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Thu, 16 Dec 2021 18:35:01 +0000 (20:35 +0200)
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 0571f54009023845d5 and ae7f62d63)

utils/nano/Makefile

index 7452f93c27abef6573bb3efc9bd2a298fc355b4d..24f8f51ba0e2bb115e6f9be2e887bbc17b2cadf4 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nano
-PKG_VERSION:=5.9
+PKG_VERSION:=6.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/nano
-PKG_HASH:=757db8cda4bb2873599e47783af463e3b547a627b0cabb30ea7bf71fb4c24937
+PKG_HASH:=93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2
 
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=COPYING
@@ -29,21 +29,26 @@ define Package/nano
   SUBMENU:=Editors
   SECTION:=utils
   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/
   DEPENDS:=+libncurses
 endef
 
 define Package/nano/description
-  Nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
-  of the Pico text editor.
+  Nano is a small and simple text editor for use on the terminal.
+
+  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
 
 CONFIGURE_ARGS += \
        --enable-tiny \
        --disable-utf8 \
-       --without-slang \
        --disable-color \
+       --enable-linenumbers
 
 CONFIGURE_VARS += \
        ac_cv_header_regex_h=no \