version bump: 0.4.1

This commit is contained in:
speedie 2023-04-14 21:47:17 +02:00
parent 621fdb53a6
commit 8273d1b574
4 changed files with 2 additions and 15 deletions

View file

@ -5,7 +5,7 @@ include host.mk
include toggle.mk
# spmenu version
VERSION = 0.4
VERSION = 0.4.1
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMATOGGLE) $(BDTOGGLE) $(PANGOTOGGLE) $(IMLIB2TOGGLE) $(LIBCONFIGTOGGLE)
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -faggressive-loop-optimizations $(OPT) $(INCS) $(CPPFLAGS)

View file

@ -695,9 +695,6 @@ run `printf 'spmenu:version' | spmenu`. There are a few of these.
`spmenu:license`
: Print the spmenu license
`spmenu:about`
: Print various information about spmenu, such as compiler arguments and packaging.
`spmenu:test`
: Print a test script for spmenu which tests various features. Report any
weird issues you may have.

View file

@ -88,12 +88,6 @@ readstdin(void)
die("spmenu is licensed under the MIT license. See the included LICENSE file for more information.");
}
// spmenu:about
if (!strncmp("about", items[i].ex, strlen("about"))) {
int i = system("printf \"spmenu $([ -f '/usr/share/spmenu/version' ] && cat /usr/share/spmenu/version || printf unknown)\\nBased on dmenu 5.2 from https://tools.suckless.org/dmenu\\nCompiled $([ -f '/usr/share/spmenu/compile-date' ] && cat /usr/share/spmenu/compile-date || printf Unknown)\\nCFLAGS: $([ -f '/usr/share/spmenu/cflags' ] && cat /usr/share/spmenu/cflags || printf unknown)\\nCC: $([ -f '/usr/share/spmenu/cc' ] && cat /usr/share/spmenu/cc || printf unknown)\\nDistro: $([ -f '/usr/share/spmenu/pkg_arch' ] && echo Arch || echo Installed manually)\\n\" | spmenu --columns 1 --lines 10 --hide-cursor --no-allow-typing --hide-mode --hide-match-count --hide-prompt --hide-powerline --hide-input --no-indent --no-color-items > /dev/null");
if (i||!i) exit(i);
}
// spmenu:test
if (!strncmp("test", items[i].ex, strlen("test"))) {
int i = system("command -v spmenu_test > /dev/null && spmenu_test");

View file

@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "spmenu" "1" "" "0.4" "fancy dynamic menu"
.TH "spmenu" "1" "" "0.4.1" "fancy dynamic menu"
.hy
.SH spmenu
.PP
@ -741,10 +741,6 @@ Print the spmenu version
\f[V]spmenu:license\f[R]
Print the spmenu license
.TP
\f[V]spmenu:about\f[R]
Print various information about spmenu, such as compiler arguments and
packaging.
.TP
\f[V]spmenu:test\f[R]
Print a test script for spmenu which tests various features.
Report any weird issues you may have.