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/wmii/patches | |
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/wmii/patches')
-rw-r--r-- | wm/wmii/patches/patch-aa | 45 | ||||
-rw-r--r-- | wm/wmii/patches/patch-ab | 54 |
2 files changed, 99 insertions, 0 deletions
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: |