xview-clients
This commit is contained in:
parent
fc29e26eea
commit
588668f40e
28
x11/xview-clients/Makefile
Normal file
28
x11/xview-clients/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# OpenBSD makefile for: xview-clients
|
||||
# Version required: 3.2p1-X11R6
|
||||
# Date created: June 7 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/06/08 01:21:06 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xview-clients
|
||||
PKGNAME= xview-clients-3.2.1
|
||||
CATEGORIES= x11
|
||||
|
||||
DEPENDS= ${PORTSDIR}/x11/xview-lib
|
||||
|
||||
WRKSRC= ${PORTSDIR}/x11/xview-config/work/xview3.2p1-X11R6/clients
|
||||
NO_WRKDIR= yes
|
||||
USE_X11= yes
|
||||
|
||||
do-fetch:
|
||||
do-extract: # don't use NO_EXTRACT, dependency won't work
|
||||
|
||||
post-configure:
|
||||
(cd $(WRKSRC)/..; $(MAKE) SUBDIRS=clients depend)
|
||||
|
||||
pre-install:
|
||||
@(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
|
||||
|
||||
.include <bsd.port.mk>
|
1
x11/xview-clients/files/md5
Normal file
1
x11/xview-clients/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xview3.2p1-X11R6.tar.gz) = 9d3049c6e83114148a9f51d361272816
|
344
x11/xview-clients/patches/patch-aa
Normal file
344
x11/xview-clients/patches/patch-aa
Normal file
@ -0,0 +1,344 @@
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/cmdstream.c olwm/cmdstream.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/cmdstream.c Tue Jun 29 01:11:43 1993
|
||||
--- olwm/cmdstream.c Sun Nov 20 13:38:56 1994
|
||||
***************
|
||||
*** 51,60 ****
|
||||
* Local Forward Declarations
|
||||
* ---------------------------------------------------------------------*/
|
||||
|
||||
! Command *MatchCommand();
|
||||
! CmdAttr *MatchAttr();
|
||||
! int EncodeAttrValue();
|
||||
! int DecodeAttrValue();
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* SetCmdStream
|
||||
--- 51,60 ----
|
||||
* Local Forward Declarations
|
||||
* ---------------------------------------------------------------------*/
|
||||
|
||||
! static Command *MatchCommand();
|
||||
! static CmdAttr *MatchAttr();
|
||||
! static int EncodeAttrValue();
|
||||
! static int DecodeAttrValue();
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* SetCmdStream
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/gettext.h olwm/gettext.h
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/gettext.h Tue Jun 29 01:11:46 1993
|
||||
--- olwm/gettext.h Sun Nov 20 13:38:57 1994
|
||||
***************
|
||||
*** 27,33 ****
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
!
|
||||
struct domain_binding {
|
||||
char *domain_name;
|
||||
char *binding;
|
||||
--- 27,37 ----
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
!
|
||||
! #ifndef LC_MESSAGES
|
||||
! #define LC_MESSAGES 0
|
||||
! #endif
|
||||
!
|
||||
struct domain_binding {
|
||||
char *domain_name;
|
||||
char *binding;
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/i18n.h olwm/i18n.h
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/i18n.h Tue Jun 29 01:11:48 1993
|
||||
--- olwm/i18n.h Sun Nov 20 13:38:57 1994
|
||||
***************
|
||||
*** 35,40 ****
|
||||
--- 35,44 ----
|
||||
|
||||
#endif /* OW_I18N_L4 */
|
||||
|
||||
+ #ifndef LC_MESSAGES
|
||||
+ #define LC_MESSAGES 0
|
||||
+ #endif
|
||||
+
|
||||
/*
|
||||
* String/Text - To better handle non-i18n, Level3 and Level4
|
||||
* we introduce two 'types'; string and text.
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/mem.c olwm/mem.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/mem.c Tue Jun 29 01:11:45 1993
|
||||
--- olwm/mem.c Sun Nov 20 13:38:57 1994
|
||||
***************
|
||||
*** 14,21 ****
|
||||
*
|
||||
*/
|
||||
|
||||
!
|
||||
#include <malloc.h>
|
||||
#include <memory.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
--- 14,25 ----
|
||||
*
|
||||
*/
|
||||
|
||||
! #include <sys/param.h>
|
||||
! #if (defined(BSD) && (BSD >= 199103))
|
||||
! #include <stdlib.h>
|
||||
! #else
|
||||
#include <malloc.h>
|
||||
+ #endif
|
||||
#include <memory.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/menu.c olwm/menu.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/menu.c Tue Jun 29 01:11:50 1993
|
||||
--- olwm/menu.c Sun Nov 20 13:38:57 1994
|
||||
***************
|
||||
*** 52,57 ****
|
||||
--- 52,59 ----
|
||||
static WinGeneric *prevColorFocusWindow = NULL;
|
||||
static MenuTrackMode menuTrackMode;
|
||||
|
||||
+ static Bool isEnabled();
|
||||
+
|
||||
/*
|
||||
* Table of currently active menus.
|
||||
* REMIND: perhaps this should be dynamically allocated.
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/olwm.c olwm/olwm.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/olwm.c Tue Jun 29 01:11:52 1993
|
||||
--- olwm/olwm.c Sun Nov 20 13:38:57 1994
|
||||
***************
|
||||
*** 23,28 ****
|
||||
--- 23,32 ----
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
+ #ifndef MAXPID
|
||||
+ #define MAXPID 30000
|
||||
+ #endif
|
||||
+
|
||||
#include <X11/Xos.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
***************
|
||||
*** 622,634 ****
|
||||
void
|
||||
ReapChildren()
|
||||
{
|
||||
! #ifdef SYSV
|
||||
pid_t pid;
|
||||
int status;
|
||||
#else
|
||||
int oldmask;
|
||||
int pid;
|
||||
union wait status;
|
||||
#endif
|
||||
|
||||
if (!deadChildren)
|
||||
--- 626,644 ----
|
||||
void
|
||||
ReapChildren()
|
||||
{
|
||||
! #if defined(SYSV)
|
||||
pid_t pid;
|
||||
int status;
|
||||
#else
|
||||
+ #if (defined(BSD) && (BSD >= 199103))
|
||||
+ pid_t pid;
|
||||
+ int status;
|
||||
+ int oldmask;
|
||||
+ #else
|
||||
int oldmask;
|
||||
int pid;
|
||||
union wait status;
|
||||
+ #endif
|
||||
#endif
|
||||
|
||||
if (!deadChildren)
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/screen.c olwm/screen.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/screen.c Tue Jun 29 01:11:56 1993
|
||||
--- olwm/screen.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 111,116 ****
|
||||
--- 111,122 ----
|
||||
static XrmQuark stippledRubberBandsCQ;
|
||||
static XrmQuark stippledRubberBandsIQ;
|
||||
|
||||
+ static updateScreenWorkspaceColor();
|
||||
+ static updateScreenWindowColor();
|
||||
+ static updateScreenForegroundColor();
|
||||
+ static updateScreenBackgroundColor();
|
||||
+ static updateScreenBorderColor();
|
||||
+ static updateScreenGlyphFont();
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Local Functions
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/slave.c olwm/slave.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/slave.c Tue Jun 29 01:11:57 1993
|
||||
--- olwm/slave.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 22,27 ****
|
||||
--- 22,29 ----
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
+ #include <sys/param.h>
|
||||
+
|
||||
#include "cmdstream.h"
|
||||
#include "error.h"
|
||||
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwm/winicon.c olwm/winicon.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwm/winicon.c Tue Jun 29 01:12:04 1993
|
||||
--- olwm/winicon.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 32,37 ****
|
||||
--- 32,41 ----
|
||||
extern Bool PropGetWMName();
|
||||
extern Bool PropGetWMIconName();
|
||||
|
||||
+ static int heightTopIcon();
|
||||
+ static int heightBottomIcon();
|
||||
+ static int widthBothIcon();
|
||||
+
|
||||
/***************************************************************************
|
||||
* private data
|
||||
***************************************************************************/
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/Imakefile olwmslave/Imakefile
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwmslave/Imakefile Tue Jun 29 01:12:14 1993
|
||||
--- olwmslave/Imakefile Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 38,55 ****
|
||||
mem.c \
|
||||
olwmslave.c \
|
||||
propsrecv.c \
|
||||
! propswin.c
|
||||
|
||||
|
||||
OBJS = \
|
||||
cmdstream.o \
|
||||
help_file.o \
|
||||
! helprecv.o \
|
||||
helpwin.o \
|
||||
mem.o \
|
||||
olwmslave.o \
|
||||
propsrecv.o \
|
||||
! propswin.o
|
||||
|
||||
|
||||
ALLFILES = \
|
||||
--- 38,55 ----
|
||||
mem.c \
|
||||
olwmslave.c \
|
||||
propsrecv.c \
|
||||
! propswin.c ${GETTEXT.C}
|
||||
|
||||
|
||||
OBJS = \
|
||||
cmdstream.o \
|
||||
help_file.o \
|
||||
! helprecv.o \
|
||||
helpwin.o \
|
||||
mem.o \
|
||||
olwmslave.o \
|
||||
propsrecv.o \
|
||||
! propswin.o ${GETTEXT.O}
|
||||
|
||||
|
||||
ALLFILES = \
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/cmdstream.c olwmslave/cmdstream.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwmslave/cmdstream.c Tue Jun 29 01:12:10 1993
|
||||
--- olwmslave/cmdstream.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 50,59 ****
|
||||
* Local Forward Declarations
|
||||
* ---------------------------------------------------------------------*/
|
||||
|
||||
! Command *MatchCommand();
|
||||
! CmdAttr *MatchAttr();
|
||||
! int EncodeAttrValue();
|
||||
! int DecodeAttrValue();
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* SetCmdStream
|
||||
--- 50,59 ----
|
||||
* Local Forward Declarations
|
||||
* ---------------------------------------------------------------------*/
|
||||
|
||||
! static Command *MatchCommand();
|
||||
! static CmdAttr *MatchAttr();
|
||||
! static int EncodeAttrValue();
|
||||
! static int DecodeAttrValue();
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* SetCmdStream
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/helpwin.c olwmslave/helpwin.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwmslave/helpwin.c Tue Jun 29 01:12:11 1993
|
||||
--- olwmslave/helpwin.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 136,141 ****
|
||||
--- 136,142 ----
|
||||
Bool ImageHelpWindow();
|
||||
void MoreHelp();
|
||||
void ErrorNotice();
|
||||
+ static int ConstrainMousePos();
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* ShowHelpWindow
|
||||
diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/mem.c olwmslave/mem.c
|
||||
*** ../old/xview3.2p1-X11R6/clients/olwmslave/mem.c Tue Jun 29 01:12:12 1993
|
||||
--- olwmslave/mem.c Sun Nov 20 13:38:58 1994
|
||||
***************
|
||||
*** 16,22 ****
|
||||
*
|
||||
*/
|
||||
|
||||
! #include <malloc.h>
|
||||
#include <memory.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
--- 16,23 ----
|
||||
*
|
||||
*/
|
||||
|
||||
! #include <sys/param.h>
|
||||
! #include <stdlib.h>
|
||||
#include <memory.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
*** olwm/defaults.c.orig Tue Jun 29 07:11:43 1993
|
||||
--- olwm/defaults.c Mon Feb 27 00:59:03 1995
|
||||
***************
|
||||
*** 25,33 ****
|
||||
#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"
|
||||
--- 25,33 ----
|
||||
#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"
|
||||
***************
|
||||
*** 80,86 ****
|
||||
--- 80,90 ----
|
||||
if (homedir != NULL) {
|
||||
(void) strcpy(filename, homedir);
|
||||
(void) strcat(filename, "/.Xdefaults-");
|
||||
+ #if defined(__OpenBSD__)
|
||||
+ if (0 == gethostname(hostname, sizeof(hostname))) {
|
||||
+ #else
|
||||
if (0 == gethostname(hostname, sizeof(hostname), &namelen)) {
|
||||
+ #endif
|
||||
(void) strcat(filename, hostname);
|
||||
fileDB = XrmGetFileDatabase(filename);
|
||||
}
|
14
x11/xview-clients/patches/patch-ab
Normal file
14
x11/xview-clients/patches/patch-ab
Normal file
@ -0,0 +1,14 @@
|
||||
diff -c /usr/ports/x11/xview-config/work/xview3.2p1-X11R6/clients/olwm/screen.c screen.c
|
||||
*** /usr/ports/x11/xview-config/work/xview3.2p1-X11R6/clients/olwm/screen.c Tue Oct 8 23:31:04 1996
|
||||
--- olwm/screen.c Mon Jan 1 23:54:12 1996
|
||||
***************
|
||||
*** 220,225 ****
|
||||
--- 220,226 ----
|
||||
case PseudoColor:
|
||||
case GrayScale:
|
||||
case DirectColor:
|
||||
+ case TrueColor:
|
||||
return True;
|
||||
/*NOTREACHED*/
|
||||
break;
|
||||
|
1
x11/xview-clients/pkg/COMMENT
Normal file
1
x11/xview-clients/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
OpenLook applications and man pages.
|
20
x11/xview-clients/pkg/DESCR
Normal file
20
x11/xview-clients/pkg/DESCR
Normal file
@ -0,0 +1,20 @@
|
||||
XView (X Window-System-based Visual/Integrated Environment for
|
||||
Workstations) is a user-interface toolkit to support interactive,
|
||||
graphics-based applications running under the X Window System. The
|
||||
appearance and functionality of XView applications follow the OPEN
|
||||
LOOK Graphical User Interface (GUI) specification.
|
||||
|
||||
This package contains the olwm window manager, which is a ICCCM-compliant
|
||||
window that adheres to the OPEN LOOK (TM) user interface.
|
||||
|
||||
The complete list of XView clients contained in this package are:
|
||||
|
||||
clock An XView clock application.
|
||||
cmdtool An XView terminal emulator.
|
||||
olwm The OPENLOOK window manager.
|
||||
olwmslave 'helper' program for olwm.
|
||||
|
||||
Notes
|
||||
-----
|
||||
This version of the XView applications corresponds to that provided with
|
||||
OpenWindows Version 3.2 from SunSoft Inc.
|
14
x11/xview-clients/pkg/PLIST
Normal file
14
x11/xview-clients/pkg/PLIST
Normal file
@ -0,0 +1,14 @@
|
||||
bin/clock
|
||||
bin/cmdtool
|
||||
bin/olwm
|
||||
bin/olwmslave
|
||||
bin/shelltool
|
||||
lib/help/clock.info
|
||||
lib/help/olwm.info
|
||||
lib/help/workspace.info
|
||||
lib/openwin-menu
|
||||
man/cat1/clock.0
|
||||
man/cat1/cmdtool.0
|
||||
man/cat1/olwm.0
|
||||
man/cat1/olwmslave.0
|
||||
man/cat1/shelltool.0
|
2
x11/xview-clients/scripts/configure
vendored
Normal file
2
x11/xview-clients/scripts/configure
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
(cd $WRKSRC/..; make SUBDIRS=clients Makefiles)
|
Loading…
Reference in New Issue
Block a user