Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (8ae73c4c616612eccc0b37b322e0277fc8f85965)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (8ae73c4c616612eccc0b37b322e0277fc8f85965)
  • Date: Thu, 29 Dec 2022 00:13:13 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

editors/neovim/DEPENDS | 2 +-
editors/neovim/HISTORY | 3 +++
libs/libtermkey/HISTORY | 3 +++
libs/libtermkey/PRE_SUB_DEPENDS | 6 ++++++
libs/libtermkey/SUB_DEPENDS | 6 ++++++
5 files changed, 19 insertions(+), 1 deletion(-)

New commits:
commit 8ae73c4c616612eccc0b37b322e0277fc8f85965
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

editors/neovim: needs libtermkey with unibilium driver

commit b8d35c427c7a31b38eec31db024a271e2d3bc4a8
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

libs/libtermkey: added sub_depends to manipulate driver selection

diff --git a/editors/neovim/DEPENDS b/editors/neovim/DEPENDS
index ba7cd9e..f50cf73 100755
--- a/editors/neovim/DEPENDS
+++ b/editors/neovim/DEPENDS
@@ -3,7 +3,7 @@ depends gperf &&
depends libuv &&
depends msgpack-c &&
depends unibilium &&
-depends libtermkey &&
+depends -sub UNIBILIUM libtermkey &&
depends libvterm &&
depends lpeg &&
depends lua-messagepack &&
diff --git a/editors/neovim/HISTORY b/editors/neovim/HISTORY
index 4f8a7f4..6160916 100644
--- a/editors/neovim/HISTORY
+++ b/editors/neovim/HISTORY
@@ -1,3 +1,6 @@
+2022-12-28 Pavel Vinpgradov <public AT sourcemage.org>
+ * DEPENDS: needs libtermkey with unibilium driver
+
2022-12-10 Conner Clere <connerclere AT gmail.com>
* DETAILS: version 0.8.1, SECURITY_PATCH++
* DEPENDS: add libmpack-lua, tree-sitter, bitlib, luv deps
diff --git a/libs/libtermkey/HISTORY b/libs/libtermkey/HISTORY
index 97b98d5..b4abe53 100644
--- a/libs/libtermkey/HISTORY
+++ b/libs/libtermkey/HISTORY
@@ -1,3 +1,6 @@
+2022-12-28 Pavel Vinpgradov <public AT sourcemage.org>
+ * *SUB_DEPENDS: added to manipulate driver selection
+
2022-07-27 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: switch to PKG-CONFIG provider (automated)

diff --git a/libs/libtermkey/PRE_SUB_DEPENDS b/libs/libtermkey/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..1dce7e3
--- /dev/null
+++ b/libs/libtermkey/PRE_SUB_DEPENDS
@@ -0,0 +1,6 @@
+case $THIS_SUB_DEPENDS in
+ UNIBILIUM) list_find "$LIBTERMKEY_DRIVER" "unibilium" && return 0 ;;
+ NCURSES) list_find "$LIBTERMKEY_DRIVER" "ncurses" && return 0;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;;
+esac
+return 1
diff --git a/libs/libtermkey/SUB_DEPENDS b/libs/libtermkey/SUB_DEPENDS
new file mode 100755
index 0000000..4fc9229
--- /dev/null
+++ b/libs/libtermkey/SUB_DEPENDS
@@ -0,0 +1,6 @@
+case $THIS_SUB_DEPENDS in
+ UNIBILIUM) list_remove LIBTERMKEY_DRIVER "ncurses" && list_add
LIBTERMKEY_DRIVER "unibilium" && return 0 ;;
+ NCURSES) list_remove LIBTERMKEY_DRIVER "unibilium" && list_add
LIBTERMKEY_DRIVER "ncurses" && return 0 ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;;
+esac
+return 1



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (8ae73c4c616612eccc0b37b322e0277fc8f85965), Pavel Vinogradov, 12/28/2022

Archive powered by MHonArc 2.6.24.

Top of Page