Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d8fef03e0adfef6a8261827194f343a3a6d21fcb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d8fef03e0adfef6a8261827194f343a3a6d21fcb)
  • Date: Sun, 7 Aug 2022 06:11:11 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

shell-term-fm/nnn/BUILD | 5 ++++-
shell-term-fm/nnn/CONFIGURE | 7 +++++++
shell-term-fm/nnn/DEPENDS | 14 ++++++++++++++
shell-term-fm/nnn/HISTORY | 6 ++++++
shell-term-fm/nnn/INSTALL | 4 +---
5 files changed, 32 insertions(+), 4 deletions(-)

New commits:
commit d8fef03e0adfef6a8261827194f343a3a6d21fcb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nnn: post-update fixes

diff --git a/shell-term-fm/nnn/BUILD b/shell-term-fm/nnn/BUILD
index 03bf234..1dfa00b 100755
--- a/shell-term-fm/nnn/BUILD
+++ b/shell-term-fm/nnn/BUILD
@@ -2,4 +2,7 @@ export LDLIBS= &&
if is_depends_enabled "$SPELL" musl-fts; then
LDLIBS+=' -lfts'
fi &&
-make CFLAGS_OPTIMIZATION=
+
+OPTS="${NNN_OPTS} ${OPTS}" &&
+
+make CFLAGS_OPTIMIZATION= $OPTS
diff --git a/shell-term-fm/nnn/CONFIGURE b/shell-term-fm/nnn/CONFIGURE
new file mode 100755
index 0000000..71d6239
--- /dev/null
+++ b/shell-term-fm/nnn/CONFIGURE
@@ -0,0 +1,7 @@
+config_query_option NNN_OPTS "Enable debug mode?" n \
+ "O_DEBUG=1" \
+ "O_DEBUG=0" &&
+
+config_query_option NNN_OPTS "Enable 8 contexts?" n \
+ "O_CTX8=1" \
+ "O_CTX8=0"
diff --git a/shell-term-fm/nnn/DEPENDS b/shell-term-fm/nnn/DEPENDS
index abb8d0e..465a5f1 100755
--- a/shell-term-fm/nnn/DEPENDS
+++ b/shell-term-fm/nnn/DEPENDS
@@ -3,9 +3,23 @@ case "$HOST" in
depends musl-fts
;;
esac &&
+
+depends PKG-CONFIG &&
depends ncurses &&

+optional_depends readline \
+ "O_NORL=0" \
+ "O_NORL=1" \
+ "for readline support" &&
+
+optional_depends pcre \
+ "O_PCRE=1" \
+ "O_PCRE=0" \
+ "for PCRE support" &&
+
suggest_depends TEXT-EDITOR "" "" "to open/edit text files" &&
suggest_depends XDG-OPEN "" "" "for desktop opener support" &&
+suggest_depends atool "" "" "for archive handling via atool" &&
+suggest_depends libarchive "" "" "for archive handling via bsdtar" &&
suggest_depends mediainfo "" "" "for media information display via
mediainfo" &&
suggest_depends image-exiftool "" "" "for media information display via
exiftool"
diff --git a/shell-term-fm/nnn/HISTORY b/shell-term-fm/nnn/HISTORY
index 5f125ec..cec9402 100644
--- a/shell-term-fm/nnn/HISTORY
+++ b/shell-term-fm/nnn/HISTORY
@@ -1,3 +1,9 @@
+2022-08-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * INSTALL: install missing helper files
+ * DEPENDS: added missing dependencies
+ * CONFIGURE: added, for additional options
+ * BUILD: use NNN_OPTS
+
2022-07-26 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 4.6

diff --git a/shell-term-fm/nnn/INSTALL b/shell-term-fm/nnn/INSTALL
index 94bdd86..7152307 100755
--- a/shell-term-fm/nnn/INSTALL
+++ b/shell-term-fm/nnn/INSTALL
@@ -4,6 +4,4 @@ local PLUGIN_DIR="${INSTALL_ROOT}/usr/share/nnn/plugins" &&

install -vm 755 -d "${PLUGIN_DIR}" &&

-for plugin in plugins/*; do
- [ -x $plugin ] && (install -vm 755 $plugin "${PLUGIN_DIR}" || return 1)
-done
+cp -RT plugins "${PLUGIN_DIR}"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d8fef03e0adfef6a8261827194f343a3a6d21fcb), Vlad Glagolev, 08/07/2022

Archive powered by MHonArc 2.6.24.

Top of Page