nnn: Update to 2.9

Package changes:
 - New debug option
 - Fix for build failure CentOS & RHEL 6
 - Workaround for startup crash on NetBSD

Upstream changes:
 - all keybinds and options reviewed by the team and frozen (see #422)
   - reduced number of keybinds
 - greatly improved help screen readability
 - nuke: sample opener (CLI-only by default) and plugin
 - fast line redraws instead of full screen refresh (thanks @annagrram)
 - auto archive handling by extension (see config NNN_ARCHIVE)
 - Lead key simplified to bookmark key (<b> or <^/>)
 - single key to toggle order (<t> or <^T>)
 - plugins
   - .cbcp: copy selection to system clipboard (internal, program
     option -x)
   - .ntfy: show noti on cp, mv, rm completion (internal, program
     option -x)
   - autojump: navigate using autojump
   - upload: paste text files to http://ix.io, upload rest to
     https://file.io
   - all fuzzy plugins modified to support both fzf and fzy
 - more control on plugins
   - prefix - to skip directory refresh after running (cmd as) plugin
   - suffix * to skip confirmation after running cmd as plugin
 - indicate range selection mode with *
 - list keys at bookmark and plugin key prompts
 - visit to pinned dir like bookmarks (Bookmark key followed by <,>)
 - toggle executable (key <*>)
 - show mime along with file details
 - more special keys at empty filter prompt:
   - apply the last filter (<^L>)
   - toggle between string and regex (</>)
   - toggle case-sensitivity (<:>)
 - retain filter on <Esc>, <Up>, <Down>
 - show filter details when filter is on
 - remove option to run filter as cmd on prompt key (can be disruptive)
 - program options
   - option -x: enable notis and copy selection to system clipboard
   - option -g: regex filters (string filter is default now)
   - option -Q: quit program without confirmation
   - option -s: load session
   - option -n: start in nav-as-you-type mode
   - option -v: version sort
   - option -V: show program version
   - option -A: disable dir auto-select
 - ISO 8601 compliant date in status bar
 - ported to Haiku OS (thanks @annagrram)
 - sort only filtered entries (to avoid directory refresh)
 - fix getplugs to install hidden files
 - fix several selection issues (see #400)
 - fix detail mode not restored on loading session
 - fix symlink to directory not auto-selected
 - fix regex error on partial regex patterns
 - fix symlink not shown if stat(2) on target fails
 - fix flags when spawning a CLI opener as default FM
 - fix issue with stat flag on Sun (no support for dirent.d_type)
 - fix current file in current context not saved correctly in session
 - signed source distribution on release
 - simplified debugging with line numbers in logs
This commit is contained in:
sjmulder 2020-01-28 14:31:19 +00:00
parent 4c62de4fa7
commit 9b44dfc970
3 changed files with 27 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2019/12/05 13:46:08 sjmulder Exp $
# $NetBSD: Makefile,v 1.15 2020/01/28 14:31:19 sjmulder Exp $
DISTNAME= nnn-2.8.1
DISTNAME= nnn-2.9
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=jarun/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@ -13,6 +13,18 @@ LICENSE= 2-clause-bsd
USE_TOOLS+= gmake pkg-config
USE_CURSES= wide set_escdelay getmouse
.include "../../mk/bsd.prefs.mk"
# Crashes with NetBSD's libedit/libtermcap, see:
# https://github.com/jarun/nnn/issues/445
.if ${OPSYS} == "NetBSD"
READLINE_DEFAULT= readline
.endif
# clock_gettime() on older glibc (eg RHEL 6), see:
# https://github.com/jarun/nnn/issues/453
MAKE_ENV.Linux+= LDLIBS=-lrt
MAKE_ENV+= MANPREFIX=${PREFIX}/${PKGMANDIR}
MAKE_ENV+= CFLAGS_OPTIMIZATION=
MAKE_ENV+= CFLAGS_CURSES=${BUILDLINK_CFLAGS.curses:Q}

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.9 2019/12/05 13:46:08 sjmulder Exp $
$NetBSD: distinfo,v 1.10 2020/01/28 14:31:19 sjmulder Exp $
SHA1 (nnn-2.8.1.tar.gz) = cb14f4c33cdaa190cb49662f4ac697f2d756ef6b
RMD160 (nnn-2.8.1.tar.gz) = 73359fd3d33962ed492c344cfa74432b81a2e56d
SHA512 (nnn-2.8.1.tar.gz) = b669136c1a0e1f0346e86430acb59af8328eda83b0c1a9d8079b886d632556aac9a19a362dc8373f2558cc54c7f4bedb3e56cb16a3a08d560b9ccd14ada36bd8
Size (nnn-2.8.1.tar.gz) = 91069 bytes
SHA1 (nnn-2.9.tar.gz) = 17f41def0cde1485eb2b3ebdeee65d0457c5f0e7
RMD160 (nnn-2.9.tar.gz) = 029808587e3c55a7872fad602f871b6d16a44f1e
SHA512 (nnn-2.9.tar.gz) = 7bc64901a317de79cb9e29502cda70b59ca681ddde53385521a08e49cbc32fa10bb76ceef2e911838c0bb7be4f5018dce4a1906e77c0ca9f1ec8164c82da7bb2
Size (nnn-2.9.tar.gz) = 97998 bytes
SHA1 (patch-src_nnn.c) = 8d89c07976cbaab520f9aaf5a3d66bed02aa1a3a

View file

@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.2 2019/10/16 16:12:42 sjmulder Exp $
# $NetBSD: options.mk,v 1.3 2020/01/28 14:31:19 sjmulder Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nnn
PKG_SUPPORTED_OPTIONS+= readline
PKG_SUPPORTED_OPTIONS+= readline debug
PKG_SUGGESTED_OPTIONS+= readline
.include "../../mk/bsd.options.mk"
@ -9,5 +9,9 @@ PKG_SUGGESTED_OPTIONS+= readline
.if !empty(PKG_OPTIONS:Mreadline)
.include "../../mk/readline.buildlink3.mk"
.else
MAKE_ENV+= O_NORL=1
MAKE_FLAGS+= O_NORL=1
.endif
.if !empty(PKG_OPTIONS:Mdebug)
MAKE_FLAGS+= O_DEBUG=1
.endif