tvtwm port - twm with virtual desktops
This commit is contained in:
parent
7236512ab5
commit
a345b0aeb8
28
x11/tvtwm/Makefile
Normal file
28
x11/tvtwm/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Makefile for: tvtwm
|
||||
# Version required: pl11
|
||||
# Date created: 5th December 1994
|
||||
# Whom: gpalmer
|
||||
#
|
||||
# $FreeBSD: ports/x11-wm/tvtwm/Makefile,v 1.17 1999/08/31 06:53:15 mharo Exp $
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/11/08 14:18:36 dugsong Exp $
|
||||
|
||||
PKGNAME= tvtwm-pl11
|
||||
|
||||
CATEGORIES= x11
|
||||
|
||||
DISTNAME= tvtwm.p11
|
||||
|
||||
MAINTAINER= dugsong@monkey.org
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
||||
MASTER_SITE_SUBDIR= window_managers
|
||||
|
||||
WRKSRC= ${WRKDIR}/tvtwm
|
||||
|
||||
USE_IMAKE= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tvtwm ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/tvtwm.man ${PREFIX}/man/man1/tvtwm.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
x11/tvtwm/files/md5
Normal file
1
x11/tvtwm/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (tvtwm.pl11.tar.gz) = 0e91b9c05ad9709e5843606200bff42a
|
19
x11/tvtwm/patches/patch-aa
Normal file
19
x11/tvtwm/patches/patch-aa
Normal file
@ -0,0 +1,19 @@
|
||||
*** gram.y.orig Mon Dec 5 07:35:28 1994
|
||||
--- gram.y Mon Dec 5 07:36:42 1994
|
||||
***************
|
||||
*** 79,85 ****
|
||||
extern int do_single_keyword(), do_string_keyword(), do_number_keyword();
|
||||
extern name_list **do_colorlist_keyword();
|
||||
extern int do_color_keyword(), do_string_savecolor();
|
||||
! extern int yylineno;
|
||||
%}
|
||||
|
||||
%union
|
||||
--- 79,85 ----
|
||||
extern int do_single_keyword(), do_string_keyword(), do_number_keyword();
|
||||
extern name_list **do_colorlist_keyword();
|
||||
extern int do_color_keyword(), do_string_savecolor();
|
||||
! int yylineno;
|
||||
%}
|
||||
|
||||
%union
|
47
x11/tvtwm/patches/patch-ab
Normal file
47
x11/tvtwm/patches/patch-ab
Normal file
@ -0,0 +1,47 @@
|
||||
*** lex.l.orig Wed Mar 10 20:57:51 1993
|
||||
--- lex.l Mon Dec 5 08:06:40 1994
|
||||
***************
|
||||
*** 43,48 ****
|
||||
--- 43,61 ----
|
||||
|
||||
extern int ParseError;
|
||||
|
||||
+ #undef YY_INPUT
|
||||
+ #define YY_INPUT(buf,result,max_size) \
|
||||
+ { \
|
||||
+ int res = (*twmInputFunc)(); \
|
||||
+ if (res == NULL) \
|
||||
+ result = YY_NULL; \
|
||||
+ else \
|
||||
+ { \
|
||||
+ buf[0] = res; \
|
||||
+ result = 1; \
|
||||
+ } \
|
||||
+ }
|
||||
+
|
||||
%}
|
||||
|
||||
string \"([^"]|\\.)*\"
|
||||
***************
|
||||
*** 98,107 ****
|
||||
#endif
|
||||
|
||||
#undef unput
|
||||
! #undef input
|
||||
#undef output
|
||||
#undef feof
|
||||
#define unput(c) twmUnput(c)
|
||||
! #define input() (*twmInputFunc)()
|
||||
#define output(c) TwmOutput(c)
|
||||
#define feof() (1)
|
||||
--- 111,120 ----
|
||||
#endif
|
||||
|
||||
#undef unput
|
||||
! /*#undef input*/
|
||||
#undef output
|
||||
#undef feof
|
||||
#define unput(c) twmUnput(c)
|
||||
! /*#define input() (*twmInputFunc)()*/
|
||||
#define output(c) TwmOutput(c)
|
||||
#define feof() (1)
|
59
x11/tvtwm/patches/patch-ac
Normal file
59
x11/tvtwm/patches/patch-ac
Normal file
@ -0,0 +1,59 @@
|
||||
*** Imakefile.orig Thu Feb 2 18:25:44 1995
|
||||
--- Imakefile Sun May 30 11:42:08 1999
|
||||
***************
|
||||
*** 25,31 ****
|
||||
XCOMM will define yylineno. If you get an "Undefined symbol: _yylineno"
|
||||
XCOMM when linking, adjust this to work on your system.
|
||||
|
||||
! #if defined(i386BsdArchitecture) || defined(LinuxArchitecture)
|
||||
# ifdef LexCmd
|
||||
LEX = LexCmd -l
|
||||
# else
|
||||
--- 25,31 ----
|
||||
XCOMM will define yylineno. If you get an "Undefined symbol: _yylineno"
|
||||
XCOMM when linking, adjust this to work on your system.
|
||||
|
||||
! #if defined(BSD) || defined(LinuxArchitecture)
|
||||
# ifdef LexCmd
|
||||
LEX = LexCmd -l
|
||||
# else
|
||||
***************
|
||||
*** 100,106 ****
|
||||
SpecialObjectRule(LocPixmap.o,NullParameter,'-DBITMAPDIR="$(INCDIR)/bitmaps"')
|
||||
SpecialObjectRule(twm.o,NullParameter,$(TWM_DEFS))
|
||||
|
||||
! #if defined(UltrixArchitecture) || defined(AlphaArchitecture)
|
||||
SpecialObjectRule(menus.o,NullParameter,-Olimit 700)
|
||||
#endif
|
||||
|
||||
--- 100,106 ----
|
||||
SpecialObjectRule(LocPixmap.o,NullParameter,'-DBITMAPDIR="$(INCDIR)/bitmaps"')
|
||||
SpecialObjectRule(twm.o,NullParameter,$(TWM_DEFS))
|
||||
|
||||
! #if !defined(BSD) && (defined(UltrixArchitecture) || defined(AlphaArchitecture))
|
||||
SpecialObjectRule(menus.o,NullParameter,-Olimit 700)
|
||||
#endif
|
||||
|
||||
***************
|
||||
*** 120,129 ****
|
||||
XCOMM ln $(BINDIR)/tvtwm $(BINDIR)/twm
|
||||
|
||||
#if (ProjectX < 5)
|
||||
! InstallNonExec(system.twmrc,$(TWMDIR))
|
||||
/* InstallProgram(ssetroot,$(BINDIR)/xsetroot) */
|
||||
#else
|
||||
! InstallNonExecFile(system.twmrc,$(TWMDIR))
|
||||
/* InstallNamedProg(ssetroot,xsetroot,$(BINDIR)) */
|
||||
#endif
|
||||
|
||||
--- 120,129 ----
|
||||
XCOMM ln $(BINDIR)/tvtwm $(BINDIR)/twm
|
||||
|
||||
#if (ProjectX < 5)
|
||||
! /* InstallNonExec(system.twmrc,$(TWMDIR))*/
|
||||
/* InstallProgram(ssetroot,$(BINDIR)/xsetroot) */
|
||||
#else
|
||||
! /* InstallNonExecFile(system.twmrc,$(TWMDIR)) */
|
||||
/* InstallNamedProg(ssetroot,xsetroot,$(BINDIR)) */
|
||||
#endif
|
||||
|
1
x11/tvtwm/pkg/COMMENT
Normal file
1
x11/tvtwm/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
twm with a virtual desktop
|
7
x11/tvtwm/pkg/DESCR
Normal file
7
x11/tvtwm/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
tvtwm is a version of twm which incorporates virtual desktops, similar
|
||||
to vtwm and swm. It is nearly identical to twm until you specify a
|
||||
virtual desktop size in your .[tv]twmrc file, which is when you start
|
||||
getting the benefits of this window manager.
|
||||
|
||||
Gary Palmer
|
||||
gpalmer@FreeBSD.org
|
2
x11/tvtwm/pkg/PLIST
Normal file
2
x11/tvtwm/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
bin/tvtwm
|
||||
man/man1/tvtwm.1
|
Loading…
Reference in New Issue
Block a user