Initial import

This commit is contained in:
don 1998-01-23 06:10:07 +00:00
parent 49e5f76d41
commit d0e03b6872
7 changed files with 242 additions and 0 deletions

19
x11/ctwm/Makefile Normal file
View File

@ -0,0 +1,19 @@
# OpenBSD makefile for: ctwm
# Version required: 3.4
# Date created: 11 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/23 06:10:07 don Exp $
#
DISTNAME= ctwm-3.5
CATEGORIES= x11
MASTER_SITES= ftp://slhp1.epfl.ch/pub/
MAINTAINER= don@OpenBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
.include <bsd.port.mk>

1
x11/ctwm/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (ctwm-3.5.tar.gz) = e1ca78d934702e5c013da90476703301

38
x11/ctwm/patches/patch-aa Normal file
View File

@ -0,0 +1,38 @@
*** Imakefile.orig Sat Nov 15 16:09:18 1997
--- Imakefile Sat Nov 15 16:09:09 1997
***************
*** 11,17 ****
#undef USE_SOUND
#define XPM
#define USEM4
! #undef X11R6
#define I18N
YFLAGS = -d
--- 11,17 ----
#undef USE_SOUND
#define XPM
#define USEM4
! #define X11R6
#define I18N
YFLAGS = -d
***************
*** 19,26 ****
LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
#ifdef XPM
! XPMLIBDIR =
! XPMINCDIR =
XPMDEFINES = -DXPM
XPMLIB = $(XPMLIBDIR) -lXpm
--- 19,26 ----
LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
#ifdef XPM
! XPMLIBDIR = -L/usr/X11R6/lib
! XPMINCDIR = -I/usr/X11R6/include
XPMDEFINES = -DXPM
XPMLIB = $(XPMLIBDIR) -lXpm

70
x11/ctwm/patches/patch-ab Normal file
View File

@ -0,0 +1,70 @@
*** session.c.orig Mon Jan 12 21:35:25 1998
--- session.c Mon Jan 12 22:36:03 1998
***************
*** 887,892 ****
--- 887,893 ----
return found;
}
+ #ifndef __OpenBSD__
/*===[ Unique Filename Generator ]===========================================*/
static char *
***************
*** 916,921 ****
--- 917,923 ----
return (NULL);
#endif
}
+ #endif /* ! __OpenBSD__ */
/*===[ SAVE WINDOW INFORMATION ]=============================================*/
***************
*** 942,947 ****
--- 944,953 ----
char discardCommand[80];
int numVals, i;
char yes = 1;
+ #ifdef __OpenBSD__
+ int tmphandle;
+ char tmpprefix[256];
+ #endif
static int first_time = 1;
if (first_time)
***************
*** 994,1005 ****
* no longer the same since the new format supports
* virtaul workspaces.
*========================================================*/
if ((filename = unique_filename (path, ".ctwm")) == NULL)
goto bad;
if (!(configFile = fopen (filename, "wb"))) /* wb = write bytes ? */
goto bad;
!
if (!write_ushort (configFile, SAVEFILE_VERSION))
goto bad;
--- 1000,1019 ----
* no longer the same since the new format supports
* virtaul workspaces.
*========================================================*/
+ #ifdef __OpenBSD__
+ strncpy(tmpprefix, path, 256);
+ strncat(tmpprefix, "/.ctwmXXXXXX", (sizeof(path) - 12));
+ if ((tmphandle = mkstemp(tmpprefix)) == -1)
+ goto bad;
+ if ((configFile = fdopen(tmphandle, "wb")) == NULL)
+ goto bad;
+ #else
if ((filename = unique_filename (path, ".ctwm")) == NULL)
goto bad;
if (!(configFile = fopen (filename, "wb"))) /* wb = write bytes ? */
goto bad;
! #endif /* __OpenBSD__ */
if (!write_ushort (configFile, SAVEFILE_VERSION))
goto bad;

1
x11/ctwm/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
An extension to twm, with support for multiple virtual screens, etc.

21
x11/ctwm/pkg/DESCR Normal file
View File

@ -0,0 +1,21 @@
CTWM is an extension to twm, that support multiple virtual screens,
and a lot of other goodies.
You can use and manage up to 32 virtual screens called workspaces.
You swap from one workspace to another by clicking on a button in an
optionnal panel of buttons (the workspace manager) or by invoking a function.
You can custom each workspace by choosing different colors, names
and pixmaps for the buttons and background root windows.
Main features are :
- Optional 3D window titles and border (ala Motif).
- Shaped, colored icons.
- Multiple icons for clients based on the icon name.
- Windows can belong to several workspaces.
- A map of your workspaces to move quickly windows between
different workspaces.
- Animations : icons, root backgrounds and buttons can be animated.
- Pinnable and sticky menus.
- etc...

92
x11/ctwm/pkg/PLIST Normal file
View File

@ -0,0 +1,92 @@
bin/ctwm
lib/X11/twm/system.ctwmrc
man/cat1/ctwm.0
lib/X11/twm/images/3D_Expand15.xpm
lib/X11/twm/images/3D_Iconify15.xpm
lib/X11/twm/images/3D_Lightning15.xpm
lib/X11/twm/images/3D_Menu15.xpm
lib/X11/twm/images/3D_Resize15.xpm
lib/X11/twm/images/3D_Zoom15.xpm
lib/X11/twm/images/3dcircle.xpm
lib/X11/twm/images/3ddimple.xpm
lib/X11/twm/images/3ddot.xpm
lib/X11/twm/images/3dfeet.xpm
lib/X11/twm/images/3dleopard.xpm
lib/X11/twm/images/3dpie.xpm
lib/X11/twm/images/3dpyramid.xpm
lib/X11/twm/images/3dslant.xpm
lib/X11/twm/images/IslandD.xpm
lib/X11/twm/images/IslandW.xpm
lib/X11/twm/images/LRom.xpm
lib/X11/twm/images/LRom1.xpm
lib/X11/twm/images/arthur.xpm
lib/X11/twm/images/audio_editor.xpm
lib/X11/twm/images/background8.xpm
lib/X11/twm/images/ball1.xpm
lib/X11/twm/images/ball10.xpm
lib/X11/twm/images/ball11.xpm
lib/X11/twm/images/ball12.xpm
lib/X11/twm/images/ball2.xpm
lib/X11/twm/images/ball3.xpm
lib/X11/twm/images/ball4.xpm
lib/X11/twm/images/ball5.xpm
lib/X11/twm/images/ball6.xpm
lib/X11/twm/images/ball7.xpm
lib/X11/twm/images/ball8.xpm
lib/X11/twm/images/ball9.xpm
lib/X11/twm/images/cdrom1.xpm
lib/X11/twm/images/claude.xpm
lib/X11/twm/images/clipboard.xpm
lib/X11/twm/images/datebook.xpm
lib/X11/twm/images/emacs.xpm
lib/X11/twm/images/ghostview.xpm
lib/X11/twm/images/gnu-emacs1.xpm
lib/X11/twm/images/gnu-emacs2.xpm
lib/X11/twm/images/gnu-emacs3.xpm
lib/X11/twm/images/gnu-emacs4.xpm
lib/X11/twm/images/gnu-emacs5.xpm
lib/X11/twm/images/gnu-emacs6.xpm
lib/X11/twm/images/gnu-emacs7.xpm
lib/X11/twm/images/hpterm.xpm
lib/X11/twm/images/mail0.xpm
lib/X11/twm/images/mail1.xpm
lib/X11/twm/images/nothing.xpm
lib/X11/twm/images/nt1.xpm
lib/X11/twm/images/nt2.xpm
lib/X11/twm/images/pixmap.xpm
lib/X11/twm/images/postit.xpm
lib/X11/twm/images/skull.xpm
lib/X11/twm/images/spider.xpm
lib/X11/twm/images/supman1.xbm
lib/X11/twm/images/supman2.xbm
lib/X11/twm/images/supman3.xbm
lib/X11/twm/images/supman4.xbm
lib/X11/twm/images/supman5.xbm
lib/X11/twm/images/supman6.xbm
lib/X11/twm/images/supman7.xbm
lib/X11/twm/images/supman8.xbm
lib/X11/twm/images/supman9.xbm
lib/X11/twm/images/term.xpm
lib/X11/twm/images/unknown.xpm
lib/X11/twm/images/unknown1.xpm
lib/X11/twm/images/unread.xpm
lib/X11/twm/images/welcome.xpm
lib/X11/twm/images/welcome.xwd
lib/X11/twm/images/xarchie.xpm
lib/X11/twm/images/xcalc.xpm
lib/X11/twm/images/xcalc2.xpm
lib/X11/twm/images/xedit.xpm
lib/X11/twm/images/xftp.xpm
lib/X11/twm/images/xgopher.xpm
lib/X11/twm/images/xgrab.xpm
lib/X11/twm/images/xhpcalc.xpm
lib/X11/twm/images/xirc.xpm
lib/X11/twm/images/xmail.xpm
lib/X11/twm/images/xman.xpm
lib/X11/twm/images/xmosaic.xpm
lib/X11/twm/images/xnomail.xpm
lib/X11/twm/images/xrn-compose.xpm
lib/X11/twm/images/xrn.goodnews.xpm
lib/X11/twm/images/xrn.nonews.xpm
lib/X11/twm/images/xrn.xpm
lib/X11/twm/images/xterm.xpm