pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm Add wm/mcwm.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78be67bc8042
branches:  trunk
changeset: 444297:78be67bc8042
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jan 04 14:52:58 2021 +0000

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

diffstat:

 wm/Makefile                    |   3 ++-
 wm/mcwm/DESCR                  |   6 ++++++
 wm/mcwm/Makefile               |  29 +++++++++++++++++++++++++++++
 wm/mcwm/PLIST                  |   5 +++++
 wm/mcwm/distinfo               |   7 +++++++
 wm/mcwm/patches/patch-Makefile |  17 +++++++++++++++++
 6 files changed, 66 insertions(+), 1 deletions(-)

diffs (101 lines):

diff -r a76f6ff99e7c -r 78be67bc8042 wm/Makefile
--- a/wm/Makefile       Mon Jan 04 14:46:26 2021 +0000
+++ b/wm/Makefile       Mon Jan 04 14:52:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.157 2020/12/11 15:12:35 nia Exp $
+# $NetBSD: Makefile,v 1.158 2021/01/04 14:52:58 nia Exp $
 #
 
 COMMENT=       X11 window managers, configuration tools, and themes
@@ -59,6 +59,7 @@
 SUBDIR+=       marco
 SUBDIR+=       matchbox-wm
 SUBDIR+=       mate-netbook
+SUBDIR+=       mcwm
 SUBDIR+=       mlvwm
 SUBDIR+=       musca
 SUBDIR+=       mutter
diff -r a76f6ff99e7c -r 78be67bc8042 wm/mcwm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mcwm/DESCR     Mon Jan 04 14:52:58 2021 +0000
@@ -0,0 +1,6 @@
+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.
diff -r a76f6ff99e7c -r 78be67bc8042 wm/mcwm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mcwm/Makefile  Mon Jan 04 14:52:58 2021 +0000
@@ -0,0 +1,29 @@
+# $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@localhost
+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"
diff -r a76f6ff99e7c -r 78be67bc8042 wm/mcwm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mcwm/PLIST     Mon Jan 04 14:52:58 2021 +0000
@@ -0,0 +1,5 @@
+@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
diff -r a76f6ff99e7c -r 78be67bc8042 wm/mcwm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mcwm/distinfo  Mon Jan 04 14:52:58 2021 +0000
@@ -0,0 +1,7 @@
+$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
diff -r a76f6ff99e7c -r 78be67bc8042 wm/mcwm/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mcwm/patches/patch-Makefile    Mon Jan 04 14:52:58 2021 +0000
@@ -0,0 +1,17 @@
+$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



Home | Main Index | Thread Index | Old Index