Hello,
attached is a diff for x11/wmutils to update the core part to v1.5.
Changes
- new tool "slw" to select windows interactively (select window, get
window ID back)
Best Regards,
Stefan
Index: x11/wmutils/Makefile.inc
===================================================================
RCS file: /cvs/ports/x11/wmutils/Makefile.inc,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile.inc
--- x11/wmutils/Makefile.inc 12 Jul 2019 20:51:24 -0000 1.2
+++ x11/wmutils/Makefile.inc 19 Jan 2020 17:49:40 -0000
@@ -11,7 +11,7 @@ PERMIT_PACKAGE = Yes
WANTLIB += c xcb xcb-util
-MAKE_FLAGS = LDFLAGS="-L${X11BASE}/lib -lxcb -lxcb-util" \
+MAKE_FLAGS = LDFLAGS="-L${X11BASE}/lib -lxcb -lxcb-util -lxcb-cursor" \
CFLAGS="${CFLAGS} -I${X11BASE}/include"
NO_TEST ?= Yes
Index: x11/wmutils/core/Makefile
===================================================================
RCS file: /cvs/ports/x11/wmutils/core/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- x11/wmutils/core/Makefile 8 Jan 2018 19:24:31 -0000 1.1.1.1
+++ x11/wmutils/core/Makefile 19 Jan 2020 17:49:40 -0000
@@ -4,19 +4,19 @@ COMMENT = window manipulation tools
DISTNAME = wmutils-core-${GH_TAGNAME:C/^v//}
GH_PROJECT = core
-GH_TAGNAME = v1.4
+GH_TAGNAME = v1.5
post-patch:
sed -i -e 's/wtf/wintf/g' -e 's/lsw/lswin/g' ${WRKSRC}/man/*
do-install:
${INSTALL_PROGRAM} \
-
${WRKBUILD}/{chwb,chwso,ignw,killw,mapw,pfw,wattr,wmp,wmv,wrs,wtp} \
+
${WRKBUILD}/{chwb,chwso,ignw,killw,mapw,slw,pfw,wattr,wmp,wmv,wrs,wtp} \
${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/lsw ${PREFIX}/bin/lswin
${INSTALL_PROGRAM} ${WRKBUILD}/wtf ${PREFIX}/bin/wintf
${INSTALL_MAN} \
-
${WRKSRC}/man/{chwb,chwso,ignw,killw,mapw,pfw,wattr,wmp,wmv,wrs,wmutils}.1 \
+
${WRKSRC}/man/{chwb,chwso,ignw,killw,mapw,slw,pfw,wattr,wmp,wmv,wrs,wmutils}.1 \
${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/lsw.1 ${PREFIX}/man/man1/lswin.1
${INSTALL_MAN} ${WRKSRC}/man/wtf.1 ${PREFIX}/man/man1/wintf.1
Index: x11/wmutils/core/distinfo
===================================================================
RCS file: /cvs/ports/x11/wmutils/core/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- x11/wmutils/core/distinfo 8 Jan 2018 19:24:31 -0000 1.1.1.1
+++ x11/wmutils/core/distinfo 19 Jan 2020 17:49:40 -0000
@@ -1,2 +1,2 @@
-SHA256 (wmutils-core-1.4.tar.gz) = ROFldrf24fEmwssklEmrfhD9ZSia/3dP+vJ9LBWnsro=
-SIZE (wmutils-core-1.4.tar.gz) = 10333
+SHA256 (wmutils-core-1.5.tar.gz) = cq8i6lK8NDv5CmYDrj4WntPBX2RjX6QlB8xmKrBKY3I=
+SIZE (wmutils-core-1.5.tar.gz) = 10893
Index: x11/wmutils/core/patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/x11/wmutils/core/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-Makefile
--- x11/wmutils/core/patches/patch-Makefile 8 Jan 2018 19:24:31 -0000
1.1.1.1
+++ x11/wmutils/core/patches/patch-Makefile 19 Jan 2020 17:49:40 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2018/
Index: Makefile
--- Makefile.orig
+++ Makefile
-@@ -30,12 +30,10 @@ binutils: $(BIN)
+@@ -31,12 +31,10 @@ binutils: $(BIN)
$(OBJ): $(HDR) util.o
.o:
Index: x11/wmutils/core/pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/wmutils/core/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- x11/wmutils/core/pkg/PLIST 8 Jan 2018 19:24:31 -0000 1.1.1.1
+++ x11/wmutils/core/pkg/PLIST 19 Jan 2020 17:49:40 -0000
@@ -6,6 +6,7 @@
@bin bin/lswin
@bin bin/mapw
@bin bin/pfw
+@bin bin/slw
@bin bin/wattr
@bin bin/wintf
@bin bin/wmp
@@ -19,6 +20,7 @@
@man man/man1/lswin.1
@man man/man1/mapw.1
@man man/man1/pfw.1
+@man man/man1/slw.1
@man man/man1/wattr.1
@man man/man1/wintf.1
@man man/man1/wmp.1