Skip to Content.
Sympa Menu

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

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 (c9d4f9433be8c59478b66d1bddab1be0ccd00a86)
  • Date: Tue, 23 Aug 2022 05:18:23 +0000

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

ChangeLog | 5 +++++
crypto/pinentry-bemenu/BUILD | 5 +++++
crypto/pinentry-bemenu/DEPENDS | 6 ++++++
crypto/pinentry-bemenu/DETAILS | 15 +++++++++++++++
crypto/pinentry-bemenu/HISTORY | 2 ++
utils/bemenu/BUILD | 1 +
utils/bemenu/D687B86B.gpg |binary
utils/bemenu/DEPENDS | 21 +++++++++++++++++++++
utils/bemenu/DETAILS | 30 ++++++++++++++++++++++++++++++
utils/bemenu/HISTORY | 3 +++
utils/bemenu/INSTALL | 1 +
utils/bemenu/PRE_BUILD | 10 ++++++++++
utils/bemenu/gcc46.patch | 13 +++++++++++++
13 files changed, 112 insertions(+)

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

pinentry-bemenu: new spell, Pinentry based on bemenu

commit 7935b73447655ab6427da06461933d8535cc10f0
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

bemenu: new spell, dynamic menu library and client program inspired by
dmenu

diff --git a/ChangeLog b/ChangeLog
index d83e2e9..ce53f27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * utils/bemenu: new spell, dynamic menu library and client program
+ inspired by dmenu
+ * crypto/pinentry-bemenu: new spell, Pinentry based on bemenu
+
2022-08-22 Pavel Vinogradov <public AT sourcemage.org>
* devel/ugrep: new spell, ultra fast grep with interactive TUI

diff --git a/crypto/pinentry-bemenu/BUILD b/crypto/pinentry-bemenu/BUILD
new file mode 100755
index 0000000..1a2c310
--- /dev/null
+++ b/crypto/pinentry-bemenu/BUILD
@@ -0,0 +1,5 @@
+if spell_ok gcc && is_version_less $(installed_version gcc) 4.7; then
+ OPTS="c_std=c99 ${OPTS}"
+fi &&
+
+default_build
diff --git a/crypto/pinentry-bemenu/DEPENDS b/crypto/pinentry-bemenu/DEPENDS
new file mode 100755
index 0000000..0ed1f25
--- /dev/null
+++ b/crypto/pinentry-bemenu/DEPENDS
@@ -0,0 +1,6 @@
+source "${GRIMOIRE}/MESON_DEPENDS" &&
+
+depends libgpg-error &&
+depends libassuan &&
+depends bemenu &&
+depends popt
diff --git a/crypto/pinentry-bemenu/DETAILS b/crypto/pinentry-bemenu/DETAILS
new file mode 100755
index 0000000..b4a4f7e
--- /dev/null
+++ b/crypto/pinentry-bemenu/DETAILS
@@ -0,0 +1,15 @@
+source "${GRIMOIRE}/MESON_FUNCTIONS" &&
+
+ SPELL=pinentry-bemenu
+ VERSION=0.11.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/t-8ch/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:3c35733b52d1b096904585ee0f37b0a2c7390158a94b2f13fe387fd738c004a2f1f474e3ca66d35f364ad057dc6b4520700d2a71f4d1c431bb428b6de513313a
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/t-8ch/pinentry-bemenu
+ ENTERED=20220822
+ LICENSE[0]=GPL
+ SHORT="Pinentry based on bemenu"
+cat << EOF
+Pinentry implementation based on bemenu.
+EOF
diff --git a/crypto/pinentry-bemenu/HISTORY b/crypto/pinentry-bemenu/HISTORY
new file mode 100644
index 0000000..7d1380d
--- /dev/null
+++ b/crypto/pinentry-bemenu/HISTORY
@@ -0,0 +1,2 @@
+2022-08-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD: created spell, version 0.11.0
diff --git a/utils/bemenu/BUILD b/utils/bemenu/BUILD
new file mode 100755
index 0000000..35e731b
--- /dev/null
+++ b/utils/bemenu/BUILD
@@ -0,0 +1 @@
+make PREFIX="${INSTALL_ROOT}/usr" clients ${OPTS}
diff --git a/utils/bemenu/D687B86B.gpg b/utils/bemenu/D687B86B.gpg
new file mode 100644
index 0000000..2f744fd
Binary files /dev/null and b/utils/bemenu/D687B86B.gpg differ
diff --git a/utils/bemenu/DEPENDS b/utils/bemenu/DEPENDS
new file mode 100755
index 0000000..4a09340
--- /dev/null
+++ b/utils/bemenu/DEPENDS
@@ -0,0 +1,21 @@
+depends PKG-CONFIG &&
+depends scdoc &&
+
+optional_depends ncurses "curses" "" "for curses backend" &&
+optional_depends libx11 "x11" "" "for X11 backend" &&
+optional_depends wayland "wayland" "" "for Wayland backend" &&
+
+if is_depends_enabled ${SPELL} libx11 || is_depends_enabled ${SPELL}
wayland; then
+ depends glib2 &&
+ depends cairo &&
+ depends pango &&
+
+ if is_depends_enabled ${SPELL} libx11; then
+ depends libxinerama
+ fi &&
+
+ if is_depends_enabled ${SPELL} wayland; then
+ depends wayland-protocols &&
+ depends libxkbcommon
+ fi
+fi
diff --git a/utils/bemenu/DETAILS b/utils/bemenu/DETAILS
new file mode 100755
index 0000000..8e767f1
--- /dev/null
+++ b/utils/bemenu/DETAILS
@@ -0,0 +1,30 @@
+ SPELL=bemenu
+ VERSION=0.6.10
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.asc
+
SOURCE_URL[0]=https://github.com/Cloudef/${SPELL}/releases/download/${VERSION}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL[0]}.asc
+ SOURCE_GPG=D687B86B.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=https://github.com/Cloudef/bemenu
+ LICENSE[0]=GPL
+ LICENSE[0]=LGPL
+ ENTERED=20220822
+ SHORT="dynamic menu library and client program inspired by dmenu"
+cat << EOF
+bemenu is a dynamic menu for tty (using ncurses), X11 and Wayland, inspired
by
+dmenu.
+
+It reads a list of newline-separated items from standard input and then
+presents them as a list, where the user can select one or more of them. When
+pressing carriage-return, the selected items are printed to standard output
+(one per line) and bemenu exits.
+
+Entering text will filter the items to those that match the input. If the
+number of items exceeds the size of the list, the items will be paginated.
+
+bemenu-run is a special-case invocation of bemenu, where the input is the
list
+of executables under PATH and the selected items are executed.
+EOF
diff --git a/utils/bemenu/HISTORY b/utils/bemenu/HISTORY
new file mode 100644
index 0000000..429f732
--- /dev/null
+++ b/utils/bemenu/HISTORY
@@ -0,0 +1,3 @@
+2022-08-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, D687B86B.gpg, gcc46.patch:
+ created spell, version 0.6.10
diff --git a/utils/bemenu/INSTALL b/utils/bemenu/INSTALL
new file mode 100755
index 0000000..e72b41d
--- /dev/null
+++ b/utils/bemenu/INSTALL
@@ -0,0 +1 @@
+make PREFIX="${INSTALL_ROOT}/usr" install
diff --git a/utils/bemenu/PRE_BUILD b/utils/bemenu/PRE_BUILD
new file mode 100755
index 0000000..e5b1ee7
--- /dev/null
+++ b/utils/bemenu/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if spell_ok gcc && is_version_less $(installed_version gcc) 4.8; then
+ patch -p0 < "${SPELL_DIRECTORY}/gcc46.patch"
+fi
+
+if spell_ok cairo && is_version_less $(installed_version cairo) 1.14; then
+ sed -i "/cairo_surface_set_device_scale/d" lib/renderers/cairo_renderer.h
+fi
diff --git a/utils/bemenu/gcc46.patch b/utils/bemenu/gcc46.patch
new file mode 100644
index 0000000..ef1bd40
--- /dev/null
+++ b/utils/bemenu/gcc46.patch
@@ -0,0 +1,13 @@
+--- GNUmakefile.orig 2022-07-06 01:11:27.000000000 -0700
++++ GNUmakefile 2022-08-22 20:27:28.302874319 -0700
+@@ -9,8 +9,8 @@
+ GIT_TAG = $(shell git tag --points-at HEAD 2>/dev/null || cat VERSION)
+ MAKEFLAGS += --no-builtin-rules
+
+-WARNINGS = -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3
-Wstrict-overflow=5 -Wstack-usage=12500 \
+- -Wcast-align -Wpointer-arith -Wchar-subscripts -Warray-bounds=2
-Wno-unknown-warning-option
++WARNINGS = -Wall -Wextra -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=5
\
++ -Wcast-align -Wpointer-arith -Wchar-subscripts
-Wno-unknown-warning-option
+ VISIBILITY ?= -fvisibility=hidden
+
+ override CFLAGS ?= -g -O2 $(WARNINGS) $(EXTRA_WARNINGS)



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c9d4f9433be8c59478b66d1bddab1be0ccd00a86), Vlad Glagolev, 08/23/2022

Archive powered by MHonArc 2.6.24.

Top of Page