summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-06-11 23:07:14 +0000
committerkamil <kamil@pkgsrc.org>2016-06-11 23:07:14 +0000
commit6e5b30d8ab573da33a5fa8f766414ea3ad53f03a (patch)
treece64dd7cabbcc29089c67473b2dc0063b8dee8ef /wm
parent83e768f89f57e18f95f8688d75d1d04c156846d7 (diff)
downloadpkgsrc-6e5b30d8ab573da33a5fa8f766414ea3ad53f03a.tar.gz
Import wmutils-core-1.2 as wm/wmutils-core
wmutils is a a set of Window Manipulation Utilities. Its purpose is to separate all the vital functions of a window manager into separate pieces. Using these tools, you can build your own window manager as a shell script. Think of wmutils as coreutils for X11. Here is the list of the core utilities composing wmutils: chwb: change window's border chwso: change window's stacking order ignw: ignore/unignore window killw: kill windows lsw: list windows mapw: map/unmap windows pfw: print focused window wattr: show window's attributes wmp: move the mouse pointer wmv: move a window wrs: resize a window wtf: focus a window wtp: teleport a window Originally packaged in pkgsrc-wip by Mateusz Poszwa.
Diffstat (limited to 'wm')
-rw-r--r--wm/wmutils-core/DESCR22
-rw-r--r--wm/wmutils-core/Makefile20
-rw-r--r--wm/wmutils-core/PLIST28
-rw-r--r--wm/wmutils-core/distinfo6
4 files changed, 76 insertions, 0 deletions
diff --git a/wm/wmutils-core/DESCR b/wm/wmutils-core/DESCR
new file mode 100644
index 00000000000..c3640d16cca
--- /dev/null
+++ b/wm/wmutils-core/DESCR
@@ -0,0 +1,22 @@
+wmutils is a a set of Window Manipulation Utilities.
+Its purpose is to separate all the vital functions
+of a window manager into separate pieces.
+
+Using these tools, you can build your own window manager
+as a shell script. Think of wmutils as coreutils for X11.
+
+Here is the list of the core utilities composing wmutils:
+
+chwb: change window's border
+chwso: change window's stacking order
+ignw: ignore/unignore window
+killw: kill windows
+lsw: list windows
+mapw: map/unmap windows
+pfw: print focused window
+wattr: show window's attributes
+wmp: move the mouse pointer
+wmv: move a window
+wrs: resize a window
+wtf: focus a window
+wtp: teleport a window
diff --git a/wm/wmutils-core/Makefile b/wm/wmutils-core/Makefile
new file mode 100644
index 00000000000..9faeb5d3a29
--- /dev/null
+++ b/wm/wmutils-core/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/06/11 23:07:14 kamil Exp $
+
+DISTNAME= wmutils-core-1.2
+CATEGORIES= wm
+MASTER_SITES= ${MASTER_SITE_GITHUB:=wmutils/}
+GITHUB_PROJECT= core
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://wmutils.io/
+COMMENT= Window Manipulation Utilities
+LICENSE= isc
+
+MAKE_FLAGS+= PREFIX=${PREFIX}
+LDFLAGS+= ${LINKER_RPATH_FLAG}${X11BASE}/lib
+LDFLAGS+= -lxcb
+BUILD_MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/wmutils-core/PLIST b/wm/wmutils-core/PLIST
new file mode 100644
index 00000000000..2f363464a1b
--- /dev/null
+++ b/wm/wmutils-core/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/11 23:07:14 kamil Exp $
+bin/chwb
+bin/chwso
+bin/ignw
+bin/killw
+bin/lsw
+bin/mapw
+bin/pfw
+bin/wattr
+bin/wmp
+bin/wmv
+bin/wrs
+bin/wtf
+bin/wtp
+man/man1/chwb.1
+man/man1/chwso.1
+man/man1/ignw.1
+man/man1/killw.1
+man/man1/lsw.1
+man/man1/mapw.1
+man/man1/pfw.1
+man/man1/wattr.1
+man/man1/wmp.1
+man/man1/wmutils.1
+man/man1/wmv.1
+man/man1/wrs.1
+man/man1/wtf.1
+man/man1/wtp.1
diff --git a/wm/wmutils-core/distinfo b/wm/wmutils-core/distinfo
new file mode 100644
index 00000000000..dcdf2d40d13
--- /dev/null
+++ b/wm/wmutils-core/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/06/11 23:07:14 kamil Exp $
+
+SHA1 (wmutils-core-1.2.tar.gz) = 50323435323f4b0647e57b570405aa00dc2832bc
+RMD160 (wmutils-core-1.2.tar.gz) = 064149190ae07c70175951d7b17f2d30ab5c5351
+SHA512 (wmutils-core-1.2.tar.gz) = 78c6828b8b54290a6ddfe655e2015580ef7aee0a3d45e63f42874cecab85836c9ed1cdf6398d158611250fffcf0ea6567980464daa1c00ed744d0f10f728059b
+Size (wmutils-core-1.2.tar.gz) = 9475 bytes