diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-23 20:39:03 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-23 20:39:03 +0000 |
commit | df73276d278dcb5a7c9d1555c4275d727ab0a037 (patch) | |
tree | 09c181d89ea613e5b313cce0ea5e091f7221256e /wm | |
parent | fa4c9a4936e19657ea184c8cf01ae667e5951006 (diff) | |
download | pkgsrc-df73276d278dcb5a7c9d1555c4275d727ab0a037.tar.gz |
Import wmii from pkgsrc-wip. Packaged by Leonard Schmidt.
window manager improved 2 (wmii) is an improved, modularized and
lightweight X11 window manager which supports tabbed, tiled and
conventional window management through layouts.
wmii consists of components that are independent processes and
communicate via a socket-based virtual filesystem which is oriented on
the "everything is a file" paradigm of the plan9 operating system.
The core distribution of wmii contains the window manager itself, a
master file system routing utility (wmifs), a generic bar (wmibar), a
shortcut handler (wmikeys), and a generic interaction menu (wmimenu)
beside several tiny utilities like wmir, wmiplumb, and wmiwarp.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/wmii/DESCR | 12 | ||||
-rw-r--r-- | wm/wmii/Makefile | 43 | ||||
-rw-r--r-- | wm/wmii/PLIST | 66 | ||||
-rw-r--r-- | wm/wmii/distinfo | 7 | ||||
-rw-r--r-- | wm/wmii/patches/patch-aa | 45 | ||||
-rw-r--r-- | wm/wmii/patches/patch-ab | 54 |
6 files changed, 227 insertions, 0 deletions
diff --git a/wm/wmii/DESCR b/wm/wmii/DESCR new file mode 100644 index 00000000000..98e95b7db07 --- /dev/null +++ b/wm/wmii/DESCR @@ -0,0 +1,12 @@ +window manager improved 2 (wmii) is an improved, modularized and +lightweight X11 window manager which supports tabbed, tiled and +conventional window management through layouts. + +wmii consists of components that are independent processes and +communicate via a socket-based virtual filesystem which is oriented on +the "everything is a file" paradigm of the plan9 operating system. + +The core distribution of wmii contains the window manager itself, a +master file system routing utility (wmifs), a generic bar (wmibar), a +shortcut handler (wmikeys), and a generic interaction menu (wmimenu) +beside several tiny utilities like wmir, wmiplumb, and wmiwarp. diff --git a/wm/wmii/Makefile b/wm/wmii/Makefile new file mode 100644 index 00000000000..57fa7091514 --- /dev/null +++ b/wm/wmii/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/23 20:39:03 minskim Exp $ +# + +DISTNAME= wmii-20051017 +CATEGORIES= wm x11 +MASTER_SITES= http://wmii.de/snaps/ + +MAINTAINER= lems@gmx.net +HOMEPAGE= http://wmii.de/ +COMMENT= Modular and keyboard-friendly window manager + +DEPENDS+= 9rc-[0-9]*:../../shells/9rc + +USE_PKGINSTALL= yes +NO_CONFIGURE= yes + +CFLAGS.SunOS+= -D__EXTENSIONS__ + +SUBST_CLASSES+= vars +SUBST_STAGE.vars= post-patch +SUBST_FILES.vars= base/wmii util/wmirefcard action/* base/wmii.1 +SUBST_SED.vars= -e 's|SHAREPREFIX|${PREFIX}/share|g' +SUBST_SED.vars+= -e 's|CONFPREFIX|${PREFIX}/share/examples|g' +SUBST_SED.vars+= -e 's|9PREFIX|${PREFIX}|g' + +PKG_SYSCONFSUBDIR= wmii +EGDIR= ${PREFIX}/share/examples/wmii +EGFILES= actions attach border clientupdate \ + close cnext cprev detach fnext fprev \ + fresize ftoggle icons kbare kmove \ + knorm kresize lfloat lgrid lmax lock \ + ltiled lvsplit max p pager pageupdate \ + plumbgoogle plumburl pnew pnext pprev \ + premove presize programs ptoggle quit \ + scr status tab term wmirc wmire www \ + zoom +.for f in ${EGFILES} +CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} +.endfor +.undef f + +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/wmii/PLIST b/wm/wmii/PLIST new file mode 100644 index 00000000000..13dbfa0eaf6 --- /dev/null +++ b/wm/wmii/PLIST @@ -0,0 +1,66 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/23 20:39:03 minskim Exp $ +bin/wmibar +bin/wmifs +bin/wmii +bin/wmiiwm +bin/wmikeys +bin/wmimenu +bin/wmiplumb +bin/wmir +bin/wmirefcard +bin/wmiwarp +man/man1/wmibar.1 +man/man1/wmifs.1 +man/man1/wmii.1 +man/man1/wmiiwm.1 +man/man1/wmikeys.1 +man/man1/wmimenu.1 +man/man1/wmir.1 +share/examples/wmii/actions +share/examples/wmii/attach +share/examples/wmii/border +share/examples/wmii/clientupdate +share/examples/wmii/close +share/examples/wmii/cnext +share/examples/wmii/cprev +share/examples/wmii/detach +share/examples/wmii/fnext +share/examples/wmii/fprev +share/examples/wmii/fresize +share/examples/wmii/ftoggle +share/examples/wmii/icons +share/examples/wmii/kbare +share/examples/wmii/kmove +share/examples/wmii/knorm +share/examples/wmii/kresize +share/examples/wmii/lfloat +share/examples/wmii/lgrid +share/examples/wmii/lmax +share/examples/wmii/lock +share/examples/wmii/ltiled +share/examples/wmii/lvsplit +share/examples/wmii/max +share/examples/wmii/p +share/examples/wmii/pager +share/examples/wmii/pageupdate +share/examples/wmii/plumbgoogle +share/examples/wmii/plumburl +share/examples/wmii/pnew +share/examples/wmii/pnext +share/examples/wmii/pprev +share/examples/wmii/premove +share/examples/wmii/presize +share/examples/wmii/programs +share/examples/wmii/ptoggle +share/examples/wmii/quit +share/examples/wmii/scr +share/examples/wmii/status +share/examples/wmii/tab +share/examples/wmii/term +share/examples/wmii/wmirc +share/examples/wmii/wmire +share/examples/wmii/www +share/examples/wmii/zoom +share/wmii/README +@dirrm share/wmii +@dirrm share/examples/wmii diff --git a/wm/wmii/distinfo b/wm/wmii/distinfo new file mode 100644 index 00000000000..bf7b491dde4 --- /dev/null +++ b/wm/wmii/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/23 20:39:03 minskim Exp $ + +SHA1 (wmii-20051017.tar.gz) = 41b2b9f820fd247c25f123b76133648dc3df30b7 +RMD160 (wmii-20051017.tar.gz) = f7d63c4539b162201571558fc710b85becf7c95a +Size (wmii-20051017.tar.gz) = 79781 bytes +SHA1 (patch-aa) = 6b3e66a305590e3a86020e5002f56dae81dd3b76 +SHA1 (patch-ab) = 196581727542a6e22578a680213f164736a84eb2 diff --git a/wm/wmii/patches/patch-aa b/wm/wmii/patches/patch-aa new file mode 100644 index 00000000000..ca757b909ed --- /dev/null +++ b/wm/wmii/patches/patch-aa @@ -0,0 +1,45 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/23 20:39:03 minskim Exp $ + +--- config.mk.orig 2005-10-17 14:17:01.000000000 +0000 ++++ config.mk +@@ -1,16 +1,16 @@ + # Customize to fit your system + + # paths +-PREFIX = /usr/local +-CONFPREFIX = ${PREFIX}/etc +-MANPREFIX = ${PREFIX}/share/man ++#PREFIX = /usr/local ++CONFPREFIX = ${PREFIX}/share/examples ++MANPREFIX = ${PREFIX}/man + SHAREPREFIX = ${PREFIX}/share +-9PREFIX = ${PREFIX}/9 ++9PREFIX = ${PREFIX} + + INCDIR = ${PREFIX}/include + LIBDIR = ${PREFIX}/lib +-X11INC = /usr/X11R6/include +-X11LIB = /usr/X11R6/lib ++X11INC = ${X11BASE}/include ++X11LIB = ${X11BASE}/lib + + # includes and libs + INCLUDES = -I. -I${INCDIR} -I/usr/include -I${X11INC} +@@ -18,14 +18,14 @@ LIBS = -L${LIBDIR} -L/usr/lib -lc + VERSION = 20051017 + + # flags +-CFLAGS = -O0 -g -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" +-LDFLAGS = -g ${LIBS} ++CFLAGS += ${INCLUDES} -DVERSION=\"${VERSION}\" ++LDFLAGS += ${LIBS} + + # compiler + # Note: - under Solaris add -D__EXTENSIONS__ to CFLAGS + MAKE = make + AR = ar cr +-CC = cc ++#CC = cc + RANLIB = ranlib + + # code formatting diff --git a/wm/wmii/patches/patch-ab b/wm/wmii/patches/patch-ab new file mode 100644 index 00000000000..9a443425e48 --- /dev/null +++ b/wm/wmii/patches/patch-ab @@ -0,0 +1,54 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/10/23 20:39:03 minskim Exp $ + +--- Makefile.orig 2005-10-17 14:17:01.000000000 +0000 ++++ Makefile +@@ -5,9 +5,9 @@ include config.mk + + SUBDIRS = libcext liblitz libixp libixp2 libwmii base util + +-BIN = base/wmii base/wmiiwm util/wmibar util/wmifs \ ++BIN = base/wmiiwm util/wmibar util/wmifs \ + util/wmikeys util/wmimenu util/wmiplumb util/wmir \ +- util/wmirefcard util/wmiwarp ++ util/wmiwarp + + MAN1 = base/wmii.1 base/wmiiwm.1 util/wmibar.1 util/wmifs.1 \ + util/wmikeys.1 util/wmimenu.1 util/wmir.1 +@@ -47,28 +47,17 @@ clean: + + install: all + @echo Installing executable files to ${DESTDIR}${PREFIX}/bin +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${BIN} ${DESTDIR}${PREFIX}/bin +- @sed 's|SHAREPREFIX|${SHAREPREFIX}|; s|CONFPREFIX|${CONFPREFIX}|; s|9PREFIX|${9PREFIX}|' <base/wmii >${DESTDIR}${PREFIX}/bin/wmii +- @sed 's|9PREFIX|${9PREFIX}|' <util/wmirefcard >${DESTDIR}${PREFIX}/bin/wmirefcard +- @for i in ${BIN}; do \ +- chmod 755 ${DESTDIR}${PREFIX}/bin/`basename $$i`; \ +- done ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${BIN} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_SCRIPT} util/wmirefcard base/wmii ${DESTDIR}${PREFIX}/bin + @echo Installing actions to ${DESTDIR}${CONFPREFIX}/wmii +- @mkdir -p ${DESTDIR}${CONFPREFIX}/wmii +- @cd action; for i in *; do \ +- sed 's|9PREFIX|${9PREFIX}|' <$$i >${DESTDIR}${CONFPREFIX}/wmii/$$i; \ +- chmod 755 ${DESTDIR}${CONFPREFIX}/wmii/$$i; \ +- done +- @mkdir -p ${DESTDIR}${SHAREPREFIX}/wmii +- @cp -f README ${DESTDIR}${SHAREPREFIX}/wmii ++ @${BSD_INSTALL_DATA_DIR} ${DESTDIR}${CONFPREFIX}/wmii ++ @${BSD_INSTALL_SCRIPT} action/* ${DESTDIR}${CONFPREFIX}/wmii ++ @${BSD_INSTALL_DATA_DIR} ${DESTDIR}${SHAREPREFIX}/wmii ++ @${BSD_INSTALL_DATA} README ${DESTDIR}${SHAREPREFIX}/wmii + @echo Installing manual pages to ${DESTDIR}${MANPREFIX}/man1 +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1 +- @sed 's|CONFPREFIX|${CONFPREFIX}|' <base/wmii.1 >${DESTDIR}${MANPREFIX}/man1/wmii.1 +- @for i in ${MAN1}; do \ +- chmod 444 ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \ +- done ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MAN1} ${DESTDIR}${MANPREFIX}/man1 + @echo "wmii successfully installed" + + uninstall: |