From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 12 Aug 2024 15:58:53 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sdVZV-008sKp-2C for lore@lore.pengutronix.de; Mon, 12 Aug 2024 15:58:53 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sdVZU-0002Ta-Oe; Mon, 12 Aug 2024 15:58:52 +0200 Received: from mail.ela-soft.com ([213.23.49.162]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sdVZI-0002TH-8n; Mon, 12 Aug 2024 15:58:40 +0200 Received: from tupai.ela-bln.local (tupai.ela-bln.local [10.0.1.140]) by mail.ela-soft.com (mailsystem) with ESMTP id B9D9B126BC; Mon, 12 Aug 2024 15:58:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ela-soft.com; s=2021; t=1723471119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wzEjdRZQFUoDcHLR3siltCcr6v6QWkLNv3ogKoS8cfg=; b=iEs/nKDRrFVzlEatbS8zDIr7pp5sDEOEkzhSPuUekmvi34eoJXCA8FYA+vvMXgGrG6nVft XpfrktLSnsnkqybhWa7xy/6AAHB8UFDMaL+H7G9g8Sw0xW3A4yBGgL/049fm6Igmi6ywFf /M9JnQ57BoZNs9uf36VAJNZfIqB7RWuDT/zQZOjY7wQ0mxUnD8zYxztMQhrQVyIwLrtmNN /uI0KIGYHETawox9w6FL3mvaydTWD4/wQHcc7XtzXkD+C3okN8G1ioc1LglxnrUSiEqzA8 sVJAr6F48vDu6yg3WYmY9te9rAd+Ev+9VaXu//syANKWNBXFzk3cKuKfhWxvww== Received: by tupai.ela-bln.local (Postfix, from userid 1000) id AFD1F34067A; Mon, 12 Aug 2024 15:58:39 +0200 (CEST) From: Andreas Helmcke To: ptxdist@pengutronix.de Date: Mon, 12 Aug 2024 15:58:08 +0200 Message-ID: <20240812135808.1097973-2-ahelmcke@ela-soft.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-102.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2] nano: version bump 2.9.2 -> 8.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Michael Olbrich Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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