summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wm/piewm/DESCR13
-rw-r--r--wm/piewm/Makefile16
-rw-r--r--wm/piewm/PLIST4
-rw-r--r--wm/piewm/distinfo7
-rw-r--r--wm/piewm/patches/patch-aa15
-rw-r--r--wm/piewm/patches/patch-ab52
-rw-r--r--wm/piewm/patches/patch-ac10
7 files changed, 117 insertions, 0 deletions
diff --git a/wm/piewm/DESCR b/wm/piewm/DESCR
new file mode 100644
index 00000000000..e66dff8a130
--- /dev/null
+++ b/wm/piewm/DESCR
@@ -0,0 +1,13 @@
+Although the computer screen is two-dimensional, today most users of
+windowing environments control their systems with a one-dimensional
+list of choices -- the standard pull-down or drop-down menus such as
+those found on Microsoft Windows, Presentation Manager, or the
+Macintosh.
+
+An alternative user-interface technique is "pie" menus -
+two-dimensional, circular, and in many ways easier to use and faster
+than conventional linear menus. Pie menus also work well with
+alternative pointing devices such as those found in stylus or
+pen-based systems.
+
+piewm is a virtual window manager based on tvtwm, which uses pie menus.
diff --git a/wm/piewm/Makefile b/wm/piewm/Makefile
new file mode 100644
index 00000000000..2fdbda0d891
--- /dev/null
+++ b/wm/piewm/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/28 22:28:31 agc Exp $
+
+DISTNAME= piewm-1.02
+CATEGORIES= wm
+MASTER_SITES= ftp://ftp.crynwr.com/piewm/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.crynwr.com/piewm/
+COMMENT= minimalist window manager based on tvtwm with pie menus
+
+USE_IMAKE= yes
+USE_BUILDLINK2= yes
+
+.include "../../graphics/xpm/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/piewm/PLIST b/wm/piewm/PLIST
new file mode 100644
index 00000000000..6e4f6604a11
--- /dev/null
+++ b/wm/piewm/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/28 22:28:31 agc Exp $
+bin/piewm
+lib/X11/twm/system.twmrc
+man/cat1/piewm.0
diff --git a/wm/piewm/distinfo b/wm/piewm/distinfo
new file mode 100644
index 00000000000..6aae4791bf6
--- /dev/null
+++ b/wm/piewm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
+
+SHA1 (piewm-1.02.tar.gz) = 0b9e65853642d86f2e7254f59f7d03b951d77018
+Size (piewm-1.02.tar.gz) = 207006 bytes
+SHA1 (patch-aa) = 2292cf41f5c0d4d97a185b9d1c3336a798c824fa
+SHA1 (patch-ab) = 38d8407cb4d40425db0cf998a08e75d4218cad41
+SHA1 (patch-ac) = 62b7491e7658db8ac0c00bf691ba4e0e270a7b70
diff --git a/wm/piewm/patches/patch-aa b/wm/piewm/patches/patch-aa
new file mode 100644
index 00000000000..9ec5190ae56
--- /dev/null
+++ b/wm/piewm/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
+
+--- list.c 2002/10/28 21:59:26 1.1
++++ list.c 2002/10/28 22:00:13
+@@ -109,8 +109,9 @@
+ */
+
+ char *
+-LookInList(name_list *list_head, char *name, XClassHint *class)
++LookInList(name_list *list_head, char *name, void *classarg)
+ {
++ XClassHint *class = (XClassHint *) classarg;
+ name_list *nptr;
+ char *return_name = NULL;
+
diff --git a/wm/piewm/patches/patch-ab b/wm/piewm/patches/patch-ab
new file mode 100644
index 00000000000..d8781c2d3c3
--- /dev/null
+++ b/wm/piewm/patches/patch-ab
@@ -0,0 +1,52 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
+
+--- Imakefile 2002/10/28 22:02:11 1.1
++++ Imakefile 2002/10/28 22:02:45
+@@ -11,7 +11,7 @@
+ TAGS = etags
+
+ # change if you want it to look elsewhere for its files.
+- PIEWMDIR = /usr/local/lib/piewm
++ PIEWMDIR = ${PREFIX}/lib/piewm
+
+ #
+ # Keep uncommented to allow the xloadimage program by Jim Frost to
+@@ -19,7 +19,7 @@
+ # other image formats besides Xpm or Xbm)
+ # Chris P. Ross
+ # <cross@eng.umd.edu>
+- XLOADIM_DEF = -DXLOADIMAGE=\"/usr/local/bin/xloadimage\"
++ XLOADIM_DEF = -DXLOADIMAGE=\"${PREFIX}/bin/xloadimage\"
+ MATHLIB = -lm
+ LOCAL_DEFINES = -DSHAPE
+
+@@ -28,7 +28,7 @@
+ ULTRIX_DEFINES = -DNOSTEMP
+ #endif
+
+-LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm
++LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm -lfl
+ LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
+ DEFINES = ExtensionDefines $(LOCAL_DEFINES) $(SIGNAL_DEFINES) $(ULTRIX_DEFINES)
+
+@@ -40,7 +40,7 @@
+ parse.o menus.o events.o resize.o util.o version.o iconmgr.o \
+ cursor.o icons.o vdt.o move.o LocPixmap.o
+
+-AllTarget(piewm ssetroot)
++AllTarget(piewm)
+
+ SpecialObjectRule(parse.o, vdt.c, '-DPIEWMDIR="$(PIEWMDIR)"')
+ SpecialObjectRule(vdt.o, vdt.c, $(XLOADIM_DEF))
+@@ -51,11 +51,9 @@
+ depend:: lex.c gram.c deftwmrc.c
+
+ ComplexProgramTarget(piewm)
+-NormalProgramTarget(ssetroot,ssetroot.o,,$(LOCAL_LIBRARIES),)
+
+ MakeDirectories(install,$(TWMDIR))
+ InstallNonExec(system.twmrc,$(TWMDIR))
+-# InstallNamedProg(ssetroot,xsetroot,$(BINDIR))
+
+ gram.h gram.c: gram.y
+ $(YACC) $(YFLAGS) gram.y
diff --git a/wm/piewm/patches/patch-ac b/wm/piewm/patches/patch-ac
new file mode 100644
index 00000000000..c4072e78c1f
--- /dev/null
+++ b/wm/piewm/patches/patch-ac
@@ -0,0 +1,10 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
+
+--- lex.l 2002/10/28 22:12:50 1.1
++++ lex.l 2002/10/28 22:13:05
+@@ -1,3 +1,5 @@
++%option yylineno
++
+ %{
+ /*****************************************************************************/
+ /** Copyright 1988 by Evans & Sutherland Computer Corporation, **/