--- monodevelop-database-1.9.3+dfsg.orig/debian/compat +++ monodevelop-database-1.9.3+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- monodevelop-database-1.9.3+dfsg.orig/debian/copyright +++ monodevelop-database-1.9.3+dfsg/debian/copyright @@ -0,0 +1,110 @@ +This package was debianized by Mirco Bauer 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 on +Sat, Mar 1 2008 16:10:29 +0100. + +It was downloaded from: +http://www.monodevelop.com/ + +Authors: +Christian Hergert +Daniel Morgan +Sureshkumar T +Ben Motmans + +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-1.9.3+dfsg.orig/debian/changelog +++ monodevelop-database-1.9.3+dfsg/debian/changelog @@ -0,0 +1,95 @@ +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 Tue, 17 Mar 2009 23:26:35 +0100 + +monodevelop-database (1.9.2+dfsg-2) unstable; urgency=low + + * Upload to unstable. + + -- Mirco Bauer 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 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 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 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 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 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 Sun, 30 Dec 2007 14:10:16 +0100 --- monodevelop-database-1.9.3+dfsg.orig/debian/rules +++ monodevelop-database-1.9.3+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-1.9.3+dfsg.orig/debian/monodevelop-database.install +++ monodevelop-database-1.9.3+dfsg/debian/monodevelop-database.install @@ -0,0 +1 @@ +debian/tmp/usr --- monodevelop-database-1.9.3+dfsg.orig/debian/update_src_for_link_system_libs.sh +++ monodevelop-database-1.9.3+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-1.9.3+dfsg.orig/debian/control +++ monodevelop-database-1.9.3+dfsg/debian/control @@ -0,0 +1,45 @@ +Source: monodevelop-database +Section: devel +Priority: optional +Maintainer: Mirco Bauer +Build-Depends: debhelper (>= 5), dpatch +Build-Depends-Indep: cli-common-dev (>= 0.5.4), + monodevelop (>= 1.9.2), + mono-devel (>= 2.0), + autoconf, + automake, + autotools-dev, + libgtk2.0-cil (>= 2.8), + libgtksourceview2.0-cil (>= 0.10), + 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.0 +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-1.9.3+dfsg.orig/debian/watch +++ monodevelop-database-1.9.3+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-1.9.3+dfsg.orig/debian/patches/00list +++ monodevelop-database-1.9.3+dfsg/debian/patches/00list @@ -0,0 +1 @@ +link_system_libs --- monodevelop-database-1.9.3+dfsg.orig/debian/patches/link_system_libs.dpatch +++ monodevelop-database-1.9.3+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 +## +## 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 \