Skip to Content.
Sympa Menu

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

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 (102addee84fa5c813b8d6b317f01bd6eca4768e3)
  • Date: Thu, 9 Mar 2023 00:20:03 +0000

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

ChangeLog | 3 +++
shell-term-fm/zellij/BUILD | 4 ++++
shell-term-fm/zellij/DEPENDS | 11 +++++++++++
shell-term-fm/zellij/DETAILS | 27 +++++++++++++++++++++++++++
shell-term-fm/zellij/FINAL | 14 ++++++++++++++
shell-term-fm/zellij/HISTORY | 3 +++
shell-term-fm/zellij/INSTALL | 17 +++++++++++++++++
shell-term-fm/zellij/PREPARE | 2 ++
8 files changed, 81 insertions(+)

New commits:
commit 102addee84fa5c813b8d6b317f01bd6eca4768e3
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

shell-term-fm/zellij: new spell, a terminal workspace with batteries
included

diff --git a/ChangeLog b/ChangeLog
index 6654ba9..b36aab3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2023-03-08 Pavel Vinogradov <public AT sourcemage.org>
+ * shell-term-fm/zellij: new spell, a terminal workspace with
batteries included
+
2023-03-08 Conner Clere <xenanthropy AT sourcemage.org>
* libs/libdisplay-info: new spell, EDID and DisplayID library
* libs/libliftoff: new spell, lightweight KMS plane library
diff --git a/shell-term-fm/zellij/BUILD b/shell-term-fm/zellij/BUILD
new file mode 100755
index 0000000..bf16d90
--- /dev/null
+++ b/shell-term-fm/zellij/BUILD
@@ -0,0 +1,4 @@
+export CARGO_HOME="${SOURCE_DIRECTORY}/cargo_home" &&
+
+cargo fetch --locked --target "${BUILD/-pc-/-unknown-}" &&
+RUSTUP_TOOLCHAIN=stable cargo build --release --frozen
diff --git a/shell-term-fm/zellij/DEPENDS b/shell-term-fm/zellij/DEPENDS
new file mode 100755
index 0000000..6e340e9
--- /dev/null
+++ b/shell-term-fm/zellij/DEPENDS
@@ -0,0 +1,11 @@
+if [[ "${ZELLIJ_BRANCH}" == "scm" ]]; then
+ depends git
+fi &&
+
+depends rust &&
+
+optional_depends bash-completion "" "" "for bash completion" &&
+
+optional_depends fish "" "" "for fish completion" &&
+
+optional_depends zsh "" "" "for zsh completion"
diff --git a/shell-term-fm/zellij/DETAILS b/shell-term-fm/zellij/DETAILS
new file mode 100755
index 0000000..8e9b7cb
--- /dev/null
+++ b/shell-term-fm/zellij/DETAILS
@@ -0,0 +1,27 @@
+. "${GRIMOIRE}/FUNCTIONS"
+ SPELL="zellij"
+if [[ "${ZELLIJ_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+ FORCE_DOWNLOAD="on"
+
SOURCE_URL[0]="git_http://github.com/${SPELL}-org/${SPELL}.git:${SPELL}-scm";
+ SOURCE_IGNORE="volatile"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+else
+ VERSION="0.35.1"
+
SOURCE_HASH="sha512:4b6d56a195ae593b8d928aa0bb910684712d00fade60858e0ae89f983e17b8fc694c9135b30427b97887d268816850ff99c46786c0a2c2066e84d164a2576320"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/${SPELL}-org/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz";
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ LICENSE[0]="MIT"
+ WEB_SITE="https://zellij.dev/";
+ KEYWORDS="terminal multiplexer"
+ ENTERED="20230308"
+ DOCS="${DOCS} GOVERNANCE.md"
+ SHORT="terminal workspace with batteries included"
+cat << EOF
+Zellij is a workspace aimed at developers, ops-oriented people and anyone who
+loves the terminal. Similar programs are sometimes called
+"Terminal Multiplexers".
+EOF
diff --git a/shell-term-fm/zellij/FINAL b/shell-term-fm/zellij/FINAL
new file mode 100755
index 0000000..daf8eca
--- /dev/null
+++ b/shell-term-fm/zellij/FINAL
@@ -0,0 +1,14 @@
+chmod 0755 "${INSTALL_ROOT}/usr/bin/${SPELL}" &&
+chmod 0644 "${INSTALL_ROOT}/usr/share/applications/${SPELL}.desktop" &&
+
+if is_depends_enabled "${SPELL}" "bash-completion"; then
+ chmod 0644 "${INSTALL_ROOT}/usr/share/bash-completion/completions/${SPELL}"
+fi &&
+
+if is_depends_enabled "${SPELL}" "fish"; then
+ chmod 0644
"${INSTALL_ROOT}/usr/share/fish/vendor_completions.d/${SPELL}.fish"
+fi &&
+
+if is_depends_enabled "${SPELL}" "fish"; then
+ chmod 0644 "${INSTALL_ROOT}/usr/share/zsh/site-functions/_${SPELL}"
+fi
diff --git a/shell-term-fm/zellij/HISTORY b/shell-term-fm/zellij/HISTORY
new file mode 100644
index 0000000..49fbfec
--- /dev/null
+++ b/shell-term-fm/zellij/HISTORY
@@ -0,0 +1,3 @@
+2023-03-08 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, FINAL, INSTALL, PREPARE: new spell,
version 0.35.1
+
diff --git a/shell-term-fm/zellij/INSTALL b/shell-term-fm/zellij/INSTALL
new file mode 100755
index 0000000..ed64045
--- /dev/null
+++ b/shell-term-fm/zellij/INSTALL
@@ -0,0 +1,17 @@
+install -D "target/release/${SPELL}" -t "${INSTALL_ROOT}/usr/bin" &&
+install -D "assets/${SPELL}.desktop"
"${INSTALL_ROOT}/usr/share/applications/${SPELL}.desktop" &&
+
+if is_depends_enabled "${SPELL}" "bash-completion"; then
+ ./target/release/${SPELL} setup --generate-completion bash >
"target/${SPELL}.bash" &&
+ install -D "target/${SPELL}.bash"
"${INSTALL_ROOT}/usr/share/bash-completion/completions/${SPELL}"
+fi &&
+
+if is_depends_enabled "${SPELL}" "fish"; then
+ ./target/release/${SPELL} setup --generate-completion fish >
"target/${SPELL}.fish" &&
+ install -D "target/${SPELL}.fish"
"${INSTALL_ROOT}/usr/share/fish/vendor_completions.d/${SPELL}.fish"
+fi &&
+
+if is_depends_enabled "${SPELL}" "fish"; then
+ ./target/release/${SPELL} setup --generate-completion zsh >
"target/${SPELL}.zsh" &&
+ install -D "target/${SPELL}.zsh"
"${INSTALL_ROOT}/usr/share/zsh/site-functions/_${SPELL}"
+fi
diff --git a/shell-term-fm/zellij/PREPARE b/shell-term-fm/zellij/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/shell-term-fm/zellij/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (102addee84fa5c813b8d6b317f01bd6eca4768e3), Pavel Vinogradov, 03/08/2023

Archive powered by MHonArc 2.6.24.

Top of Page