Skip to Content.
Sympa Menu

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

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 (45f87a3d90a587b9a46a8ae1bfec7d9eb671bac0)
  • Date: Sat, 7 Mar 2020 19:11:35 +0000

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

utils/dmenu/DETAILS | 5 +++++
utils/dmenu/HISTORY | 3 +++
utils/dmenu/PREPARE | 3 ++-
utils/dmenu/PRE_BUILD | 6 ++++++
4 files changed, 16 insertions(+), 1 deletion(-)

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

dmenu: add line height patch option

diff --git a/utils/dmenu/DETAILS b/utils/dmenu/DETAILS
index 74332c2..feb18f4 100755
--- a/utils/dmenu/DETAILS
+++ b/utils/dmenu/DETAILS
@@ -8,6 +8,11 @@ if [[ $DMENU_PASSWORD == y ]]; then

SOURCE2_URL=https://tools.suckless.org/${SPELL}/patches/password/${SOURCE2}

SOURCE2_HASH=sha512:455dfa017585962d64dbcb0a091c32809699f0e067ad28c94cc3bf86f4e6801b996bd4bac71ce15a5255114de5bdedc676b62fb76cb1b9f71be33017af1c72be
fi
+if [[ $DMENU_LINEHEIGHT == y ]]; then
+ SOURCE3=dmenu-lineheight-${VERSION}.diff
+
SOURCE3_URL=https://tools.suckless.org/${SPELL}/patches/line-height/${SOURCE3}
+
SOURCE3_HASH=sha512:b2fa2b33b9a2391285d0c3e5df22a9d68f4193bebb4720ce71678e8a87f43ae6c0a6b3f3fd3f63aa89be95880c04c8a83e43240b6ae4f90487bdb5a9325d084c
+fi
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE=https://tools.suckless.org/dmenu
ENTERED=20061230
diff --git a/utils/dmenu/HISTORY b/utils/dmenu/HISTORY
index ba3af22..2ddee57 100644
--- a/utils/dmenu/HISTORY
+++ b/utils/dmenu/HISTORY
@@ -1,3 +1,6 @@
+2020-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, PRE_BUILD, PREPARE: add line height patch option
+
2020-03-05 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, PRE_BUILD, PREPARE: add password patch option

diff --git a/utils/dmenu/PREPARE b/utils/dmenu/PREPARE
index 0bd42ba..e17d58b 100755
--- a/utils/dmenu/PREPARE
+++ b/utils/dmenu/PREPARE
@@ -1 +1,2 @@
-config_query DMENU_PASSWORD "Apply dmenu password patch?" n
+config_query DMENU_PASSWORD "Apply dmenu password patch?" n &&
+config_query DMENU_LINEHEIGHT "Apply dmenu line height patch?" n
diff --git a/utils/dmenu/PRE_BUILD b/utils/dmenu/PRE_BUILD
index 987a873..e6a0a87 100755
--- a/utils/dmenu/PRE_BUILD
+++ b/utils/dmenu/PRE_BUILD
@@ -7,6 +7,12 @@ if [[ $DMENU_PASSWORD == y ]]; then
interdiff ${SOURCE_CACHE}/${SOURCE2} /dev/null | patch -p1
fi &&

+if [[ $DMENU_LINEHEIGHT == y ]]; then
+ verify_file 3 &&
+
+ cat ${SOURCE_CACHE}/${SOURCE3} | patch -p1 -F3 # ignore context in case
previous patch was applied
+fi &&
+
if is_version_less $(installed_version fontconfig) 2.11.91; then
echo '#define FC_COLOR "color"' >> drw.h
fi &&



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (45f87a3d90a587b9a46a8ae1bfec7d9eb671bac0), Vlad Glagolev, 03/07/2020

Archive powered by MHonArc 2.6.24.

Top of Page