diff options
author | hubertf <hubertf> | 2000-12-04 13:38:25 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-12-04 13:38:25 +0000 |
commit | c26a7801fc0a237ad7cc2d2bb2a4bffec9fa3263 (patch) | |
tree | c9aa4831be94acc304ace577966c7ae8c7214ce8 /sysutils | |
parent | 82bde6de8a447aaf65776411028f80cc05c6494b (diff) | |
download | pkgsrc-c26a7801fc0a237ad7cc2d2bb2a4bffec9fa3263.tar.gz |
Useful leftovers from pcvt: playvt and two font editors
This package contains the useful components that can still be used
on NetBSD after pcvt was replaced with wscons:
* playvt: A vt-movie player, includes several demo files.
* fed, fontedit: two font editors that can also be used on
the fonts in /usr/share/wscons/fonts.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pcvt-utils/Makefile | 26 | ||||
-rw-r--r-- | sysutils/pcvt-utils/files/md5 | 3 | ||||
-rw-r--r-- | sysutils/pcvt-utils/files/patch-sum | 7 | ||||
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-aa | 28 | ||||
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-ab | 18 | ||||
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-ac | 12 | ||||
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-ad | 16 | ||||
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-ae | 53 | ||||
-rw-r--r-- | sysutils/pcvt-utils/pkg/COMMENT | 1 | ||||
-rw-r--r-- | sysutils/pcvt-utils/pkg/DESCR | 6 | ||||
-rw-r--r-- | sysutils/pcvt-utils/pkg/PLIST | 11 |
11 files changed, 181 insertions, 0 deletions
diff --git a/sysutils/pcvt-utils/Makefile b/sysutils/pcvt-utils/Makefile new file mode 100644 index 00000000000..0e39443e892 --- /dev/null +++ b/sysutils/pcvt-utils/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ +# + +DISTNAME= netbsd-pcvt-20000611 +PKGNAME= pcvt-utils-20000611 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/arch/i386/isa/pcvt/ + +ONLY_FOR_PLATFORM= NetBSD-*-* +WRKSRC= ${WRKDIR}/pcvt/Util + +do-install: + ${INSTALL_PROGRAM} \ + ${WRKSRC}/demo/playvt \ + ${WRKSRC}/fed/fed \ + ${WRKSRC}/fontedit/fontedit \ + ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/playvt + ${INSTALL_DATA} \ + ${WRKSRC}/demo/*.vt \ + ${PREFIX}/share/playvt + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/pcvt-utils/files/md5 b/sysutils/pcvt-utils/files/md5 new file mode 100644 index 00000000000..371920c83a7 --- /dev/null +++ b/sysutils/pcvt-utils/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +MD5 (netbsd-pcvt-20000611.tar.gz) = f305be80ef5bc36e2e29223c2cf75e60 diff --git a/sysutils/pcvt-utils/files/patch-sum b/sysutils/pcvt-utils/files/patch-sum new file mode 100644 index 00000000000..c4fa64dc9c3 --- /dev/null +++ b/sysutils/pcvt-utils/files/patch-sum @@ -0,0 +1,7 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +MD5 (patch-aa) = fb430666b09cab6c5d7a755ef2e53316 +MD5 (patch-ab) = 09480c5d23aaf4fd8edb718328e1dd89 +MD5 (patch-ac) = 6f98fed085ad06799120d23440c7855e +MD5 (patch-ad) = 8a9a190f032b1c750c42f0db91db1733 +MD5 (patch-ae) = 01c23580c8fd37d453559d6d6502e1c9 diff --git a/sysutils/pcvt-utils/patches/patch-aa b/sysutils/pcvt-utils/patches/patch-aa new file mode 100644 index 00000000000..b907d463116 --- /dev/null +++ b/sysutils/pcvt-utils/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +--- Makefile.orig Mon Dec 4 13:31:23 2000 ++++ Makefile +@@ -2,13 +2,18 @@ + +-#SUBDIR=keycap + #SUBDIR+=cursor ++SUBDIR+=demo ++SUBDIR+=fed + SUBDIR+=fontedit +-SUBDIR+=fonts ++#SUBDIR+=fonts ++#SUBDIR+=ispcvt ++#SUBDIR+=kbdio + #SUBDIR+=kcon ++#SUBDIR+=keycap + #SUBDIR+=loadfont ++#SUBDIR+=mcon + #SUBDIR+=scon ++#SUBDIR+=set2061 + #SUBDIR+=userkeys +-SUBDIR+=vttest +-#SUBDIR+=ispcvt +-#SUBDIR+=mcon ++#SUBDIR+=vgaio ++#SUBDIR+=vttest + diff --git a/sysutils/pcvt-utils/patches/patch-ab b/sysutils/pcvt-utils/patches/patch-ab new file mode 100644 index 00000000000..fb88d9b72d4 --- /dev/null +++ b/sysutils/pcvt-utils/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +--- kbdio/kbdio.y.orig Mon Dec 4 13:57:07 2000 ++++ kbdio/kbdio.y +@@ -40,7 +40,13 @@ + #include <math.h> + #include <sys/fcntl.h> + #include <machine/cpufunc.h> ++#include <unistd.h> ++#if WSCONS ++#include <sys/ioctl.h> ++#include <dev/wscons/wsdisplay_usl_io.h> ++#else + #include <machine/pcvt_ioctl.h> ++#endif + + #ifdef __NetBSD__ + #include <machine/pio.h> diff --git a/sysutils/pcvt-utils/patches/patch-ac b/sysutils/pcvt-utils/patches/patch-ac new file mode 100644 index 00000000000..9f810e68c9a --- /dev/null +++ b/sysutils/pcvt-utils/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +--- fed/Makefile.orig Mon Dec 4 13:49:07 2000 ++++ fed/Makefile +@@ -1,6 +1,6 @@ + PROG= fed + SRCS= fed.c select.c edit.c misc.c +-LDADD= -lncurses ++LDADD= -lcurses + BINDIR= /usr/local/bin + + MKMAN= no diff --git a/sysutils/pcvt-utils/patches/patch-ad b/sysutils/pcvt-utils/patches/patch-ad new file mode 100644 index 00000000000..8f6ab091d2e --- /dev/null +++ b/sysutils/pcvt-utils/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +--- fed/fed.h.orig Mon Dec 4 13:46:17 2000 ++++ fed/fed.h +@@ -32,7 +32,11 @@ + * fed.h, 3.00, last edit-date: [Sun Jan 2 20:10:31 1994] + */ + ++#ifdef __NetBSD__ ++#include <curses.h> ++#else + #include <ncurses.h> ++#endif + #include <stdlib.h> + #include <string.h> + #include <unistd.h> diff --git a/sysutils/pcvt-utils/patches/patch-ae b/sysutils/pcvt-utils/patches/patch-ae new file mode 100644 index 00000000000..bc73b5653b3 --- /dev/null +++ b/sysutils/pcvt-utils/patches/patch-ae @@ -0,0 +1,53 @@ +$NetBSD: patch-ae,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ + +--- fed/select.c.orig Mon Dec 4 13:46:59 2000 ++++ fed/select.c +@@ -46,7 +46,8 @@ + + #include "fed.h" + +-int sc, sr, scurchar; ++/* "sr" is defined in <curses.h> for some terminal capability?!? */ ++int sc, fed_sr, scurchar; + + int edit(); + +@@ -153,12 +154,12 @@ + case 'g': + case 'G': + dis_cmd(" Exchange: select Destination, then press RETURN or any other Key to ABORT"); +- sr = r; ++ fed_sr = r; + sc = c; + scurchar = curchar; + if((curchar = sel_dest()) == -1) + { /* failsafe */ +- r = sr; ++ r = fed_sr; + c = sc; + curchar = scurchar; + } +@@ -174,12 +175,12 @@ + case 'm': + case 'M': + dis_cmd(" Move: select Destination, then press RETURN or any other Key to ABORT"); +- sr = r; ++ fed_sr = r; + sc = c; + scurchar = curchar; + if((curchar = sel_dest()) == -1) + { /* failsafe */ +- r = sr; ++ r = fed_sr; + c = sc; + curchar = scurchar; + } +@@ -320,7 +321,7 @@ + mvwprintw(set_win,(r+1),((c*2)+1),"%c%c",h,l); + wmove(set_win,(r+1),((c*2)+1)); + +- if((r==sr) && (c==sc)) ++ if((r==fed_sr) && (c==sc)) + { + wattron(set_win,A_REVERSE); + mvwprintw(set_win,(r+1),((c*2)+1),"%c%c",h,l); diff --git a/sysutils/pcvt-utils/pkg/COMMENT b/sysutils/pcvt-utils/pkg/COMMENT new file mode 100644 index 00000000000..aecc897c419 --- /dev/null +++ b/sysutils/pcvt-utils/pkg/COMMENT @@ -0,0 +1 @@ +Useful leftovers from pcvt: playvt and two font editors diff --git a/sysutils/pcvt-utils/pkg/DESCR b/sysutils/pcvt-utils/pkg/DESCR new file mode 100644 index 00000000000..ea9aa2c05d9 --- /dev/null +++ b/sysutils/pcvt-utils/pkg/DESCR @@ -0,0 +1,6 @@ +This package contains the useful components that can still be used +on NetBSD after pcvt was replaced with wscons: + + * playvt: A vt-movie player, includes several demo files. + * fed, fontedit: two font editors that can also be used on + the fonts in /usr/share/wscons/fonts. diff --git a/sysutils/pcvt-utils/pkg/PLIST b/sysutils/pcvt-utils/pkg/PLIST new file mode 100644 index 00000000000..c12840f1d5d --- /dev/null +++ b/sysutils/pcvt-utils/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/04 13:38:25 hubertf Exp $ +bin/playvt +bin/fed +bin/fontedit +share/playvt/chardemo.vt +share/playvt/colors.vt +share/playvt/cowscene.vt +share/playvt/outerlimit.vt +share/playvt/sgr.vt +share/playvt/twzone.vt +share/playvt/xmas.vt |