pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm Add wm/tinywm



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eacb855d9838
branches:  trunk
changeset: 443399:eacb855d9838
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Dec 11 15:12:35 2020 +0000

description:
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:

 wm/Makefile        |   3 ++-
 wm/tinywm/DESCR    |  10 ++++++++++
 wm/tinywm/Makefile |  22 ++++++++++++++++++++++
 wm/tinywm/PLIST    |   2 ++
 wm/tinywm/distinfo |   6 ++++++
 5 files changed, 42 insertions(+), 1 deletions(-)

diffs (73 lines):

diff -r 73212d577453 -r eacb855d9838 wm/Makefile
--- a/wm/Makefile       Fri Dec 11 14:44:15 2020 +0000
+++ b/wm/Makefile       Fri Dec 11 15:12:35 2020 +0000
@@ -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+=       sowm
 SUBDIR+=       spectrwm
 SUBDIR+=       swc
+SUBDIR+=       tinywm
 SUBDIR+=       trayer
 SUBDIR+=       tvtwm
 SUBDIR+=       twm
diff -r 73212d577453 -r eacb855d9838 wm/tinywm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/tinywm/DESCR   Fri Dec 11 15:12:35 2020 +0000
@@ -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 -r 73212d577453 -r eacb855d9838 wm/tinywm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/tinywm/Makefile        Fri Dec 11 15:12:35 2020 +0000
@@ -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@localhost
+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 -r 73212d577453 -r eacb855d9838 wm/tinywm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/tinywm/PLIST   Fri Dec 11 15:12:35 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/11 15:12:35 nia Exp $
+bin/tinywm
diff -r 73212d577453 -r eacb855d9838 wm/tinywm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/tinywm/distinfo        Fri Dec 11 15:12:35 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index