summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorpooka <pooka>2000-06-16 14:18:51 +0000
committerpooka <pooka>2000-06-16 14:18:51 +0000
commitbc83f5075de531a8fd8fb01064b617e8ee209686 (patch)
tree9d8a7db762745b878a591956b566aabfe89a54c2 /x11
parent87f679651e3e8bbc2a64c4d2282161f69b269230 (diff)
downloadpkgsrc-bc83f5075de531a8fd8fb01064b617e8ee209686.tar.gz
The OpenLook Virtual Window Manager, version 4.4
provided by Witold J. Wnuk <ww181302@zodiac.mimuw.edu.pl> in pkg/9143
Diffstat (limited to 'x11')
-rw-r--r--x11/olvwm/Makefile20
-rw-r--r--x11/olvwm/files/md53
-rw-r--r--x11/olvwm/files/patch-sum14
-rw-r--r--x11/olvwm/patches/patch-aa38
-rw-r--r--x11/olvwm/patches/patch-ab33
-rw-r--r--x11/olvwm/patches/patch-ac16
-rw-r--r--x11/olvwm/patches/patch-ad21
-rw-r--r--x11/olvwm/patches/patch-ae18
-rw-r--r--x11/olvwm/patches/patch-af20
-rw-r--r--x11/olvwm/patches/patch-ag13
-rw-r--r--x11/olvwm/patches/patch-ah24
-rw-r--r--x11/olvwm/patches/patch-ai12
-rw-r--r--x11/olvwm/patches/patch-aj15
-rw-r--r--x11/olvwm/patches/patch-ak30
-rw-r--r--x11/olvwm/patches/patch-al13
-rw-r--r--x11/olvwm/pkg/COMMENT1
-rw-r--r--x11/olvwm/pkg/DESCR6
-rw-r--r--x11/olvwm/pkg/PLIST5
18 files changed, 302 insertions, 0 deletions
diff --git a/x11/olvwm/Makefile b/x11/olvwm/Makefile
new file mode 100644
index 00000000000..3413c3de7e7
--- /dev/null
+++ b/x11/olvwm/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 14:18:51 pooka Exp $
+#
+
+DISTNAME= olvwm4.src4
+PKGNAME= olvwm-4.4
+CATEGORIES= x11
+MASTER_SITES= http://www.akula.com/~jadler/sdo/olvwm/
+
+MAINTAINER= w.wnuk@zodiac.mimuw.edu.pl
+HOMEPAGE= http://www.akula.com/~jadler/sdo/olvwm/index.html
+
+DEPENDS+= xview-lib-3.2.*:../xview-lib
+DEPENDS+= xview-clients-3.2.*:../xview-clients
+DEPENDS+= xpm-3.*:../../graphics/xpm
+
+USE_X11BASE= yes
+USE_IMAKE= yes
+NO_WRKSUBDIR= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/olvwm/files/md5 b/x11/olvwm/files/md5
new file mode 100644
index 00000000000..ed38668e5c9
--- /dev/null
+++ b/x11/olvwm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/06/16 14:18:52 pooka Exp $
+
+MD5 (olvwm4.src4.tar.gz) = 9eb292e28214345abd8c6493c800282b
diff --git a/x11/olvwm/files/patch-sum b/x11/olvwm/files/patch-sum
new file mode 100644
index 00000000000..cacb7744953
--- /dev/null
+++ b/x11/olvwm/files/patch-sum
@@ -0,0 +1,14 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/06/16 14:18:52 pooka Exp $
+
+MD5 (patch-aa) = 02eda95293ef05027184bc8e4d77b964
+MD5 (patch-ab) = d6cc6ac0082090dad1cb1b6ce01822d2
+MD5 (patch-ac) = 24c588b113c9ef4426853493f05acc5b
+MD5 (patch-ad) = 9bf85e99c01a8c4d4b08312eb05f4df5
+MD5 (patch-ae) = 708843f2743d34dac6ce5e00584b5e85
+MD5 (patch-af) = 8c021e4daca62ddcd259b40aaac92e59
+MD5 (patch-ag) = 4113faf5439ac6202c1c82b4acc0db7b
+MD5 (patch-ah) = f103769d75102ae35765346d86f96588
+MD5 (patch-ai) = eaecbbf3b85bc781f794cba0c0c90f0d
+MD5 (patch-aj) = 62e1eb37af59d0ad1d83ab274350389e
+MD5 (patch-ak) = b6fcd8816b38748e11ae44b3f9d674b4
+MD5 (patch-al) = 2917ff9f602404b4310a433d19d9f16b
diff --git a/x11/olvwm/patches/patch-aa b/x11/olvwm/patches/patch-aa
new file mode 100644
index 00000000000..446489e6eb6
--- /dev/null
+++ b/x11/olvwm/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/06/16 14:18:54 pooka Exp $
+
+--- Imakefile.orig Tue Jan 13 22:23:54 1998
++++ Imakefile Tue Jun 6 19:27:42 2000
+@@ -48,7 +48,11 @@
+ /**/#MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DIDENT
+
+ /**/# For a generic Solaris 2.x system, I'd suggest
+-MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DSVR4 -DSYSV -DIDENT -x O4
++/**/#MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DSVR4 -DSYSV -DIDENT -x O4
++
++/**/# For NetBSD the following is fine
++MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DREGEXP -DXPM -DIDENT -DMAXPID=30000 \
++ -DX11BASE=\"${X11BASE}\"
+
+ /**/#
+ /**/# Set MORELDFLAGS to any link options you want. Be sure to add -lxpm if you
+@@ -57,8 +61,10 @@
+ /**/#MORELDFLAGS=-L${OPENWINHOME}/lib
+ /**/#
+ /**/# For Solaris 2.x, I'd suggest
+-MORELDFLAGS=-L${OPENWINHOME}/lib -R ${OPENWINHOME}/lib -lintl
++/**/#MORELDFLAGS=-L${OPENWINHOME}/lib -R ${OPENWINHOME}/lib -lintl
+
++/**/# For NetBSD the following is fine
++MORELDFLAGS=-lcompat -lXpm
+
+ /**/# No more changes needed
+
+@@ -93,7 +99,7 @@
+ SRCS = atom.c client.c cmdstream.c cursors.c debug.c defaults.c dsdm.c \
+ environ.c error.c evbind.c events.c fontset.c gettext.c gif.c group.c \
+ helpsend.c i18n.c images.c info.c kbdfuncs.c list.c mem.c menu.c \
+- moveresize.c notice.c ol_button.413.c ol_button.svr4.c olvwmrc.c \
++ moveresize.c notice.c ol_button.413.c ol_button.svr4.c \
+ olwm.c pixmap.c properties.c reduce.c resources.c screen.c \
+ selection.c services.c slave.c slots.c st.c states.c usermenu.c \
+ usleep.c virtual.c win.c winbusy.c winbutton.c wincolor.c winframe.c \
diff --git a/x11/olvwm/patches/patch-ab b/x11/olvwm/patches/patch-ab
new file mode 100644
index 00000000000..d90568548b4
--- /dev/null
+++ b/x11/olvwm/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/06/16 14:18:54 pooka Exp $
+
+--- defaults.c.orig Thu Mar 2 22:44:29 2000
++++ defaults.c Tue Jun 6 19:33:36 2000
+@@ -30,9 +30,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+ #include <X11/Xresource.h>
+-#ifdef OW_I18N_L4
+ #include <sys/param.h>
+-#endif
+
+ #include "i18n.h"
+ #include "ollocale.h"
+@@ -89,6 +87,9 @@
+ (void) strcat(filename, "/.Xdefaults-");
+ #ifdef SVR4
+ if (sysinfo(SI_HOSTNAME, hostname, sizeof(hostname)) != -1) {
++#endif
++#ifdef BSD
++ if (0 == gethostname(hostname, sizeof(hostname))) {
+ #else
+ if (0 == gethostname(hostname, sizeof(hostname), &namelen)) {
+ #endif
+@@ -159,7 +160,7 @@
+ return appDB;
+ }
+
+- appDB = XrmGetFileDatabase("/usr/lib/X11/app-defaults/Olwm");
++ appDB = XrmGetFileDatabase(X11BASE "/lib/X11/app-defaults/Olwm");
+ return appDB;
+ }
+
diff --git a/x11/olvwm/patches/patch-ac b/x11/olvwm/patches/patch-ac
new file mode 100644
index 00000000000..33511e23242
--- /dev/null
+++ b/x11/olvwm/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/06/16 14:18:55 pooka Exp $
+
+--- gif.c.orig Sat Jan 8 00:19:38 2000
++++ gif.c Sat Jan 8 00:20:25 2000
+@@ -56,7 +56,10 @@
+ int disposal;
+ } Gif89 = { -1, -1, -1, 0 };
+
+-extern XImage* ReadImage();
++static XImage* ReadImage();
++static int ReadColorMap();
++static int DoExtension();
++static int GetDataBlock();
+
+ XImage *ReadGIF(dpy, fd, pNcolors, pColors)
+ Display *dpy;
diff --git a/x11/olvwm/patches/patch-ad b/x11/olvwm/patches/patch-ad
new file mode 100644
index 00000000000..0e45a56e547
--- /dev/null
+++ b/x11/olvwm/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/06/16 14:18:55 pooka Exp $
+
+--- olvwmrc.y.orig Wed Apr 28 23:27:20 1999
++++ olvwmrc.y Sat Jan 8 00:46:36 2000
+@@ -37,7 +37,7 @@
+ char *LookupToken();
+ char *FindOlvwmRC();
+ void resetKeys();
+-char *strexpand();
++static char *strexpand();
+
+ typedef struct progscreen {
+ char *target;
+@@ -527,7 +527,6 @@
+ }
+ %%
+ /* Programs */
+-#define YYDEBUG 1
+ #include "parse.c"
+
+ extern List *ActiveClientList;
diff --git a/x11/olvwm/patches/patch-ae b/x11/olvwm/patches/patch-ae
new file mode 100644
index 00000000000..d480ab76d21
--- /dev/null
+++ b/x11/olvwm/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/06/16 14:18:55 pooka Exp $
+
+--- olwm.c.orig Sat Jan 8 00:25:00 2000
++++ olwm.c Sat Jan 8 00:25:06 2000
+@@ -675,12 +675,11 @@
+ {
+ #ifdef SYSV
+ pid_t pid;
+- int status;
+ #else
+ int oldmask;
+ int pid;
+- union wait status;
+ #endif
++ int status;
+
+ if (!deadChildren)
+ return;
diff --git a/x11/olvwm/patches/patch-af b/x11/olvwm/patches/patch-af
new file mode 100644
index 00000000000..513d3964a13
--- /dev/null
+++ b/x11/olvwm/patches/patch-af
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/06/16 14:18:55 pooka Exp $
+
+--- screen.c.orig Sat Jan 8 00:34:00 2000
++++ screen.c Sat Jan 8 00:34:05 2000
+@@ -157,6 +157,15 @@
+ * Local Functions
+ *-------------------------------------------------------------------------*/
+
++static updateScreenWorkspaceColor();
++static updateScreenWindowColor();
++static updateScreenForegroundColor();
++static updateScreenBackgroundColor();
++static updateScreenBorderColor();
++static updateScreenInputFocusColor();
++static updateScreenGlyphFont();
++
++
+ /*
+ * makeScreenQuarks -- set up quarks for screen resources
+ */
diff --git a/x11/olvwm/patches/patch-ag b/x11/olvwm/patches/patch-ag
new file mode 100644
index 00000000000..1058a3aded3
--- /dev/null
+++ b/x11/olvwm/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/06/16 14:18:56 pooka Exp $
+
+--- st.c.orig Sat Jan 8 00:34:44 2000
++++ st.c Sat Jan 8 00:35:22 2000
+@@ -44,6 +44,8 @@
+ (table->hash == ST_NUMHASH) ? ((int) (key) % table->num_bins) :\
+ (*table->hash)((key), table->num_bins))*/
+
++static rehash();
++
+ st_table *st_init_table_with_params(compare, hash, size, density, grow_factor,
+ reorder_flag)
+ int (*compare)();
diff --git a/x11/olvwm/patches/patch-ah b/x11/olvwm/patches/patch-ah
new file mode 100644
index 00000000000..13ab6bcf8cf
--- /dev/null
+++ b/x11/olvwm/patches/patch-ah
@@ -0,0 +1,24 @@
+$NetBSD: patch-ah,v 1.1.1.1 2000/06/16 14:18:56 pooka Exp $
+
+--- virtual.c.orig Sat Jan 8 00:36:29 2000
++++ virtual.c Sat Jan 8 00:37:54 2000
+@@ -69,6 +69,9 @@
+
+ extern char *ExpandPath();
+
++static int rexMatch();
++static int rexInit();
++
+ /*
+ * Semantic action associated with each of the buttons above. These must
+ * be in the same order as the button array; it would be better if the Button
+@@ -2108,7 +2111,9 @@
+ }
+ }
+
++#ifndef REGEXP
+ static char expbuf[256];
++#endif
+
+ static
+ rexMatch(string)
diff --git a/x11/olvwm/patches/patch-ai b/x11/olvwm/patches/patch-ai
new file mode 100644
index 00000000000..1793f55ca7b
--- /dev/null
+++ b/x11/olvwm/patches/patch-ai
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1.1.1 2000/06/16 14:18:56 pooka Exp $
+
+--- winframe.c.orig Sat Jan 8 00:38:12 2000
++++ winframe.c Sat Jan 8 00:38:49 2000
+@@ -84,6 +84,7 @@
+ static void setIMStatusText();
+ #endif
+ static void updateResizePositions();
++static int headerHeight();
+
+ /***************************************************************************
+ * sizing and decoration positioning functions
diff --git a/x11/olvwm/patches/patch-aj b/x11/olvwm/patches/patch-aj
new file mode 100644
index 00000000000..1affdcfbb5b
--- /dev/null
+++ b/x11/olvwm/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1.1.1 2000/06/16 14:18:57 pooka Exp $
+
+--- winicon.c.orig Sat Jan 8 00:39:24 2000
++++ winicon.c Sat Jan 8 00:40:50 2000
+@@ -52,6 +52,10 @@
+ * forward-declared functions
+ ***************************************************************************/
+
++static int heightTopIcon();
++static int heightBottomIcon();
++static int widthBothIcon();
++
+ /***************************************************************************
+ * private event functions
+ ***************************************************************************/
diff --git a/x11/olvwm/patches/patch-ak b/x11/olvwm/patches/patch-ak
new file mode 100644
index 00000000000..e4a382f02a1
--- /dev/null
+++ b/x11/olvwm/patches/patch-ak
@@ -0,0 +1,30 @@
+$NetBSD: patch-ak,v 1.1.1.1 2000/06/16 14:18:57 pooka Exp $
+
+--- usermenu.c.orig Thu Mar 2 22:41:31 2000
++++ usermenu.c Tue Jun 6 19:24:12 2000
+@@ -884,7 +884,7 @@
+ home = ".";
+
+ if ((owHome = getenv("OPENWINHOME")) == NULL)
+- owHome = "/usr/openwin";
++ owHome = X11BASE;
+
+ menuSearchPath = (char **)MemAlloc(NUM_SEARCH_PATH*sizeof(char *));
+
+@@ -899,16 +899,6 @@
+ /* $HOME/.<menufile> */
+ sprintf(buf, "%s/.%%s", home);
+ menuSearchPath[i++] = MemNewString(buf);
+-
+-#ifdef OW_I18N_L3
+- /* $OPENWINHOME/share/locale/<locale>/olwm/<menufile> */
+- sprintf(buf, "%s/share/locale/%%2$s/olwm/%%1$s", owHome);
+- menuSearchPath[i++] = MemNewString(buf);
+-
+- /* $OPENWINHOME/lib/<menufile>.<locale> */
+- sprintf(buf, "%s/lib/%%1$s.%%2$s", owHome);
+- menuSearchPath[i++] = MemNewString(buf);
+-#endif
+
+ /* $OPENWINHOME/lib/<menufile> */
+ sprintf(buf, "%s/lib/%%s", owHome);
diff --git a/x11/olvwm/patches/patch-al b/x11/olvwm/patches/patch-al
new file mode 100644
index 00000000000..3ba7144ed94
--- /dev/null
+++ b/x11/olvwm/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1.1.1 2000/06/16 14:18:57 pooka Exp $
+
+--- cursors.c.orig Sat Jan 8 02:13:12 2000
++++ cursors.c Sat Jan 8 02:12:21 2000
+@@ -278,7 +278,7 @@
+ if (our_copy[0] == 'X')
+ font_file = "cursor";
+ else if (our_copy[0] == 'O')
+- font_file = "-sun-open look cursor-----12-120-75-75-p-455-sunolcursor-1";
++ font_file = "olcursor";
+ createCursor(dpy, cmap, pointer, cursor_id, font_file, end, ptr);
+ }
+ else {
diff --git a/x11/olvwm/pkg/COMMENT b/x11/olvwm/pkg/COMMENT
new file mode 100644
index 00000000000..60cbeab8692
--- /dev/null
+++ b/x11/olvwm/pkg/COMMENT
@@ -0,0 +1 @@
+Open Look Virtual Window Manager
diff --git a/x11/olvwm/pkg/DESCR b/x11/olvwm/pkg/DESCR
new file mode 100644
index 00000000000..660e10e54fd
--- /dev/null
+++ b/x11/olvwm/pkg/DESCR
@@ -0,0 +1,6 @@
+What Is OLVWM:
+------------
+Olvwm (OPEN LOOK virtual window manager) is an ICCCM compliant window manager
+supplied for use with the XView toolkit. It is derived from olwm, the
+OPEN LOOK window manager supplied with the XView release. This version of
+olvwm is based on version 3 of the XView release.
diff --git a/x11/olvwm/pkg/PLIST b/x11/olvwm/pkg/PLIST
new file mode 100644
index 00000000000..3faf6aae0df
--- /dev/null
+++ b/x11/olvwm/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/16 14:18:53 pooka Exp $
+bin/olvwm
+lib/help/olvwm.info
+man/cat1/olvwm.0
+man/cat1/olvwmrc.1