Skip to Content.
Sympa Menu

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

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 (3fdc00fd02bad492e94b821738180c3c32b78a33)
  • Date: Sat, 13 Jun 2020 18:36:41 +0000

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

ChangeLog | 3 +++
python-pypi/tmuxomatic/DEPENDS | 4 ++++
python-pypi/tmuxomatic/DETAILS | 17 +++++++++++++++++
python-pypi/tmuxomatic/HISTORY | 2 ++
python-pypi/tmuxomatic/PRE_BUILD | 4 ++++
python-pypi/tmuxomatic/extension.patch | 27 +++++++++++++++++++++++++++
6 files changed, 57 insertions(+)

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

tmuxomatic: new spell, intelligent tmux session manager

diff --git a/ChangeLog b/ChangeLog
index 518c557..e9ef0b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-06-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * python-pypi/tmuxomatic: new spell, intelligent tmux session manager
+
2020-06-12 Vlad Glagolev <stealth AT sourcemage.org>
* utils/screenkey: new spell, keyboard screencasting tool

diff --git a/python-pypi/tmuxomatic/DEPENDS b/python-pypi/tmuxomatic/DEPENDS
new file mode 100755
index 0000000..8b173fd
--- /dev/null
+++ b/python-pypi/tmuxomatic/DEPENDS
@@ -0,0 +1,4 @@
+depends python3 &&
+depends setuptools &&
+
+optional_depends pyyaml "" "" "for YAML config format support"
diff --git a/python-pypi/tmuxomatic/DETAILS b/python-pypi/tmuxomatic/DETAILS
new file mode 100755
index 0000000..df4daba
--- /dev/null
+++ b/python-pypi/tmuxomatic/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=tmuxomatic
+ VERSION=2.18
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://pypi.org/packages/source/t/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:27c4edd099d60305f0a8411cbc10df59d1f326e3688226337b8774ef54b088e258cd533bb20d1028ef48ef16bb165b7ec80f7208169f7476ce95ee01a6ee2017
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/oxidane/tmuxomatic
+ LICENSE[0]=BSD
+ KEYWORDS=""
+ ENTERED=20200613
+ SHORT="intelligent tmux session manager"
+cat << EOF
+At the heart of tmuxomatic is the windowgram, a better way of arranging tmux
+windows. The windowgram is a rectangle comprised of alphanumeric characters
+(0-9, a-z, A-Z). Each character grouping identifies the name, position, size,
+and shape of a pane.
+EOF
diff --git a/python-pypi/tmuxomatic/HISTORY b/python-pypi/tmuxomatic/HISTORY
new file mode 100644
index 0000000..3f8669e
--- /dev/null
+++ b/python-pypi/tmuxomatic/HISTORY
@@ -0,0 +1,2 @@
+2020-06-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, *.patch: created spell, version 2.18
diff --git a/python-pypi/tmuxomatic/PRE_BUILD
b/python-pypi/tmuxomatic/PRE_BUILD
new file mode 100755
index 0000000..a4fe864
--- /dev/null
+++ b/python-pypi/tmuxomatic/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p1 < "${SPELL_DIRECTORY}/extension.patch"
diff --git a/python-pypi/tmuxomatic/extension.patch
b/python-pypi/tmuxomatic/extension.patch
new file mode 100644
index 0000000..9f0bee6
--- /dev/null
+++ b/python-pypi/tmuxomatic/extension.patch
@@ -0,0 +1,27 @@
+From 0da8a6153e9fe8c4b3317566980b8f4ac67fcc76 Mon Sep 17 00:00:00 2001
+From: Henry Qin <root AT hq6.me>
+Date: Thu, 28 Apr 2016 03:02:29 -0700
+Subject: [PATCH] Drop extensions on filenames periods when using filenames as
+ session names, since tmux 1.9 does not permit periods in session names
+
+---
+ tmuxomatic | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/tmuxomatic b/tmuxomatic
+index 6bcac4c..d7da37d 100755
+--- a/tmuxomatic
++++ b/tmuxomatic
+@@ -2331,6 +2331,12 @@ def main():
+ # Session name in tmux is always derived from the filename (pathname is
dropped to avoid confusion)
+ filename_only = ARGS.filename[ARGS.filename.rfind('/')+1:] # Get the
filename only (drop the pathname)
+ session_name = PROGRAM_THIS + "_" + filename_only # Session name with
the executable name as a prefix
++ try:
++ # Session name cannot contain periods as of tmux 1.9a, but filenames
++ # commonly have extensions, so let's strip any extensions.
++ session_name = session_name[:session_name.index('.')]
++ except:
++ pass
+ session_name = re.sub(r'([/])', r'_', session_name) # In case of
session path: replace '/' with '_'
+ session_name = re.sub(r'\_\_+', r'_', session_name) # Replace two or
more consecutive underscores with one
+



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3fdc00fd02bad492e94b821738180c3c32b78a33), Vlad Glagolev, 06/13/2020

Archive powered by MHonArc 2.6.24.

Top of Page