ChangeLog

# ChangeLog for app-emulation/xtrs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.31 2008/08/08 23:06:31 ulm Exp $

08 Aug 2008; Ulrich Mueller files/xtrs-4.9c-gentoo.patch,
-files/xtrs-4.9c-r2-gentoo.patch, -xtrs-4.9c-r1.ebuild,
xtrs-4.9c-r2.ebuild:
Remove old.

08 Aug 2008; Markus Meier xtrs-4.9c-r2.ebuild:
amd64/x86 stable, bug #233687

08 Aug 2008; nixnut xtrs-4.9c-r2.ebuild:
Stable on ppc wrt bug 233687

*xtrs-4.9c-r2 (26 Jun 2008)

26 Jun 2008; Joe Peterson
+files/xtrs-4.9c-r2-gentoo.patch, +xtrs-4.9c-r2.ebuild:
Add upstream fix for kbwait; disable SIGIO; change default model back to 1

01 May 2008; Ulrich Mueller -xtrs-4.9c.ebuild:
Remove old.

01 May 2008; Tobias Scherbaum xtrs-4.9c-r1.ebuild:
ppc stable, bug #218650

27 Apr 2008; Markus Meier xtrs-4.9c-r1.ebuild:
x86 stable, bug #218650

23 Apr 2008; Kenneth Prugh xtrs-4.9c-r1.ebuild:
amd64 stable, bug #218650

20 Mar 2008; Ulrich Mueller metadata.xml:
Add longdescription to metadata.

*xtrs-4.9c-r1 (06 Mar 2008)

06 Mar 2008; Joe Peterson
+files/xtrs-4.9c-newdos-datetime.patch, +xtrs-4.9c-r1.ebuild:
Auto-initialize system date/time in NEWDOS/80

15 Jun 2007; Joe Peterson
-files/xtrs-4.9-gentoo.diff, -xtrs-4.9-r1.ebuild:
Remove 4.9-r1 ebuild (4.9c is stable)

14 Jun 2007; Tobias Scherbaum xtrs-4.9c.ebuild:
ppc stable, bug #181320

14 Jun 2007; Christoph Mende xtrs-4.9c.ebuild:
Stable on amd64 wrt bug 181320

12 Jun 2007; Markus Ullmann ChangeLog:
Stable on x86 wrt bug #181320

27 Apr 2007; Ulrich Mueller files/xtrs-4.9c-gentoo.patch:
Delay loop changed, for -delay values more similar to the previous ones.

26 Apr 2007; Timothy Redaelli xtrs-4.9c.ebuild:
Add ~x86-fbsd keyword.
Thanks to Joe Peterson for reporting wrt bug #176022

25 Apr 2007; Ulrich Mueller xtrs-4.9-r1.ebuild:
Corrected LICENSE.

*xtrs-4.9c (25 Apr 2007)

25 Apr 2007; Ulrich Mueller
+files/xtrs-4.9c-gentoo.patch, +xtrs-4.9c.ebuild:
Version bump. Fix "keyboard wait" bug when F7, F8, F9, or F10 is hit; use
volatile variable to avoid optimisation of delay loop; pass PREFIX, CFLAGS,
DISKDIR, etc. directly to emake; output message how to install ROM images;
LICENSE changed to as-is; other minor changes. Ebuild and patch submitted by
Joe Peterson , resolving bug #166715.

27 Aug 2006; Michael Sterrett -xtrs-4.9.ebuild:
clean out older, non-modX ebuild

24 Jul 2006; Joshua Jackson xtrs-4.9-r1.ebuild:
Stable x86; bug #140685

22 Jul 2006; Tobias Scherbaum xtrs-4.9-r1.ebuild:
ppc stable, bug #140685

*xtrs-4.9-r1 (25 Jan 2006)

25 Jan 2006; Marcelo Goes +xtrs-4.9-r1.ebuild:
Make modular X friendly.

07 Aug 2005; Michael Hanselmann xtrs-4.9.ebuild:
Stable on ppc.

30 May 2005; Sven Wegener xtrs-4.9.ebuild:
Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745.

04 May 2005; David Holm xtrs-4.9.ebuild:
Added to ~ppc.

27 Feb 2005; Malcolm Lashley xtrs-4.9.ebuild:
~amd64 - bug #83139

18 Mar 2004; Michael Sterrett xtrs-4.9.ebuild:
depend on virtual/x11, not x11-base/xfree; only unpack what's needed to
compile; use CFLAGS and CC; tidy src_install

*xtrs-4.9 (29 Jun 2002)

29 Jun 2002; Dan Armak ChangeLog :

User sbumission by Phillip Lemon. #2940.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX xtrs-4.9c-gentoo.patch 2264 RMD160 a742a68db2df5dfc3e8655a6bdac6167117c4df9 SHA1 5d8a37303f42ba11076f52b0353f9ff66ca9d3ac SHA256 9178f567f93c08324dbde8a24f35538f8a553d362423255aa97099233c6dbff4
AUX xtrs-4.9c-newdos-datetime.patch 2750 RMD160 ac5f2be3ab48ebaddbabca2e40117cc0ef67abca SHA1 c8e295ae7f92ce34e7d976fdf131d8dd483b3282 SHA256 1aede5a158a5c0659714a024724500d27c77ff30198fee9db81009e223a5c592
DIST ld4-631.tar.gz 191393 RMD160 2460b1f5490039c02aaec8e1645b23c511b557d9 SHA1 2ad71c65e5b78fb2c67080ab332f723eb6f90be8 SHA256 7f810d5fe0ce5c2fdabf25b5631ed2c84b19301b2e4df452bc57ca1375a84650
DIST xtrs-4.9c.tar.gz 443651 RMD160 db6057adb8a648362856026b9e8b4edd9a43b117 SHA1 23b3440fca962104c7676c633974d413ef4d3b92 SHA256 a5071dee883b83d893467b913441f8bb75984d0d4e567eef0479d43891dfb978
EBUILD xtrs-4.9c-r2.ebuild 2261 RMD160 74a6971ba93b81acdf50f357a4aa6f12373331b5 SHA1 843cfa67479ddb6a5d90c6e2effd5d73c7fc3fe2 SHA256 857e5fe79fe0d47a0c7d380932ca65551c7f8fdd541097351d6d2927673205c9
MISC ChangeLog 3937 RMD160 fdde0b796b7964a20f3b25f39cf3d391277f7ff4 SHA1 1468ae06948a49bfa5c64b092fd620bcc0cb490d SHA256 408995060254033b30f471512dd5f95af7006adb55b4f1a52cd5438c3b99ed9a
MISC metadata.xml 1094 RMD160 dda41734a85d5e2278c3b9da004608c95eaed795 SHA1 10bb53b141c7b604eded49ac700f623cf5cec448 SHA256 b0b43b9f6f54c4b071843f5a4421017192432c4c139e1fc82435bf7a5dd744aa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkic0YYACgkQOeoy/oIi7uwjhACfXpjnF9rUERjnoRreMc0i+lYt
1PsAnibOnw1nIJcjbMFs+9rY7upd4CQM
=3NEf
-----END PGP SIGNATURE-----

files

metadata.xml




no-herd

ulm@gentoo.org


lavajoe@gentoo.org


xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and the
X Window System. It includes lower case, the real time clock, hi-res
graphics, serial port, parallel printer, mouse, cassette, sound and music
output, 5" and 8" floppy disk drives in single and double density, and
even hard disk drives. The emulated floppy and hard disk file formats
are compatible with the popular MSDOS-based emulators by Jeff Vavasour,
Matthew Reed, and David Keil, and (if you choose a capable enough file
format), all features of the original TRS-80 floppy disk controller are
emulated. Under Linux, physical floppy disk drives are also supported.
Physical cassettes can be read and written too. The user interface is a
bit spartan, but it gets the job done.

xtrs-4.9c-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9c-r2.ebuild,v 1.4 2008/08/08 23:06:31 ulm Exp $

inherit eutils flag-o-matic toolchain-funcs

DESCRIPTION="Radio Shack TRS-80 emulator"
HOMEPAGE="http://www.tim-mann.org/xtrs.html"
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
http://home.gwi.net/~plemon/support/disks/xtrs/ld4-631.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE=""

DEPEND="sys-libs/ncurses
sys-libs/readline
>=x11-libs/libX11-1.0.0"

src_unpack() {
unpack ${P}.tar.gz
tar xzf "${DISTDIR}/ld4-631.tar.gz" disks || die "tar failed"

cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-newdos-datetime.patch"
}

src_compile() {
use ppc && append-flags -Dbig_endian
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" \
DISKDIR="-DDISKDIR='\"/usr/share/xtrs\"'" \
DEFAULT_ROM="-DDEFAULT_ROM='\"/usr/share/xtrs/romimage\"' \
-DDEFAULT_ROM3='\"/usr/share/xtrs/romimage.m3\"' \
-DDEFAULT_ROM4P='\"/usr/share/xtrs/romimage.m4p\"'" \
|| die "emake failed"
}

src_install() {
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
emake PREFIX="${D}"/usr install || die "emake install failed"

insopts -m0444
insinto /usr/share/xtrs/disks
doins cpmutil.dsk utility.dsk "${WORKDIR}"/disks/ld4-631.dsk
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1

dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html \
|| die "dodoc failed"
}

pkg_postinst() {
ewarn "For copyright reasons, xtrs does not include actual ROM images."
ewarn "Because of this, unless you supply your own ROM, xtrs will"
ewarn "not function in any mode except 'Model 4p' mode (a minimal"
ewarn "free ROM is included for this), which can be run like this:"
ewarn " xtrs -model 4p"
elog ""
elog "If you already own a copy of the ROM software (e.g., if you have"
elog "a TRS-80 with this ROM), then you can make yourself a copy of this"
elog "for use with xtrs using utilities available on the web. You can"
elog "also often find various ROMs elsewhere. To load your own ROM,"
elog "specify the '-romfile' option."
}