diff options
author | nia <nia@pkgsrc.org> | 2020-12-11 15:12:35 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-12-11 15:12:35 +0000 |
commit | 5e3c2dc64407995432bee151711543d9e8722b5b (patch) | |
tree | f1c9d5531e0d297ef487edb3b3783f4808021b48 /wm | |
parent | 095b72a1b64bd76a6fb0fb29ea1ceb8b49d0bc3b (diff) | |
download | pkgsrc-5e3c2dc64407995432bee151711543d9e8722b5b.tar.gz |
Add wm/tinywm
TinyWM is a tiny window manager created as an exercise in minimalism. It is
also maybe helpful in learning some of the very basics of creating a window
manager. It is only around 50 lines of C.
It lets you do four basic things:
- Move windows interactively with Alt+Button1 drag
- Resize windows interactively with Alt+Button3 drag
- Raise windows with Alt+F1
- Focus windows with the mouse pointer
Diffstat (limited to 'wm')
-rw-r--r-- | wm/Makefile | 3 | ||||
-rw-r--r-- | wm/tinywm/DESCR | 10 | ||||
-rw-r--r-- | wm/tinywm/Makefile | 22 | ||||
-rw-r--r-- | wm/tinywm/PLIST | 2 | ||||
-rw-r--r-- | wm/tinywm/distinfo | 6 |
5 files changed, 42 insertions, 1 deletions
diff --git a/wm/Makefile b/wm/Makefile index 0bb1d1967f3..1ce965d5202 100644 --- a/wm/Makefile +++ b/wm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.156 2020/12/10 03:03:52 jnemeth Exp $ +# $NetBSD: Makefile,v 1.157 2020/12/11 15:12:35 nia Exp $ # COMMENT= X11 window managers, configuration tools, and themes @@ -84,6 +84,7 @@ SUBDIR+= skippy SUBDIR+= sowm SUBDIR+= spectrwm SUBDIR+= swc +SUBDIR+= tinywm SUBDIR+= trayer SUBDIR+= tvtwm SUBDIR+= twm diff --git a/wm/tinywm/DESCR b/wm/tinywm/DESCR new file mode 100644 index 00000000000..3522a962e1b --- /dev/null +++ b/wm/tinywm/DESCR @@ -0,0 +1,10 @@ +TinyWM is a tiny window manager created as an exercise in minimalism. It is +also maybe helpful in learning some of the very basics of creating a window +manager. It is only around 50 lines of C. + +It lets you do four basic things: + +- Move windows interactively with Alt+Button1 drag +- Resize windows interactively with Alt+Button3 drag +- Raise windows with Alt+F1 +- Focus windows with the mouse pointer diff --git a/wm/tinywm/Makefile b/wm/tinywm/Makefile new file mode 100644 index 00000000000..b6a39b0e758 --- /dev/null +++ b/wm/tinywm/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2020/12/11 15:12:35 nia Exp $ + +DISTNAME= tinywm-1.3 +CATEGORIES= wm x11 +MASTER_SITES= http://incise.org/files/dev/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://incise.org/tinywm.html +COMMENT= Very basic X window manager in around 50 lines of C +LICENSE= public-domain + +INSTALLATION_DIRS+= bin + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -lX11 -o tinywm tinywm.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tinywm ${DESTDIR}${PREFIX}/bin/tinywm + +.include "../../x11/libX11/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/tinywm/PLIST b/wm/tinywm/PLIST new file mode 100644 index 00000000000..77ebb4aaed8 --- /dev/null +++ b/wm/tinywm/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2020/12/11 15:12:35 nia Exp $ +bin/tinywm diff --git a/wm/tinywm/distinfo b/wm/tinywm/distinfo new file mode 100644 index 00000000000..faa2306cf49 --- /dev/null +++ b/wm/tinywm/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/12/11 15:12:35 nia Exp $ + +SHA1 (tinywm-1.3.tgz) = 2fc6e5ef28939d067f3f924bb9334f1be1cee5eb +RMD160 (tinywm-1.3.tgz) = b9885aee9eafbe5d40238258572ed431455f2f01 +SHA512 (tinywm-1.3.tgz) = 6ee19a74c528e949052e0b3ea7ca94e67c199f53e6e756b79e2fc8606e5feaed30de5ef77d0f63d6d16233d1d1cf584b50115edd93e226d8211afebd398da888 +Size (tinywm-1.3.tgz) = 5028 bytes |