ChangeLog

# ChangeLog for app-emulation/spim
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.44 2008/01/11 20:55:19 grobian Exp $

11 Jan 2008; Fabian Groffen spim-7.2.1-r2.ebuild,
spim-7.2.1-r3.ebuild, spim-7.3.ebuild:
Dropped ppc-macos keyword, see you in prefix

22 Jul 2007; David Shakaryan spim-7.2.1-r2.ebuild,
spim-7.2.1-r3.ebuild, spim-7.3.ebuild:
Remove virtual/x11 from dependencies.

30 Jan 2007; Steve Dibb spim-7.3.ebuild:
amd64 stable, bug 158402, added strip to restrict

19 Dec 2006; Timothy Redaelli spim-7.3.ebuild:
Stable on ppc wrt bug #158402

19 Dec 2006; Christian Faulhammer spim-7.3.ebuild:
stable x86, bug #158402

16 Oct 2006; -files/23spim, spim-7.3.ebuild:
Fix stupid mistake in sed, resolves (bug #151551)

*spim-7.3 (15 Oct 2006)

15 Oct 2006; +files/23spim, +spim-7.3.ebuild:
version bump from upstream

10 Oct 2006; Jason Huebel spim-7.2.1-r3.ebuild:
stable on amd64

27 Aug 2006; Michael Sterrett
-files/spim-6.5-font.patch, -files/6.5-parser.patch, -spim-6.5-r1.ebuild,
-spim-7.0.ebuild, -spim-7.1.ebuild, -spim-7.2.1.ebuild,
spim-7.2.1-r2.ebuild:
clean out older, non-modX ebuilds; backfill modX deps from spim-7.2.1-r3

24 Jul 2006; Joshua Jackson spim-7.2.1-r3.ebuild:
Stable x86; bug #139790

22 Jul 2006; Tobias Scherbaum
spim-7.2.1-r3.ebuild:
ppc stable, bug #139790

*spim-7.2.1-r3 (22 Jan 2006)

22 Jan 2006; Saleem Abdulrasool
+files/spim-7.2.1-string-handling-fix.patch, +spim-7.2.1-r3.ebuild:
Fixing bugs #110644, #105542

14 Jan 2006; Fabian Groffen spim-7.2.1-r2.ebuild:
Marked last version stable ppc-macos. Removing keyword from older ebuilds
since they cause trouble.

*spim-7.2.1-r2 (27 Oct 2005)

27 Oct 2005; Jeremy Huddleston
+files/spim-7.2.1-multiple-exception.patch, -spim-7.2.1-r1.ebuild,
+spim-7.2.1-r2.ebuild:
Added another patch (sent/accepted upstream) which allows the user to list
multiple exception handler/libraries rather than require it to be in just
one file.

11 Oct 2005; Saleem Abdulrasool
spim-7.2.1-r1.ebuild:
Fixing man pages. Resolves bug #108568

*spim-7.2.1-r1 (07 Oct 2005)

07 Oct 2005; Jeremy Huddleston
+spim-7.2.1-r1.ebuild:
We don't need that font patch, and it makes it look ugly when we use it
because we end up just using fixed.

07 Oct 2005; Jeremy Huddleston spim-6.5-r1.ebuild,
spim-7.0.ebuild, spim-7.1.ebuild:
Marking 7.0 -amd64.

05 Oct 2005; Jeremy Huddleston spim-7.2.1.ebuild:
Added dies where needed. -j2 fails sometimes, to using -j1. Using correct
toolchain compiler. Fixed missing depend on bison. Added to ~sparc.

*spim-7.2.1 (05 Oct 2005)

05 Oct 2005; Jeremy Huddleston
+files/spim-7.2.1-c99.patch, +files/spim-7.2.1-envvar-exception.patch,
+files/spim-7.2.1-font.patch, +files/spim-7.2.1-ptrsize.patch,
+files/spim-7.2.1-string-stream.patch, +spim-7.2.1.ebuild:
Version bump and further patches from me (submitted upstream) to fix amd64.

10 Sep 2005; Saleem Abdulrasool spim-6.5-r1.ebuild,
spim-7.0.ebuild, spim-7.1.ebuild:
Adding hard dep on xorg-x11 in DEPEND for imake xmkmf. Resolves bug #103843.

16 Aug 2005; Simon Stelling spim-7.0.ebuild:
added ~amd64 keyword

*spim-7.1 (24 Jul 2005)

24 Jul 2005; Saleem Abdulrasool
+files/spim-7.1-font.patch, +spim-7.1.ebuild:
Version bump from upstream. Install cleanups, build fixes, test restrictions.

13 Jul 2005; Simon Stelling spim-6.5-r1.ebuild:
fix bug 97217 and 90473 by removing -D__i386__ from the Makefile

24 Apr 2005; Michael Hanselmann spim-7.0.ebuild:
Stable on ppc.

26 Feb 2005; Simon Stelling spim-7.0.ebuild:
-amd64'd 7.0 since it's b0rked, see bug 78403

19 Feb 2005; spim-7.0.ebuild:
Stable on ppc-macos.

12 Feb 2005; Bryan Østergaard
+files/spim-6.5-font.patch, spim-6.5-r1.ebuild, -spim-6.5.ebuild:
Fix old versions too wrt. bug 73510.

12 Feb 2005; Bryan Østergaard
+files/spim-7.0-font.patch, spim-7.0.ebuild:
Fix bug 73510.

19 Jan 2005; spim-7.0.ebuild:
Keyworded ~ppc-macos.

28 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

19 Dec 2004; Bryan Østergaard spim-7.0.ebuild:
x86 stable.

06 Sep 2004; Bryan Østergaard spim-7.0.ebuild:
Oops, fix wrong src_uri.

*spim-7.0 (06 Sep 2004)

06 Sep 2004; Bryan Østergaard +spim-7.0.ebuild:
Version bump, ebuild by mickn in #gentoo-bugs.

*spim-6.5-r1 (10 Apr 2004)

10 Apr 2004; Michael Sterrett spim-6.5-r1.ebuild:
rev bump so the patch goes out

10 Apr 2004; Michael Sterrett spim-6.5.ebuild,
files/6.5-parser.patch:
add patch from Luke Macken to fix bad code generation (bug #47141)

02 Mar 2004; David Holm spim-6.5.ebuild:
Added to ~ppc.

06 Jan 2004; Michael Sterrett spim-6.5.ebuild:
manual install; better X use support; use sed -i; skip test since it needs
installed files to work; use mirror://gentoo since the archive isn't
versioned upstream.

19 Oct 2003; Brandy Westcott brandy@gentoo.org spim-6.5.ebuild:
Fixed typo in ebuild

*spim-6.5 (04 Feb 2003)

16 Feb 2003; Brandon Low spim-6.5.ebuild:
Fix again... whoops. Now also tells the user what parts it is merging.

04 Feb 2003; Brandon Low spim-6.5.ebuild:

Fix so that it listens to the X use var correctly.

04 Feb 2003; Brandon Low spim-6.5.ebuild,
files/digest-spim-6.5, ChangeLog:

New package added to unstable, spim MIPS simulator. I use it
for school, maybe you will too.

Manifest

AUX spim-7.2.1-c99.patch 17070 RMD160 8c1df05fd3788bb0d0787edbbbbfeaf70010f0fe SHA1 4561b508b54e6b0fc22d2c6d99562287fd499edf SHA256 7239c6fbb84308039ee10dc0792a3559a4628cb484081ebc6fb9efb4e31968ae
AUX spim-7.2.1-envvar-exception.patch 991 RMD160 59e8c4c2e3bbf536e0087b7d144bfea1ce02af7f SHA1 23b5a39aeb54f2b86d8c01e5d6aabac56c6d0453 SHA256 7a43dc97c06bb2cb842ebf01887f9d3c56597002c6d83d1828011383c1f98978
AUX spim-7.2.1-font.patch 430 RMD160 962ac6531b2606689442adf8f4d29f082d3b0f8b SHA1 ff04029d41d72a84858ba18d7d1c10db359d40da SHA256 270d0672ca3ae0b44b6a8ed035af0574b2f076d5094072b44862bf6bfeacad1e
AUX spim-7.2.1-multiple-exception.patch 2375 RMD160 ffbe4f39c5b3573e1ffd06d6437bd1c7b461ee30 SHA1 fec82ecfbea3764bddbb2baaacecaa2337e33d23 SHA256 ada4a1435a8a366cb5a57538d00554f74ac8148b8c0cc893dfaa369c3ee225d2
AUX spim-7.2.1-ptrsize.patch 458 RMD160 e33bc1046a1b056f1bba4ce5e6047450b07e7df2 SHA1 1222eb64c18ae9d4991b8f2f10a2ebb8fe3d276d SHA256 d709709e5e375884754b972a690ac256ffdba33af0d96ec453a7ca8f7cb771ad
AUX spim-7.2.1-string-handling-fix.patch 1304 RMD160 578b8f45542837b532537474f52c900fcfbd542c SHA1 37b641cb0e7a09f3ba2f0ac4cc4e824a57220611 SHA256 9b95c1a477e56caea6a77f7f448454bdcae74b25615bbef736787e5b58b24562
AUX spim-7.2.1-string-stream.patch 488 RMD160 9a2feddb35766c73cda969cd6311c1e5655dd5f9 SHA1 11f115a5f2a08b58d4d1a011e0bb21a5f1a0a21e SHA256 1d68146570de0ed4aa045b9e134f8f34b558cbaf3d4487ab312b41fd04594e5b
DIST spim-7.2.1.tar.gz 534388 RMD160 fa3f57d80ddfc6870f83f4d90d038c30fa79fb74 SHA1 22bcf17df10bbe28b3ee93256763ac7167523aba SHA256 347771fc7f91ba12092b22374ddb377f13c588e6d0d1a0cdacea8bbb76f347fb
DIST spim-7.3.tar.gz 347226 RMD160 f87116820755ff76087889bbd0f39eaacbce201a SHA1 630b75ebc9365093e1b3d0c98ca0524f772d8647 SHA256 d7de06135c519108055a90abe77ced4e36dec4f7f27ce1a2fca0059f86cdf35d
EBUILD spim-7.2.1-r2.ebuild 2354 RMD160 c8d5359bab778609a4808f369353c25572bd1a47 SHA1 d2340468dc51a240c4338a507cf603f896401472 SHA256 12eec086678f8b5c42fbfca9002f1ea2650a9d977fd4b7445ce31f7d640a23cc
EBUILD spim-7.2.1-r3.ebuild 2463 RMD160 faedfe862439ebefa4d2ed519772a8eaad5316fd SHA1 42e77408f97f70d7b043c234cc1bcfcb85886634 SHA256 c55b6f12e8aff3fab392f71edafc3ab2eead4eadda32c62fb8984fc838703ca7
EBUILD spim-7.3.ebuild 2026 RMD160 7ed9a680a1643ee14c15bd51cb46afed5e7d9857 SHA1 2480ea4af9f6dd16cebbd02fbd7aff0e81efbed8 SHA256 e46fbcd503d918a1bd8ae84b60ab6887a2c5ee60f489bf910ea4848fed9923b1
MISC ChangeLog 6370 RMD160 616025f44358b8e94ae59f90927d094c454607ac SHA1 1e030c8bcde9fc248162d0a9f971a028678a1c86 SHA256 66faee490d8a74d7dd13cf90fcaad39442126b8fb16fa101923954ff234bfc66
MISC metadata.xml 476 RMD160 67d8855fc914914b4dafc2cb6b251fd8ba01a8ef SHA1 dbd4ee67b81d629afe3c01c81225c060884e92a8 SHA256 fcdb7aa53acb276daa887459aa49573b0417c54d9b7d3510bf84aaa9b90b6578

files

metadata.xml




no-herd

compnerd@gentoo.org
Saleem Abdulrasool


A self-contained simulator that will run MIPS32 assembly language
programs. It also provides a simple debugger and a minimal set of
operating system services.

spim-7.2.1-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/spim/spim-7.2.1-r2.ebuild,v 1.5 2008/01/11 20:55:19 grobian Exp $

inherit eutils toolchain-funcs

DESCRIPTION="MIPS Simulator"
HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html"
SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz"

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

RDEPEND="X? ( x11-libs/libXaw
x11-libs/libXp )"
DEPEND="${RDEPEND}
X? ( x11-misc/imake
x11-proto/xproto )
>=sys-apps/sed-4
sys-devel/bison"

src_unpack() {
unpack ${A}
cd ${S}

# Patches from eradicator submitted upstream. Fixes amd64 and others...
epatch ${FILESDIR}/${PN}-7.2.1-envvar-exception.patch
epatch ${FILESDIR}/${PN}-7.2.1-c99.patch
epatch ${FILESDIR}/${PN}-7.2.1-ptrsize.patch
epatch ${FILESDIR}/${PN}-7.2.1-string-stream.patch
epatch ${FILESDIR}/${PN}-7.2.1-multiple-exception.patch

# Fix documentation files
cd ${S}/Documentation
mv spim.man spim.1
mv xspim.man xspim.1
}

src_compile() {
cd ${S}/spim

./Configure || die "Configure Failed!"

sed -i \
-e 's:@make:@$(MAKE):' \
-e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \
-e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \
-e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \
-e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \
-e "s:^\W*install.* spim.man .*$::" \
-e "s:tail -2:tail -n2:" \
Makefile

emake CC="$(tc-getCC)" || die

if use X ; then
cd ${S}/xspim

./Configure || die "Configure Failed!"

xmkmf || die

sed -i \
-e 's:@make:@$(MAKE):' \
-e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \
-e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \
-e "s:\(EXCEPTION_PATH = \).*$:\1/var/lib/spim/exceptions.s:" \
Makefile

emake CC="$(tc-getCC)" -j1 xspim || die
fi
}

src_test() {
cd ${S}/spim
make test || die "Failed to pass tests!"
}

src_install() {
dodir /usr/bin
dodir /usr/share/man
dodir /var/lib/spim

cd ${S}/spim
make install DESTDIR=${D} || die "Unable to install spim"

if use X ; then
cd ${S}/xspim
make DESTDIR=${D} install || die "Unable to install xspim"
fi

cd ${S}/Documentation
doman spim.1
use X && doman xspim.1

dohtml SPIM.html
dodoc BLURB

cd ${S}
dodoc README VERSION ChangeLog
}

spim-7.2.1-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.2.1-r3.ebuild,v 1.6 2008/01/11 20:55:19 grobian Exp $

inherit eutils toolchain-funcs

DESCRIPTION="MIPS Simulator"
HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html"
SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz"

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

RDEPEND="X? ( x11-libs/libXaw
x11-libs/libXp )"
DEPEND="${RDEPEND}
X? ( x11-misc/imake
x11-proto/xproto )
>=sys-apps/sed-4
sys-devel/bison"

src_unpack() {
unpack ${A}
cd ${S}

# Patches from eradicator submitted upstream. Fixes amd64 and others...
epatch ${FILESDIR}/${PN}-7.2.1-envvar-exception.patch
epatch ${FILESDIR}/${PN}-7.2.1-c99.patch
epatch ${FILESDIR}/${PN}-7.2.1-ptrsize.patch
epatch ${FILESDIR}/${PN}-7.2.1-string-stream.patch
epatch ${FILESDIR}/${PN}-7.2.1-multiple-exception.patch

# Fix string handling on multiple exceptions patch
epatch ${FILESDIR}/${PN}-7.2.1-string-handling-fix.patch

# Fix documentation files
cd ${S}/Documentation
mv spim.man spim.1
mv xspim.man xspim.1
}

src_compile() {
cd ${S}/spim

./Configure || die "Configure Failed!"

sed -i \
-e 's:@make:@$(MAKE):' \
-e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \
-e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \
-e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \
-e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \
-e "s:^\W*install.* spim.man .*$::" \
-e "s:tail -2:tail -n2:" \
Makefile

emake CC="$(tc-getCC)" || die

if use X ; then
cd ${S}/xspim

./Configure || die "Configure Failed!"

xmkmf || die

sed -i \
-e 's:@make:@$(MAKE):' \
-e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \
-e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \
-e "s:\(EXCEPTION_PATH = \).*$:\1/var/lib/spim/exceptions.s:" \
Makefile

emake CC="$(tc-getCC)" -j1 xspim || die
fi
}

src_test() {
cd ${S}/spim
make test || die "Failed to pass tests!"
}

src_install() {
dodir /usr/bin
dodir /usr/share/man
dodir /var/lib/spim

cd ${S}/spim
make install DESTDIR=${D} || die "Unable to install spim"

if use X ; then
cd ${S}/xspim
make DESTDIR=${D} install || die "Unable to install xspim"
fi

cd ${S}/Documentation
doman spim.1
use X && doman xspim.1

dohtml SPIM.html
dodoc BLURB

cd ${S}
dodoc README VERSION ChangeLog
}

spim-7.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.3.ebuild,v 1.7 2008/01/11 20:55:19 grobian Exp $

inherit eutils toolchain-funcs

DESCRIPTION="MIPS Simulator"
HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html"
SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="X"
RESTRICT="strip"
RDEPEND="X? ( x11-libs/libXaw
x11-libs/libXp )"
DEPEND="${RDEPEND}
X? ( x11-misc/imake
x11-proto/xproto )
>=sys-apps/sed-4
sys-devel/bison"

src_unpack() {
unpack ${A}
cd ${S}

# Fix documentation files
cd ${S}/Documentation
mv spim.man spim.1
mv xspim.man xspim.1
}

src_compile() {
cd ${S}/spim

./Configure || die "Configure Failed!"

sed -i \
-e 's:@make:@$(MAKE):' \
-e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \
-e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \
-e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \
-e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \
-e "s:^\W*install.* spim.man .*$::" \
-e "s:tail -2:tail -n2:" \
Makefile

emake CC="$(tc-getCC)" || die

if use X ; then
cd ${S}/xspim

./Configure || die "Configure Failed!"

xmkmf || die

sed -i \
-e 's:@make:@$(MAKE):' \
-e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \
-e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \
-e "s:\(EXCEPTION_DIR = \).*$:\1/var/lib/spim:" \
Makefile

emake CC="$(tc-getCC)" -j1 xspim || die
fi
}

src_test() {
cd ${S}/spim
make test || die "Failed to pass tests!"
}

src_install() {
dodir /usr/bin
dodir /usr/share/man
dodir /var/lib/spim

cd ${S}/spim
make install DESTDIR="${D}" || die "Unable to install spim"

if use X ; then
cd ${S}/xspim
make DESTDIR="${D}" install || die "Unable to install xspim"
fi

cd ${S}/Documentation
doman spim.1
use X && doman xspim.1

dohtml SPIM.html
dodoc BLURB

cd ${S}
dodoc README VERSION ChangeLog
}