--- monodevelop-database-2.0+dfsg.orig/debian/README.source
+++ monodevelop-database-2.0+dfsg/debian/README.source
@@ -0,0 +1,7 @@
+The upstream tarball for this application has been altered to remove 
+(unneeded) binary-only components. The list of files removed is as follows:
+
+      contrib/MySql/MySql.Data.dll
+
+To create your own copy of this modified tarball, use the "get-orig-source" 
+rule in the debian/rules makefile.
--- monodevelop-database-2.0+dfsg.orig/debian/compat
+++ monodevelop-database-2.0+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- monodevelop-database-2.0+dfsg.orig/debian/copyright
+++ monodevelop-database-2.0+dfsg/debian/copyright
@@ -0,0 +1,110 @@
+This package was debianized by Mirco Bauer <meebey@debian.org> on
+Sun, Dec 30 2007 14:04:25 +0100.
+
+The copyrights and licenses of the complete source code of monodevelop-database
+(version 0.19) was checked by Mirco Bauer <meebey@debian.org> on
+Sat, Mar  1 2008 16:10:29 +0100.
+
+It was downloaded from:
+http://www.monodevelop.com/
+
+Authors: 
+Christian Hergert <chris@mosaix.net>
+Daniel Morgan <danielmorgan@verizon.net>
+Sureshkumar T <tsureshkumar@novell.com>
+Ben Motmans <ben.motmans@gmail.com>
+
+Copyright:
+MonoDevelop.Database.Components/*
+MonoDevelop.Database.Designer/*
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.ConnectionManager/*
+Copyright (C) 2005 Mosaix Communications, Inc
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Query/Commands/ToolCommands.cs
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Query/QueryResultView.cs
+Copyright (C) 2005 Christian Hergert
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Query/SqlQueryView.cs
+Copyright (C) 2005 Christian Hergert
+Copyright (C) 2005 Daniel Morgan
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql/* (except AddinCatalog.cs)
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql/Providers/*
+MonoDevelop.Database.Sql/Schema/*
+Copyright (C) 2005 Mosaix Communications, Inc.
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql/AddinCatalog.cs
+Copyright (c) 2007 Novell, Inc (http://www.novell.com)
+
+MonoDevelop.Database.Sql/ConnectionContextService.cs
+MonoDevelop.Database.Sql/QueryService.cs
+Copyright (c) 2005 Christian Hergert
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql.MySql/*
+Copyright (C) 2005 Mosaix Communications, Inc.
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql.Npgsql/*
+Copyright (C) 2005 Mosaix Communications, Inc
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql.SqlServer/*
+Copyright (C) 2005 Mosaix Communications, Inc.
+Copyright (c) 2007 Ben Motmans
+
+MonoDevelop.Database.Sql.Sqlite/*
+Copyright (C) 2005 Mosaix Communications, Inc.
+Copyright (c) 2007 Ben Motmans
+
+License:
+All sources in this source package is licensed under the MIT/X11 license:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+As this are plugins for MonoDevelop and thus linked with MonoDevelop, which is
+GPL licensed making this software effectively GPL licensed:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by  
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package 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 package; if not, write to the Free Software
+ Foundation, Inc ., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- monodevelop-database-2.0+dfsg.orig/debian/changelog
+++ monodevelop-database-2.0+dfsg/debian/changelog
@@ -0,0 +1,114 @@
+monodevelop-database (2.0+dfsg-1) unstable; urgency=low
+
+  [ Stefan Ebner ]
+  * Bump Standards version to 3.8.1
+
+  [ Jo Shields ]
+  * New upstream version
+  * DFSG version of monodevelop-database 2.0
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+  * debian/control:
+    + Remove unneeded dependency on libgtksourceview2.0-cil
+
+  [ Iain Lane ]
+  * Bump MD build-dep to 2.0 as required by configure
+
+ -- Jo Shields <directhex@apebox.org>  Wed, 08 Apr 2009 23:02:46 +0100
+
+monodevelop-database (1.9.3+dfsg-1) unstable; urgency=low
+
+  * DFSG version of monodevelop-database 1.9.3
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+  * New upstream (bugfix) release.
+  * debian/control:
+    + Tighten binary dependency on monodevelop, to ensure the plugin is only
+      installed using the same monodevelop version, as the plugins are not
+      forward compatible.
+  * debian/watch:
+    + Updated to use directory of ftp/http download server.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 17 Mar 2009 23:26:35 +0100
+
+monodevelop-database (1.9.2+dfsg-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Mirco Bauer <meebey@debian.org>  Tue, 03 Mar 2009 23:36:38 +0100
+
+monodevelop-database (1.9.2+dfsg-1) experimental; urgency=low
+
+  * DFSG version of monodevelop-database 1.9.2
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+  * debian/rules:
+    + Implemented get-orig-source target.
+    + Refresh the build-system in configure target.
+  * debian/control:
+    + Added autoconf, automake and autotools-dev to build-deps.
+    + Bumped monodevelop build-dep to >= 1.9.2.
+
+ -- Mirco Bauer <meebey@debian.org>  Wed, 18 Feb 2009 20:30:31 +0100
+
+monodevelop-database (1.0+dfsg-3) experimental; urgency=low
+
+  * debian/rules, debian/control:
+    + Update for the Mono 2.0 transition. Build-dep on mono-devel (>= 2.0) to
+      pick up csc. Remove obsolete libmono-dev build-dep.
+    + Pass /usr/bin/csc to configure to use this compiler to build
+  * debian/watch: Mangle version (Lintian cleanup)
+  * debian/patches/link_system_libs.dpatch: Add description (Lintian cleanup)
+  * debian/copyright: Correct FSF address (Lintian cleanup)
+  * debian/control: Bump standards-version to 3.8.0 (no changes required) 
+
+ -- Iain Lane <laney@ubuntu.com>  Wed, 17 Dec 2008 22:45:42 +0000
+
+monodevelop-database (1.0+dfsg-2) unstable; urgency=low
+
+  * Rebuild against against libgtksourceview2.0-cil 0.12-1
+
+ -- Mirco Bauer <meebey@debian.org>  Fri, 02 May 2008 15:05:01 +0200
+
+monodevelop-database (1.0+dfsg-1) unstable; urgency=low
+
+  * DFSG version of monodevelop-database 1.0
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+      contrib/Sqlite/Mono.Data.Sqlite.dll
+  * New upstream release
+  * debian/control:
+    + Updated monodevelop build-dependency to >= 1.0.
+
+ -- Mirco Bauer <meebey@debian.org>  Sat, 29 Mar 2008 18:23:45 +0100
+
+monodevelop-database (0.19+dfsg-1) unstable; urgency=low
+
+  * DFSG version of monodevelop-database 0.19
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+      contrib/Sqlite/Mono.Data.Sqlite.dll
+  * New upstream release
+  * debian/copyright:
+    + Re-checked copyrights and licenses.
+  * debian/control:
+    + Enhanced package long description.
+
+ -- Mirco Bauer <meebey@debian.org>  Sat, 01 Mar 2008 15:41:35 +0100
+
+monodevelop-database (0.18+dfsg-1) unstable; urgency=low
+
+  * DFSG version of monodevelop-database 0.18
+    (deleted all pre-compiled binaries from the tarball)
+    + For the record here a list of the deleted files:
+      contrib/MySql/MySql.Data.dll
+      contrib/Sqlite/Mono.Data.Sqlite.dll
+  * Initial packaging, partly based on monodevelop-query of the monodevelop
+    source package.
+
+ -- Mirco Bauer <meebey@debian.org>  Sun, 30 Dec 2007 14:10:16 +0100
--- monodevelop-database-2.0+dfsg.orig/debian/rules
+++ monodevelop-database-2.0+dfsg/debian/rules
@@ -0,0 +1,104 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export MONO_SHARED_DIR=$(CURDIR)
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)   
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
+
+include /usr/share/dpatch/dpatch.make
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	aclocal -I.
+	autoconf
+	automake --add-missing --copy
+	./configure --prefix=/usr \
+	  --mandir=\$${prefix}/share/man \
+	  --infodir=\$${prefix}/share/info \
+	  MCS=/usr/bin/csc \
+	  CSC=/usr/bin/csc
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE) RUNTIME=/usr/bin/cli
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -rf $(CURDIR)/.wapi
+	rm -f configure-stamp
+	rm -f build-stamp
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	find $(CURDIR)/debian/tmp -name "*.mo" -print0 | xargs -0 chmod -x
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_link -i
+	dh_install -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installmenu -i
+	dh_installman -i
+	dh_installmime -i
+	dh_desktop -i
+	dh_strip -i
+	dh_clistrip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_clifixperms -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_clideps -i -d
+	dh_gencontrol -i -- -Vmisc:Version=$(VERSION)
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch:
+
+binary: binary-arch binary-indep
+
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir . \
+		--force-download \
+		--rename \
+		--repack
+	if [ -d $(DEB_SOURCE_NAME)-$(VERSION) ]; then \
+		echo "$(DEB_SOURCE_NAME)-$(VERSION) is in the way, bailing out!"; \
+		exit 1; \
+	fi
+	tar -xzf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+	rm $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+	find $(DEB_SOURCE_NAME)-$(VERSION) -name "*.exe"
+	find $(DEB_SOURCE_NAME)-$(VERSION) -name "*.exe" -delete
+	find $(DEB_SOURCE_NAME)-$(VERSION) -name "*.dll"
+	find $(DEB_SOURCE_NAME)-$(VERSION) -name "*.dll" -delete
+	tar -czf $(DEB_SOURCE_NAME)_$(VERSION)+dfsg.orig.tar.gz $(DEB_SOURCE_NAME)-$(VERSION)
+	rm -r $(DEB_SOURCE_NAME)-$(VERSION)
+
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
--- monodevelop-database-2.0+dfsg.orig/debian/monodevelop-database.install
+++ monodevelop-database-2.0+dfsg/debian/monodevelop-database.install
@@ -0,0 +1 @@
+debian/tmp/usr
--- monodevelop-database-2.0+dfsg.orig/debian/update_src_for_link_system_libs.sh
+++ monodevelop-database-2.0+dfsg/debian/update_src_for_link_system_libs.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+echo "Updating Mono.Data.Sqlite.dll references"
+find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/contrib/Sqlite/Mono\.Data\.Sqlite\.dll!-r:Mono.Data.Sqlite.dll!g' -i {} \;
+
+echo "Updating MySql.Data.dll references"
+find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/contrib/MySql/MySql\.Data\.dll!\$(shell pkg-config --libs mysql-connector-net)!g' -i {} \;
+
+echo "Deleting reject files (*.rej)"
+find -name "*.rej" -delete
--- monodevelop-database-2.0+dfsg.orig/debian/control
+++ monodevelop-database-2.0+dfsg/debian/control
@@ -0,0 +1,44 @@
+Source: monodevelop-database
+Section: devel
+Priority: optional
+Maintainer: Mirco Bauer <meebey@debian.org>
+Build-Depends: debhelper (>= 5), dpatch
+Build-Depends-Indep: cli-common-dev (>= 0.5.4),
+ monodevelop (>= 2.0),
+ mono-devel (>= 2.0),
+ autoconf,
+ automake,
+ autotools-dev,
+ libgtk2.0-cil (>= 2.8),
+ libmono-system-data2.0-cil,
+ libmono-oracle2.0-cil,
+ libmono-npgsql2.0-cil,
+ libmono-sqlite2.0-cil,
+ libmono-firebirdsql1.7-cil,
+ libmysql5.0-cil,
+ libmono-addins0.2-cil (>= 0.3),
+ libmono-addins-gui0.2-cil (>= 0.3)
+Standards-Version: 3.8.1
+Homepage: http://www.monodevelop.com/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-database/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-apps/packages/monodevelop-database/trunk/
+
+Package: monodevelop-database
+Architecture: all
+Replaces: monodevelop (<< 0.10)
+Conflicts: monodevelop-query
+Provides: monodevelop-query
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends},
+ monodevelop (>= ${misc:Version}),
+ monodevelop (<< ${misc:Version}.)
+Description: Database plugin for MonoDevelop
+ MonoDevelop is a GNOME IDE primarily designed for C# and other .NET
+ languages.
+ .
+ This package implements database features for MonoDevelop.
+ .
+ The following RDBMSs are supported:
+  * MySQL
+  * PostgreSQL
+  * SQLite
+  * Micrsoft SQL Server
--- monodevelop-database-2.0+dfsg.orig/debian/watch
+++ monodevelop-database-2.0+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=2
+opts=dversionmangle=s/\+dfsg// \
+	http://ftp.novell.com/pub/mono/sources/monodevelop-database/monodevelop-database-([\d\.]+)\.(zip|tar\.(gz|bz2))
--- monodevelop-database-2.0+dfsg.orig/debian/patches/00list
+++ monodevelop-database-2.0+dfsg/debian/patches/00list
@@ -0,0 +1 @@
+link_system_libs
--- monodevelop-database-2.0+dfsg.orig/debian/patches/link_system_libs.dpatch
+++ monodevelop-database-2.0+dfsg/debian/patches/link_system_libs.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## link_system_libs.dpatch by Mirco Bauer <meebey@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad monodevelop-database-1.9.2~/MonoDevelop.Database.Sql.MySql/Makefile.am monodevelop-database-1.9.2/MonoDevelop.Database.Sql.MySql/Makefile.am
+--- monodevelop-database-1.9.2~/MonoDevelop.Database.Sql.MySql/Makefile.am	2009-02-04 23:32:50.000000000 +0100
++++ monodevelop-database-1.9.2/MonoDevelop.Database.Sql.MySql/Makefile.am	2009-02-17 20:30:21.000000000 +0100
+@@ -6,7 +6,7 @@
+ 	-r:$(top_builddir)/build/MonoDevelop.Database.Components.dll \
+ 	-r:$(top_builddir)/build/MonoDevelop.Database.Designer.dll \
+ 	-r:$(top_builddir)/build/MonoDevelop.Database.Sql.dll \
+-	-r:$(top_srcdir)/contrib/MySql/MySql.Data.dll \
++	$(shell pkg-config --libs mysql-connector-net) \
+ 	-r:Mono.Posix \
+ 	-r:System \
+ 	-r:System.Data
+@@ -31,8 +31,7 @@
+ 	Widgets/MySqlColumnEditorWidget.cs \
+ 	Widgets/MySqlCreateDatabaseWidget.cs
+ 
+-MYSQL_FILES = \
+-	MySql.Data.dll
++MYSQL_FILES = 
+ 
+ RES =  \
+ 	gtk-gui/gui.stetic \