pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/nnn sysutils/nnn: update to 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0c274e30c18
branches:  trunk
changeset: 342249:c0c274e30c18
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Wed Oct 16 16:12:42 2019 +0000

description:
sysutils/nnn: update to 2.7

Upstream changes:
 - user requests/pain points addressed:
    - plugins for image preview, image and video thumbnails
    - redesigned simplified selection workflow
    - drop path prefix of files in current dir for selection based
      archives
    - custom direct keybinds for plugins
    - libreadline .history file moved to nnn config directory
    - export current entry as $NN at command prompt
    - more informative status bar in light/detail modes
    - auto-proceed on individual file selection
    - path clipping for long paths
    - several binary config vars are now program options to support
      aliasing
    - completely revamped wiki
 - new program options:
    - -a to use file access time throughout the program
    - -c to indicate cli-only opener
    - -f to run filter as command on ^P
    - -o replaces config NNN_RESTRICT_NAV_OPEN
    - -t replaces config NNN_NO_AUTOSELECT
    - -r replaces config NNN_OPS_PROG
 - plugin changes:
    - vidthumb - show video thumbnails in terminal
    - mediainf - show media info (decoupled as a plugin)
    - notes - open a quick notes file/dir in $EDITOR (decoupled as a
      plugin)
    - dups - list duplicate files in the current directory
    - oldbigfile - list large files by access time
    - moclyrics - show lyrics of the track currently playing in MOC
    - uidgid list uid and gid of files in directory
    - mocplay - now detects if a track is playing or not
    - organize - categorize files and move to respective directories
    - pastebin - now uses ix.io paste service
    - fzy-edit - merged into fzy-open
    - viuimg - fix directory view
    - checksum - fixed POSIX compliance issues
    - boom - play music in MOC
 - keybind changes:
    - select entry: Space and ^J
    - select range (or clear selection): m and ^K
    - select all in dir: a
    - list selection: M
    - ^N replaces ^T to toggle nav-as-you-type
    - Shift TAB to reverse context cycle
    - ' to jump to first file in dir
    - S for du, A for apparent du
    - additional key : to run plugin
    - additional key F2 to rename file
    - additional key F5 to redraw
    - quit context key Leadq is removed
 - Leader key combinations:
    - Lead+' to jump to first file in dir
    - Lead+. toggle show hidden files
 - improved duplicate file workflow
 - improved batch rename workflow when a selection exists
 - removed the wild load option (-w)
 - removed quick notes (added plugin notes)
 - fix #225 "CPU using %100 by nnn" (thanks @KlzXS)
 - fix tar/bsdtar always creating tar archives (and not by suffix)
 - fix single mouse click to select file not working
 - fix symlink to dir removed on batch rename

diffstat:

 sysutils/nnn/Makefile   |   7 ++-----
 sysutils/nnn/distinfo   |  10 +++++-----
 sysutils/nnn/options.mk |   5 +++--
 3 files changed, 10 insertions(+), 12 deletions(-)

diffs (55 lines):

diff -r 57079d750de7 -r c0c274e30c18 sysutils/nnn/Makefile
--- a/sysutils/nnn/Makefile     Wed Oct 16 14:46:17 2019 +0000
+++ b/sysutils/nnn/Makefile     Wed Oct 16 16:12:42 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2019/08/12 11:57:45 sjmulder Exp $
+# $NetBSD: Makefile,v 1.12 2019/10/16 16:12:42 sjmulder Exp $
 
-DISTNAME=      nnn-2.6
+DISTNAME=      nnn-2.7
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -13,9 +13,6 @@
 USE_TOOLS+=    gmake pkg-config
 USE_CURSES=    wide set_escdelay getmouse
 
-# build without readline unless option set (see options.mk)
-BUILD_TARGET=  norl
-
 MAKE_ENV+=     MANPREFIX=${PREFIX}/${PKGMANDIR}
 MAKE_ENV+=     CFLAGS_OPTIMIZATION=
 MAKE_ENV+=     CFLAGS_CURSES=${BUILDLINK_CFLAGS.curses:Q}
diff -r 57079d750de7 -r c0c274e30c18 sysutils/nnn/distinfo
--- a/sysutils/nnn/distinfo     Wed Oct 16 14:46:17 2019 +0000
+++ b/sysutils/nnn/distinfo     Wed Oct 16 16:12:42 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2019/08/12 11:57:45 sjmulder Exp $
+$NetBSD: distinfo,v 1.7 2019/10/16 16:12:42 sjmulder Exp $
 
-SHA1 (nnn-2.6.tar.gz) = d6938abbff58f2399ebb40b5a4b2dfd77610d609
-RMD160 (nnn-2.6.tar.gz) = e690b49fc6918ef0132bbcb1e6f042e41293e73d
-SHA512 (nnn-2.6.tar.gz) = dbb445d5f3bd64640c053d04cab7c7c6aa82034c4715236129b6079c69db57c870cf255d454aeb224c85ac9d52835999403285f1d4a4c72ea8a3d439a4e9e1eb
-Size (nnn-2.6.tar.gz) = 78668 bytes
+SHA1 (nnn-2.7.tar.gz) = 6e5931baeff02a7ff745019c6b555aa6aff6d696
+RMD160 (nnn-2.7.tar.gz) = ff48a51bdff827ca1e1db4180bd98cb9774322a1
+SHA512 (nnn-2.7.tar.gz) = 432d268caf501349cf2ed95b7b889d373c43d8efba3ca72dabcab579b1f39546bcef55dff07b1d2d56b9a0b56da6c4461d37c66db6e66895b051c616b9b77ccb
+Size (nnn-2.7.tar.gz) = 78047 bytes
diff -r 57079d750de7 -r c0c274e30c18 sysutils/nnn/options.mk
--- a/sysutils/nnn/options.mk   Wed Oct 16 14:46:17 2019 +0000
+++ b/sysutils/nnn/options.mk   Wed Oct 16 16:12:42 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2019/03/19 22:43:18 leot Exp $
+# $NetBSD: options.mk,v 1.2 2019/10/16 16:12:42 sjmulder Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nnn
 PKG_SUPPORTED_OPTIONS+=        readline
@@ -7,6 +7,7 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mreadline)
-BUILD_TARGET=          all
 .include "../../mk/readline.buildlink3.mk"
+.else
+MAKE_ENV+=             O_NORL=1
 .endif



Home | Main Index | Thread Index | Old Index