pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/nnn Update nnn to 2.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7db5671488bc
branches: trunk
changeset: 317397:7db5671488bc
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jan 05 19:33:24 2019 +0000
description:
Update nnn to 2.2.
>From Sijmen Mulder via email to tech-pkg.
Upstream changes:
- (neo)vim plugin nnn.vim
- macOS fixes
- Fix issues with file copy, move, remove
- Handle Del in rename prompt
- Pass correct file option to identify mime
- Support selection across directories and contexts
- Offer option force before file remove
- Keys Tab, ^I to go to next active context
- Per-context directory color specified by $NNN_CONTEXT_COLORS
- Option -c is removed
- Option -C to disable colors
- Choose script to run from a script directory
- Run a command (or launch an application)
- Run file as executable (key C)
- Documentation on lftp integration for remote file transfers
- Support a combined set of arguments to $EDITOR, $PAGER and $SHELL
- Handle > 2 GB files on 32-bit ARM
- Env var $DISABLE_FILE_OPEN_ON_NAV to disable file open on Right or l
- NUL-terminated file paths in selection list instead of LF
- Better support for Termux and Cygwin environments
- Remapped keys
- ^I - go to next active context
- ^T - toggle navigate-as-you-type
diffstat:
sysutils/nnn/Makefile | 4 +-
sysutils/nnn/distinfo | 10 ++++----
sysutils/nnn/patches/patch-Makefile | 41 -------------------------------------
3 files changed, 7 insertions(+), 48 deletions(-)
diffs (73 lines):
diff -r 4cc0ae48a989 -r 7db5671488bc sysutils/nnn/Makefile
--- a/sysutils/nnn/Makefile Sat Jan 05 18:16:08 2019 +0000
+++ b/sysutils/nnn/Makefile Sat Jan 05 19:33:24 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/12/17 14:22:52 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2 2019/01/05 19:33:24 bsiegert Exp $
-DISTNAME= nnn-2.1
+DISTNAME= nnn-2.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=jarun/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r 4cc0ae48a989 -r 7db5671488bc sysutils/nnn/distinfo
--- a/sysutils/nnn/distinfo Sat Jan 05 18:16:08 2019 +0000
+++ b/sysutils/nnn/distinfo Sat Jan 05 19:33:24 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/12/17 14:22:52 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2019/01/05 19:33:24 bsiegert Exp $
-SHA1 (nnn-2.1.tar.gz) = 033413269dd31604c188fe4d1cd798290a071bac
-RMD160 (nnn-2.1.tar.gz) = ac391618655cfc6c1d3a605cc4b3c4218c5cc074
-SHA512 (nnn-2.1.tar.gz) = 4ce20944df613706545cffb70896b9c494ed0304a591b1ffdae4886ac3783c2c1ab321b336b9873bd8b1382bc9c6ae8e0226f7abb98fb461ed64b28e1302d8f2
-Size (nnn-2.1.tar.gz) = 48481 bytes
+SHA1 (nnn-2.2.tar.gz) = a20b8a660bb8843ce8b85e4c9ee1ea01707481d4
+RMD160 (nnn-2.2.tar.gz) = 29231e10d4de0c8d04163cc94eae8fd0573fa381
+SHA512 (nnn-2.2.tar.gz) = 0144c9f9c29c2ff3818cf14532354e8182f872580ce7c5a06ab8595b4354edc3a4ede3afc667cd0561a3de4d2f34965a9c057f7ac9555d86feff83abaaca5793
+Size (nnn-2.2.tar.gz) = 50955 bytes
SHA1 (patch-Makefile) = df888894fd091e6a57ceb46aeb3443a369e1c79d
diff -r 4cc0ae48a989 -r 7db5671488bc sysutils/nnn/patches/patch-Makefile
--- a/sysutils/nnn/patches/patch-Makefile Sat Jan 05 18:16:08 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2018/12/17 14:22:52 bsiegert Exp $
-
- - Make curses flags configurable
- - Also use pkg-config for regular ncurses
- - Make optimization flags configurable
-
-Upstream PR:
-https://github.com/jarun/nnn/pull/166
-
---- Makefile
-+++ Makefile
-@@ -6,16 +6,24 @@ STRIP ?= strip
- PKG_CONFIG ?= pkg-config
- INSTALL ?= install
-
--CFLAGS ?= -O3
--CFLAGS += -Wall -Wextra -Wno-unused-parameter
-+CFLAGS_OPTIMIZATION ?= -O3
-
- ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
-- CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw)
-- LDLIBS += $(shell $(PKG_CONFIG) --libs ncursesw)
-+ CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
-+ LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)
-+else ifeq ($(shell $(PKG_CONFIG) ncurses && echo 1),1)
-+ CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncurses)
-+ LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncurses)
- else
-- LDLIBS += -lncurses
-+ LDLIBS_CURSES ?= -lncurses
- endif
-
-+CFLAGS += -Wall -Wextra -Wno-unused-parameter
-+CFLAGS += $(CFLAGS_OPTIMIZATION)
-+CFLAGS += $(CFLAGS_CURSES)
-+
-+LDLIBS += $(LDLIBS_CURSES)
-+
- DISTFILES = src nnn.1 Makefile README.md LICENSE
- SRC = src/nnn.c
- BIN = nnn
Home |
Main Index |
Thread Index |
Old Index