diff options
author | sjmulder <sjmulder@pkgsrc.org> | 2019-10-16 16:12:42 +0000 |
---|---|---|
committer | sjmulder <sjmulder@pkgsrc.org> | 2019-10-16 16:12:42 +0000 |
commit | 95ceb32e53e1d12895f3496cd53f72afb245260f (patch) | |
tree | 1f1abe45dfb0d43dda8f7fdc4e7e15d46afd7e31 /sysutils | |
parent | c73205e853b38824cbb1286a9be94fd1017f2dd4 (diff) | |
download | pkgsrc-95ceb32e53e1d12895f3496cd53f72afb245260f.tar.gz |
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 (limited to 'sysutils')
-rw-r--r-- | sysutils/nnn/Makefile | 7 | ||||
-rw-r--r-- | sysutils/nnn/distinfo | 10 | ||||
-rw-r--r-- | sysutils/nnn/options.mk | 5 |
3 files changed, 10 insertions, 12 deletions
diff --git a/sysutils/nnn/Makefile b/sysutils/nnn/Makefile index 4382c8e7bd6..b90bc058f30 100644 --- a/sysutils/nnn/Makefile +++ b/sysutils/nnn/Makefile @@ -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 @@ LICENSE= 2-clause-bsd 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 --git a/sysutils/nnn/distinfo b/sysutils/nnn/distinfo index c78eaf7a0f4..4d3e0a6c639 100644 --- a/sysutils/nnn/distinfo +++ b/sysutils/nnn/distinfo @@ -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 --git a/sysutils/nnn/options.mk b/sysutils/nnn/options.mk index 42a5d7dd6c3..1bacaf85065 100644 --- a/sysutils/nnn/options.mk +++ b/sysutils/nnn/options.mk @@ -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 @@ PKG_SUGGESTED_OPTIONS+= readline .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 |