pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/nnn



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Tue Nov 23 23:20:14 UTC 2021

Modified Files:
        pkgsrc/sysutils/nnn: Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/nnn: MESSAGE

Log Message:
sysutils/nnn: Update to 4.4

Changes:
 - support macOS iterm2 in plugin preview-tui (#1196)
 - use selection at native command prompt with `%j` and `%J`
   - docs - https://github.com/jarun/nnn/wiki/concepts#special-variables
 - scroll strings longer than columns in rename/new prompts (#1213, #279)
 - batch rename symlink targets in listing mode (#1214)
 - option for recursive rename in plugin .nmv (#1186)
 - more frequent checks for cancellation during du (#1236)
 - picker mode: enable auto-proceed
 - picker mode: don't pick hovered file on <kbd>Enter</kbd> if selection exists
 - picker mode: fix issue in plugin `fzopen` when used to pick files
 - send file to explorer FIFO on double left click instead of opening it
 - new neovim plugin [nnn.nvim](https://github.com/luukvbaal/nnn.nvim)
   - nvim-only, featuring explorer mode (`-F` flag)
 - explorer mode for [nnn.vim](https://github.com/mcchrish/nnn.vim#explorer)
 - remove option `-w`: always place HW cursor on current entry
 - accept link name when linking a single target (#1201)
 - option `-i` to show current file information in info bar
 - force GNU sed on *BSD and Solaris
 - add `nsxiv` support to nuke, preview-tabbed and imgview (#1230)
 - fix preview-tui without `-a` (#1208)
 - pass `pts` in env var for preview-tui to use in `tput` (#1235)
 - disable editing file in picker mode (#1183)
 - save session in picker mode (#1190)
 - use nerd icons for gitstatus patch (#1220)

Package changes:
 - Now includes plugins in share/examples/nnn/plugins


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/nnn/MESSAGE
cvs rdiff -u -r1.28 -r1.29 pkgsrc/sysutils/nnn/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/nnn/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/nnn/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/nnn/Makefile
diff -u pkgsrc/sysutils/nnn/Makefile:1.28 pkgsrc/sysutils/nnn/Makefile:1.29
--- pkgsrc/sysutils/nnn/Makefile:1.28   Wed Sep 29 15:27:05 2021
+++ pkgsrc/sysutils/nnn/Makefile        Tue Nov 23 23:20:14 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2021/09/29 15:27:05 sjmulder Exp $
+# $NetBSD: Makefile,v 1.29 2021/11/23 23:20:14 sjmulder Exp $
 
-DISTNAME=      nnn-4.3
+DISTNAME=      nnn-4.4
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -10,12 +10,13 @@ HOMEPAGE=   https://github.com/jarun/nnn/
 COMMENT=       Optimized, feature-packed terminal file manager
 LICENSE=       2-clause-bsd
 
-USE_TOOLS+=    gmake pkg-config
+USE_TOOLS+=    gmake pkg-config gsed:run
 USE_CURSES=    wide set_escdelay
 
 INSTALLATION_DIRS+=    share/bash-completion/completions
 INSTALLATION_DIRS+=    share/fish/vendor_completions.d
 INSTALLATION_DIRS+=    share/zsh/site-functions
+INSTALLATION_DIRS+=    share/examples/nnn/plugins
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -57,6 +58,12 @@ MAKE_ENV+=   CFLAGS_CURSES=${BUILDLINK_CFL
 MAKE_ENV+=     LDLIBS_CURSES=${BUILDLINK_LDADD.curses:Q}
 
 post-install:
+       ${INSTALL} \
+               ${WRKSRC}/plugins/* \
+               ${DESTDIR}${PREFIX}/share/examples/nnn/plugins
+       ${INSTALL_DATA} \
+               ${WRKSRC}/plugins/README.md \
+               ${DESTDIR}${PREFIX}/share/examples/nnn/plugins
        ${INSTALL_DATA} \
                ${WRKSRC}/misc/auto-completion/bash/nnn-completion.bash \
                ${DESTDIR}${PREFIX}/share/bash-completion/completions/nnn

Index: pkgsrc/sysutils/nnn/PLIST
diff -u pkgsrc/sysutils/nnn/PLIST:1.2 pkgsrc/sysutils/nnn/PLIST:1.3
--- pkgsrc/sysutils/nnn/PLIST:1.2       Wed Apr 29 09:29:38 2020
+++ pkgsrc/sysutils/nnn/PLIST   Tue Nov 23 23:20:14 2021
@@ -1,6 +1,57 @@
-@comment $NetBSD: PLIST,v 1.2 2020/04/29 09:29:38 sjmulder Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/11/23 23:20:14 sjmulder Exp $
 bin/nnn
 man/man1/nnn.1
 share/bash-completion/completions/nnn
+share/examples/nnn/plugins/README.md
+share/examples/nnn/plugins/autojump
+share/examples/nnn/plugins/boom
+share/examples/nnn/plugins/bulknew
+share/examples/nnn/plugins/cdpath
+share/examples/nnn/plugins/chksum
+share/examples/nnn/plugins/cmusq
+share/examples/nnn/plugins/diffs
+share/examples/nnn/plugins/dragdrop
+share/examples/nnn/plugins/dups
+share/examples/nnn/plugins/finder
+share/examples/nnn/plugins/fixname
+share/examples/nnn/plugins/fzcd
+share/examples/nnn/plugins/fzhist
+share/examples/nnn/plugins/fzopen
+share/examples/nnn/plugins/fzplug
+share/examples/nnn/plugins/getplugs
+share/examples/nnn/plugins/gpgd
+share/examples/nnn/plugins/gpge
+share/examples/nnn/plugins/gutenread
+share/examples/nnn/plugins/imgresize
+share/examples/nnn/plugins/imgur
+share/examples/nnn/plugins/imgview
+share/examples/nnn/plugins/ipinfo
+share/examples/nnn/plugins/kdeconnect
+share/examples/nnn/plugins/launch
+share/examples/nnn/plugins/mimelist
+share/examples/nnn/plugins/moclyrics
+share/examples/nnn/plugins/mocq
+share/examples/nnn/plugins/mp3conv
+share/examples/nnn/plugins/mtpmount
+share/examples/nnn/plugins/nbak
+share/examples/nnn/plugins/nmount
+share/examples/nnn/plugins/nuke
+share/examples/nnn/plugins/oldbigfile
+share/examples/nnn/plugins/organize
+share/examples/nnn/plugins/pdfread
+share/examples/nnn/plugins/preview-tabbed
+share/examples/nnn/plugins/preview-tui
+share/examples/nnn/plugins/pskill
+share/examples/nnn/plugins/renamer
+share/examples/nnn/plugins/ringtone
+share/examples/nnn/plugins/rsynccp
+share/examples/nnn/plugins/splitjoin
+share/examples/nnn/plugins/suedit
+share/examples/nnn/plugins/togglex
+share/examples/nnn/plugins/umounttree
+share/examples/nnn/plugins/upload
+share/examples/nnn/plugins/wallpaper
+share/examples/nnn/plugins/x2sel
+share/examples/nnn/plugins/xdgdefault
 share/fish/vendor_completions.d/nnn.fish
 share/zsh/site-functions/_nnn

Index: pkgsrc/sysutils/nnn/distinfo
diff -u pkgsrc/sysutils/nnn/distinfo:1.25 pkgsrc/sysutils/nnn/distinfo:1.26
--- pkgsrc/sysutils/nnn/distinfo:1.25   Tue Oct 26 11:19:54 2021
+++ pkgsrc/sysutils/nnn/distinfo        Tue Nov 23 23:20:14 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2021/10/26 11:19:54 nia Exp $
+$NetBSD: distinfo,v 1.26 2021/11/23 23:20:14 sjmulder Exp $
 
-BLAKE2s (nnn-4.3.tar.gz) = 8e54eb33199ed131acdb641ef3966e6c71d45af053d1e7ffdf6b2d6dfb07f91f
-SHA512 (nnn-4.3.tar.gz) = 588af174d86db14acf5d1e2ac42f88ca5c6f0e105996a58771e7e0f989f224616e7a12d74fecc96540a9782db0cf8857c21bf0f50df4ee3b4b5c641291c64575
-Size (nnn-4.3.tar.gz) = 236606 bytes
+BLAKE2s (nnn-4.4.tar.gz) = b82efc124453e65014035d1146c27e1b962fea24b2e775d1cbecef102718d9c4
+SHA512 (nnn-4.4.tar.gz) = fec90fcfda7e52e5f49743feddbf0fdba50fa5a89cccda89ca7e1ff6626bc7fbe92e0bd41e6de48eb1690379add2294d7411e70226b89fc40878e42b4bb9239d
+Size (nnn-4.4.tar.gz) = 239005 bytes
 SHA1 (patch-src_nnn.c) = cbd382a0fe4c5cce1f384987d006675cbf280bdc

Added files:

Index: pkgsrc/sysutils/nnn/MESSAGE
diff -u /dev/null pkgsrc/sysutils/nnn/MESSAGE:1.1
--- /dev/null   Tue Nov 23 23:20:14 2021
+++ pkgsrc/sysutils/nnn/MESSAGE Tue Nov 23 23:20:14 2021
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2021/11/23 23:20:14 sjmulder Exp $
+
+To install the plugins bundled with nnn:
+
+ mkdir -p ~/.config/nnn/plugins
+ cp ${PREFIX}/share/examples/nnn/plugins/* ~/.config/nnn/plugins/
+
+===========================================================================



Home | Main Index | Thread Index | Old Index