Saturday, July 31, 2021

Re: [Update] x11/wmutils v1.4 to v1.5

Stefan Hagen wrote:
> Stefan Hagen wrote:
>> 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)
>
> *bump* after one week and patch inlined for easier review.
>

*ping*

Still version 1.5, but new diff, because I noticed that the manpage for
the wtp tool was missing.


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 31 Jul 2021 12:36:24 -0000
@@ -9,9 +9,9 @@ GH_ACCOUNT ?= wmutils
# ISC
PERMIT_PACKAGE = Yes

-WANTLIB += c xcb xcb-util
+WANTLIB += c xcb xcb-cursor xcb-util

-MAKE_FLAGS = LDFLAGS="-L${X11BASE}/lib -lxcb -lxcb-util" \
+MAKE_FLAGS = LDFLAGS="-L${X11BASE}/lib -lxcb -lxcb-cursor -lxcb-util" \
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 31 Jul 2021 12:36:24 -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,pfw,slw,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,pfw,slw,wattr,wmp,wmutils,wmv,wrs,wtp}.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 31 Jul 2021 12:36:24 -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/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 31 Jul 2021 12:36:24 -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,9 +20,11 @@
@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
@man man/man1/wmutils.1
@man man/man1/wmv.1
@man man/man1/wrs.1
+@man man/man1/wtp.1

No comments:

Post a Comment