Skip to Content.
Sympa Menu

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

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 (ca884b5ce6860f3c913d0108a7051a1803165797)
  • Date: Thu, 27 Oct 2016 16:10:56 +0000

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

net/mtr/DETAILS | 1 +
net/mtr/HISTORY | 5 +++++
net/mtr/PRE_BUILD | 4 ++++
net/mtr/row-color.patch | 25 +++++++++++++++++++++++++
4 files changed, 35 insertions(+)

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

mtr: fixed row coloring with dark themes

diff --git a/net/mtr/DETAILS b/net/mtr/DETAILS
index cbab44e..16ffe88 100755
--- a/net/mtr/DETAILS
+++ b/net/mtr/DETAILS
@@ -1,5 +1,6 @@
SPELL=mtr
VERSION=0.87
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=ftp://ftp.bitwizard.nl/mtr/$SOURCE
diff --git a/net/mtr/HISTORY b/net/mtr/HISTORY
index 2a3cccb..b596150 100644
--- a/net/mtr/HISTORY
+++ b/net/mtr/HISTORY
@@ -1,3 +1,8 @@
+2016-10-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: added, to apply patch
+ * row-color.patch: added, to fix row coloring with dark themes
+
2016-08-07 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 0.87

diff --git a/net/mtr/PRE_BUILD b/net/mtr/PRE_BUILD
new file mode 100755
index 0000000..ee2fe76
--- /dev/null
+++ b/net/mtr/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p1 < "${SPELL_DIRECTORY}/row-color.patch"
diff --git a/net/mtr/row-color.patch b/net/mtr/row-color.patch
new file mode 100644
index 0000000..c5ed0e9
--- /dev/null
+++ b/net/mtr/row-color.patch
@@ -0,0 +1,25 @@
+From a39f0b296fc0ddcf31a21625ba6397040ea08521 Mon Sep 17 00:00:00 2001
+From: Vlad Glagolev <vaygr AT users.noreply.github.com>
+Date: Thu, 27 Oct 2016 11:45:30 -0400
+Subject: [PATCH] respect theme foreground color
+
+---
+ gtk.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtk.c b/gtk.c
+index 41cf596..6a37a9a 100644
+--- a/gtk.c
++++ b/gtk.c
+@@ -495,7 +495,7 @@ static void update_tree_row(struct mtr_ctl *ctl, int
row, GtkTreeIter *iter)
+ COL_WORST, net_worst(row)/1000,
+ COL_STDEV, (float)(net_stdev(row)/1000.0),
+
+- COL_COLOR, net_up(row) ? "black" : "red",
++ COL_COLOR, net_up(row) ? NULL : "red",
+
+ -1);
+ #ifdef HAVE_IPINFO
+--
+2.7.4
+



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ca884b5ce6860f3c913d0108a7051a1803165797), Vlad Glagolev, 10/27/2016

Archive powered by MHonArc 2.6.24.

Top of Page