emulators/gxemul: Remove port
Niche use case, not aligned with broad server application needs
This commit is contained in:
@@ -1767,6 +1767,7 @@ emulators/fuse-utils
|
||||
emulators/gbe
|
||||
emulators/gens
|
||||
emulators/gngb
|
||||
emulators/gxemul
|
||||
emulators/higan
|
||||
emulators/hv_kvp_cmd
|
||||
emulators/klh10
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
COMMENT = Emulators for other operating systems
|
||||
|
||||
SUBDIR += gxemul
|
||||
SUBDIR += hatari
|
||||
SUBDIR += hercules
|
||||
SUBDIR += javatari
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
PORTNAME= gxemul
|
||||
PORTVERSION= 0.7.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://gavare.se/gxemul/src/
|
||||
|
||||
MAINTAINER= mclay@astate.edu
|
||||
COMMENT= Instruction-level machine emulator
|
||||
WWW= http://gavare.se/gxemul/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CXX=${CXX} \
|
||||
LOCALBASE=${LOCALBASE} \
|
||||
PREFIX=${PREFIX}
|
||||
|
||||
# Avoid auto-detecting Doxygen. We do not need source code documentation.
|
||||
# The handbook is quite comprehensive already.
|
||||
BINARY_ALIAS= doxygen=${FALSE}
|
||||
|
||||
PLIST_FILES= bin/gxemul \
|
||||
share/man/man1/gxemul.1.gz
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS X11
|
||||
OPTIONS_DEFAULT= X11
|
||||
|
||||
X11_RUN_DEPENDS= xterm:x11/xterm
|
||||
X11_USES= xorg
|
||||
X11_USE= XORG=x11
|
||||
X11_CONFIGURE_OFF= --disable-x
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${WRKSRC}/doc && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1644505943
|
||||
SHA256 (gxemul-0.7.0.tar.gz) = 79c4437c6f8ca904f46d33ac36062a65fdcf4a92a248478e408ab11295cf8e83
|
||||
SIZE (gxemul-0.7.0.tar.gz) = 5985021
|
||||
@@ -1,43 +0,0 @@
|
||||
--- configure.orig 2021-04-22 18:04:21 UTC
|
||||
+++ configure
|
||||
@@ -330,10 +330,10 @@ if [ z$NOX11 = z ]; then
|
||||
|
||||
XOK=0
|
||||
|
||||
- XINCLUDE=-I/usr/X11R6/include
|
||||
+ XINCLUDE=-I${LOCALBASE}/include
|
||||
$CC $CFLAGS _test_x11.c -c -o _test_x11.o $XINCLUDE 2> /dev/null
|
||||
|
||||
- XLIB="-L/usr/X11R6/lib -lX11 -Wl,-rpath,/usr/X11R6/lib"
|
||||
+ XLIB="-L${LOCALBASE}/lib -lX11 -Wl,-rpath,${LOCALBASE}/lib"
|
||||
$CC $CFLAGS _test_x11.o -o _test_x11 $XLIB 2> /dev/null
|
||||
|
||||
if [ -x _test_x11 ]; then
|
||||
@@ -539,27 +539,6 @@ else
|
||||
fi
|
||||
fi
|
||||
rm -f _testprog _testprog.error _testprog.stdout
|
||||
-
|
||||
-
|
||||
-# -O optimization for non-debug builds. Try -O and -O3.
|
||||
-if [ ! z"$DEBUG" = zYES ]; then
|
||||
- printf "checking whether -O3 or -O can be used (non-DEBUG build)... "
|
||||
- $CC $CFLAGS -O _testprog.c -o _testprog 2> /dev/null
|
||||
- if [ -x _testprog ]; then
|
||||
- rm -f _testprog
|
||||
- $CC $CFLAGS -O3 _testprog.c -o _testprog 2> /dev/null
|
||||
- if [ -x _testprog ]; then
|
||||
- CFLAGS="-O3 $CFLAGS"
|
||||
- printf "yes, -O3\n"
|
||||
- else
|
||||
- CFLAGS="-O $CFLAGS"
|
||||
- printf "yes, -O\n"
|
||||
- fi
|
||||
- else
|
||||
- printf "no\n"
|
||||
- fi
|
||||
-fi
|
||||
-rm -f _testprog
|
||||
|
||||
|
||||
# -fpeephole
|
||||
@@ -1,32 +0,0 @@
|
||||
--- src/devices/dev_wdc.c.orig 2021-04-22 18:04:20 UTC
|
||||
+++ src/devices/dev_wdc.c
|
||||
@@ -274,12 +274,12 @@ void wdc__read(struct cpu *cpu, struct wdc_data *d)
|
||||
+ (int64_t)d->head * d->sectors_per_track[d->drive] +
|
||||
(int64_t)d->heads[d->drive] * d->sectors_per_track[d->drive] * cyl);
|
||||
|
||||
-#if 0
|
||||
+#if 1
|
||||
/* LBA: */
|
||||
if (d->lba)
|
||||
offset = 512 * (((d->head & 0xf) << 24) + (cyl << 8)
|
||||
+ d->sector);
|
||||
- printf("WDC read from offset %lli\n", (long long)offset);
|
||||
+ debug("WDC read from offset %lli\n", (long long)offset);
|
||||
#endif
|
||||
|
||||
while (count > 0) {
|
||||
@@ -320,12 +320,12 @@ void wdc__write(struct cpu *cpu, struct wdc_data *d)
|
||||
uint64_t offset = 512 * (d->sector - 1
|
||||
+ (int64_t)d->head * d->sectors_per_track[d->drive] +
|
||||
(int64_t)d->heads[d->drive] * d->sectors_per_track[d->drive] * cyl);
|
||||
-#if 0
|
||||
+#if 1
|
||||
/* LBA: */
|
||||
if (d->lba)
|
||||
offset = 512 * (((d->head & 0xf) << 24) +
|
||||
(cyl << 8) + d->sector);
|
||||
- printf("WDC write to offset %lli\n", (long long)offset);
|
||||
+ debug("WDC write to offset %lli\n", (long long)offset);
|
||||
#endif
|
||||
|
||||
d->write_in_progress = d->cur_command;
|
||||
@@ -1,18 +0,0 @@
|
||||
GXemul is a free instruction-level machine emulator, emulating not only the
|
||||
CPU, but also other hardware components, making it possible to use the emulator
|
||||
to run unmodified operating systems such as NetBSD, OpenBSD, or Linux.
|
||||
|
||||
A few different machine types are emulated. The following machine types are
|
||||
emulated well enough to run at least one "guest OS":
|
||||
|
||||
* ARM: CATS (NetBSD/cats, OpenBSD/cats), IQ80321 (NetBSD/evbarm), NetWinder
|
||||
(NetBSD/netwinder)
|
||||
* MIPS: DECstation 5000/200 (NetBSD/pmax, OpenBSD/pmax, Ultrix,
|
||||
Linux/DECstation, Sprite), Acer Pica-61 (NetBSD/arc), NEC MobilePro 770,
|
||||
780, 800, 880 (NetBSD/hpcmips), Cobalt (NetBSD/cobalt), Malta
|
||||
(NetBSD/evbmips, Linux/Malta) Algorithmics P5064 (NetBSD/algor), SGI
|
||||
O2 (aka IP32) (NetBSD/sgi)
|
||||
* PowerPC: IBM 6050/6070 (PReP, PowerPC Reference Platform) (NetBSD/prep),
|
||||
MacPPC (generic "G4" Macintosh) (NetBSD/macppc)
|
||||
* SuperH: Sega Dreamcast (NetBSD/dreamcast, Linux/dreamcast),
|
||||
Landisk (OpenBSD/landisk)
|
||||
Reference in New Issue
Block a user