Package: mono Version: 3.2.8+dfsg-10 Severity: wishlist Tags: patch Hi,
I'd like to provide a wine-mono package based on the mono source in Debian, and to do this I'd need a mono-source package (in the same style as gcc-4.9-source, binutils-source etc.). (Or source build-dependencies but that's a way off...) The attached patch implements this. Regards, Stephen
diff -Nru mono-3.2.8+dfsg/debian/control mono-3.2.8+dfsg/debian/control --- mono-3.2.8+dfsg/debian/control 2015-03-19 11:28:11.000000000 +0100 +++ mono-3.2.8+dfsg/debian/control 2015-05-14 11:53:44.000000000 +0200 @@ -3436,6 +3436,19 @@ For examples and a brief overview of the commands see: http://www.mono-project.com/CsharpRepl +Package: mono-source +Section: devel +Architecture: all +Description: Mono source code + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Xamarin. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains an archive of the source code used to build the + Mono packages in Debian. + Package: monodoc-base Architecture: all Depends: ${misc:Depends}, ${cli:Depends} diff -Nru mono-3.2.8+dfsg/debian/mono-source.install mono-3.2.8+dfsg/debian/mono-source.install --- mono-3.2.8+dfsg/debian/mono-source.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-3.2.8+dfsg/debian/mono-source.install 2015-05-14 15:17:09.000000000 +0200 @@ -0,0 +1 @@ +debian/mono-source.tar* usr/src diff -Nru mono-3.2.8+dfsg/debian/rules mono-3.2.8+dfsg/debian/rules --- mono-3.2.8+dfsg/debian/rules 2015-03-19 11:28:11.000000000 +0100 +++ mono-3.2.8+dfsg/debian/rules 2015-05-14 15:17:16.000000000 +0200 @@ -84,8 +84,13 @@ MONO_MAKE_FLAGS += -j$(NUMJOBS) endif +source: source-stamp +source-stamp: + cd $(DEBIAN_DIR) && tar cJf mono-source.tar.xz --exclude=mono-source.tar.xz -C ../.. $$(cd ..; basename $$(pwd)) + touch $@ + autoreconf: autoreconf-stamp -autoreconf-stamp: +autoreconf-stamp: source-stamp autoreconf -f -i -s touch $@