spectrwm: update to 3.2.0.
This commit is contained in:
parent
34602a368b
commit
dba4a02449
@ -1,29 +0,0 @@
|
||||
--- spectrwm.c
|
||||
+++ spectrwm.c
|
||||
@@ -9186,7 +9186,7 @@ setconfvalue(const char *selector, const char *value, int flags)
|
||||
return (0);
|
||||
|
||||
bzero(s, sizeof s);
|
||||
- if (sscanf(value, "ws[%d]:%1023c", &ws_id, s) != 2)
|
||||
+ if (sscanf(value, "ws[%d]:%1023c", &ws_id, s) < 1 || !*s)
|
||||
errx(1, "invalid entry, should be 'ws[<idx>]:name'");
|
||||
ws_id--;
|
||||
if (ws_id < 0 || ws_id >= workspace_limit)
|
||||
@@ -9323,7 +9323,7 @@ setautorun(const char *selector, const char *value, int flags)
|
||||
return (0);
|
||||
|
||||
bzero(s, sizeof s);
|
||||
- if (sscanf(value, "ws[%d]:%1023c", &ws_id, s) != 2)
|
||||
+ if (sscanf(value, "ws[%d]:%1023c", &ws_id, s) < 1 || !*s)
|
||||
errx(1, "invalid autorun entry, should be 'ws[<idx>]:command'");
|
||||
ws_id--;
|
||||
if (ws_id < 0 || ws_id >= workspace_limit)
|
||||
@@ -9394,7 +9394,7 @@ setlayout(const char *selector, const char *value, int flags)
|
||||
|
||||
bzero(s, sizeof s);
|
||||
if (sscanf(value, "ws[%d]:%d:%d:%d:%d:%1023c",
|
||||
- &ws_id, &mg, &ma, &si, &ar, s) != 6)
|
||||
+ &ws_id, &mg, &ma, &si, &ar, s) < 5 || !*s)
|
||||
errx(1, "invalid layout entry, should be 'ws[<idx>]:"
|
||||
"<master_grow>:<master_add>:<stack_inc>:<always_raise>:"
|
||||
"<type>'");
|
@ -1,21 +1,21 @@
|
||||
# Template file for 'spectrwm'
|
||||
pkgname=spectrwm
|
||||
version=3.1.0
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_build_args='-C linux PREFIX=/usr'
|
||||
make_install_args="${make_build_args}"
|
||||
version=3.2.0
|
||||
revision=1
|
||||
_distname=SPECTRWM_${version//./_}
|
||||
wrksrc="spectrwm-${_distname}"
|
||||
short_desc="A small dynamic tiling window manager for X11"
|
||||
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||
build_style=gnu-makefile
|
||||
make_build_args='-C linux PREFIX=/usr'
|
||||
make_install_args="$make_build_args"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libXcursor-devel libXft-devel libXrandr-devel libXt-devel
|
||||
xcb-util-keysyms-devel xcb-util-wm-devel"
|
||||
hostmakedepends="pkg-config"
|
||||
short_desc="A small dynamic tiling window manager for X11"
|
||||
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||
license="ISC"
|
||||
homepage="http://spectrwm.org"
|
||||
distfiles="https://github.com/conformal/spectrwm/archive/${_distname}.tar.gz"
|
||||
checksum=b7a5e24fe6d923aadab947d354ff44ad742b721daaf334584e8eea9e15649d9a
|
||||
checksum=fb800442620f762de68a236ef9a7278d8b8ef6da5c1b6edbc0c89b1e6e95ef7c
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user