sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ca3b5aeb30d3f67e94c7de6a5f9d984a9faa58c2)
- 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 (ca3b5aeb30d3f67e94c7de6a5f9d984a9faa58c2)
- Date: Sat, 3 Feb 2018 22:33:49 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
x11/polybar/DETAILS | 1 +
x11/polybar/HISTORY | 6 ++++++
x11/polybar/PRE_BUILD | 1 +
x11/polybar/xworkspaces-scroll.patch | 15 +++++++++++++++
4 files changed, 23 insertions(+)
New commits:
commit ca3b5aeb30d3f67e94c7de6a5f9d984a9faa58c2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
polybar: patch xworkspaces module
diff --git a/x11/polybar/DETAILS b/x11/polybar/DETAILS
index 055c6cb..5598245 100755
--- a/x11/polybar/DETAILS
+++ b/x11/polybar/DETAILS
@@ -1,5 +1,6 @@
SPELL=polybar
VERSION=3.1.0
+ PATCHLEVEL=1
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=https://github.com/jaagr/${SPELL}/archive/${VERSION}.tar.gz
SOURCE_HASH=sha512:6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2
diff --git a/x11/polybar/HISTORY b/x11/polybar/HISTORY
index 0df9304..edb26ca 100644
--- a/x11/polybar/HISTORY
+++ b/x11/polybar/HISTORY
@@ -1,3 +1,9 @@
+2018-02-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: apply patch
+ * xworkspaces-scroll.patch: added, to respect 'enable-scroll' setting
+ for xworkspaces module
+
2018-02-01 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, CONFIGURE, {PRE_}BUILD, PREPARE,
cmake{,-doc}.patch:
created spell, version 3.1.0
diff --git a/x11/polybar/PRE_BUILD b/x11/polybar/PRE_BUILD
index d82261e..0414f63 100755
--- a/x11/polybar/PRE_BUILD
+++ b/x11/polybar/PRE_BUILD
@@ -3,6 +3,7 @@ cd "${SOURCE_DIRECTORY}" &&
patch -p0 < "${SPELL_DIRECTORY}/cmake.patch" &&
patch -p0 < "${SPELL_DIRECTORY}/cmake-doc.patch" &&
+patch -p0 < "${SPELL_DIRECTORY}/xworkspaces-scroll.patch" &&
verify_file 2 &&
diff --git a/x11/polybar/xworkspaces-scroll.patch
b/x11/polybar/xworkspaces-scroll.patch
new file mode 100644
index 0000000..41932c2
--- /dev/null
+++ b/x11/polybar/xworkspaces-scroll.patch
@@ -0,0 +1,15 @@
+--- src/modules/xworkspaces.cpp.orig 2017-12-03 12:03:49.000000000 -0500
++++ src/modules/xworkspaces.cpp 2018-02-03 17:10:40.250293021 -0500
+@@ -264,8 +264,10 @@
+ output += module::get_output();
+ }
+
+- m_builder->cmd(mousebtn::SCROLL_DOWN, string{EVENT_PREFIX} +
string{EVENT_SCROLL_DOWN});
+- m_builder->cmd(mousebtn::SCROLL_UP, string{EVENT_PREFIX} +
string{EVENT_SCROLL_UP});
++ if (m_scroll) {
++ m_builder->cmd(mousebtn::SCROLL_DOWN, string{EVENT_PREFIX} +
string{EVENT_SCROLL_DOWN});
++ m_builder->cmd(mousebtn::SCROLL_UP, string{EVENT_PREFIX} +
string{EVENT_SCROLL_UP});
++ }
+
+ m_builder->append(output);
+
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ca3b5aeb30d3f67e94c7de6a5f9d984a9faa58c2), Vlad Glagolev, 02/03/2018
Archive powered by MHonArc 2.6.24.