Skip to Content.
Sympa Menu

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

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 (cccd7b4b42bd00087c4c37da31f2b1c8904cfddf)
  • Date: Sat, 30 Jul 2022 03:38:31 +0000

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

ChangeLog | 3 +++
wm-addons/xmenu/BUILD | 1 +
wm-addons/xmenu/DEPENDS | 5 +++++
wm-addons/xmenu/DETAILS | 15 +++++++++++++++
wm-addons/xmenu/HISTORY | 3 +++
wm-addons/xmenu/INSTALL | 1 +
wm-addons/xmenu/PRE_BUILD | 4 ++++
wm-addons/xmenu/int.patch | 11 +++++++++++
8 files changed, 43 insertions(+)

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

xmenu: new spell, X menu utility

diff --git a/ChangeLog b/ChangeLog
index aa0a960..09e0320 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-07-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * wm-addons/xmenu: new spell, X menu utility
+
2022-07-29 Pavel Vinogradov <public AT sourcemage.org>
* video-libs/libplacebo: new spell, reusable library for
GPU-accelerated
image/video processing primitives and shaders
diff --git a/wm-addons/xmenu/BUILD b/wm-addons/xmenu/BUILD
new file mode 100755
index 0000000..dd7cce3
--- /dev/null
+++ b/wm-addons/xmenu/BUILD
@@ -0,0 +1 @@
+make LOCALINC="${INSTALL_ROOT}/usr/include" LOCALLIB="${INSTALL_ROOT}/lib"
diff --git a/wm-addons/xmenu/DEPENDS b/wm-addons/xmenu/DEPENDS
new file mode 100755
index 0000000..f7871bb
--- /dev/null
+++ b/wm-addons/xmenu/DEPENDS
@@ -0,0 +1,5 @@
+depends imlib2 &&
+depends libx11 &&
+depends libxft &&
+depends libxinerama &&
+depends fontconfig
diff --git a/wm-addons/xmenu/DETAILS b/wm-addons/xmenu/DETAILS
new file mode 100755
index 0000000..65ba363
--- /dev/null
+++ b/wm-addons/xmenu/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=xmenu
+ VERSION=4.5.5
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/phillbush/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:fb5f387e19991c790a0fcd54bcc750d7c2e5d42e6cbaed9183807d030da42765bbad2990e40476d73074ca02d5bcc88ba4379340bc5a01a30ae858288ed38c56
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/phillbush/xmenu
+ LICENSE[0]=MIT
+ ENTERED=20220729
+ SHORT="X menu utility"
+cat << EOF
+XMenu is a menu utility for X. XMenu receives a menu specification in stdin,
+shows a menu for the user to select one of the options, and outputs the
option
+selected to stdout. XMenu can be controlled both via mouse and via keyboard.
+EOF
diff --git a/wm-addons/xmenu/HISTORY b/wm-addons/xmenu/HISTORY
new file mode 100644
index 0000000..fe3043b
--- /dev/null
+++ b/wm-addons/xmenu/HISTORY
@@ -0,0 +1,3 @@
+2022-07-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, {PRE_,}BUILD, INSTALL, int.patch: created spell,
+ version 4.5.5
diff --git a/wm-addons/xmenu/INSTALL b/wm-addons/xmenu/INSTALL
new file mode 100755
index 0000000..e72b41d
--- /dev/null
+++ b/wm-addons/xmenu/INSTALL
@@ -0,0 +1 @@
+make PREFIX="${INSTALL_ROOT}/usr" install
diff --git a/wm-addons/xmenu/PRE_BUILD b/wm-addons/xmenu/PRE_BUILD
new file mode 100755
index 0000000..e3bae98
--- /dev/null
+++ b/wm-addons/xmenu/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/int.patch"
diff --git a/wm-addons/xmenu/int.patch b/wm-addons/xmenu/int.patch
new file mode 100644
index 0000000..83d786d
--- /dev/null
+++ b/wm-addons/xmenu/int.patch
@@ -0,0 +1,11 @@
+--- xmenu.c.orig 2021-04-11 07:03:29.000000000 -0700
++++ xmenu.c 2022-07-29 19:26:12.652748944 -0700
+@@ -1390,7 +1390,7 @@
+ case XK_1: case XK_2: case XK_3: case XK_4: case
XK_5: case XK_6: case XK_7: case XK_8: case XK_9:
+ item = itemcycle(currmenu, ITEMFIRST);
+ lastitem = itemcycle(currmenu, ITEMLAST);
+- for (int i = ksym - XK_1; i > 0 && item !=
lastitem; i--) {
++ for (i = ksym - XK_1; i > 0 && item !=
lastitem; i--) {
+ currmenu->selected = item;
+ item = itemcycle(currmenu, ITEMNEXT);
+ }



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (cccd7b4b42bd00087c4c37da31f2b1c8904cfddf), Vlad Glagolev, 07/29/2022

Archive powered by MHonArc 2.6.24.

Top of Page