--- db4o-7.4.121.14026+dfsg.orig/debian/control
+++ db4o-7.4.121.14026+dfsg/debian/control
@@ -0,0 +1,72 @@
+Source: db4o
+Section: cli-mono
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
+Uploaders: Jose Carlos Garcia Sogo <jsogo@debian.org>, Mirco Bauer <meebey@debian.org>, Sebastian Dröge <slomo@debian.org>
+Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7~)
+Build-Depends-Indep: cli-common-dev (>= 0.5.7),
+ mono-devel (>= 2.4.2.3),
+ libmono-cecil-cil-dev,
+ libmono-cecil-flowanalysis-cil-dev,
+ pkg-config,
+ monodoc-base
+Standards-Version: 3.8.4
+Homepage: http://www.db4o.com/
+Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/db4o.git
+Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/db4o.git
+
+Package: libdb4o7.4-cil
+Architecture: all
+Replaces: libdb4o6.1-cil, libdb4o6.0-cil
+Conflicts: libdb4o6.1-cil, libdb4o6.0-cil
+Suggests: libdb4o-doc, monodoc-db4o-manual
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}
+Description: native OODBMS for CLI
+ db4o is the open source object database that enables Java and .NET developers
+ to store and retrieve any application object with only one line of code,
+ eliminating the need to predefine or maintain a separate, rigid data model.
+ .
+ This is the native CLI version of db4o for Mono and Microsoft .NET Framework,
+ but there is also a native Java version, check http://www.db4o.com.
+
+Package: libdb4o-cil-dev
+Architecture: all
+Replaces: libdb4o6.1-cil, libdb4o6.0-cil
+Suggests: libdb4o-doc, monodoc-db4o-manual
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends},
+         libdb4o7.4-cil (= ${binary:Version})
+Description: native OODBMS for CLI - development files
+ db4o is the open source object database that enables Java and .NET developers
+ to store and retrieve any application object with only one line of code,
+ eliminating the need to predefine or maintain a separate, rigid data model.
+ .
+ This is the native CLI version of db4o for Mono and Microsoft .NET Framework,
+ but there is also a native Java version, check http://www.db4o.com.
+ .
+ This package contains development files for the db4o library, and should be
+ for compilation
+
+Package: libdb4o-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: www-browser | xchm | kchmviewer
+Description: native OODBMS for CLI (documentation)
+ db4o is the open source object database that enables Java and .NET developers
+ to store and retrieve any application object with only one line of code,
+ eliminating the need to predefine or maintain a separate, rigid data model.
+ .
+ This package contains API reference and tutorial on db4o in HTML form.
+
+Package: monodoc-db4o-manual
+Section: doc
+Architecture: all
+Depends: monodoc-manual, ${misc:Depends}
+Description: compiled XML documentation for db4o
+ db4o is the open source object database that enables Java and .NET developers
+ to store and retrieve any application object with only one line of code,
+ eliminating the need to predefine or maintain a separate, rigid data model.
+ .
+ This package contains the compiled XML documentation for db4o.
--- db4o-7.4.121.14026+dfsg.orig/debian/libdb4o7.4-cil.install
+++ db4o-7.4.121.14026+dfsg/debian/libdb4o7.4-cil.install
@@ -0,0 +1,12 @@
+usr/bin/
+usr/lib/db4o/*.exe					/usr/lib/db4o/
+usr/lib/db4o/Mono.Cecil.dll				/usr/lib/db4o/
+usr/lib/db4o/Mono.Cecil.dll				/usr/lib/cli/Db4objects.Db4o-7.4/
+usr/lib/db4o/Db4objects.Db4o.dll			/usr/lib/cli/Db4objects.Db4o-7.4/
+usr/lib/db4o/Db4objects.Db4o.Linq.dll			/usr/lib/cli/Db4objects.Db4o.Linq-7.4/
+usr/lib/db4o/Mono.Cecil.dll				/usr/lib/cli/Db4objects.Db4o.Linq-7.4/
+usr/lib/db4o/Db4objects.Db4o.Instrumentation.dll	/usr/lib/cli/Db4objects.Db4o.Instrumentation-7.4/
+usr/lib/db4o/Mono.Cecil.dll				/usr/lib/cli/Db4objects.Db4o.Instrumentation-7.4/
+usr/lib/db4o/Db4objects.Db4o.NativeQueries.dll		/usr/lib/cli/Db4objects.Db4o.NativeQueries-7.4/
+usr/lib/db4o/Mono.Cecil.dll				/usr/lib/cli/Db4objects.Db4o.NativeQueries-7.4/
+
--- db4o-7.4.121.14026+dfsg.orig/debian/compat
+++ db4o-7.4.121.14026+dfsg/debian/compat
@@ -0,0 +1 @@
+7
--- db4o-7.4.121.14026+dfsg.orig/debian/rules
+++ db4o-7.4.121.14026+dfsg/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+DEB_CLI_ABI_VERSION = 7.4
+DEB_CLI_API_VERSION = 7.4.121.14026
+
+include /usr/share/cli-common/cli.make
+include /usr/share/quilt/quilt.make
+
+override_dh_auto_build:
+	[ -d $(CURDIR)/src/bin ] || mkdir -p $(CURDIR)/src/bin
+	cp $(shell pkg-config --variable=Libraries mono-cecil) $(CURDIR)/src/bin/
+
+	dh_auto_build -D src -- MCS=/usr/bin/mono-csc core instr nq tool linq
+	mdoc update \
+	  -i $(CURDIR)/src/bin/Db4objects.Db4o.dll.xml \
+	  -o $(CURDIR)/src/bin/monodocer \
+	  $(CURDIR)/src/bin/Db4objects.Db4o.dll
+	mdoc assemble \
+	  -f ecma \
+	  -o $(CURDIR)/src/bin/Db4objects.Db4o \
+	  $(CURDIR)/src/bin/monodocer
+
+override_dh_auto_clean:
+	dh_auto_clean -D src
+	rm -rf src/bin
+
+override_dh_auto_install:
+	# <$(MAKE) install>
+
+	# db4o libs / admin tool
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/db4o
+	cp $(CURDIR)/src/bin/*.dll $(CURDIR)/debian/tmp/usr/lib/db4o/
+	cp $(CURDIR)/src/bin/*.exe $(CURDIR)/debian/tmp/usr/lib/db4o/
+	
+	# db4otool shell wrapper
+	mkdir -p $(CURDIR)/debian/tmp/usr/bin
+	cp $(CURDIR)/debian/db4otool $(CURDIR)/debian/tmp/usr/bin/
+	chmod +x $(CURDIR)/debian/tmp/usr/bin/db4otool
+
+	# db4o docs
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/db4o
+	cp -r $(CURDIR)/doc $(CURDIR)/debian/tmp/usr/share/db4o/
+
+	# db4o monodoc docs
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/monodoc/sources/
+	cp $(CURDIR)/debian/Db4objects.Db4o.source \
+	   $(CURDIR)/src/bin/Db4objects.Db4o.tree \
+	   $(CURDIR)/src/bin/Db4objects.Db4o.zip \
+	   $(CURDIR)/debian/tmp/usr/lib/monodoc/sources/
+
+	# </$(MAKE) install>
+
+	# convert db4o.chm to HTML
+        # no don't, we can't build this any more
+	#extract_chmLib $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/db4o.chm $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/html/
+	#ln -s html/R_Project.htm $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/html/index.html
+	#mkdir -p $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/chm
+	#mv $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/db4o.chm \
+	#   $(CURDIR)/debian/tmp/usr/share/db4o/doc/api/chm/
+		
+	# pkg-config
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/pkgconfig
+	cp debian/db4o.pc $(CURDIR)/debian/tmp/usr/lib/pkgconfig/
+
+	perl -pe 's/#PACKAGE_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/g' -i \
+	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/db4o.pc
+	dh_auto_install
+
+override_dh_compress:
+	dh_compress -i -Xapi/ -Xtutorial/ -Xreference/
+
+override_dh_makeclilibs:
+	dh_makeclilibs -i -m $(DEB_CLI_API_VERSION)
+
+%:
+	dh --with=quilt $@
--- db4o-7.4.121.14026+dfsg.orig/debian/README.source
+++ db4o-7.4.121.14026+dfsg/debian/README.source
@@ -0,0 +1,58 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+                break
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
--- db4o-7.4.121.14026+dfsg.orig/debian/libdb4o-doc.docs
+++ db4o-7.4.121.14026+dfsg/debian/libdb4o-doc.docs
@@ -0,0 +1 @@
+debian/tmp/usr/share/db4o/doc/*
--- db4o-7.4.121.14026+dfsg.orig/debian/db4o.pc
+++ db4o-7.4.121.14026+dfsg/debian/db4o.pc
@@ -0,0 +1,8 @@
+prefix=/usr
+libdir=${prefix}/lib
+pkglibdir=${libdir}/cli/
+
+Name: db4o
+Description: db4o - native OODBMS for CLI
+Version: #PACKAGE_ABI_VERSION#
+Libs: -r:${pkglibdir}/Db4objects.Db4o-#PACKAGE_ABI_VERSION#/Db4objects.Db4o.dll -r:${pkglibdir}/Db4objects.Db4o.NativeQueries-#PACKAGE_ABI_VERSION#/Db4objects.Db4o.NativeQueries.dll -r:${pkglibdir}/Db4objects.Db4o.Instrumentation-#PACKAGE_ABI_VERSION#/Db4objects.Db4o.Instrumentation.dll -r:${pkglibdir}/Db4objects.Db4o.Linq-#PACKAGE_ABI_VERSION#/Db4objects.Db4o.Linq.dll
--- db4o-7.4.121.14026+dfsg.orig/debian/libdb4o-cil-dev.install
+++ db4o-7.4.121.14026+dfsg/debian/libdb4o-cil-dev.install
@@ -0,0 +1 @@
+usr/lib/pkgconfig
--- db4o-7.4.121.14026+dfsg.orig/debian/Db4objects.Db4o.source
+++ db4o-7.4.121.14026+dfsg/debian/Db4objects.Db4o.source
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<monodoc>
+  <source provider="ecma" basefile="Db4objects.Db4o" path="db4o" title="db4o"/>
+</monodoc>
--- db4o-7.4.121.14026+dfsg.orig/debian/update_src_dos2unix.sh
+++ db4o-7.4.121.14026+dfsg/debian/update_src_dos2unix.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Description:  Updates upstream source files to fix all newlines
+# Author:       Mirco Bauer <meebey@debian.org>
+# License:      GPL-2
+
+echo "Converting all Makefiles (dos2unix)"
+find -name "Makefile" -exec dos2unix {} \;
--- db4o-7.4.121.14026+dfsg.orig/debian/db4otool
+++ db4o-7.4.121.14026+dfsg/debian/db4otool
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/bin/cli /usr/lib/db4o/Db4oTool.exe "$@"
--- db4o-7.4.121.14026+dfsg.orig/debian/changelog
+++ db4o-7.4.121.14026+dfsg/debian/changelog
@@ -0,0 +1,245 @@
+db4o (7.4.121.14026+dfsg-3) unstable; urgency=low
+
+  * debian/db4o.pc,
+    debian/control:
+    + Actually, DON'T add a Requires for mono-cecil.
+  * debian/libdb4o7.4-cil.install:
+    + Copy Mono.Cecil to each of the four /usr/lib/cli output directories,
+      since it's a private lib and they all reference it.
+
+ -- Jo Shields <directhex@apebox.org>  Sun, 25 Jul 2010 13:24:29 +0100
+
+db4o (7.4.121.14026+dfsg-2) unstable; urgency=low
+
+  * debian/db4o.pc:
+    + Include all four db4o assemblies in the pkgconfig file's references,
+      not just the main db4o assembly.
+  * debian/rules:
+    + Ensure regular expression dealing with ABI versioning in db4o.pc is
+      greedy, since we have multiple substitutions per line now.
+  * debian/db4o.pc,
+    debian/control:
+    + Ensure db4o.pc requires mono-cecil.pc (and that the -dev package
+      also does so).
+
+ -- Jo Shields <directhex@apebox.org>  Sun, 25 Jul 2010 12:09:58 +0100
+
+db4o (7.4.121.14026+dfsg-1) unstable; urgency=low
+
+  [ David Paleino ]
+  * debian/control:
+    - Vcs-* fields updated, package moved to Git
+    - moved from Section libs to cli-mono
+    - replaced Build-Dependency on dpatch with quilt
+    - bumped B-D on quilt (>= 0.46-7~), debhelper (>= 7.0.50) and
+      cli-common-dev (>= 0.5.7)
+  * debian/rules:
+    - fixed monodoc calls to use mdoc (Closes: #534009)
+    - include quilt makefile instead of dpatch's
+    - rewritten using overriden targets and dh7
+  * debian/patches/* converted to quilt
+
+  [ Jo Shields ]
+  * debian/libdb4o7.4-cil.install*,
+    debian/rules,
+    debian/db4o.pc:
+    + CLI Policy 0.7 install location
+  * debian/copyright:
+    + Update for new license & new company name
+
+  [ Iain Lane ]
+  * debian/patches/01-dos2unix.patch: Regenerate; didn't apply before
+  * debian/rules:
+    + Update to be more DH7ish
+    + Use mono-csc as compiler, per latest CLI policy
+  * debian/control: Bump mono-devel build-dep to >= 2.4.2.3 to have mono-csc
+    available
+  * debian/compat: Use compat level 7 so that dh_install looks in debian/tmp
+    without having to be explicitly told so
+  * New upstream version 7.4.121.14026 (which now builds. Closes: #534009), 
+    DFSGed to remove precompiled binaries from the tarball. Here is a list of
+    the deleted binaries:
+    - omn2008/ObjectManagerEnterprise-vs2008-7.4.msi
+    - src/Libs/net-2.0/Mono.GetOptions.dll
+    - src/Libs/net-2.0/Cecil.FlowAnalysis.dll
+    - src/Libs/net-2.0/Mono.Cecil.dll
+    - src/Libs/net-2.0/Mono.Cecil.Pdb.dll
+    - src/Libs/compact-2.0/Cecil.FlowAnalysis.dll
+    - src/Libs/compact-2.0/Mono.Cecil.dll
+    - omn2005/ObjectManagerEnterprise-vs2005-7.4.msi
+    - bin/net-2.0/Mono.GetOptions.dll
+    - bin/net-2.0/Db4objects.Db4o.dll
+    - bin/net-2.0/Db4oTool.MSBuild.dll
+    - bin/net-2.0/Cecil.FlowAnalysis.dll
+    - bin/net-2.0/Db4objects.Db4o.NativeQueries.dll
+    - bin/net-2.0/Db4objects.Drs.dll
+    - bin/net-2.0/Db4oBench.dll
+    - bin/net-2.0/Mono.Cecil.dll
+    - bin/net-2.0/Db4objects.Db4o.Instrumentation.dll
+    - bin/net-2.0/Mono.Cecil.Pdb.dll
+    - bin/net-2.0/Db4oTool.exe
+    - bin/compact-2.0/Db4objects.Db4o.dll
+    - bin/compact-2.0/Cecil.FlowAnalysis.dll
+    - bin/compact-2.0/Db4objects.Db4o.NativeQueries.dll
+    - bin/compact-2.0/Db4oBench.dll
+    - bin/compact-2.0/Mono.Cecil.dll
+    - bin/compact-2.0/Db4objects.Db4o.Instrumentation.dll
+    - doc/tutorial/db4o-7.4-tutorial.pdf
+    - doc/tutorial/bin/Db4objects.Db4o.dll
+    - doc/tutorial/bin/WeifenLuo.WinFormsUI.dll
+    - doc/tutorial/bin/Cecil.FlowAnalysis.dll
+    - doc/tutorial/bin/SHDocVw.dll
+    - doc/tutorial/bin/Db4oBench.dll
+    - doc/tutorial/bin/Mono.Cecil.dll
+    - doc/tutorial/bin/Db4objects.Db4o.Linq.dll
+    - doc/tutorial/bin/AxSHDocVw.dll
+    - doc/tutorial/bin/Db4objects.Db4o.Tutorial.Chapters.dll
+    - doc/tutorial/bin/Db4objects.Db4o.Tutorial.Console.exe
+    - doc/tutorial/Db4oTutorial.exe
+    - doc/api/db4o.chm
+  * debian/control: Update deps to point at -cil-dev packages 
+  * debian/patches/*: Refresh to apply cleanly
+  * debian/rules: Can no longer extract information from CHM documentation as
+    it has been dfsged out.
+  * debian/patches/04-update-relative-paths: Update buildsys to use correct
+    relative paths so that lib can be built 
+  * debian/monodoc-db4o-manual.post{inst,rm}: Remove obsolete maintainer
+    scripts which are either not required due to new monodoc features or
+    packaging improvements
+  * debian/libdb4o6.0-cil.installcligac: GAC the new libraries that we build
+    now 
+  * debian/patches/05-cecil-api: Add new patch to remove call to method that
+    isn't in the API of the version of cecil we have 
+  * debian/control, debian/libdb4o6.0-cil*: Rename package to libdb4o7.4-cil
+    for new ABI 
+  * debian/db4o.pc: Fix up to include the ABI version 
+  * debian/control: Add new -cil-dev package contianing pcfiles 
+  * debian/db4o{admin,tool}: Rename wrapper script to new version of tool 
+  * debian/control: Add Depends on ${misc:Depends} to packages that didn't
+    have it
+  * debian/copyright: Refer to versioned GPL
+  * debian/control: Fix typo This packages -> This package (Closes: #557688)
+  * debian/README.source: Add from Quilt package (thanks Lintian) 
+
+ -- Iain Lane <laney@ubuntu.com>  Thu, 28 Jan 2010 16:30:31 +0000
+
+db4o (6.1.604+dfsg-3) unstable; urgency=low
+
+  [ Mirco Bauer ]
+  * Upload to unstable.
+
+  [ Iain Lane ]
+  * debian/control, debian/rules,
+    debian/patches/00_configurable_compiler.dpatch: Update build-deps, patch
+    the build system to allow compiler configuration and pass MCS=/usr/bin/csc
+    for Mono 2.0 transition.
+
+ -- Iain Lane <laney@ubuntu.com>  Sat, 28 Feb 2009 18:23:10 +0000
+
+db4o (6.1.604+dfsg-2) unstable; urgency=low
+
+  * debian/rules:
+    + Use correct substitution for the pkg-config file to make it actually
+      work.
+
+ -- Sebastian Dröge <slomo@debian.org>  Wed, 19 Mar 2008 23:35:37 +0100
+
+db4o (6.1.604+dfsg-1) unstable; urgency=low
+
+  * The "get sexy and ready for lenny" release
+  * DFSG version of db4o 6.1.604
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      bin/compact-2.0/Cecil.FlowAnalysis.dll
+      bin/compact-2.0/Db4objects.Db4o.Tools.dll
+      bin/compact-2.0/Db4objects.Db4o.dll
+      bin/compact-2.0/Mono.Cecil.dll
+      bin/compact-2.0-legacy/Db4oTools.dll
+      bin/compact-2.0-legacy/db4o.dll
+      bin/net-2.0/Cecil.FlowAnalysis.dll
+      bin/net-2.0/Db4oAdmin.exe
+      bin/net-2.0/Db4objects.Db4o.Tools.dll
+      bin/net-2.0/Db4objects.Db4o.dll
+      bin/net-2.0/Mono.Cecil.dll
+      bin/net-2.0/Mono.GetOptions.dll
+      bin/net-2.0-legacy/Db4oTools.dll
+      bin/net-2.0-legacy/db4o.dll
+      doc/api/H2Reg.exe
+      doc/tutorial/Db4objects.Db4o.Tutorial.exe
+      doc/tutorial/bin/AxSHDocVw.dll
+      doc/tutorial/bin/Cecil.FlowAnalysis.dll
+      doc/tutorial/bin/Db4oUnit.Extensions.dll
+      doc/tutorial/bin/Db4oUnit.dll
+      doc/tutorial/bin/Db4objects.Db4o.Tools.dll
+      doc/tutorial/bin/Db4objects.Db4o.Tutorial.Chapters.dll
+      doc/tutorial/bin/Db4objects.Db4o.dll
+      doc/tutorial/bin/Mono.Cecil.dll
+      doc/tutorial/bin/Mono.GetOptions.dll
+      doc/tutorial/bin/SHDocVw.dll
+      doc/tutorial/bin/WeifenLuo.WinFormsUI.dll
+      src/Libs/compact-1.0/Cecil.FlowAnalysis.dll
+      src/Libs/compact-1.0/Mono.Cecil.dll
+      src/Libs/compact-2.0/Cecil.FlowAnalysis.dll
+      src/Libs/compact-2.0/Mono.Cecil.dll
+      src/Libs/net-1.1/Cecil.FlowAnalysis.dll
+      src/Libs/net-1.1/Mono.Cecil.dll
+      src/Libs/net-2.0/Cecil.FlowAnalysis.dll
+      src/Libs/net-2.0/Mono.Cecil.dll
+      src/Libs/net-2.0/Mono.GetOptions.dll
+  * New upstream release
+  * debian/control:
+    + Fixed ABI version in the package name, Db4objects.Db4o.dll is versioned
+      as 6.0.* and not 6.1.*.
+    + Added Replaces and Conflicts for libdb4o6.1-cil << 6.1.604.
+    + Added Homepage, Vcs-Browser and Vcs-Svn fields.
+    + Added libmono-cecil0.5-cil, monodoc-base and libchm-bin to build
+      dependencies.
+    + Updated cli-common-dev build dependency to >= 0.5.4, as we need
+      dh_clistrip from it.
+    + Updated Section of libdb4o-doc to doc. (Closes: #427581)
+    + Bumped Standards-Version to 3.7.4, no changes needed.
+    + Added monodoc-db4o-manual package.
+    + Changed Maintainer to Debian CLI Libraries Team.
+    + Added myself to Uploaders.
+  * debian/rules:
+    + Use dh_clistrip instead of custom find command.
+    + Only build libraries and admin tool (without test-cases).
+      Building the test-cases failed caused by a bug in the gmcs compiler.
+      (Closes: #458658)
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 17 Feb 2008 14:15:28 +0100
+
+db4o (6.1.401~dfsg-2) unstable; urgency=low
+
+  * Build depends on pkg-config (Closes: #423752)
+  * Use dh_clifixperms instead of own 'find' command.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Mon, 14 May 2007 17:12:52 +0200
+
+db4o (6.1.401~dfsg-1) unstable; urgency=low
+
+  * New usptream release.
+  * Build Depend on Cecil.Flowanalysis
+  * Rewrite copyright file. It was a copy of tangerine's copyright, and were
+    not adapted to this package. Make clear that db4o is licensed under GPL.
+  * There is an ABI change, so make a new binary package: libdb4o6.1-cil
+  * Adapt packaging to this change.
+  * makefile.dpatch:
+     + Don't copy libraries from system to our building dir.
+     + Use pkg-config where possible
+     + Fix Mono.GetOptions reference
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Fri, 27 Apr 2007 00:03:26 +0200
+
+db4o (6.0.003~dfsg-2) unstable; urgency=low
+
+  * Install Db4oAdmin.exe file in /usr/lib/db4o and a wrapper in /usr/bin
+  * There is no need to ship Db4oTest.exe in binary package.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Wed,  6 Dec 2006 17:21:46 +0100
+
+db4o (6.0.003~dfsg-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Wed,  6 Dec 2006 15:19:08 +0100
--- db4o-7.4.121.14026+dfsg.orig/debian/copyright
+++ db4o-7.4.121.14026+dfsg/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Jose Carlos Garcia Sogo <jsogo@debian.org> on
+Sat, 11 Nov 2006 12:15:33 -0400.
+
+It was downloaded from http://www.db4o.com
+
+Copyright Holder: 
+Copyright (C) 2004 - 2009  Versant Corporation http://www.versant.com
+
+License:
+   db4o is free software; you can redistribute it and/or modify it under
+   the terms of version 3 of the GNU General Public License as published
+   by the Free Software Foundation.
+
+   db4o is distributed in the hope that it will be useful, but WITHOUT ANY
+   WARRANTY; without even the implied warranty of MERCHANTABILITY or
+   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+   for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with this program.  If not, see http://www.gnu.org/licenses/. 
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+Information above was taken from the boilerplate license text included
+in all source files.
--- db4o-7.4.121.14026+dfsg.orig/debian/monodoc-db4o-manual.install
+++ db4o-7.4.121.14026+dfsg/debian/monodoc-db4o-manual.install
@@ -0,0 +1 @@
+/usr/lib/monodoc/sources/
--- db4o-7.4.121.14026+dfsg.orig/debian/update_src_link_system_libs.sh
+++ db4o-7.4.121.14026+dfsg/debian/update_src_link_system_libs.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Description:  Updates upstream source files to link with system Mono.Cecil,
+#               Cecil.FlowAnalysis and Mono.GetOptions
+# Author:       Mirco Bauer <meebey@debian.org>
+# License:      GPL-2
+
+#-r:$(OUTDIR)/$(CECIL)
+#Copying now handled in rules
+#echo "Updating Mono.Cecil references"
+#find -name "Makefile" -exec perl -pe 's!-r:\$\(OUTDIR\)/\$\(CECIL\)!\$(shell pkg-config --libs mono-cecil)!g' -i {} \;
+
+echo "Updating Cecil.FlowAnalysis references"
+find -name "Makefile" -exec perl -pe 's!-r:\$\(OUTDIR\)/\$\(FLOWANALYSIS\)!\$(shell pkg-config --libs cecil-flowanalysis)!g' -i {} \;
+
+echo "Updating Mono.GetOptions references"
+find -name "Makefile" -exec perl -pe 's!-r:\$\(OUTDIR\)/\$\(GETOPTIONS\)!-r Mono.GetOptions!g' -i {} \;
+
+echo "Deleting reject files (*.rej)"
+find -name "*.rej" -delete
--- db4o-7.4.121.14026+dfsg.orig/debian/libdb4o7.4-cil.installcligac
+++ db4o-7.4.121.14026+dfsg/debian/libdb4o7.4-cil.installcligac
@@ -0,0 +1,4 @@
+/usr/lib/cli/Db4objects.Db4o-7.4/Db4objects.Db4o.dll
+/usr/lib/cli/Db4objects.Db4o.Linq-7.4/Db4objects.Db4o.Linq.dll
+/usr/lib/cli/Db4objects.Db4o.Instrumentation-7.4/Db4objects.Db4o.Instrumentation.dll
+/usr/lib/cli/Db4objects.Db4o.NativeQueries-7.4/Db4objects.Db4o.NativeQueries.dll
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/02-link_system_libs.patch
+++ db4o-7.4.121.14026+dfsg/debian/patches/02-link_system_libs.patch
@@ -0,0 +1,101 @@
+Description: link system libraries
+Author: Mirco Bauer <meebey@debian.org>
+Forwarded: not-needed
+
+---
+ src/Db4oAdmin/Makefile             |    2 +-
+ src/Db4objects.Db4o.Tools/Makefile |    2 +-
+ src/Makefile                       |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+Index: db4o.git/src/Makefile
+===================================================================
+--- db4o.git.orig/src/Makefile	2010-01-26 11:23:21.396817091 +0000
++++ db4o.git/src/Makefile	2010-01-26 11:23:21.456817956 +0000
+@@ -20,7 +20,7 @@
+ 
+ prebuild:
+ 	[ -d $(OUTDIR) ] || mkdir $(OUTDIR)
+-	cp $(LIBS)/*.dll $(OUTDIR)
++	#cp $(LIBS)/*.dll $(OUTDIR)
+ 
+ build: core nq linq tool tests
+ 
+Index: db4o.git/src/Db4objects.Db4o.Instrumentation/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Instrumentation/Makefile	2010-01-26 11:26:37.455568847 +0000
++++ db4o.git/src/Db4objects.Db4o.Instrumentation/Makefile	2010-01-26 11:41:56.235567968 +0000
+@@ -1,8 +1,8 @@
+ 
+-include ../../db4o.net/include.mk
++include ../include.mk
+ 
+-OUTDIR = ../../db4o.net/bin
++OUTDIR = ../bin
+ 
+ TARGET = library
+ ASSEMBLY = $(INSTR)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis
+Index: db4o.git/src/Db4objects.Db4o.Linq/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Linq/Makefile	2010-01-19 22:19:36.403474623 +0000
++++ db4o.git/src/Db4objects.Db4o.Linq/Makefile	2010-01-26 11:26:28.665568362 +0000
+@@ -5,4 +5,4 @@
+ 
+ TARGET = library
+ ASSEMBLY = Db4objects.Db4o.Linq.dll
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis
+Index: db4o.git/src/Db4objects.Db4o.NativeQueries/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.NativeQueries/Makefile	2010-01-26 11:26:37.555567472 +0000
++++ db4o.git/src/Db4objects.Db4o.NativeQueries/Makefile	2010-01-26 11:41:56.235567968 +0000
+@@ -5,4 +5,4 @@
+ 
+ TARGET = library
+ ASSEMBLY = $(NQ)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis
+Index: db4o.git/src/Db4objects.Db4o.Linq.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Linq.Tests/Makefile	2010-01-26 11:41:54.616818793 +0000
++++ db4o.git/src/Db4objects.Db4o.Linq.Tests/Makefile	2010-01-26 11:41:56.235567968 +0000
+@@ -3,5 +3,5 @@
+ 
+ TARGET = exe
+ ASSEMBLY = $(LINQ_TESTS)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT) -r:$(OUTDIR)/$(LINQ) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT) -r:$(OUTDIR)/$(LINQ) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis
+ OPT_MCS_FLAGS = -main:Db4objects.Db4o.Linq.Tests.AllTests
+Index: db4o.git/src/Db4objects.Db4o.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Tests/Makefile	2010-01-26 11:23:21.416817458 +0000
++++ db4o.git/src/Db4objects.Db4o.Tests/Makefile	2010-01-26 11:23:21.476817150 +0000
+@@ -3,5 +3,5 @@
+ 
+ TARGET = exe
+ ASSEMBLY = $(TESTS)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS) -r:System.Drawing 
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis -r:System.Drawing
+ OPT_MCS_FLAGS = -main:Db4objects.Db4o.Tests.AllTests
+Index: db4o.git/src/Db4oTool/Db4oTool/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oTool/Db4oTool/Makefile	2010-01-26 11:23:21.426816929 +0000
++++ db4o.git/src/Db4oTool/Db4oTool/Makefile	2010-01-26 11:26:28.595568109 +0000
+@@ -5,4 +5,4 @@
+ 
+ TARGET = exe
+ ASSEMBLY = $(TOOL)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS) -r:$(OUTDIR)/$(GETOPTIONS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis -r:Mono.GetOptions
+Index: db4o.git/src/Db4oTool/Db4oTool.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oTool/Db4oTool.Tests/Makefile	2010-01-26 11:23:21.426816929 +0000
++++ db4o.git/src/Db4oTool/Db4oTool.Tests/Makefile	2010-01-26 11:23:21.476817150 +0000
+@@ -9,4 +9,4 @@
+ 
+ TARGET = exe
+ ASSEMBLY = $(TOOL_TESTS)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS) -r:$(OUTDIR)/$(TOOL) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT)
++REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(INSTR) -r:$(OUTDIR)/$(NQ) -r:$(OUTDIR)/$(CECIL) -pkg:cecil-flowanalysis -r:$(OUTDIR)/$(TOOL) -r:$(OUTDIR)/$(UNIT) -r:$(OUTDIR)/$(UNIT_EXT)
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/series
+++ db4o-7.4.121.14026+dfsg/debian/patches/series
@@ -0,0 +1,6 @@
+00-configurable_compiler.patch
+01-dos2unix.patch
+02-link_system_libs.patch
+03-generate_xml_doc.patch
+04-update-relative-paths
+05-cecil-api
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/03-generate_xml_doc.patch
+++ db4o-7.4.121.14026+dfsg/debian/patches/03-generate_xml_doc.patch
@@ -0,0 +1,21 @@
+Description: add a flag to generate XML documentation
+Author: Mirco Bauer <meebey@debian.org>
+Forwarded: no
+
+---
+ src/include.mk |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: db4o.git/src/include.mk
+===================================================================
+--- db4o.git.orig/src/include.mk	2009-12-13 12:19:45.453425742 +0000
++++ db4o.git/src/include.mk	2009-12-13 12:40:03.673425232 +0000
+@@ -30,7 +30,7 @@
+ 	find $(WORKDIR) -name "*.cs" > $(RESPONSE_FILE)
+ 
+ compile:
+-	$(MCS) -t:$(TARGET) $(REFERENCES) -warn:0 -out:$(OUTDIR)/$(ASSEMBLY) $(MCS_FLAGS) $(OPT_MCS_FLAGS) @$(RESPONSE_FILE)
++	$(MCS) -t:$(TARGET) $(REFERENCES) -warn:0 -out:$(OUTDIR)/$(ASSEMBLY) -doc:$(OUTDIR)/$(ASSEMBLY).xml $(MCS_FLAGS) $(OPT_MCS_FLAGS) @$(RESPONSE_FILE)
+ 
+ postcompile:
+ 	rm -f $(RESPONSE_FILE)
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/makefile.dpatch
+++ db4o-7.4.121.14026+dfsg/debian/patches/makefile.dpatch
@@ -0,0 +1,69 @@
+diff -urNad db4o-6.1.401~dfsg~/Makefile db4o-6.1.401~dfsg/Makefile
+--- db4o-6.1.401~dfsg~/Makefile	2007-04-25 23:52:26.000000000 +0200
++++ db4o-6.1.401~dfsg/Makefile	2007-04-25 23:52:57.000000000 +0200
+@@ -6,16 +6,6 @@
+ DIR_BIN=$(DIR_HOME)/bin
+ DIR_SRC=$(DIR_HOME)/src
+ DIR_DOC=$(DIR_HOME)/doc
+-ifdef RPM_BUILD_ROOT
+-	DIR_INSTALL_BIN=$(RPM_BUILD_ROOT)/usr/lib/db4o
+-else
+-	DIR_INSTALL_BIN=/usr/lib/db4o
+-endif
+-ifdef RPM_DOC_DIR
+-	DIR_INSTALL_DOC=$(RPM_BUILD_ROOT)/$(RPM_DOC_DIR)/$(RPM_PACKAGE_NAME)-$(RPM_PACKAGE_VERSION)
+-else
+-	DIR_INSTALL_DOC=/usr/share/doc/db4o-$(DB4O_VERSION)
+-endif
+ 
+ MAIN_TEST=com.db4o.test.AllTests
+ 
+@@ -39,4 +29,4 @@
+ 	cp -R $(DIR_DOC)/* $(DIR_INSTALL_DOC)
+ endif
+ 
+-.PHONY: clean buildall
+\ No newline at end of file
++.PHONY: clean buildall
+diff -urNad db4o-6.1.401~dfsg~/src/Db4oAdmin/Makefile db4o-6.1.401~dfsg/src/Db4oAdmin/Makefile
+--- db4o-6.1.401~dfsg~/src/Db4oAdmin/Makefile	2007-04-25 23:52:26.000000000 +0200
++++ db4o-6.1.401~dfsg/src/Db4oAdmin/Makefile	2007-04-25 23:55:18.000000000 +0200
+@@ -5,4 +5,4 @@
+ 
+ TARGET = exe
+ ASSEMBLY = $(ADMIN)
+-REFERENCES = -r:$(OUTDIR)/$(TOOLS) -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS) -r:$(OUTDIR)/$(GETOPTIONS)
++REFERENCES = -r:$(OUTDIR)/$(TOOLS) -r:$(OUTDIR)/$(CORE) $(shell pkg-config --libs mono-cecil cecil-flowanalysis) -r:$(GETOPTIONS)
+diff -urNad db4o-6.1.401~dfsg~/src/Db4objects.Db4o.Tools/Makefile db4o-6.1.401~dfsg/src/Db4objects.Db4o.Tools/Makefile
+--- db4o-6.1.401~dfsg~/src/Db4objects.Db4o.Tools/Makefile	2007-04-25 23:52:26.000000000 +0200
++++ db4o-6.1.401~dfsg/src/Db4objects.Db4o.Tools/Makefile	2007-04-25 23:52:57.000000000 +0200
+@@ -3,4 +3,4 @@
+ 
+ TARGET = library
+ ASSEMBLY = $(TOOLS)
+-REFERENCES = -r:$(OUTDIR)/$(CORE) -r:$(OUTDIR)/$(CECIL) -r:$(OUTDIR)/$(FLOWANALYSIS)
++REFERENCES = -r:$(OUTDIR)/$(CORE) $(shell pkg-config --libs mono-cecil cecil-flowanalysis)
+diff -urNad db4o-6.1.401~dfsg~/src/Makefile db4o-6.1.401~dfsg/src/Makefile
+--- db4o-6.1.401~dfsg~/src/Makefile	2007-04-25 23:52:26.000000000 +0200
++++ db4o-6.1.401~dfsg/src/Makefile	2007-04-25 23:52:57.000000000 +0200
+@@ -15,7 +15,7 @@
+ 
+ prebuild:
+ 	[ -d $(OUTDIR) ] || mkdir $(OUTDIR)
+-	cp $(LIBS)/*.dll $(OUTDIR)
++#	cp $(LIBS)/*.dll $(OUTDIR)
+ 
+ build: tests admin
+ 
+diff -urNad db4o-6.1.401~dfsg~/src/include.mk db4o-6.1.401~dfsg/src/include.mk
+--- db4o-6.1.401~dfsg~/src/include.mk	2007-03-27 01:45:48.000000000 +0200
++++ db4o-6.1.401~dfsg/src/include.mk	2007-04-25 23:54:56.000000000 +0200
+@@ -16,7 +16,7 @@
+ 
+ CECIL = Mono.Cecil.dll
+ FLOWANALYSIS = Cecil.FlowAnalysis.dll
+-GETOPTIONS = Mono.GetOptions.dll
++GETOPTIONS = Mono.GetOptions
+ 
+ build: precompile compile postcompile
+ 
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/01-dos2unix.patch
+++ db4o-7.4.121.14026+dfsg/debian/patches/01-dos2unix.patch
@@ -0,0 +1,143 @@
+Description: files changed by dos2unix
+Author: Mirco Bauer <meebey@debian.org>
+Forwarded: not-needed
+
+---
+ src/Db4oAdmin/Makefile             |    8 ++++----
+ src/Db4oUnit.Extensions/Makefile   |    4 ++--
+ src/Db4oUnit/Makefile              |    4 ++--
+ src/Db4objects.Db4o.Tests/Makefile |    4 ++--
+ src/Db4objects.Db4o.Tools/Makefile |    6 +++---
+ src/Db4objects.Db4o/Makefile       |    4 ++--
+ src/Makefile                       |    8 ++++----
+ 7 files changed, 19 insertions(+), 19 deletions(-)
+
+Index: db4o.git/src/Db4oUnit/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oUnit/Makefile	2010-01-19 21:48:51.244724587 +0000
++++ db4o.git/src/Db4oUnit/Makefile	2010-01-19 21:49:37.014725735 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = library
+ ASSEMBLY = $(UNIT)
+Index: db4o.git/src/Db4oUnit.Extensions/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oUnit.Extensions/Makefile	2010-01-19 21:48:51.304724777 +0000
++++ db4o.git/src/Db4oUnit.Extensions/Makefile	2010-01-19 21:49:37.014725735 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = library
+ ASSEMBLY = $(UNIT_EXT)
+Index: db4o.git/src/Db4objects.Db4o/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o/Makefile	2010-01-19 21:48:51.224724672 +0000
++++ db4o.git/src/Db4objects.Db4o/Makefile	2010-01-19 21:49:37.024724730 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = library
+ ASSEMBLY = $(CORE)
+Index: db4o.git/src/Makefile
+===================================================================
+--- db4o.git.orig/src/Makefile	2010-01-19 21:48:51.144724687 +0000
++++ db4o.git/src/Makefile	2010-01-19 21:49:37.024724730 +0000
+@@ -10,16 +10,16 @@
+ TOOL_TESTS = Db4oTool/Db4oTool.Tests
+ LINQ = Db4objects.Db4o.Linq
+ LINQ_TESTS = Db4objects.Db4o.Linq.Tests
+-LINQ_INSTR_TESTS = Db4objects.Db4o.Linq.Instrumentation.Tests
+-
++LINQ_INSTR_TESTS = Db4objects.Db4o.Linq.Instrumentation.Tests
++
+ LIBS = Libs/net-2.0
+ 
+ OUTDIR = ./bin
+ 
+ all: prebuild build postbuild
+ 
+-prebuild:
+-	[ -d $(OUTDIR) ] || mkdir $(OUTDIR)
++prebuild:
++	[ -d $(OUTDIR) ] || mkdir $(OUTDIR)
+ 	cp $(LIBS)/*.dll $(OUTDIR)
+ 
+ build: core nq linq tool tests
+Index: db4o.git/src/Db4objects.Db4o.Linq.Instrumentation.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Linq.Instrumentation.Tests/Makefile	2010-01-19 21:48:51.284724632 +0000
++++ db4o.git/src/Db4objects.Db4o.Linq.Instrumentation.Tests/Makefile	2010-01-19 21:49:37.024724730 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = exe
+ ASSEMBLY = $(LINQ_INSTR_TESTS)
+Index: db4o.git/src/Db4objects.Db4o.Linq.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Linq.Tests/Makefile	2010-01-19 21:50:00.834724482 +0000
++++ db4o.git/src/Db4objects.Db4o.Linq.Tests/Makefile	2010-01-19 21:49:44.333475031 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = exe
+ ASSEMBLY = $(LINQ_TESTS)
+Index: db4o.git/src/Db4objects.Db4o.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Tests/Makefile	2010-01-19 21:49:56.244725872 +0000
++++ db4o.git/src/Db4objects.Db4o.Tests/Makefile	2010-01-19 21:49:44.323484473 +0000
+@@ -1,5 +1,5 @@
+-
+-include ../include.mk
++
++include ../include.mk
+ 
+ TARGET = exe
+ ASSEMBLY = $(TESTS)
+Index: db4o.git/src/Db4oTool/Db4oTool/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oTool/Db4oTool/Makefile	2010-01-19 21:49:56.074724678 +0000
++++ db4o.git/src/Db4oTool/Db4oTool/Makefile	2010-01-19 21:49:44.323484473 +0000
+@@ -1,7 +1,7 @@
+-
++
+ include ../../include.mk
+ 
+-OUTDIR = ../../bin
++OUTDIR = ../../bin
+ 
+ TARGET = exe
+ ASSEMBLY = $(TOOL)
+Index: db4o.git/src/Db4oTool/Db4oTool.Tests/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4oTool/Db4oTool.Tests/Makefile	2010-01-19 21:49:55.894725917 +0000
++++ db4o.git/src/Db4oTool/Db4oTool.Tests/Makefile	2010-01-19 21:49:44.323484473 +0000
+@@ -1,11 +1,11 @@
+-
++
+ include ../../include.mk
+ 
+ OUTDIR = ../../bin
+ 
+ precompile:
+ 	[ -d $(OUTDIR) ] || mkdir $(OUTDIR)
+-	find $(WORKDIR) -name "*.cs" | egrep -v 'Resources'> $(RESPONSE_FILE)
++	find $(WORKDIR) -name "*.cs" | egrep -v 'Resources'> $(RESPONSE_FILE)
+ 
+ TARGET = exe
+ ASSEMBLY = $(TOOL_TESTS)
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/05-cecil-api
+++ db4o-7.4.121.14026+dfsg/debian/patches/05-cecil-api
@@ -0,0 +1,12 @@
+Index: db4o.git/src/Db4oTool/Db4oTool/TA/TAInstrumentation.cs
+===================================================================
+--- db4o.git.orig/src/Db4oTool/Db4oTool/TA/TAInstrumentation.cs	2010-01-26 12:06:02.256817281 +0000
++++ db4o.git/src/Db4oTool/Db4oTool/TA/TAInstrumentation.cs	2010-01-26 12:06:06.416817369 +0000
+@@ -199,7 +199,6 @@
+ 
+ 			InstrumentFieldAccesses(method);
+ 
+-			method.Body.Optimize();
+ 		}
+ 
+ 		private bool HasFieldAccesses(MethodDefinition method)
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/04-update-relative-paths
+++ db4o-7.4.121.14026+dfsg/debian/patches/04-update-relative-paths
@@ -0,0 +1,28 @@
+Index: db4o.git/src/Db4objects.Db4o.Linq/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.Linq/Makefile	2010-01-26 11:25:40.645567253 +0000
++++ db4o.git/src/Db4objects.Db4o.Linq/Makefile	2010-01-26 11:25:48.996235318 +0000
+@@ -1,7 +1,7 @@
+ 
+-include ../../db4o.net/include.mk
++include ../include.mk
+ 
+-OUTDIR = ../../db4o.net/bin
++OUTDIR = ../bin
+ 
+ TARGET = library
+ ASSEMBLY = Db4objects.Db4o.Linq.dll
+Index: db4o.git/src/Db4objects.Db4o.NativeQueries/Makefile
+===================================================================
+--- db4o.git.orig/src/Db4objects.Db4o.NativeQueries/Makefile	2010-01-26 11:25:18.115568433 +0000
++++ db4o.git/src/Db4objects.Db4o.NativeQueries/Makefile	2010-01-26 11:25:28.685568121 +0000
+@@ -1,7 +1,7 @@
+ 
+-include ../../db4o.net/include.mk
++include ../include.mk
+ 
+-OUTDIR = ../../db4o.net/bin
++OUTDIR = ../bin
+ 
+ TARGET = library
+ ASSEMBLY = $(NQ)
--- db4o-7.4.121.14026+dfsg.orig/debian/patches/00-configurable_compiler.patch
+++ db4o-7.4.121.14026+dfsg/debian/patches/00-configurable_compiler.patch
@@ -0,0 +1,19 @@
+Description: make the MCS environment variable configurable
+Author: Iain Lane <laney@ubuntu.com>
+
+---
+ src/include.mk |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: db4o.git/src/include.mk
+===================================================================
+--- db4o.git.orig/src/include.mk	2009-12-13 11:52:18.203435804 +0000
++++ db4o.git/src/include.mk	2009-12-13 12:12:18.052175802 +0000
+@@ -1,6 +1,6 @@
+ 
+ MONO = mono
+-MCS = gmcs
++MCS ?= gmcs
+ KEY_FILE = ../db4objects.snk
+ MCS_FLAGS = -debug+ -keyfile:$(KEY_FILE) -define:NET_2_0,MONO,EMBEDDED
+ OUTDIR = ../bin
