summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-07-24 22:03:32 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-07-24 22:03:32 +0000
commit43e0d638e4b2d731410cf131725fe359beadd835 (patch)
treedac94af260963548abdbd3d5fbd04407ba6558f2 /app-emulation/spim
parent0.9.0_rc10 version bump (diff)
downloadgentoo-2-43e0d638e4b2d731410cf131725fe359beadd835.tar.gz
gentoo-2-43e0d638e4b2d731410cf131725fe359beadd835.tar.bz2
gentoo-2-43e0d638e4b2d731410cf131725fe359beadd835.zip
Version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-emulation/spim')
-rw-r--r--app-emulation/spim/ChangeLog8
-rw-r--r--app-emulation/spim/Manifest11
-rw-r--r--app-emulation/spim/files/digest-spim-7.11
-rw-r--r--app-emulation/spim/files/spim-7.1-font.patch11
-rw-r--r--app-emulation/spim/spim-7.1.ebuild58
5 files changed, 84 insertions, 5 deletions
diff --git a/app-emulation/spim/ChangeLog b/app-emulation/spim/ChangeLog
index a09352ec61b5..50a7820c364f 100644
--- a/app-emulation/spim/ChangeLog
+++ b/app-emulation/spim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/spim
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.22 2005/07/13 21:12:54 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.23 2005/07/24 22:03:32 compnerd Exp $
+
+*spim-7.1 (24 Jul 2005)
+
+ 24 Jul 2005; Saleem Abdulrasool <compnerd@gentoo.org>
+ +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 <blubb@gentoo.org> spim-6.5-r1.ebuild:
fix bug 97217 and 90473 by removing -D__i386__ from the Makefile
diff --git a/app-emulation/spim/Manifest b/app-emulation/spim/Manifest
index 42b6372d81c0..57dfb8f7f30d 100644
--- a/app-emulation/spim/Manifest
+++ b/app-emulation/spim/Manifest
@@ -1,9 +1,12 @@
-MD5 0675f70bef88f02360396cbd12736495 ChangeLog 2627
MD5 c6358f7020eb93f97580e33e2a7f2856 spim-7.0.ebuild 1460
-MD5 f180f948f41e347de9ebca387391018e metadata.xml 476
MD5 143d981e1c05b3988326914f6e2b727b spim-6.5-r1.ebuild 1419
+MD5 ac8439efe43abd1188cb5e6908c4b222 spim-7.1.ebuild 1275
+MD5 111ec87a3821068848a0e39b1757d8ec ChangeLog 2838
+MD5 f180f948f41e347de9ebca387391018e metadata.xml 476
+MD5 687579cae8dc43834d01a92be664c826 files/spim-6.5-font.patch 362
MD5 d71d66b98121e4e42ca59fa94310ed1e files/6.5-parser.patch 266
MD5 3962179c22e4349945b01edbadfac9a5 files/digest-spim-6.5-r1 60
-MD5 e2af6a0e5ca4267cfad9f1bf5e954655 files/digest-spim-7.0 60
-MD5 687579cae8dc43834d01a92be664c826 files/spim-6.5-font.patch 362
MD5 d07cf1bbff97319734f9f85a3395ffa8 files/spim-7.0-font.patch 441
+MD5 df8dcbb83771ccb4cccb7006b9a9d1ff files/spim-7.1-font.patch 436
+MD5 e2af6a0e5ca4267cfad9f1bf5e954655 files/digest-spim-7.0 60
+MD5 1e56da59f31f01ba293a6c05cc257a5a files/digest-spim-7.1 60
diff --git a/app-emulation/spim/files/digest-spim-7.1 b/app-emulation/spim/files/digest-spim-7.1
new file mode 100644
index 000000000000..e6da8f9b86c7
--- /dev/null
+++ b/app-emulation/spim/files/digest-spim-7.1
@@ -0,0 +1 @@
+MD5 24546da54bca92d96bf2ea284e81d6eb spim-7.1.tar.gz 307599
diff --git a/app-emulation/spim/files/spim-7.1-font.patch b/app-emulation/spim/files/spim-7.1-font.patch
new file mode 100644
index 000000000000..bb250000628b
--- /dev/null
+++ b/app-emulation/spim/files/spim-7.1-font.patch
@@ -0,0 +1,11 @@
+--- spim-7.1/xspim.c 2005-07-23 17:27:08.000000000 +0000
++++ spim-7.1/xspim.c 2005-07-23 17:27:16.000000000 +0000
+@@ -416,7 +416,7 @@
+
+ toplevel = XtAppInitialize (&app_context, "Xspim", options,
+ XtNumber (options), &argc, argv,
+- fallback_resources, NULL, ZERO);
++ NULL, NULL, ZERO);
+
+ if (argc >= 0 && argv[argc] != NULL && argv[argc][0] == '-')
+ syntax (argv[0]); /* Bad command line argument */
diff --git a/app-emulation/spim/spim-7.1.ebuild b/app-emulation/spim/spim-7.1.ebuild
new file mode 100644
index 000000000000..08a34786e75b
--- /dev/null
+++ b/app-emulation/spim/spim-7.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.1.ebuild,v 1.1 2005/07/24 22:03:32 compnerd Exp $
+
+inherit eutils
+
+DESCRIPTION="MIPS Simulator"
+HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 -amd64 ~ppc ~ppc-macos"
+IUSE="X"
+
+RDEPEND="X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+RESTRICT="maketest"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # The font issue is still with us (Bug #73510)
+ epatch ${FILESDIR}/${P}-font.patch
+}
+
+src_compile() {
+ ./Configure || die "Configure Failed!"
+
+ 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:" \
+ Imakefile
+
+ # Tests need these changes, however, they require make install
+ # -e "s:\(CSH = \).*$:\1bash:" \
+ # -e "s:tail -2:tail -n2:" Imakefile
+
+ xmkmf
+ emake spim || die "Unable to compile spim"
+ if [ $(use X) ] ; then
+ emake xspim || die "Unable to compile xspim"
+ fi
+}
+
+src_install() {
+ dodir /var/lib/spim
+ make install DESTDIR=${D} || die "Unable to install spim"
+
+ newman spim.man spim.1
+ use X && newman xspim.man xspim.1
+ dodoc BLURB README VERSION ChangeLog Documentation/*
+}