--- spim-7.2.1.orig/spim/Makefile +++ spim-7.2.1/spim/Makefile @@ -91,7 +91,7 @@ DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER=$(EXCEPTION_PATH) -DSPIM_VERSION="\"`cat ../VERSION`\"" CC = gcc -CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall +CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) $(CDEBUGFLAGS) YFLAGS = -d --file-prefix=y YCFLAGS = LDFLAGS = -lm --- spim-7.2.1.orig/xspim/Imakefile +++ spim-7.2.1/xspim/Imakefile @@ -41,7 +41,7 @@ # Full path for the exception handler file: #EXCEPTION_PATH = /usr/local/lib/exceptions.s # Use this path for testing: -EXCEPTION_PATH = $(CPU_DIR)/exceptions.s +EXCEPTION_PATH = $(EXCEPTION_DIR)/exceptions.s # If you have flex, use it instead of lex. If you use flex, define this # variable and set LEXFLAGS. --- spim-7.2.1.orig/debian/changelog +++ spim-7.2.1/debian/changelog @@ -0,0 +1,125 @@ +spim (7.2.1-1) unstable; urgency=low + + * QA upload. + * New upstream release. + * Package is orphaned (#354501); set maintainer to Debian QA Group. + * Acknowledge NMU. Closes: #326097, #346936, #349389. + * Add a build dependency on bison. + * Change priority to extra in accordance with the override file. + * Install upstream changelog. + * Switch to debhelper 5. + * spim/Makefile: Allow optimization flags to be overridden. + * debian/rules: + - Add support for DEB_BUILD_OPTIONS=noopt. + - Use dh_install rather than (buggy) upstream Makefiles. + * debian/watch: Add. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Tue, 16 May 2006 19:33:57 -0500 + +spim (7.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Replace build-dependency on xlibs-dev with an explicit build-dependency + on each required package. (Closes: #346936) + * Don't re-declare static variables as non-static; fixes FTBFS on gcc-4.0, + patch from Andreas Jochens. (Closes: #326097) + + -- Steinar H. Gunderson Sun, 22 Jan 2006 19:11:29 +0100 + +spim (7.1-1) unstable; urgency=low + + * New upstream version (Closes: Bug#271608) + * Added Build-Depends on flex and debhelper (>= 4) + * Created debian/compat (V4) + * Updated Standards-Version to 3.6.2 + * Fixed unquoted strings in spim.menu + * Switched to dh_installman instead of dh_installmanpages + + -- Fernando Sanchez Sun, 3 Jul 2005 16:25:11 +0200 + +spim (6.5-1) unstable; urgency=low + + * New upstream release (Closes: Bug#178264) + * Added libxaw7-dev instead of libxaw-dev to build-depends. It already + depended on xutils so there is no need to add it (Closes: Bug#102515) + + -- Fernando Sanchez Fri, 24 Jan 2003 21:23:48 +0100 + +spim (6.4-2) unstable; urgency=low + + * Added libxaw-dev and xlibs-dev to build-depends (Closes: Bug#139062) + + -- Fernando Sanchez Tue, 19 Mar 2002 16:58:57 +0100 + +spim (6.4-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Fri, 8 Mar 2002 18:37:26 +0100 + +spim (6.3-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Wed, 24 Jan 2001 14:05:34 +0100 + +spim (6.2-3) unstable; urgency=low + + * Compiled with current Debian libraries to ensure correct operation + * Changed Standards-Version to 3.0.1 + * Added menu entry for spim and xspim binaries + * Renamed spim man page from spim.1x.gz to spim.1.gz + + -- Fernando Sanchez Sun, 19 Dec 1999 21:48:00 +0100 + +spim (6.2-2) unstable; urgency=low + + * Compiled with current potato libraries + * Packaged following FHS documentation placement rules + + -- Fernando Sanchez Sun, 12 Sep 1999 16:05:08 +0200 + +spim (6.2-1) unstable; urgency=low + + * New maintainer: Fernando Sanchez + * New upstream source + + -- Fernando Sanchez Sat, 13 Feb 1999 19:15:51 +0100 + +spim (6.1-3) frozen non-free; urgency=low + + * Reuploading so that spim can make it out of orphaned. + + -- Jay Kominek Sun, 15 Mar 1998 15:37:43 -0500 + +spim (6.1-2) non-free; urgency=low + + * Included the Tests directory with the package. + + -- Jay Kominek Mon, 9 Mar 1998 17:19:51 -0500 + +spim (6.1-1) non-free; urgency=low + + * New upstream release. + + -- Jay Kominek Fri, 20 Feb 1998 22:24:44 -0500 + +spim (6.0-3) non-free; urgency=low + + * Moved into non-free. (Fixes bug #14956) + + -- Jay Kominek Thu, 20 Nov 1997 15:27:39 -0500 + +spim (6.0-2) unstable; urgency=low + + * Compiled for Libc6. + + -- Jay Kominek Fri, 7 Nov 1997 23:46:19 -0500 + +spim (6.0-1) unstable; urgency=low + + * Initial Release. + + -- Jay Kominek Wed, 3 Sep 1997 17:30:03 -0400 + --- spim-7.2.1.orig/debian/compat +++ spim-7.2.1/debian/compat @@ -0,0 +1 @@ +5 --- spim-7.2.1.orig/debian/control +++ spim-7.2.1/debian/control @@ -0,0 +1,13 @@ +Source: spim +Section: non-free/electronics +Priority: extra +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5), bison, flex, xutils, libx11-dev, libxt-dev, x-dev, libxaw7-dev +Standards-Version: 3.7.2 + +Package: spim +Architecture: any +Depends: ${shlibs:Depends} ${misc:Depends} +Description: MIPS R2000/R3000 emulator + Emulates a MIPS R2000/R3000 processor in software. + Useful for students who are taught MIPS R2000/R3000 assembly. --- spim-7.2.1.orig/debian/copyright +++ spim-7.2.1/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Fernando Sanchez fer@debian.org on +Sun, 14 Feb 1999 13:59:18 +0100. + +It was downloaded from http://www.cs.wisc.edu/~larus/SPIM/ + +Upstream Author: James R. Larus + +Copyright: + +SPIM is copyrighted by James R. Larus and distributed under the +following conditions: + + You may make copies of SPIM for your own use and modify those copies. + + All copies of SPIM must retain my name and copyright notice. + + You may not sell SPIM or distributed SPIM in conjunction with a + commercial product or service without the expressed written consent of + James Larus. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +Note: James Larus has clarified his license in regards to how it relates to +packaging and redistribution. He welcomes the packaging and redistribution +via other media, as long as his copyright is retained and source code is +distributed. --- spim-7.2.1.orig/debian/docs +++ spim-7.2.1/debian/docs @@ -0,0 +1,5 @@ +README +Documentation/BLURB +Documentation/SPIM.html +Documentation/TeX/*.ps +Tests --- spim-7.2.1.orig/debian/install +++ spim-7.2.1/debian/install @@ -0,0 +1,2 @@ +spim/spim xspim/xspim usr/bin +CPU/exceptions.s usr/lib/spim --- spim-7.2.1.orig/debian/manpages +++ spim-7.2.1/debian/manpages @@ -0,0 +1,2 @@ +Documentation/spim.man +Documentation/xspim.man --- spim-7.2.1.orig/debian/menu +++ spim-7.2.1/debian/menu @@ -0,0 +1,4 @@ +?package(spim):needs="X11" section="Apps/Technical"\ + title="XSPIM" command="/usr/bin/xspim" +?package(spim):needs="text" section="Apps/Technical"\ + title="SPIM" command="/usr/bin/spim" --- spim-7.2.1.orig/debian/rules +++ spim-7.2.1/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +MAKE += CDEBUGFLAGS="$(CFLAGS)" EXCEPTION_DIR=/usr/lib/spim + +build: build-stamp +build-stamp: + dh_testdir + + cd spim && $(MAKE) spim + cd xspim && xmkmf && $(MAKE) xspim + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + cd spim && $(MAKE) very-clean + cd xspim && { [ ! -f Makefile ] || $(MAKE) distclean; } + rm -f Tests/tt.endian.s Tests/tt.s + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- spim-7.2.1.orig/debian/watch +++ spim-7.2.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.cs.wisc.edu/~larus/SPIM/spim-(.*)\.tar\.gz