Skip to Content.
Sympa Menu

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

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 (a6ad1e6bd1f716f4d993a5a85405093461a00195)
  • Date: Tue, 31 Oct 2017 20:29:43 +0000

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

shell-term-fm/tty-clock/HISTORY | 2 ++
shell-term-fm/tty-clock/PRE_BUILD | 4 ++++
shell-term-fm/tty-clock/date-box.patch | 11 +++++++++++
3 files changed, 17 insertions(+)

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

tty-clock: added date box patch

diff --git a/shell-term-fm/tty-clock/HISTORY b/shell-term-fm/tty-clock/HISTORY
index b229f79..9513b08 100644
--- a/shell-term-fm/tty-clock/HISTORY
+++ b/shell-term-fm/tty-clock/HISTORY
@@ -4,6 +4,8 @@
* PREPARE: moved from CONFIGURE; added VCS selection
* DEPENDS: made git optional
* INSTALL: corrected installation prefix
+ * PRE_BUILD: added, to apply patch
+ * date-box.patch: added, to fix date box display when date is hidden

2014-07-03 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: Use get_scm_version
diff --git a/shell-term-fm/tty-clock/PRE_BUILD
b/shell-term-fm/tty-clock/PRE_BUILD
new file mode 100755
index 0000000..8e582db
--- /dev/null
+++ b/shell-term-fm/tty-clock/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/date-box.patch"
diff --git a/shell-term-fm/tty-clock/date-box.patch
b/shell-term-fm/tty-clock/date-box.patch
new file mode 100644
index 0000000..9e826e7
--- /dev/null
+++ b/shell-term-fm/tty-clock/date-box.patch
@@ -0,0 +1,11 @@
+--- ttyclock.c.orig
++++ ttyclock.c
+@@ -118,7 +118,7 @@ init(void)
+ ttyclock->geo.x + ttyclock->geo.h - 1,
+ ttyclock->geo.y + (ttyclock->geo.w / 2) -
+ (strlen(ttyclock->date.datestr) / 2) - 1);
+- if(ttyclock->option.box) {
++ if(ttyclock->option.box && ttyclock->option.date) {
+ box(ttyclock->datewin, 0, 0);
+ }
+ clearok(ttyclock->datewin, True);



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

Archive powered by MHonArc 2.6.24.

Top of Page