Mon Jan 4 14:52:59 2021 UTC ()
Add wm/mcwm.

mcwm is a minimalist window manager for the X Window System written from
scratch in C directly on top of XCB. It is a traditional floating window
manager with a lot of features but without the bloat.

In mcwm all functions, including move and resize, are available from the
keyboard but a pointing device can be used for move, resize and raise/lower.


(nia)
diff -r1.157 -r1.158 pkgsrc/wm/Makefile
diff -r0 -r1.1 pkgsrc/wm/mcwm/DESCR
diff -r0 -r1.1 pkgsrc/wm/mcwm/Makefile
diff -r0 -r1.1 pkgsrc/wm/mcwm/PLIST
diff -r0 -r1.1 pkgsrc/wm/mcwm/distinfo
diff -r0 -r1.1 pkgsrc/wm/mcwm/patches/patch-Makefile

cvs diff -r1.157 -r1.158 pkgsrc/wm/Makefile (expand / switch to unified diff)

--- pkgsrc/wm/Makefile 2020/12/11 15:12:35 1.157
+++ pkgsrc/wm/Makefile 2021/01/04 14:52:58 1.158
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.157 2020/12/11 15:12:35 nia Exp $ 1# $NetBSD: Makefile,v 1.158 2021/01/04 14:52:58 nia Exp $
2# 2#
3 3
4COMMENT= X11 window managers, configuration tools, and themes 4COMMENT= X11 window managers, configuration tools, and themes
5 5
6SUBDIR+= 2bwm 6SUBDIR+= 2bwm
7SUBDIR+= 3ddesktop 7SUBDIR+= 3ddesktop
8SUBDIR+= 9wm 8SUBDIR+= 9wm
9SUBDIR+= aewm++ 9SUBDIR+= aewm++
10SUBDIR+= afterstep 10SUBDIR+= afterstep
11SUBDIR+= amiwm 11SUBDIR+= amiwm
12SUBDIR+= awesome 12SUBDIR+= awesome
13SUBDIR+= bbkeys 13SUBDIR+= bbkeys
14SUBDIR+= bbkeys09 14SUBDIR+= bbkeys09
@@ -49,26 +49,27 @@ SUBDIR+= herbstluftwm @@ -49,26 +49,27 @@ SUBDIR+= herbstluftwm
49SUBDIR+= i3 49SUBDIR+= i3
50SUBDIR+= icewm 50SUBDIR+= icewm
51SUBDIR+= icewm-imlib 51SUBDIR+= icewm-imlib
52SUBDIR+= icewm13 52SUBDIR+= icewm13
53SUBDIR+= icewm14 53SUBDIR+= icewm14
54SUBDIR+= icewmconf 54SUBDIR+= icewmconf
55SUBDIR+= jwm 55SUBDIR+= jwm
56SUBDIR+= larswm 56SUBDIR+= larswm
57SUBDIR+= libAppleWM 57SUBDIR+= libAppleWM
58SUBDIR+= lwm 58SUBDIR+= lwm
59SUBDIR+= marco 59SUBDIR+= marco
60SUBDIR+= matchbox-wm 60SUBDIR+= matchbox-wm
61SUBDIR+= mate-netbook 61SUBDIR+= mate-netbook
 62SUBDIR+= mcwm
62SUBDIR+= mlvwm 63SUBDIR+= mlvwm
63SUBDIR+= musca 64SUBDIR+= musca
64SUBDIR+= mutter 65SUBDIR+= mutter
65SUBDIR+= notion 66SUBDIR+= notion
66SUBDIR+= novawm 67SUBDIR+= novawm
67SUBDIR+= obconf 68SUBDIR+= obconf
68SUBDIR+= obconf-qt 69SUBDIR+= obconf-qt
69SUBDIR+= obpager 70SUBDIR+= obpager
70SUBDIR+= olvwm 71SUBDIR+= olvwm
71SUBDIR+= openbox 72SUBDIR+= openbox
72SUBDIR+= oroborox 73SUBDIR+= oroborox
73SUBDIR+= oroborus 74SUBDIR+= oroborus
74SUBDIR+= pekwm 75SUBDIR+= pekwm

File Added: pkgsrc/wm/mcwm/DESCR
mcwm is a minimalist window manager for the X Window System written from
scratch in C directly on top of XCB. It is a traditional floating window
manager with a lot of features but without the bloat.

In mcwm all functions, including move and resize, are available from the
keyboard but a pointing device can be used for move, resize and raise/lower.

File Added: pkgsrc/wm/mcwm/Makefile
# $NetBSD: Makefile,v 1.1 2021/01/04 14:52:58 nia Exp $

DISTNAME=	mcwm-20130209-2
PKGNAME=	mcwm-20130209.2
CATEGORIES=	wm x11
MASTER_SITES=	https://hack.org/mc/hacks/mcwm/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://hack.org/mc/hacks/mcwm/
COMMENT=	Minimalist stacking X window manager based on XCB
LICENSE=	isc

INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	${PKGMANDIR}/man1

do-install:
.for prog in mcwm hidden
	${INSTALL_PROGRAM} ${WRKSRC}/${prog} \
	    ${DESTDIR}${PREFIX}/bin/${prog}
	${INSTALL_PROGRAM} ${WRKSRC}/${prog}.man \
	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${prog}.1
.endfor

.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/xcb-util-wm/buildlink3.mk"
.include "../../x11/xcb-util-keysyms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/wm/mcwm/PLIST
@comment $NetBSD: PLIST,v 1.1 2021/01/04 14:52:58 nia Exp $
bin/hidden
bin/mcwm
man/man1/hidden.1
man/man1/mcwm.1

File Added: pkgsrc/wm/mcwm/distinfo
$NetBSD: distinfo,v 1.1 2021/01/04 14:52:58 nia Exp $

SHA1 (mcwm-20130209-2.tar.bz2) = af00a533132d3bd4bf81107ef28496bd8e91a6ed
RMD160 (mcwm-20130209-2.tar.bz2) = 0c861a4439fd28e64a3c727592eded7849b680db
SHA512 (mcwm-20130209-2.tar.bz2) = 0cc37b6eb12ec83078f20d9e174a7489dc72cec0f5486235271d955b9a6456945ebe363cb980e22ed96598e4362e9b6183686b3a17ea15a9152694b62ce87026
Size (mcwm-20130209-2.tar.bz2) = 31948 bytes
SHA1 (patch-Makefile) = a4b05c2a3eed7d561843e338b181cca8686934f4

File Added: pkgsrc/wm/mcwm/patches/patch-Makefile
$NetBSD: patch-Makefile,v 1.1 2021/01/04 14:52:58 nia Exp $

Remove -g and default library paths from compilation flags.

--- Makefile.orig	2013-02-09 20:15:09.000000000 +0000
+++ Makefile
@@ -3,8 +3,8 @@ DIST=mcwm-$(VERSION)
 SRC=mcwm.c list.c config.h events.h list.h hidden.c
 DISTFILES=LICENSE Makefile NEWS README TODO WISHLIST mcwm.man hidden.man scripts $(SRC)
 
-CFLAGS+=-g -std=c99 -Wall -Wextra -I/usr/local/include #-DDEBUG #-DDMALLOC
-LDFLAGS+=-L/usr/local/lib -lxcb -lxcb-randr -lxcb-keysyms -lxcb-icccm \
+CFLAGS+=-std=c99 -Wall -Wextra -I/usr/local/include #-DDEBUG #-DDMALLOC
+LDFLAGS+=-lxcb -lxcb-randr -lxcb-keysyms -lxcb-icccm \
 	-lxcb-util #-ldmalloc
 
 RM=/bin/rm