summaryrefslogtreecommitdiff
path: root/wm/piewm/patches
diff options
context:
space:
mode:
authoragc <agc>2002-10-28 22:28:31 +0000
committeragc <agc>2002-10-28 22:28:31 +0000
commit33a5ff4a2c982399bd567f15f9e920fae1c6611e (patch)
tree18b9ebeb6fd78340fb817df064640892333accf7 /wm/piewm/patches
parent8b2e42984ade55c97e85c9da2e2d2a396502699e (diff)
downloadpkgsrc-33a5ff4a2c982399bd567f15f9e920fae1c6611e.tar.gz
Initial import of piewm-1.02 into the NetBSD Packages Collection.
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.
Diffstat (limited to 'wm/piewm/patches')
-rw-r--r--wm/piewm/patches/patch-aa15
-rw-r--r--wm/piewm/patches/patch-ab52
-rw-r--r--wm/piewm/patches/patch-ac10
3 files changed, 77 insertions, 0 deletions
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, **/