Since it is a huge step lots of changes and fixes.

link: https://www.nano-editor.org/news.php

Added an option to enable built-in help texts.

Signed-off-by: Andreas Helmcke <[email protected]>
---
 v2: Make option for the year 2038 dependent on PTXDIST_Y2038

 rules/nano.in   | 12 ++++++++++--
 rules/nano.make | 16 ++++++++--------
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/rules/nano.in b/rules/nano.in
index d3f4e06f4..74aacf854 100644
--- a/rules/nano.in
+++ b/rules/nano.in
@@ -1,11 +1,19 @@
 ## SECTION=editors
-config NANO
+menuconfig NANO
        tristate
        select NCURSES
-       prompt "nano"
+       prompt "nano                          "
        help
          nano  is a small, free and friendly editor which aims
          to replace Pico. Rather than just copying Pico's look
          and feel, nano also implements some missing (or disabled
          by default) features in Pico, such as "search and
          replace" and "go to line number"
+
+if NANO
+
+config NANO_HELPTEXT
+       bool
+       prompt "enable built-in help texts"
+
+endif
diff --git a/rules/nano.make b/rules/nano.make
index bf113d2f0..1bce7dbd1 100644
--- a/rules/nano.make
+++ b/rules/nano.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_NANO) += nano
 #
 # Paths and names
 #
-NANO_VERSION           := 2.9.2
-NANO_MD5               := 40ac792d28641969ce0be0a4a37df6a0
+NANO_VERSION           := 8.0
+NANO_MD5               := e8561ba24e7495b766b1d815cd024e77
 NANO                   := nano-$(NANO_VERSION)
 NANO_SUFFIX            := tar.gz
 NANO_URL               := https://www.nano-editor.org/dist/v$(basename 
$(NANO_VERSION))/$(NANO).$(NANO_SUFFIX)
@@ -38,19 +38,21 @@ NANO_CONF_ENV       := \
 #
 NANO_CONF_TOOL := autoconf
 NANO_CONF_OPT  := \
+       --$(call ptx/endis,PTXCONF_NANO_HELPTEXT)-help \
        $(CROSS_AUTOCONF_USR) \
        $(GLOBAL_LARGE_FILE_OPTION) \
        --enable-threads=posix \
-       --disable-rpath \
        --disable-nls \
+       --disable-rpath \
        --disable-browser \
        --enable-color \
        --enable-comment \
        --disable-extra \
-       --disable-help \
+       --disable-formatter \
        --enable-histories \
        --enable-justify \
        --disable-libmagic \
+       --disable-linter \
        --enable-linenumbers \
        --disable-mouse \
        --enable-multibuffer \
@@ -60,14 +62,12 @@ NANO_CONF_OPT       := \
        --enable-tabcomp \
        --disable-wordcomp \
        --enable-wrapping \
-       --disable-wrapping-as-root \
        --disable-debug \
        --disable-tiny \
        --disable-utf8 \
        --disable-altrcname \
-       --without-included-regex \
-       --without-slang \
-       --with-wordbounds
+       --$(call ptx/endis, PTXDIST_Y2038)-year2038 \
+       --without-included-regex
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.43.0


Reply via email to