From: Andreas Helmcke <ahelmcke@ela-soft.com>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [ptxdist] [PATCH v2] nano: version bump 2.9.2 -> 8.0
Date: Mon, 12 Aug 2024 15:58:08 +0200 [thread overview]
Message-ID: <20240812135808.1097973-2-ahelmcke@ela-soft.com> (raw)
In-Reply-To: <ZqyQ7hJ6l8CBrE0v@pengutronix.de>
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 <ahelmcke@ela-soft.com>
---
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
next prev parent reply other threads:[~2024-08-12 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 14:28 [ptxdist] [PATCH] " Andreas Helmcke
2024-08-02 7:55 ` Michael Olbrich
2024-08-12 13:58 ` Andreas Helmcke [this message]
2024-09-12 12:11 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240812135808.1097973-2-ahelmcke@ela-soft.com \
--to=ahelmcke@ela-soft.com \
--cc=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox