pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc updated editors/nano to 7.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8abdccfe9de8
branches:  trunk
changeset: 390178:8abdccfe9de8
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sat Dec 17 22:09:16 2022 +0000

description:
updated editors/nano to 7.1

Quoting from the ChangeLog:
Changes between v7.0 and v7.1:
------------------------------

Benno Schulenberg (8):
      build: fix compilation when configured with --disable-comment
      bump version numbers and add a news item for the 7.1 release
      copyright: update the last year for significantly changed files
      docs: say thanks to the Albanian translator
      rcfile: report an error when an included file does not exist
      text: upon Enter, eat only lefthand blanks, not any other characters
      tweaks: avoid passing NULL to access()
      tweaks: wrap overlong lines in the Tcl syntax, to make them manageable

Changes between v6.4 and v7.0:
------------------------------

Benno Schulenberg (94):
      build: add options --disable-formatter and --disable-linter to configure
      build: exclude some pieces that are not needed with --disable-nanorc
      build: exclude two unneeded functions correctly from the tiny version
      build: fix compilation when configured with --enable-tiny
      bump version numbers and add a news item for the 7.0 release
      completion: search through all open buffers for possible completions
      docs: clarify the distinction between binding a function and "{function}"
      docs: describe --disable-formatter and --disable-linter configure options
      docs: explain how to include a double quote plus space in a nanorc regex
      docs: improve the legibility of an itemized list
      docs: mention in the man page how M-V can insert any Unicode code point
      docs: mention that string binds may contain function names between braces
      docs: replace control codes in the examples with {command} cartouches
      docs: suggest a key binding for snipping trailing blanks
      execute: show "Cancelled" instead of "Error" when the user hits ^C
      extra: use the whole terminal for the crawl, and quicken it a bit
      feedback: suppress undo/redo messages when option --zero is in effect
      files: before sending data to an external command, decode LF back to NUL
      files: improve the error handling when executing an external command
      filtering: terminate also the sender process when the user hits ^C
      filtering: when returning to a line number, ensure it is within range
      gnulib: update to its current upstream state
      goto: don't center the current line when the user specified a column only
      help: don't show the New-Buffer toggle when in view mode
      help: move the M-Del item up, so that M-PgUp and M-PgDn are paired
      help: prioritize the unshifted Meta keystrokes for buffer switching
      input: allocate a small keystroke buffer, and never free it
      input: allocate two small character buffers too, and never free them
      input: give up when the capacity of the keystroke buffer overflows
      input: interpret commands of the form {functionname} inside string binds
      memory: avoid a leak when a string bind specifies an unknown menu
      prompt: allow rebinding also ^N, ^Q, and ^Y at the yes-no prompt
      prompt: ingest queued characters before handling any subsequent function
      prompt: prevent execution of inadmissible functions in view mode
      prompt: return FALSE for non-editing functions also in the tiny version
      prompt: toggle the help lines only for the 'nohelp' toggle
      search: skip a match on the magic line, as it is a just convenience line
      startup: ensure that +/string centers the match also with --linenumbers
      startup: for +/string, center the found occurrence when possible
      startup: quit when standard input is not a TTY (after handling arguments)
      startup: report an empty search string also when there is a modifier
      syntax: nanorc: colorize valid function names plus surrounding braces
      tweaks: add parentheses for consistency, and reshuffle for conciseness
      tweaks: allow the linter to be used in view mode, as it makes no changes
      tweaks: attribute some of the features that were added in the last years
      tweaks: avoid iterating over the same string twice in a row
      tweaks: avoid sometimes calling a function three times in a row
      tweaks: check the multiline regexes only for Delete and Backspace
      tweaks: condense a comment, add two small ones, and reshuffle a line
      tweaks: delete a flag that is no longer used
      tweaks: determine in another way whether a shortcut is okay in view mode
      tweaks: discard a bracketed paste in the browser more efficiently
      tweaks: don't use a pointer when the value itself is all that is needed
      tweaks: drop an unneeded check for permissibility of prompt shortcuts
      tweaks: drop a parameter that is no longer used
      tweaks: drop shunting of flags by calling the needed function directly
      tweaks: elide a function that does not need to be a separate function
      tweaks: elide an assignment by iterating with the target variable
      tweaks: elide an intermediary variable that is no longer needed
      tweaks: elide an unused parameter
      tweaks: elide an unused return value
      tweaks: elide a parameter by moving the general case one level up
      tweaks: elide a variable, rename another, and reshuffle an assignment
      tweaks: fold two cases together, because they basically do the same
      tweaks: group the special keycodes for implanted strings together
      tweaks: improve two comments, and exclude two unneeded prototypes
      tweaks: make the crawl use the whole screen also in the tiny version
      tweaks: make two error messages more succinct and easier to translate
      tweaks: move the arrays of menu names and symbols to where they are used
      tweaks: move the --magic option up, so that --zero comes last
      tweaks: move to a given line number more efficiently
      tweaks: move two checks plus corresponding calls to a better place
      tweaks: normalize the indentation after the previous change
      tweaks: reduce four variations of a message to a single common form
      tweaks: rename a macro for clarity, and normalize some indentation
      tweaks: rename a variable, away from an abbreviation
      tweaks: rename two record elements and three parameters, for clarity
      tweaks: replace sizeof(char) with 1, as that is assumed anyway
      tweaks: reshuffle a declaration, and correct the wording of a comment
      tweaks: reshuffle a line, to group things better
      tweaks: reshuffle some code and drop some comments, for conciseness
      tweaks: reshuffle some code, to not determine a shortcut twice
      tweaks: reshuffle some lines, to be more readable instead of compact
      tweaks: reshuffle two lines, for conciseness and in preparation
      tweaks: reword and/or condense four comments
      tweaks: rewrap line, improve wording, and correct typo in old news item
      tweaks: rewrap some lines, drop a redundant call, and reshuffle a line
      tweaks: simplify a function now that a Unicode code can be typed quicker
      tweaks: simplify a pasting routine, modelling it after the injection one
      tweaks: use an auxiliary variable to avoid dereferences of 'shortcut'
      undo: make sure the current line is defined before it is referenced
      verbatim: allow the user to finish Unicode input with <Enter> or <Space>
      verbatim: do not overwrite the status bar when the code is invalid
      verbatim: don't show dots during Unicode input, as they give wrong idea

diffstat:

 doc/CHANGES-2022                     |   3 ++-
 editors/nano/Makefile                |   4 ++--
 editors/nano/PLIST                   |   3 ++-
 editors/nano/distinfo                |  10 +++++-----
 editors/nano/patches/patch-configure |  18 +++++++++---------
 5 files changed, 20 insertions(+), 18 deletions(-)

diffs (88 lines):

diff -r d4db91c79a24 -r 8abdccfe9de8 doc/CHANGES-2022
--- a/doc/CHANGES-2022  Sat Dec 17 21:36:30 2022 +0000
+++ b/doc/CHANGES-2022  Sat Dec 17 22:09:16 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2022,v 1.6171 2022/12/17 21:36:30 triaxx Exp $
+$NetBSD: CHANGES-2022,v 1.6172 2022/12/17 22:09:16 schwarz Exp $
 
 Changes to the packages collection and infrastructure in 2022:
 
@@ -9283,3 +9283,4 @@
        Updated devel/R-devtools to 2.4.5 [mef 2022-12-17]
        Updated ham/chirp to 20221217 [gdt 2022-12-17]
        Updated pkgtools/rc.d-boot to 20221202 [triaxx 2022-12-17]
+       Updated editors/nano to 7.1 [schwarz 2022-12-17]
diff -r d4db91c79a24 -r 8abdccfe9de8 editors/nano/Makefile
--- a/editors/nano/Makefile     Sat Dec 17 21:36:30 2022 +0000
+++ b/editors/nano/Makefile     Sat Dec 17 22:09:16 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.104 2022/08/02 19:52:08 schwarz Exp $
+# $NetBSD: Makefile,v 1.105 2022/12/17 22:09:16 schwarz Exp $
 
-DISTNAME=      nano-6.4
+DISTNAME=      nano-7.1
 CATEGORIES=    editors
 MASTER_SITES=  https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/
 EXTRACT_SUFX=  .tar.xz
diff -r d4db91c79a24 -r 8abdccfe9de8 editors/nano/PLIST
--- a/editors/nano/PLIST        Sat Dec 17 21:36:30 2022 +0000
+++ b/editors/nano/PLIST        Sat Dec 17 22:09:16 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2022/08/02 19:52:08 schwarz Exp $
+@comment $NetBSD: PLIST,v 1.33 2022/12/17 22:09:16 schwarz Exp $
 bin/nano
 bin/rnano
 info/nano.info
@@ -26,6 +26,7 @@
 share/locale/is/LC_MESSAGES/nano.mo
 share/locale/it/LC_MESSAGES/nano.mo
 share/locale/ja/LC_MESSAGES/nano.mo
+share/locale/ka/LC_MESSAGES/nano.mo
 share/locale/ko/LC_MESSAGES/nano.mo
 share/locale/ms/LC_MESSAGES/nano.mo
 share/locale/nb/LC_MESSAGES/nano.mo
diff -r d4db91c79a24 -r 8abdccfe9de8 editors/nano/distinfo
--- a/editors/nano/distinfo     Sat Dec 17 21:36:30 2022 +0000
+++ b/editors/nano/distinfo     Sat Dec 17 22:09:16 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.74 2022/08/02 19:52:08 schwarz Exp $
+$NetBSD: distinfo,v 1.75 2022/12/17 22:09:16 schwarz Exp $
 
-BLAKE2s (nano-6.4.tar.xz) = 4d01371b376ab0cd4677a0d450d26de978affd6eb9fcf63f24984274438742f8
-SHA512 (nano-6.4.tar.xz) = cff2d9d90f1a23ab8905320e651f8bbc9d38046153a4f64bbc21927687d9628135915468b00b28f88a0eb7d395d1bcb0b9b7abcf367e5a46a5f3da01d8d6e72b
-Size (nano-6.4.tar.xz) = 1593804 bytes
-SHA1 (patch-configure) = 8df30018d732c00202b4173f1c3ae0e03aa56245
+BLAKE2s (nano-7.1.tar.xz) = c9d06e50ddb07a13744eaf45dd7ebe9a6e6237090ce58d980f0c5dfca2ccde96
+SHA512 (nano-7.1.tar.xz) = e3226df636d3ae1d94e2907ce8bbdb8de69eb45afd02fb1c83e275a1dcc288081809041adbfdade35a580bcb9f9632d21a45d764b43d22b3e4cfd87c7757c4e0
+Size (nano-7.1.tar.xz) = 1605272 bytes
+SHA1 (patch-configure) = 63c7c2b827375e742ef444be847ec5f223bd0855
 SHA1 (patch-doc_nano.1) = 3d160aa6a4324400e79064d22cbd291a0d3de4f9
 SHA1 (patch-doc_nanorc.5) = 4d8af863bfa51eeac2a5e5cd04bd16aba3b6e29a
diff -r d4db91c79a24 -r 8abdccfe9de8 editors/nano/patches/patch-configure
--- a/editors/nano/patches/patch-configure      Sat Dec 17 21:36:30 2022 +0000
+++ b/editors/nano/patches/patch-configure      Sat Dec 17 22:09:16 2022 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-configure,v 1.8 2021/02/27 19:26:27 schwarz Exp $
-
+$NetBSD: patch-configure,v 1.9 2022/12/17 22:09:16 schwarz Exp $
+  
 Disable the groff html check to prevent random PLIST variation.
 
---- configure.orig     2021-02-24 11:03:43.000000000 +0100
-+++ configure  2021-02-27 20:12:29.000000000 +0100
-@@ -38300,7 +38300,7 @@
+--- configure.orig     2022-12-17 22:48:33.000000000 +0100
++++ configure  2022-12-17 22:50:14.000000000 +0100
+@@ -42817,7 +42817,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; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HTML support in groff" >&5
+ $as_echo_n "checking for HTML support in groff... " >&6; }
 -groff -t -mandoc -Thtml </dev/null >/dev/null
 +false #groff -t -mandoc -Thtml </dev/null >/dev/null
  if test $? -ne 0 ; then
-       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
- printf "%s\n" "no" >&6; }
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }



Home | Main Index | Thread Index | Old Index