diff options
author | pin <pin@pkgsrc.org> | 2021-08-30 14:39:24 +0000 |
---|---|---|
committer | pin <pin@pkgsrc.org> | 2021-08-30 14:39:24 +0000 |
commit | 842d604bfe4877130cc74940db72bef85dae27a8 (patch) | |
tree | c31b1b4fb0d10ecfd5fefaccda808817825eb324 /wm | |
parent | eac6a833a3dac39adea1b5946c3d4335d12f0e6e (diff) | |
download | pkgsrc-842d604bfe4877130cc74940db72bef85dae27a8.tar.gz |
wm/shod: import package
Shod is an hybrid (tiling and floating) multimonitor X11 window manager.
Shod sets no keybindings; reads no configuration other than X resources;
and works only via mouse with a given key modifier (Alt by default), and
by responding to client messages with EWMH hints (so you must use wmctrl
to control shod).
NOTE: shod provides no keybindings, use sxhkd for binding keys.
WARNING: Shod is attempt of mine to write a Wm and better understand how
X11 works, Shod is only meant for me for educational purposes.
Shod is an experimental project, and should be used with caution.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/shod/DESCR | 11 | ||||
-rw-r--r-- | wm/shod/Makefile | 36 | ||||
-rw-r--r-- | wm/shod/PLIST | 3 | ||||
-rw-r--r-- | wm/shod/distinfo | 6 |
4 files changed, 56 insertions, 0 deletions
diff --git a/wm/shod/DESCR b/wm/shod/DESCR new file mode 100644 index 00000000000..3d15a8e9132 --- /dev/null +++ b/wm/shod/DESCR @@ -0,0 +1,11 @@ +Shod is an hybrid (tiling and floating) multimonitor X11 window manager. +Shod sets no keybindings; reads no configuration other than X resources; +and works only via mouse with a given key modifier (Alt by default), and +by responding to client messages with EWMH hints (so you must use wmctrl +to control shod). + +NOTE: shod provides no keybindings, use sxhkd for binding keys. + +WARNING: Shod is attempt of mine to write a Wm and better understand how + X11 works, Shod is only meant for me for educational purposes. + Shod is an experimental project, and should be used with caution. diff --git a/wm/shod/Makefile b/wm/shod/Makefile new file mode 100644 index 00000000000..38f532fe7d3 --- /dev/null +++ b/wm/shod/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2021/08/30 14:39:24 pin Exp $ + +DISTNAME= shod-0.5.0 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=phillbush/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pin@NetBSD.org +HOMEPAGE= https://github.com/phillbush/shod/ +COMMENT= Hybrid (floating and tiling) tabbed window manager +LICENSE= mit + +SUBST_CLASSES+= configmk +SUBST_MESSAGE.configmk= Adjust config.mk +SUBST_STAGE.configmk= pre-configure +SUBST_FILES.configmk+= config.mk +SUBST_SED.configmk+= -e 's,/usr/local,${PREFIX},g' +SUBST_SED.configmk+= -e 's,/usr/X11R6,${X11BASE},g' +SUBST_SED.configmk+= -e 's,share/man,${PKGMANDIR},g' +SUBST_SED.configmk+= -e 's,^CFLAGS *= ,CFLAGS += ,' +SUBST_SED.configmk+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' +SUBST_SED.configmk+= -e 's/cc/${CC:Q}/' + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/shod ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/shod.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl +DEPENDS+= sxhkd-[0-9]*:../../x11/sxhkd + +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/shod/PLIST b/wm/shod/PLIST new file mode 100644 index 00000000000..da56d01beb2 --- /dev/null +++ b/wm/shod/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2021/08/30 14:39:24 pin Exp $ +bin/shod +man/man1/shod.1 diff --git a/wm/shod/distinfo b/wm/shod/distinfo new file mode 100644 index 00000000000..0720641ce15 --- /dev/null +++ b/wm/shod/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/08/30 14:39:24 pin Exp $ + +SHA1 (shod-0.5.0.tar.gz) = b91a9134a3fb2fb0e64900f23543e18ad24a4c53 +RMD160 (shod-0.5.0.tar.gz) = c82f812eef889b2ecf24b150d93598989754cfe6 +SHA512 (shod-0.5.0.tar.gz) = f3f9c92c6b83a6a4f5a6d9d0d1b1fc40a77d1c7dbde4738029969e5605eb3abed53b23c270867c1d1ae26ea0b1c217006d54e03a5c3864e2d002897c4ff8a515 +Size (shod-0.5.0.tar.gz) = 40293 bytes |