[Pkg-cli-apps-commits] [SCM] monodevelop-debugger-mdb branch, master, updated. b781e350b65b73de857d8de64863da46170392ee
Mirco Bauer
meebey at meebey.net
Mon Feb 23 23:31:08 UTC 2009
The following commit has been merged in the master branch:
commit 70e608401fbf94892612462db8729e3748220abd
Author: Mirco Bauer <meebey at meebey.net>
Date: Sat Feb 21 14:00:35 2009 +0100
- added quilt to build-deps
- made patch to use csc as compiler
diff --git a/debian/changelog b/debian/changelog
index 88fa09e..d9abf9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
monodevelop-debugger-mdb (1.9.2-1~pre1) UNRELEASED; urgency=low
- * Initial release.
- * TODO: patch build-system to use csc
+ * Initial release. (Closes: #516433)
-- Mirco Bauer <meebey at debian.org> Sun, 15 Feb 2009 22:36:42 +0100
diff --git a/debian/control b/debian/control
index c758da6..f3c7a41 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Debian CLI Applications Team <pkg-cli-apps-team at lists.alioth.debian.org>
Uploaders: Mirco Bauer <meebey at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), quilt
Build-Depends-Indep: cli-common-dev (>= 0.5.7),
mono-devel (>= 2.0),
monodevelop (>= 1.9.2),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..45e61c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_csc_compiler
diff --git a/debian/patches/use_csc_compiler b/debian/patches/use_csc_compiler
new file mode 100644
index 0000000..6d8b4bf
--- /dev/null
+++ b/debian/patches/use_csc_compiler
@@ -0,0 +1,40 @@
+--- monodevelop-debugger-mdb-1.9.2.orig/Mono.Debugging.Backend.Mdb/Makefile
++++ monodevelop-debugger-mdb-1.9.2/Mono.Debugging.Backend.Mdb/Makefile
+@@ -9,7 +9,7 @@
+ include $(top_srcdir)/config.make
+
+ ifeq ($(CONFIG),DEBUG)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
+
+ ASSEMBLY = ../build/DebuggerClient.dll
+@@ -23,7 +23,7 @@
+ endif
+
+ ifeq ($(CONFIG),RELEASE)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG "-define:TRACE"
+
+ ASSEMBLY = bin/Release/DebuggerClient.dll
+--- monodevelop-debugger-mdb-1.9.2.orig/Mono.Debugging.Server.Mdb/Makefile
++++ monodevelop-debugger-mdb-1.9.2/Mono.Debugging.Server.Mdb/Makefile
+@@ -9,7 +9,7 @@
+ include $(top_srcdir)/config.make
+
+ ifeq ($(CONFIG),DEBUG)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
+
+ ASSEMBLY = ../build/DebuggerServer.exe
+@@ -21,7 +21,7 @@
+ endif
+
+ ifeq ($(CONFIG),RELEASE)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG "-define:TRACE"
+
+ ASSEMBLY = ../build/DebuggerServer.exe
diff --git a/debian/rules b/debian/rules
index 68fb712..eac3335 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,10 @@ DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^
VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
include /usr/share/cli-common/cli.make
+include /usr/share/quilt/quilt.make
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh build --before dh_auto_configure
./configure --prefix=/usr
dh build --after dh_auto_configure
@@ -28,12 +29,13 @@ binary-arch:
binary-indep: build install
dh $@
-clean:
- dh $@ --before dh_auto_clean
+clean: clean-patched unpatch
+clean-patched:
+ dh clean --before dh_auto_clean
if [ -f config.make ]; then \
dh_auto_clean; \
fi
- dh $@ --after dh_auto_clean
+ dh clean --after dh_auto_clean
get-orig-source:
uscan \
--
monodevelop-debugger-mdb
More information about the Pkg-cli-apps-commits
mailing list