Skip to Content.
Sympa Menu

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

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 (9762111ada57ed1cb7bd8b362b9d6603998aae13)
  • Date: Tue, 31 Oct 2017 19:05:29 +0000

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

shell-term-fm/tty-clock/CONFIGURE | 1 -
shell-term-fm/tty-clock/DEPENDS | 5 ++++-
shell-term-fm/tty-clock/DETAILS | 26 ++++++++++++++++++++------
shell-term-fm/tty-clock/HISTORY | 7 +++++++
shell-term-fm/tty-clock/INSTALL | 2 +-
shell-term-fm/tty-clock/PREPARE | 5 +++++
6 files changed, 37 insertions(+), 9 deletions(-)

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

tty-clock: => 2.3

diff --git a/shell-term-fm/tty-clock/CONFIGURE
b/shell-term-fm/tty-clock/CONFIGURE
deleted file mode 100755
index 62de7db..0000000
--- a/shell-term-fm/tty-clock/CONFIGURE
+++ /dev/null
@@ -1 +0,0 @@
-config_query TTY_CLOCK_AUTOUPDATE "Update on every system update?" n
diff --git a/shell-term-fm/tty-clock/DEPENDS b/shell-term-fm/tty-clock/DEPENDS
index c051408..73f9413 100755
--- a/shell-term-fm/tty-clock/DEPENDS
+++ b/shell-term-fm/tty-clock/DEPENDS
@@ -1,2 +1,5 @@
depends ncurses &&
-depends git
+
+if [[ $TTY_CLOCK_VCS == y ]]; then
+ depends git
+fi
diff --git a/shell-term-fm/tty-clock/DETAILS b/shell-term-fm/tty-clock/DETAILS
index 2c41141..9c9e685 100755
--- a/shell-term-fm/tty-clock/DETAILS
+++ b/shell-term-fm/tty-clock/DETAILS
@@ -1,16 +1,30 @@
-. "$GRIMOIRE/FUNCTIONS"
SPELL=tty-clock
- VERSION=$(get_scm_version)
+if [[ $TTY_CLOCK_VCS == y ]]; then
+ if [[ $TTY_CLOCK_AUTOUPDATE == y ]]; then
+ VERSION=$(date +%Y%m%d)
+ else
+ VERSION=scm
+ fi
SOURCE="${SPELL}-scm.tar.bz2"
- SOURCE_URL[0]=git://github.com/xorg62/${SPELL}.git:${SOURCE}
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
- FORCE_DOWNLOAD=on
+ SOURCE_URL[0]=git://github.com/xorg62/${SPELL}.git:${SPELL}-scm
SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+else
+ VERSION=2.3
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/xorg62/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:ff3cfd5c6312377128b33c7e8c2138627b996d1b17730d8a8fdf55e95f2020e591e69317459aab8383d178f3cb71af046b84eeb81cabfa9b09a27008c5f4b626
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
WEB_SITE="http://github.com/xorg62/tty-clock";
LICENSE[0]="BSD"
ENTERED=20100307
KEYWORDS=""
- SHORT="Digital clock in ncurses"
+ SHORT="terminal digital clock"
cat << EOF
+tty-clock displays a simple digital clock on the terminal.

+Invoked without options it will display the clock on the upper left corner of
+the screen on the terminal it was executed from.
EOF
diff --git a/shell-term-fm/tty-clock/HISTORY b/shell-term-fm/tty-clock/HISTORY
index 3728a87..b229f79 100644
--- a/shell-term-fm/tty-clock/HISTORY
+++ b/shell-term-fm/tty-clock/HISTORY
@@ -1,3 +1,10 @@
+2017-10-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 2.3; added stable branch; updated short
+ description, added long description
+ * PREPARE: moved from CONFIGURE; added VCS selection
+ * DEPENDS: made git optional
+ * INSTALL: corrected installation prefix
+
2014-07-03 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: Use get_scm_version

diff --git a/shell-term-fm/tty-clock/INSTALL b/shell-term-fm/tty-clock/INSTALL
index 913df6c..4ea7f26 100755
--- a/shell-term-fm/tty-clock/INSTALL
+++ b/shell-term-fm/tty-clock/INSTALL
@@ -1 +1 @@
-make install INSTALLPATH=/usr/bin/
+make install PREFIX="${INSTALL_ROOT}/usr"
diff --git a/shell-term-fm/tty-clock/PREPARE b/shell-term-fm/tty-clock/PREPARE
new file mode 100755
index 0000000..eb10e2a
--- /dev/null
+++ b/shell-term-fm/tty-clock/PREPARE
@@ -0,0 +1,5 @@
+config_query TTY_CLOCK_VCS "Build latest version from development tree?" n &&
+
+if [[ $TTY_CLOCK_VCS == y ]]; then
+ config_query TTY_CLOCK_AUTOUPDATE "Update on every system update?" n
+fi



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (9762111ada57ed1cb7bd8b362b9d6603998aae13), Vlad Glagolev, 10/31/2017

Archive powered by MHonArc 2.6.24.

Top of Page