pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/windowlab Initial import of windowlab 1.12. Reviewe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cff99f0fdde0
branches:  trunk
changeset: 460633:cff99f0fdde0
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Sep 02 07:23:59 2003 +0000

description:
Initial import of windowlab 1.12. Reviewed by wiz@

WindowLab is a small and simple window manager of novel design, based on
aewm.

It's click-to-focus, shares its window depth policy with the Amiga, and has
a window resizing/reshaping method similar to that of 8/5 from Plan 9.
WindowLab maintains the illusion of direct manipulation by constraining the
mouse pointer when appropriate, ie when a window cannot be dragged any further
in one direction.  The pointer is also constrained vertically (effectively
making the target menu items infinitely tall according to Fitts's law) when
it's in the menubar to reduce pointing time.

http://www.nickgravgaard.com/windowlab/

diffstat:

 wm/windowlab/DESCR            |   9 ++++++
 wm/windowlab/Makefile         |  30 +++++++++++++++++++++
 wm/windowlab/PLIST            |   5 +++
 wm/windowlab/distinfo         |   5 +++
 wm/windowlab/patches/patch-aa |  61 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 110 insertions(+), 0 deletions(-)

diffs (130 lines):

diff -r cca4748c999a -r cff99f0fdde0 wm/windowlab/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/windowlab/DESCR        Tue Sep 02 07:23:59 2003 +0000
@@ -0,0 +1,9 @@
+WindowLab is a small and simple window manager of novel design, based on aewm.
+
+It's click-to-focus, shares its window depth policy with the Amiga, and has
+a window resizing/reshaping method similar to that of 8/5 from Plan 9.
+WindowLab maintains the illusion of direct manipulation by constraining the
+mouse pointer when appropriate, ie when a window cannot be dragged any further
+in one direction.  The pointer is also constrained vertically (effectively
+making the target menu items infinitely tall according to Fitts's law) when
+it's in the menubar to reduce pointing time.
diff -r cca4748c999a -r cff99f0fdde0 wm/windowlab/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/windowlab/Makefile     Tue Sep 02 07:23:59 2003 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/02 07:23:59 xtraeme Exp $
+#
+
+DISTNAME=      windowlab-1.12
+CATEGORIES=    wm
+MASTER_SITES=  http://www.nickgravgaard.com/windowlab/
+EXTRACT_SUFX=  .tar
+
+MAINTAINER=    xtraeme%NetBSD.org@localhost
+HOMEPAGE=      http://www.nickgravgaard.com/windowlab/
+COMMENT=       Small and simple window manager
+
+USE_BUILDLINK2=        YES
+USE_PKGINSTALL=        YES
+USE_GMAKE=     YES
+USE_X11=       YES
+
+PKG_SYSCONFSUBDIR=     windowlab
+
+EGDIR=         ${PREFIX}/share/examples/windowlab
+CONF_FILES=    ${EGDIR}/menurc.default ${PKG_SYSCONFDIR}/menurc
+
+post-install:
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/menurc.sample ${EGDIR}/menurc.default
+
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../fonts/Xft2/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r cca4748c999a -r cff99f0fdde0 wm/windowlab/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/windowlab/PLIST        Tue Sep 02 07:23:59 2003 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/02 07:24:00 xtraeme Exp $
+bin/windowlab
+man/man1/windowlab.1
+share/examples/windowlab/menurc.default
+@dirrm share/examples/windowlab
diff -r cca4748c999a -r cff99f0fdde0 wm/windowlab/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/windowlab/distinfo     Tue Sep 02 07:23:59 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/02 07:24:00 xtraeme Exp $
+
+SHA1 (windowlab-1.12.tar) = d42a249d1d51ed316a41f6cb74bc94a279d06abb
+Size (windowlab-1.12.tar) = 143360 bytes
+SHA1 (patch-aa) = 4170cdb47715139e4f84ce90ae132bcaf52c91e1
diff -r cca4748c999a -r cff99f0fdde0 wm/windowlab/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/windowlab/patches/patch-aa     Tue Sep 02 07:23:59 2003 +0000
@@ -0,0 +1,61 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/02 07:24:00 xtraeme Exp $
+
+--- Makefile.orig      2003-04-19 14:19:28.000000000 +0200
++++ Makefile   2003-05-16 01:55:05.000000000 +0200
+@@ -6,7 +6,7 @@
+ 
+ # Information about the location of the menurc file
+ ifndef MENURC
+-MENURC = /etc/X11/windowlab/menurc
++MENURC = ${PKG_SYSCONFDIR}/menurc
+ endif
+ DEFINES += -DDEF_MENURC="\"$(MENURC)\""
+ 
+@@ -15,27 +15,26 @@
+ 
+ # Uncomment to add freetype support (requires XFree86 4.0.2 or later)
+ # This needs -lXext above, even if you have disabled shape support.
+-#DEFINES += -DXFT
+-#EXTRA_INC += `pkg-config --cflags xft`
+-#EXTRA_LIBS += `pkg-config --libs xft`
++DEFINES += -DXFT
++EXTRA_INC += `pkg-config --cflags xft`
++EXTRA_LIBS += `pkg-config --libs xft`
+ 
+ # Uncomment for debugging info (abandon all hope, ye who enter here)
+ #DEFINES += -DDEBUG
+ 
+ # This should be set to the location of the X installation you want to
+ # compile against.
+-XROOT = /usr/X11R6
++XROOT = ${PREFIX}
+ 
+ # --------------------------------------------------------------------
+ 
+-CC       = gcc
+-CFLAGS   = -g -O2 -Wall
++#CC       = gcc
++CFLAGS   += -g -O2 -Wall
+ 
+ BINDIR   = $(DESTDIR)$(XROOT)/bin
+ MANDIR   = $(DESTDIR)$(XROOT)/man/man1
+-CFGDIR   = $(DESTDIR)/etc/X11/windowlab
+ INCLUDES = -I$(XROOT)/include $(EXTRA_INC)
+-LDPATH   = -L$(XROOT)/lib
++LDPATH   = ${LDFLAGS}
+ LIBS     = -lX11 $(EXTRA_LIBS)
+ 
+ PROG     = windowlab
+@@ -52,10 +51,8 @@
+       $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
+ 
+ install: all
+-      install -s $(PROG) $(BINDIR)
+-      install -m 644 $(MANPAGE) $(MANDIR)
+-      gzip -9vf $(MANDIR)/$(MANPAGE)
+-      mkdir -p $(CFGDIR) && cp menurc.sample $(CFGDIR)/menurc
++      ${BSD_INSTALL_PROGRAM} $(PROG) $(BINDIR)
++      ${BSD_INSTALL_MAN} $(MANPAGE) $(MANDIR)/windowlab.1
+ 
+ clean:
+       rm -f $(PROG) $(OBJS)



Home | Main Index | Thread Index | Old Index