[Pkg-mono-svn-commits] rev 2626 - in non-group/nunit/trunk/debian:
. patches
Jelmer Vernooij
ctrlsoft-guest at costa.debian.org
Thu Jul 13 19:09:15 UTC 2006
Author: ctrlsoft-guest
Date: 2006-07-13 19:09:14 +0000 (Thu, 13 Jul 2006)
New Revision: 2626
Added:
non-group/nunit/trunk/debian/patches/02_gui.dpatch
non-group/nunit/trunk/debian/policy.nunit.2.2.7.config
Modified:
non-group/nunit/trunk/debian/changelog
non-group/nunit/trunk/debian/control
non-group/nunit/trunk/debian/patches/00list
non-group/nunit/trunk/debian/rules
Log:
Add policy file, start packaging nunit-gui.
Modified: non-group/nunit/trunk/debian/changelog
===================================================================
--- non-group/nunit/trunk/debian/changelog 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/changelog 2006-07-13 19:09:14 UTC (rev 2626)
@@ -1,8 +1,10 @@
nunit (2.2.8-2) unstable; urgency=low
* Build mono-2.0 binaries.
+ * Add policy file to indicate compatibility with 2.2.7.
+ * Add binary package nunit-gui.
- -- Jelmer Vernooij <jelmer at samba.org> Tue, 20 Jun 2006 13:25:49 +0200
+ -- Jelmer Vernooij <jelmer at samba.org> Tue, 20 Jun 2006 13:50:41 +0200
nunit (2.2.8-1) unstable; urgency=low
Modified: non-group/nunit/trunk/debian/control
===================================================================
--- non-group/nunit/trunk/debian/control 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/control 2006-07-13 19:09:14 UTC (rev 2626)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Jelmer Vernooij <jelmer at samba.org>
Build-Depends: debhelper (>= 4.0.0), dpatch
-Build-Depends-Indep: mono-mcs (>= 1.0) | c-sharp-compiler, c-sharp-2.0-compiler, cli-common-dev (>= 0.4.0), libmono-dev (>= 1.0), nant (>= 0.84), mono-gac (>= 1.1.6)
+Build-Depends-Indep: mono-mcs (>= 1.0) | c-sharp-compiler, c-sharp-2.0-compiler, cli-common-dev (>= 0.4.0), libmono-dev (>= 1.0), nant (>= 0.84), mono-gac (>= 1.1.6), libmono-winforms1.0-cil, libmono-winforms2.0-cil
Standards-Version: 3.6.2.1
Package: nunit-console
@@ -18,6 +18,18 @@
.
This package contains the console front-end.
+Package: nunit-gui
+Architecture: all
+Depends: ${cli:Depends}
+Conflicts: libnunit-cil
+Description: Unit test framework for .NET
+ NUnit is a unit testing framework for all .NET languages. It serves the
+ same purpose as JUnit does in the Java world. It supports test
+ categories, testing for exceptions and writing test results in plain
+ text or XML.
+ .
+ This package contains the graphical front-end.
+
Package: libnunit2.2.6-cil
Architecture: all
Depends: ${cli:Depends}
@@ -42,7 +54,7 @@
Package: nunit
Architecture: all
-Depends: libnunit-doc, nunit-console, libnunit2.2.6-cil
+Depends: libnunit-doc, nunit-console, nunit-gui, libnunit2.2.6-cil
Description: Unit test framework for .NET
NUnit is a unit testing framework for all .NET languages. It serves the
same purpose as JUnit does in the Java world. It supports test
Modified: non-group/nunit/trunk/debian/patches/00list
===================================================================
--- non-group/nunit/trunk/debian/patches/00list 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/patches/00list 2006-07-13 19:09:14 UTC (rev 2626)
@@ -1 +1,2 @@
01_mono-2.0.dpatch
+02_gui.dpatch
Added: non-group/nunit/trunk/debian/patches/02_gui.dpatch
===================================================================
--- non-group/nunit/trunk/debian/patches/02_gui.dpatch 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/patches/02_gui.dpatch 2006-07-13 19:09:14 UTC (rev 2626)
@@ -0,0 +1,62 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_gui.dpatch by Jelmer Vernooij <jelmer at samba.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix dir seperator for POSIX
+
+ at DPATCH@
+
+diff -ur nunit-2.2.8/src/GuiComponents/UiKit/nunit.uikit.build nunit-2.2.8-orig/src/GuiComponents/UiKit/nunit.uikit.build
+--- nunit-2.2.8/src/GuiComponents/UiKit/nunit.uikit.build 2006-02-23 19:21:22.000000000 +0100
++++ nunit-2.2.8-orig/src/GuiComponents/UiKit/nunit.uikit.build 2006-07-13 19:15:59.000000000 +0200
+@@ -20,6 +20,9 @@
+ <references basedir="${current.build.dir}">
+ <include name="nunit.core.dll"/>
+ <include name="nunit.util.dll"/>
++ <include name="System.Windows.Forms.dll"/>
++ <include name="System.Data.dll"/>
++ <include name="System.Drawing.dll"/>
+ </references>
+ </csc>
+ </target>
+diff -ur nunit-2.2.8/src/GuiRunner/nunit-gui/nunit-gui.build nunit-2.2.8-orig/src/GuiRunner/nunit-gui/nunit-gui.build
+--- nunit-2.2.8/src/GuiRunner/nunit-gui/nunit-gui.build 2005-12-09 08:43:52.000000000 +0100
++++ nunit-2.2.8-orig/src/GuiRunner/nunit-gui/nunit-gui.build 2006-07-13 19:16:18.000000000 +0200
+@@ -23,6 +23,8 @@
+ <include name="nunit.uikit.dll"/>
+ <include name="nunit.core.dll"/>
+ <include name="nunit.framework.dll"/>
++ <include name="System.Windows.Forms.dll"/>
++ <include name="System.Drawing.dll"/>
+ </references>
+ </csc>
+ </target>
+diff -ur nunit-2.2.8/src/nunit.build nunit-2.2.8-orig/src/nunit.build
+--- nunit-2.2.8/src/nunit.build 2006-02-11 14:22:42.000000000 +0100
++++ nunit-2.2.8-orig/src/nunit.build 2006-07-13 19:15:26.000000000 +0200
+@@ -212,11 +212,11 @@
+ <nant target="build"
+ buildfile="NUnitExtensions/NUnitExtensions.build"/>
+
+- <nant target="build" if="${build.win32}"
++ <nant target="build"
+ buildfile="NUnitTestServer/NUnitTestServer.build"/>
+- <nant target="build" if="${build.win32}"
++ <nant target="build"
+ buildfile="GuiComponents/GuiComponents.build"/>
+- <nant target="build" if="${build.win32}"
++ <nant target="build"
+ buildfile="GuiRunner/GuiRunner.build"/>
+
+ <!-- Build the Test Utilities and dummy projects -->
+diff -ur nunit-2.2.8/src/NUnitTestServer/nunit-server/nunit-server.build nunit-2.2.8-remoting/src/NUnitTestServer/nunit-server/nunit-server.build
+--- nunit-2.2.8/src/NUnitTestServer/nunit-server/nunit-server.build 2005-12-09 08:37:04.000000000 +0100
++++ nunit-2.2.8-remoting/src/NUnitTestServer/nunit-server/nunit-server.build 2006-07-13 19:27:18.000000000 +0200
+@@ -16,6 +16,7 @@
+ </sources>
+ <references basedir="${current.build.dir}">
+ <include name="nunit.core.dll"/>
++ <include name="System.Runtime.Remoting.dll"/>
+ </references>
+ </csc>
+ </target>
Property changes on: non-group/nunit/trunk/debian/patches/02_gui.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: non-group/nunit/trunk/debian/policy.nunit.2.2.7.config
===================================================================
--- non-group/nunit/trunk/debian/policy.nunit.2.2.7.config 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/policy.nunit.2.2.7.config 2006-07-13 19:09:14 UTC (rev 2626)
@@ -0,0 +1,13 @@
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="nunit.core" publicKeyToken="96d09a1eb7f44a77"/>
+ <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77"/>
+ <assemblyIdentity name="nunit.util" publicKeyToken="96d09a1eb7f44a77"/>
+
+ <bindingRedirect oldVersion="2.2.7.0" newVersion="2.2.8.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
Modified: non-group/nunit/trunk/debian/rules
===================================================================
--- non-group/nunit/trunk/debian/rules 2006-07-12 21:27:27 UTC (rev 2625)
+++ non-group/nunit/trunk/debian/rules 2006-07-13 19:09:14 UTC (rev 2626)
@@ -37,6 +37,7 @@
gacutil -root debian/libnunit2.2.6-cil/usr/lib -i $(BUILDDIR)/nunit.core.dll
gacutil -root debian/libnunit2.2.6-cil/usr/lib -i $(BUILDDIR)/nunit.util.dll
dh_install -p nunit-console $(BUILDDIR)/nunit-console*.dll $(BUILDDIR)/nunit-console.exe* /usr/lib/nunit/
+ dh_install -p nunit-gui $(BUILDDIR)/nunit-gui*.dll $(BUILDDIR)/nunit-gui.exe* /usr/lib/nunit/
dh_install -p libnunit2.2.6-cil $(BUILDDIR)/nunit.core.dll \
$(BUILDDIR)/nunit.core.extensions.dll \
$(BUILDDIR)/nunit.framework.dll \
@@ -52,6 +53,10 @@
-cd $(CURDIR)/debian && find -type f -name "*.exe" -exec chmod +x {} \;
-cd $(CURDIR)/debian && find -type f -name "*.dll" -exec chmod -x {} \;
+ # Compatibility with 2.2.7
+ al -link:policy.nunit.2.2.7.config -out:policy.2.2.7.nunit.dll -keyfile:src/nunit.snk
+ gacutil /i policy.2.2.7.nunit.dll
+
binary-indep: install
dh_testdir -i
dh_testroot -i
More information about the Pkg-mono-svn-commits
mailing list