[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#577087: ITP: spim -- MIPS R2000/R3000 emulator



On 10/04/2010 19:35, Mackenzie Morgan wrote:
> Hi I'm the person maintaining it in Ubuntu.  I already uploaded a package to 
> Debian Mentors about a month ago. Mako said he would sponsor it.

Yes. Would you like us to form a team (there is not much work on this
package anyway)? The difference between our two packagings:

1) I used a 3.0 (quilt) format with very simple rules file:

#!/usr/bin/make -f
%:
	dh $@
override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

and one patch that I would like to transmit upstream:

Index: spim/Makefile
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ spim/Makefile	2010-04-09 15:11:35.000000000 +0200
@@ -0,0 +1,9 @@
+MAKE += CC="$(CC) -Wl,--as-needed" CDEBFLAGS="$(CFLAGS)"
EXCEPTION_DIR=/usr/lib/spim
+build:
+	cd spim && $(MAKE) spim
+	cd xspim && xmkmf && $(MAKE) xspim
+clean:
+	cd spim && $(MAKE) very-clean
+	cd xspim && { [ ! -f Makefile ] || $(MAKE) distclean; }
+	rm -f Tests/tt.endian.s Tests/tt.s
+.PHONY: build clean
Index: spim/spim/Makefile
===================================================================
--- spim.orig/spim/Makefile	2010-01-09 06:22:57.000000000 +0100
+++ spim/spim/Makefile	2010-04-09 15:12:02.000000000 +0200
@@ -105,7 +105,7 @@
 DEFINES = $(ENDIAN) $(MEM_SIZES)
-DDEFAULT_EXCEPTION_HANDLER="\"$(EXCEPTION_DIR)/exceptions.s\""
-DSPIM_VERSION="\"`cat ../VERSION`\""

 CC = gcc
-CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall
+CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) $(CDEBFLAGS)
 YFLAGS = -d --file-prefix=y
 YCFLAGS =
 LDFLAGS = -lm


2) I removed the cycle.ps file from the documentation (no source for it)

3) You added a .desktop file


I think I can merge both packagings in one, provided you are ok with that.
-- 
Jean-Christophe Dubacq



Reply to: