FreeBSD Bugzilla – Attachment 229916 Details for
Bug 259956
[NEW PORT] emulators/vt100: Simulation of VT100 terminal hardware
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
emulators/vt100: Simulation of VT100 terminal hardware (0.2)
0001-emulators-vt100-Software-simulation-of-the-VT100-har.patch (text/plain), 4.07 KB, created by
Robert Clausecker
on 2021-12-05 10:32:24 UTC
(
hide
)
Description:
emulators/vt100: Simulation of VT100 terminal hardware (0.2)
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-12-05 10:32:24 UTC
Size:
4.07 KB
patch
obsolete
>From 9962d9234bf88c9c3eb0a2bb64faa44e3b5254e3 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Sat, 20 Nov 2021 22:26:16 +0100 >Subject: [PATCH] emulators/vt100: Software simulation of the VT100 hardware > >This is a software simulation of the VT100 hardware. The original >firmware ROM is built in and executed by an 8080 emulator. Other >components include video display with character generator ROM, settings >NVRAM, Intel 8251 USART, and a keyboard matrix scanner. The Advanced >Video Option is not included. >--- > emulators/Makefile | 1 + > emulators/vt100/Makefile | 32 ++++++++++++++++++++++++++++++ > emulators/vt100/distinfo | 3 +++ > emulators/vt100/files/patch-main.c | 9 +++++++++ > emulators/vt100/files/patch-pty.c | 9 +++++++++ > emulators/vt100/pkg-descr | 7 +++++++ > 6 files changed, 61 insertions(+) > create mode 100644 emulators/vt100/Makefile > create mode 100644 emulators/vt100/distinfo > create mode 100644 emulators/vt100/files/patch-main.c > create mode 100644 emulators/vt100/files/patch-pty.c > create mode 100644 emulators/vt100/pkg-descr > >diff --git a/emulators/Makefile b/emulators/Makefile >index ea5b9addf8b8..54554d7523f7 100644 >--- a/emulators/Makefile >+++ b/emulators/Makefile >@@ -156,6 +156,7 @@ > SUBDIR += vmips > SUBDIR += vmsbackup > SUBDIR += vmw >+ SUBDIR += vt100 > SUBDIR += vxtools > SUBDIR += wine > SUBDIR += wine-devel >diff --git a/emulators/vt100/Makefile b/emulators/vt100/Makefile >new file mode 100644 >index 000000000000..f790f502a8a5 >--- /dev/null >+++ b/emulators/vt100/Makefile >@@ -0,0 +1,32 @@ >+PORTNAME= vt100 >+DISTVERSION= 0.2 >+CATEGORIES= emulators >+ >+MAINTAINER= fuz@fuz.su >+COMMENT= Simulation of VT100 terminal hardware >+ >+LICENSE= GPLv3 >+LICENSE_FILE= ${WRKSRC:H}/LICENSE >+ >+USES= gl gmake sdl >+USE_GITHUB= yes >+GH_ACCOUNT= larsbrinkhoff >+GH_PROJECT= terminal-simulator >+USE_GL= gl >+USE_SDL= image2 >+CFLAGS+= -DSHADERDIR='\"${DATADIR}/\"' >+WRKSRC_SUBDIR= vt100 >+ >+PLIST_FILES= bin/vt100 >+PORTDATA= crt.shader vertex.shader >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/vt100 ${STAGEDIR}${PREFIX}/bin/ >+ ${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/crt.shader ${STAGEDIR}${DATADIR}/ >+ ${INSTALL_DATA} ${WRKSRC}/vertex.shader ${STAGEDIR}${DATADIR}/ >+ >+do-test: >+ cd ${WRKSRC:H} && ${SH} test/test.sh >+ >+.include <bsd.port.mk> >diff --git a/emulators/vt100/distinfo b/emulators/vt100/distinfo >new file mode 100644 >index 000000000000..95a64b435a9c >--- /dev/null >+++ b/emulators/vt100/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1638624778 >+SHA256 (larsbrinkhoff-terminal-simulator-0.2_GH0.tar.gz) = c03df1d2a4493ef7dd866e329ecb27b8016051bd2173e3405304a2de444b4e49 >+SIZE (larsbrinkhoff-terminal-simulator-0.2_GH0.tar.gz) = 72930468 >diff --git a/emulators/vt100/files/patch-main.c b/emulators/vt100/files/patch-main.c >new file mode 100644 >index 000000000000..955854f1c37e >--- /dev/null >+++ b/emulators/vt100/files/patch-main.c >@@ -0,0 +1,9 @@ >+--- main.c.orig 2021-11-20 13:13:34 UTC >++++ main.c >+@@ -1,6 +1,5 @@ >+ #include "vt100.h" >+ #include "xsdl.h" >+-#define _XOPEN_SOURCE 600 >+ #include <stdlib.h> >+ #include <unistd.h> >+ #include <fcntl.h> >diff --git a/emulators/vt100/files/patch-pty.c b/emulators/vt100/files/patch-pty.c >new file mode 100644 >index 000000000000..206fab4e9d01 >--- /dev/null >+++ b/emulators/vt100/files/patch-pty.c >@@ -0,0 +1,9 @@ >+--- pty.c.orig 2021-12-05 10:19:53 UTC >++++ pty.c >+@@ -1,6 +1,3 @@ >+-#define _XOPEN_SOURCE 600 >+-#define _DEFAULT_SOURCE >+-#define _DARWIN_C_SOURCE >+ #include <stdlib.h> >+ #include <fcntl.h> >+ #include <unistd.h> >diff --git a/emulators/vt100/pkg-descr b/emulators/vt100/pkg-descr >new file mode 100644 >index 000000000000..1a8912ace98e >--- /dev/null >+++ b/emulators/vt100/pkg-descr >@@ -0,0 +1,7 @@ >+This is a software simulation of the VT100 hardware. The original >+firmware ROM is built in and executed by an 8080 emulator. Other >+components include video display with character generator ROM, settings >+NVRAM, Intel 8251 USART, and a keyboard matrix scanner. The Advance >+Video Option is not included. >+ >+WWW: https://github.com/larsbrinkhoff/terminal-simulator >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 259956
:
229625
|
229626
| 229916