From fca4b61d7a31bf8d80feeaa03fd211e1e2a690bc Mon Sep 17 00:00:00 2001 From: schwarz Date: Sat, 27 Feb 2021 19:26:27 +0000 Subject: updated editors/nano to 5.6 Changes between nano 5.5 and 5.6 (cf. ChangeLog): build: avoid a warning about duplicate symbol when building from tarball build: detect a build from git also when building out of tree build: include a workaround only for versions of ncurses that need it bump version numbers and add a news item for the 5.6 release color: do not look for another 'end' match after already finding one color: give highlighted text its own color, to not look like marked text color: recompile the file-probing regexes a little faster with REG_NOSUB color: use bright yellow to highlight a search match color: use inverse video for highlighting when there are no colors debug: add timing instruments to cache precalculation and screen refresh display: for a large paste or insertion, recalculate the multiline cache docs: correct the description of --quickblank for the changed base value docs: correct the formatting of a comment in the sample nanorc docs: correct the word order for Alt+D in the cheat sheet -- it changed docs: mention the new 'set highlightcolor' option docs: remove all mentions of --markmatch and 'set markmatch' docs: say that --minibar is modified by --constantshow and --stateflags feedback: make Full Justify show a message also when using --minibar gnulib: update to its current upstream state minibar: show a message a little longer when --quickblank isn't used minibar: show cursor position + character code only with --constantshow minibar: show the state flags only when --stateflags is used minibar: suppress the toggling feedback for M-C, but show it for M-Y/M-P options: remove --markmatch and 'set markmatch', as the behavior is gone painting: always do backtracking for the first row of the screen painting: trigger a refresh when a second start match appears on a line painting: trigger fewer unneeded full-screen refreshes painting: when finding an end match, set its multidata right away scrolling: keep centering after large paste, also when line numbers widen search: just highlight the found occurrence, instead of marking it search: make highlighting the standard, non-changeable behavior tweaks: avoid the vague possibility of advancing beyond end-of-line tweaks: be slightly more efficient in marking lines as WOULDBE tweaks: call wattron()/wattroff() only when actually painting something tweaks: correct a comment, improve another, and trim some verbosity tweaks: don't bother comparing virgin multidata with current situation tweaks: don't bother initializing freshly allocated multidata tweaks: don't bother wiping the multidata before recomputing it tweaks: elide a function that is now just one line tweaks: frob a condition, to be more concise, and reshuffle another tweaks: frob some comments, and adjust indentation after previous change tweaks: frob some comments, and reshuffle two fragments of code tweaks: frob two fragments of code, to be more readable tweaks: make a skipping condition more precise tweaks: remove an old fix that was made superfluous by a recent fix tweaks: remove a strangely placed warning tweaks: rename six symbols, to be more straightforward tweaks: reshuffle some code, and reduce the scope of a variable tweaks: reshuffle three conditions into a better order tweaks: rewrap and reindent a few lines tweaks: rewrap two lines, for esthetics tweaks: stop evaluating a rule when the match is offscreen to the right --- editors/nano/Makefile | 5 ++--- editors/nano/distinfo | 16 ++++++++-------- editors/nano/patches/patch-configure | 8 ++++---- editors/nano/patches/patch-doc_nano.1 | 10 +++++----- editors/nano/patches/patch-doc_nanorc.5 | 10 +++++----- 5 files changed, 24 insertions(+), 25 deletions(-) (limited to 'editors/nano') diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 1b183eac8ba..8ec5f68f22e 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.93 2021/02/05 17:25:52 triaxx Exp $ +# $NetBSD: Makefile,v 1.94 2021/02/27 19:26:27 schwarz Exp $ -DISTNAME= nano-5.5 -PKGREVISION= 1 +DISTNAME= nano-5.6 CATEGORIES= editors MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/ EXTRACT_SUFX= .tar.xz diff --git a/editors/nano/distinfo b/editors/nano/distinfo index 1c4c93fa463..3bd8dbdecd0 100644 --- a/editors/nano/distinfo +++ b/editors/nano/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.64 2021/02/05 17:25:52 triaxx Exp $ +$NetBSD: distinfo,v 1.65 2021/02/27 19:26:27 schwarz Exp $ -SHA1 (nano-5.5.tar.xz) = b727bcd583498312f52307ed39b83d7515401c58 -RMD160 (nano-5.5.tar.xz) = 0aaec99f60c214081608e3278ecd662e48f95825 -SHA512 (nano-5.5.tar.xz) = cbd2b6e1dc7437caf4ec6b55252664430fb1d6243dcf51a7b29ca3683bd1e6a25809c7b9d514d42cc85eb1a615bf3365951c07bf7c3c183a8cbe71c8586d9481 -Size (nano-5.5.tar.xz) = 1427592 bytes -SHA1 (patch-configure) = 5f34f74d20c9b18f21afa308ed5634daed98a25d -SHA1 (patch-doc_nano.1) = 28dcfb77046774d09128986783bbc434a708e212 -SHA1 (patch-doc_nanorc.5) = a1c2151152d08348263a6f36be43fa04fb4eee15 +SHA1 (nano-5.6.tar.xz) = e4f3a0aaec18560813df29e301e01aeb43fe50d2 +RMD160 (nano-5.6.tar.xz) = cbbe17d974cf882e6abe891fe2dc01290a44bcb8 +SHA512 (nano-5.6.tar.xz) = fc19069fadf0e830e800401c20f43fc2a321da9f0286fb42955802b33d25cc556e1e1b394a27a8c96e436263f86ddd998b804330f389ae570a0e023fa9b10079 +Size (nano-5.6.tar.xz) = 1431976 bytes +SHA1 (patch-configure) = 8df30018d732c00202b4173f1c3ae0e03aa56245 +SHA1 (patch-doc_nano.1) = 3d160aa6a4324400e79064d22cbd291a0d3de4f9 +SHA1 (patch-doc_nanorc.5) = 4d8af863bfa51eeac2a5e5cd04bd16aba3b6e29a diff --git a/editors/nano/patches/patch-configure b/editors/nano/patches/patch-configure index 17b7b7a729a..47f5422ee4b 100644 --- a/editors/nano/patches/patch-configure +++ b/editors/nano/patches/patch-configure @@ -1,10 +1,10 @@ -$NetBSD: patch-configure,v 1.7 2021/01/24 17:13:42 nia Exp $ +$NetBSD: patch-configure,v 1.8 2021/02/27 19:26:27 schwarz Exp $ Disable the groff html check to prevent random PLIST variation. ---- configure.orig 2021-01-14 10:17:19.000000000 +0000 -+++ configure -@@ -38216,7 +38216,7 @@ fi +--- configure.orig 2021-02-24 11:03:43.000000000 +0100 ++++ configure 2021-02-27 20:12:29.000000000 +0100 +@@ -38300,7 +38300,7 @@ # Check for groff html support. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HTML support in groff" >&5 printf %s "checking for HTML support in groff... " >&6; } diff --git a/editors/nano/patches/patch-doc_nano.1 b/editors/nano/patches/patch-doc_nano.1 index 765ad4d8c62..e61325796c1 100644 --- a/editors/nano/patches/patch-doc_nano.1 +++ b/editors/nano/patches/patch-doc_nano.1 @@ -1,10 +1,10 @@ -$NetBSD: patch-doc_nano.1,v 1.1 2021/02/05 17:25:52 triaxx Exp $ +$NetBSD: patch-doc_nano.1,v 1.2 2021/02/27 19:26:28 schwarz Exp $ * Fix hard-coded pathes. ---- doc/nano.1.orig 2021-01-14 10:11:45.000000000 +0000 -+++ doc/nano.1 -@@ -383,7 +383,7 @@ or \fI~/.config/nano/nanorc\fR, whicheve +--- doc/nano.1.orig 2021-02-24 10:56:32.000000000 +0100 ++++ doc/nano.1 2021-02-27 20:12:49.000000000 +0100 +@@ -380,7 +380,7 @@ .BR nanorc (5) for more information on the possible contents of those files. .sp @@ -13,7 +13,7 @@ $NetBSD: patch-doc_nano.1,v 1.1 2021/02/05 17:25:52 triaxx Exp $ for available syntax-coloring definitions. .SH NOTES -@@ -420,4 +420,4 @@ the environment variable \fBNANO_NOCATCH +@@ -417,4 +417,4 @@ .SH SEE ALSO .BR nanorc (5) .sp diff --git a/editors/nano/patches/patch-doc_nanorc.5 b/editors/nano/patches/patch-doc_nanorc.5 index d2335a50ccc..4752b68014d 100644 --- a/editors/nano/patches/patch-doc_nanorc.5 +++ b/editors/nano/patches/patch-doc_nanorc.5 @@ -1,10 +1,10 @@ -$NetBSD: patch-doc_nanorc.5,v 1.1 2021/02/05 17:25:52 triaxx Exp $ +$NetBSD: patch-doc_nanorc.5,v 1.2 2021/02/27 19:26:28 schwarz Exp $ * Fix hard-coded pathes. ---- doc/nanorc.5.orig 2021-01-14 10:11:45.000000000 +0000 -+++ doc/nanorc.5 -@@ -25,7 +25,7 @@ nanorc \- GNU nano's configuration file +--- doc/nanorc.5.orig 2021-02-24 10:56:32.000000000 +0100 ++++ doc/nanorc.5 2021-02-27 20:12:41.000000000 +0100 +@@ -25,7 +25,7 @@ The \fInanorc\fP files contain the default settings for \fBnano\fP, a small and friendly editor. During startup, if \fB\-\-rcfile\fR is not given, \fBnano\fR will read two files: first the @@ -13,7 +13,7 @@ $NetBSD: patch-doc_nanorc.5,v 1.1 2021/02/05 17:25:52 triaxx Exp $ different on your system), and then the user-specific settings, either from \fI~/.nanorc\fR or from \fI$XDG_CONFIG_HOME/nano/nanorc\fR or from \fI~/.config/nano/nanorc\fR, whichever is encountered first. -@@ -995,13 +995,13 @@ for \fBunbind\fR it means all menus wher +@@ -997,13 +997,13 @@ .SH FILES .TP -- cgit v1.2.3