summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-08 23:06:31 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-08 23:06:31 +0000
commitf7405e54654f72cf9c393ee66fc6dd355df801f6 (patch)
treef9707e3b171655d577fd5bca0a60ebc0478dc5f6 /app-emulation/xtrs
parentInitial import. (diff)
downloadhistorical-f7405e54654f72cf9c393ee66fc6dd355df801f6.tar.gz
historical-f7405e54654f72cf9c393ee66fc6dd355df801f6.tar.bz2
historical-f7405e54654f72cf9c393ee66fc6dd355df801f6.zip
Remove old.
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 i686
Diffstat (limited to 'app-emulation/xtrs')
-rw-r--r--app-emulation/xtrs/ChangeLog7
-rw-r--r--app-emulation/xtrs/Manifest16
-rw-r--r--app-emulation/xtrs/files/xtrs-4.9c-gentoo.patch92
-rw-r--r--app-emulation/xtrs/files/xtrs-4.9c-r2-gentoo.patch60
-rw-r--r--app-emulation/xtrs/xtrs-4.9c-r1.ebuild63
-rw-r--r--app-emulation/xtrs/xtrs-4.9c-r2.ebuild4
6 files changed, 48 insertions, 194 deletions
diff --git a/app-emulation/xtrs/ChangeLog b/app-emulation/xtrs/ChangeLog
index ee638c3934ef..7ed4883866db 100644
--- a/app-emulation/xtrs/ChangeLog
+++ b/app-emulation/xtrs/ChangeLog
@@ -1,6 +1,11 @@
# 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.30 2008/08/08 19:05:37 maekke Exp $
+# $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 <ulm@gentoo.org> 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 <maekke@gentoo.org> xtrs-4.9c-r2.ebuild:
amd64/x86 stable, bug #233687
diff --git a/app-emulation/xtrs/Manifest b/app-emulation/xtrs/Manifest
index fe5267b54717..bd379d975377 100644
--- a/app-emulation/xtrs/Manifest
+++ b/app-emulation/xtrs/Manifest
@@ -1,19 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX xtrs-4.9c-gentoo.patch 2650 RMD160 7e2b9bb228b2cc6ea0daacce4b82403b9c5f364a SHA1 373dcff9bb16a4b21f1eb78c17e89970b2c90007 SHA256 6b9a52848783854937e0f1508076f86da317e7a5c9bc553255597403101be07a
+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
-AUX xtrs-4.9c-r2-gentoo.patch 2264 RMD160 a742a68db2df5dfc3e8655a6bdac6167117c4df9 SHA1 5d8a37303f42ba11076f52b0353f9ff66ca9d3ac SHA256 9178f567f93c08324dbde8a24f35538f8a553d362423255aa97099233c6dbff4
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-r1.ebuild 2206 RMD160 3affc377763fed0e4520ed82ee7e74027131d589 SHA1 6edfed85be942518c307a355eb701ee1dd3c641d SHA256 87a48418d7d752ffab638b0330fed0990b7a29fc863831abca4ec9d6fdee4948
-EBUILD xtrs-4.9c-r2.ebuild 2265 RMD160 4e8bd246d8a12c16c543145aa1245c9d19031171 SHA1 f5eb08c836adc5fe238fe8205de158824443a0bd SHA256 7633d8565d0b37b5a62007646849f07c27d47db2aedac4d9930e52fa3e6b5e6f
-MISC ChangeLog 3767 RMD160 062563909135b5d3771a253f3ee54ad7b72b18d6 SHA1 72399c2b5d250b6e569619c4eb8e5b2cdddaa145 SHA256 8c99e320b952e53fdca045bcacbe86cbb7f822d2e173c26148990c67424b75a2
+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 v2.0.9 (GNU/Linux)
+Version: GnuPG v1.4.9 (GNU/Linux)
-iEYEARECAAYFAkicmVAACgkQkKaRLQcq0GJCGACgodoexfoGRCUFubKsUHu+kufl
-V2IAnRXWnVHhvDpHheRWonE0LyE1pzXa
-=/Fey
+iEYEARECAAYFAkic0YYACgkQOeoy/oIi7uwjhACfXpjnF9rUERjnoRreMc0i+lYt
+1PsAnibOnw1nIJcjbMFs+9rY7upd4CQM
+=3NEf
-----END PGP SIGNATURE-----
diff --git a/app-emulation/xtrs/files/xtrs-4.9c-gentoo.patch b/app-emulation/xtrs/files/xtrs-4.9c-gentoo.patch
index c9f5029b6afc..27f1ee1a0fcc 100644
--- a/app-emulation/xtrs/files/xtrs-4.9c-gentoo.patch
+++ b/app-emulation/xtrs/files/xtrs-4.9c-gentoo.patch
@@ -1,80 +1,54 @@
-diff -Nur xtrs-4.9c-orig/ChangeLog xtrs-4.9c/ChangeLog
---- xtrs-4.9c-orig/ChangeLog 2006-05-15 02:55:28.000000000 +0200
-+++ xtrs-4.9c/ChangeLog 2007-04-25 22:12:20.000000000 +0200
-@@ -1,3 +1,11 @@
-+4.9c-Gentoo -- Sat Apr 21 14:37:00 MDT 2007 Joe Peterson <joe@skyrush.com>
+diff -Nurp xtrs-4.9c-orig/ChangeLog xtrs-4.9c/ChangeLog
+--- xtrs-4.9c-orig/ChangeLog 2006-05-14 18:55:28.000000000 -0600
++++ xtrs-4.9c/ChangeLog 2008-06-26 16:57:23.000000000 -0600
+@@ -1,3 +1,13 @@
++4.9c-Gentoo -- Thu Jun 26 16:57:16 MDT 2008 -- Joe Peterson <joe@skyrush.com>
+
+* Patched for Gentoo ebuild
+ - Added assignment to volatile variable in the z80 delay loop
+ (allows near-actual speed emulation with optimization)
+ - Fixed keyboard wait issue that caused CPU spinning (i.e. max
+ CPU usage) after using F10 (reset), F7, F8, or F9.
++ - Disable SIGIO
++ - Added NEWDOS/80 system date/time auto-initialization
+
4.9c -- Sun May 14 17:54:25 PDT 2006 -- Tim Mann
* Fixed the new -e flag on import/cmd and export/cmd to actually
-diff -Nur xtrs-4.9c-orig/main.c xtrs-4.9c/main.c
---- xtrs-4.9c-orig/main.c 2002-04-14 09:03:43.000000000 +0200
-+++ xtrs-4.9c/main.c 2007-04-25 22:12:20.000000000 +0200
-@@ -26,7 +26,7 @@
- #include "trs_disk.h"
- #include "load_cmd.h"
+diff -Nurp xtrs-4.9c-orig/Makefile xtrs-4.9c/Makefile
+--- xtrs-4.9c-orig/Makefile 2006-05-13 15:10:25.000000000 -0600
++++ xtrs-4.9c/Makefile 2008-06-26 16:48:15.000000000 -0600
+@@ -143,7 +143,7 @@ z80code: $(Z80CODE)
+ include Makefile.local
--int trs_model = 1;
-+int trs_model = 5;
- int trs_paused = 1;
- int trs_autodelay = 0;
- char *program_name;
-diff -Nur xtrs-4.9c-orig/trs.h xtrs-4.9c/trs.h
---- xtrs-4.9c-orig/trs.h 2006-05-13 23:05:59.000000000 +0200
-+++ xtrs-4.9c/trs.h 2007-04-25 22:12:20.000000000 +0200
-@@ -67,6 +67,7 @@
- extern void queue_key(int key);
- extern int dequeue_key(void);
- extern void clear_key_queue(void);
-+extern void trs_start_kbwait(void);
- extern void trs_end_kbwait(void);
- extern int stretch_amount;
+ CFLAGS = $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \
+- $(APPDEFAULTS) -DKBWAIT -DHAVE_SIGIO
++ $(APPDEFAULTS) -DKBWAIT
+ LIBS = $(XLIB) $(READLINELIBS) $(EXTRALIBS)
-diff -Nur xtrs-4.9c-orig/trs_keyboard.c xtrs-4.9c/trs_keyboard.c
---- xtrs-4.9c-orig/trs_keyboard.c 2006-05-13 22:50:17.000000000 +0200
-+++ xtrs-4.9c/trs_keyboard.c 2007-04-25 22:12:20.000000000 +0200
-@@ -983,6 +983,12 @@
- }
-
- void
-+trs_start_kbwait()
-+{
-+ key_immediate = 0;
-+}
-+
-+void
- trs_end_kbwait()
- {
- key_immediate = 1;
-@@ -1003,7 +1009,6 @@
+ ZMACFLAGS = -h
+diff -Nurp xtrs-4.9c-orig/trs_keyboard.c xtrs-4.9c/trs_keyboard.c
+--- xtrs-4.9c-orig/trs_keyboard.c 2006-05-13 14:50:17.000000000 -0600
++++ xtrs-4.9c/trs_keyboard.c 2008-06-26 16:46:03.000000000 -0600
+@@ -998,12 +998,12 @@ int trs_next_key(int wait)
+ if ((z80_state.nmi && !z80_state.nmi_seen) ||
+ (z80_state.irq && z80_state.iff1) ||
+ trs_event_scheduled() || key_immediate) {
++ key_immediate = 0;
+ rval = -1;
+ break;
}
trs_paused = 1;
- pause(); /* Wait for SIGALRM or SIGIO */
+- pause(); /* Wait for SIGALRM or SIGIO */
- key_immediate = 0;
++ pause(); /* Wait for SIGALRM */
trs_get_event(0);
}
return rval;
-diff -Nur xtrs-4.9c-orig/trs_xinterface.c xtrs-4.9c/trs_xinterface.c
---- xtrs-4.9c-orig/trs_xinterface.c 2006-05-13 23:33:51.000000000 +0200
-+++ xtrs-4.9c/trs_xinterface.c 2007-04-25 22:12:20.000000000 +0200
-@@ -920,6 +920,7 @@
- (void)trs_uart_check_avail();
- }
-
-+ trs_start_kbwait();
- do {
- if (wait) {
- XNextEvent(display, &event);
-diff -Nur xtrs-4.9c-orig/z80.c xtrs-4.9c/z80.c
---- xtrs-4.9c-orig/z80.c 2005-05-22 08:57:01.000000000 +0200
-+++ xtrs-4.9c/z80.c 2007-04-25 22:12:20.000000000 +0200
-@@ -3027,7 +3027,8 @@
+diff -Nurp xtrs-4.9c-orig/z80.c xtrs-4.9c/z80.c
+--- xtrs-4.9c-orig/z80.c 2005-05-22 00:57:01.000000000 -0600
++++ xtrs-4.9c/z80.c 2008-06-26 16:44:32.000000000 -0600
+@@ -3027,7 +3027,8 @@ int z80_run(int continuous)
#endif
/* Speed control */
if ((i = z80_state.delay)) {
diff --git a/app-emulation/xtrs/files/xtrs-4.9c-r2-gentoo.patch b/app-emulation/xtrs/files/xtrs-4.9c-r2-gentoo.patch
deleted file mode 100644
index 27f1ee1a0fcc..000000000000
--- a/app-emulation/xtrs/files/xtrs-4.9c-r2-gentoo.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -Nurp xtrs-4.9c-orig/ChangeLog xtrs-4.9c/ChangeLog
---- xtrs-4.9c-orig/ChangeLog 2006-05-14 18:55:28.000000000 -0600
-+++ xtrs-4.9c/ChangeLog 2008-06-26 16:57:23.000000000 -0600
-@@ -1,3 +1,13 @@
-+4.9c-Gentoo -- Thu Jun 26 16:57:16 MDT 2008 -- Joe Peterson <joe@skyrush.com>
-+
-+* Patched for Gentoo ebuild
-+ - Added assignment to volatile variable in the z80 delay loop
-+ (allows near-actual speed emulation with optimization)
-+ - Fixed keyboard wait issue that caused CPU spinning (i.e. max
-+ CPU usage) after using F10 (reset), F7, F8, or F9.
-+ - Disable SIGIO
-+ - Added NEWDOS/80 system date/time auto-initialization
-+
- 4.9c -- Sun May 14 17:54:25 PDT 2006 -- Tim Mann
-
- * Fixed the new -e flag on import/cmd and export/cmd to actually
-diff -Nurp xtrs-4.9c-orig/Makefile xtrs-4.9c/Makefile
---- xtrs-4.9c-orig/Makefile 2006-05-13 15:10:25.000000000 -0600
-+++ xtrs-4.9c/Makefile 2008-06-26 16:48:15.000000000 -0600
-@@ -143,7 +143,7 @@ z80code: $(Z80CODE)
- include Makefile.local
-
- CFLAGS = $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \
-- $(APPDEFAULTS) -DKBWAIT -DHAVE_SIGIO
-+ $(APPDEFAULTS) -DKBWAIT
- LIBS = $(XLIB) $(READLINELIBS) $(EXTRALIBS)
-
- ZMACFLAGS = -h
-diff -Nurp xtrs-4.9c-orig/trs_keyboard.c xtrs-4.9c/trs_keyboard.c
---- xtrs-4.9c-orig/trs_keyboard.c 2006-05-13 14:50:17.000000000 -0600
-+++ xtrs-4.9c/trs_keyboard.c 2008-06-26 16:46:03.000000000 -0600
-@@ -998,12 +998,12 @@ int trs_next_key(int wait)
- if ((z80_state.nmi && !z80_state.nmi_seen) ||
- (z80_state.irq && z80_state.iff1) ||
- trs_event_scheduled() || key_immediate) {
-+ key_immediate = 0;
- rval = -1;
- break;
- }
- trs_paused = 1;
-- pause(); /* Wait for SIGALRM or SIGIO */
-- key_immediate = 0;
-+ pause(); /* Wait for SIGALRM */
- trs_get_event(0);
- }
- return rval;
-diff -Nurp xtrs-4.9c-orig/z80.c xtrs-4.9c/z80.c
---- xtrs-4.9c-orig/z80.c 2005-05-22 00:57:01.000000000 -0600
-+++ xtrs-4.9c/z80.c 2008-06-26 16:44:32.000000000 -0600
-@@ -3027,7 +3027,8 @@ int z80_run(int continuous)
- #endif
- /* Speed control */
- if ((i = z80_state.delay)) {
-- while (--i) /*nothing*/;
-+ volatile int dummy;
-+ while (--i) dummy = i;
- }
-
- instruction = mem_read(REG_PC++);
diff --git a/app-emulation/xtrs/xtrs-4.9c-r1.ebuild b/app-emulation/xtrs/xtrs-4.9c-r1.ebuild
deleted file mode 100644
index 1c269b2ddb28..000000000000
--- a/app-emulation/xtrs/xtrs-4.9c-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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-r1.ebuild,v 1.4 2008/05/01 09:19:19 dertobi123 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() {
- elog "For copyright reasons, xtrs does not include ROM images."
- 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. You can get such a copy also from elsewhere on"
- elog "the web. You may install the ROM images in directory /usr/share/xtrs"
- elog "as files \"romimage\", \"romimage.m3\", or \"romimage.m4p\", for"
- elog "Model I, III, or 4P, respectively. (Model 4 uses the same ROM image"
- elog "as Model III.) The files may be in Intel hex or binary format."
-}
diff --git a/app-emulation/xtrs/xtrs-4.9c-r2.ebuild b/app-emulation/xtrs/xtrs-4.9c-r2.ebuild
index 89d849804969..d4ceb083e81d 100644
--- a/app-emulation/xtrs/xtrs-4.9c-r2.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9c-r2.ebuild
@@ -1,6 +1,6 @@
# 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.3 2008/08/08 19:05:37 maekke Exp $
+# $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
@@ -23,7 +23,7 @@ src_unpack() {
tar xzf "${DISTDIR}/ld4-631.tar.gz" disks || die "tar failed"
cd "${S}"
- epatch "${FILESDIR}/${PF}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-newdos-datetime.patch"
}