FreeBSD Bugzilla – Attachment 201828 Details for
Bug 235563
New port: emulators/teo: Thomson TO8 Emulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
emulators_teo.shar
emulators_teo.shar (text/plain), 5.77 KB, created by
Thomas Bernard
on 2019-02-07 23:48:27 UTC
(
hide
)
Description:
emulators_teo.shar
Filename:
MIME Type:
Creator:
Thomas Bernard
Created:
2019-02-07 23:48:27 UTC
Size:
5.77 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># emulators/teo ># emulators/teo/distinfo ># emulators/teo/files ># emulators/teo/Makefile ># emulators/teo/pkg-descr ># emulators/teo/pkg-plist ># emulators/teo/files/ ># emulators/teo/files/patch-makefile.all ># emulators/teo/files/patch-src_std.c ># emulators/teo/files/patch-src_linux_ufloppy.c ># emulators/teo/files/patch-makefile.lnx ># >echo c - emulators/teo >mkdir -p emulators/teo > /dev/null 2>&1 >echo x - emulators/teo/distinfo >sed 's/^X//' >emulators/teo/distinfo << '12431f722d02aa44241a66198278e14f' >XSHA256 (teo-1.8.4-src.tar.gz) = 93b636861a67cc72223713c2708391eaf969a7a10ccf2f0288fb41ae6e22c437 >XSIZE (teo-1.8.4-src.tar.gz) = 1552423 >12431f722d02aa44241a66198278e14f >echo c - emulators/teo/files >mkdir -p emulators/teo/files > /dev/null 2>&1 >echo x - emulators/teo/Makefile >sed 's/^X//' >emulators/teo/Makefile << '981255201a40e21b342ceb5f1413c6fc' >X# Created by: Thomas Bernard <nanard@free.fr> >X# $FreeBSD$ >X >XPORTNAME= teo >XPORTVERSION= 1.8.4 >XCATEGORIES= emulators >XMASTER_SITES= SF/teoemulator/linux/${PORTVERSION} >XDISTNAME= ${PORTNAME}-${PORTVERSION}-src >X >XMAINTAINER= nanard@free.fr >XCOMMENT= Thomson TO8 emulator >X >XLICENSE= GPLv2+ >XLICENSE_FILE= ${WRKSRC}/licence-en.txt >X >XLIB_DEPENDS= libpng.so:graphics/png \ >X libasound.so:audio/alsa-lib >X >XUSES= gmake pkgconfig gnome >XUSE_GNOME= gtk30 cairo gdkpixbuf2 >XUSE_XORG= x11 xext >X >XWRKSRC= ${WRKDIR}/teo >X >XALL_TARGET= default >X >Xpost-patch: >X @${ECHO_CMD} "MAKEFILE_INC = makefile.lnx" > ${WRKSRC}/Makefile >X @${ECHO_CMD} "include makefile.all" >> ${WRKSRC}/Makefile >X @${REINPLACE_CMD} -e 's|"system/|"${DATADIR}/|' \ >X ${WRKSRC}/src/hardware.c ${WRKSRC}/src/linux/udebug/udtoolb.c >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/teo ${STAGEDIR}${PREFIX}/bin >X @${MKDIR} ${STAGEDIR}${DATADIR}/rom >X ${INSTALL_DATA} ${WRKSRC}/system/rom/* ${STAGEDIR}${DATADIR}/rom >X @${MKDIR} ${STAGEDIR}${DATADIR}/icons >X ${INSTALL_DATA} ${WRKSRC}/system/icons/* ${STAGEDIR}${DATADIR}/icons >X >X.include <bsd.port.mk> >981255201a40e21b342ceb5f1413c6fc >echo x - emulators/teo/pkg-descr >sed 's/^X//' >emulators/teo/pkg-descr << 'f0d22a58c4d29988fc2836750f163540' >XTeo is an emulator of the Thomson TO8 microcomputer for PC, running on MSDOS, >XWindows and Linux. >X >XThe compatibility is close to 100% for softwares which don't use non >Xemulated peripherals and don't hold physical protections. >X >XWWW: https://sourceforge.net/projects/teoemulator/ >f0d22a58c4d29988fc2836750f163540 >echo x - emulators/teo/pkg-plist >sed 's/^X//' >emulators/teo/pkg-plist << '681181fe08d056752020a365e2743fc5' >X/you/have/to/check/what/makeplist/gives/you >Xbin/teo >X%%DATADIR%%/icons/leave.ico >X%%DATADIR%%/icons/run.ico >X%%DATADIR%%/icons/step.ico >X%%DATADIR%%/icons/stepover.ico >X%%DATADIR%%/rom/basic1.rom >X%%DATADIR%%/rom/basic512.rom >X%%DATADIR%%/rom/expl.rom >X%%DATADIR%%/rom/extramon.rom >X%%DATADIR%%/rom/monitor1.rom >X%%DATADIR%%/rom/monitor2.rom >681181fe08d056752020a365e2743fc5 >echo c - emulators/teo/files/ >mkdir -p emulators/teo/files/ > /dev/null 2>&1 >echo x - emulators/teo/files/patch-makefile.all >sed 's/^X//' >emulators/teo/files/patch-makefile.all << 'f578c08c67365371d8cb096e329f957a' >X--- makefile.all.orig 2019-02-06 11:40:40 UTC >X+++ makefile.all >X@@ -151,8 +151,6 @@ TEO_SRC_WIN_FILES = \ >X >X # ------ compiler flags ------ >X >X-CC = gcc >X- >X WFLAGS = -Wall >X >X ifdef PGCC >f578c08c67365371d8cb096e329f957a >echo x - emulators/teo/files/patch-src_std.c >sed 's/^X//' >emulators/teo/files/patch-src_std.c << 'd2b89c55678da4efd3a9e0afc7a01246' >X--- src/std.c.orig 2017-11-03 16:40:23 UTC >X+++ src/std.c >X@@ -364,8 +364,7 @@ char *std_ApplicationPath (const char di >X { >X static char *fname = NULL; >X >X- fname = NULL; >X-#ifdef DEBIAN_BUILD >X+#if !defined(__DJGPP__) && !defined(_WIN32) >X /* create private directory if necessary */ >X fname = std_strdup_printf ("%s/.config/%s", getenv("HOME"), dirname); >X if (access (fname, F_OK) < 0) >d2b89c55678da4efd3a9e0afc7a01246 >echo x - emulators/teo/files/patch-src_linux_ufloppy.c >sed 's/^X//' >emulators/teo/files/patch-src_linux_ufloppy.c << 'ee21b153c28cf3694724601cefb3bc39' >X# HG changeset patch >X# User François Mouret >X# Date 1544541950 -3600 >X# Tue Dec 11 16:25:50 2018 +0100 >X# Node ID e49c586caa6bfd5cbc710fbbef05cf6f3c361fcd >X# Parent e5023114c1b22b12a07de65eaa3460cae578ec49 >XAvoid floppy reactions for non Linux systems (thanks to Thomas Bernard) >X >X--- src/linux/ufloppy.c.orig 2017-11-03 16:40:23 UTC >X+++ src/linux/ufloppy.c >X@@ -44,6 +44,7 @@ >X */ >X >X >X+#if defined(linux) >X #ifndef SCAN_DEPEND >X #include <stdio.h> >X #include <string.h> >X@@ -404,3 +405,18 @@ void ufloppy_Exit (void) >X } >X } >X >X+#else >X+ >X+/* for non linux systems, such as FreeBSD, etc. */ >X+ >X+int ufloppy_Init (int to_drive_type[4], int enable_write) >X+{ >X+ return 0; >X+} >X+ >X+void ufloppy_Exit (void) >X+{ >X+} >X+ >X+#endif >X+ >ee21b153c28cf3694724601cefb3bc39 >echo x - emulators/teo/files/patch-makefile.lnx >sed 's/^X//' >emulators/teo/files/patch-makefile.lnx << 'a407a4df788ca59f0a645da3663c71b6' >X--- makefile.lnx.orig 2019-02-06 11:40:45 UTC >X+++ makefile.lnx >X@@ -15,7 +15,7 @@ UNIX_TOOLS = 1 >X ifdef DEBUGMODE >X >X # -- debugging build -- >X-CFLAGS = -g -DDEBUG $(WFLAGS) >X+CFLAGS += -g -DDEBUG $(WFLAGS) >X LFLAGS = -g >X DESCRIPTION = debugging >X >X@@ -23,14 +23,14 @@ else >X ifdef PROFILEMODE >X >X # -- profiling build -- >X-CFLAGS = -pg $(WFLAGS) $(OFLAGS) >X+CFLAGS += -pg $(WFLAGS) $(OFLAGS) >X LFLAGS = -pg >X DESCRIPTION = profiling >X >X else >X >X # -- optimised build -- >X-CFLAGS = $(WFLAGS) $(OFLAGS) >X+CFLAGS += $(WFLAGS) >X LFLAGS = -s >X DESCRIPTION = optimized >X >a407a4df788ca59f0a645da3663c71b6 >exit >
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 Raw
Actions:
View
Attachments on
bug 235563
:
201804
|
201805
| 201828