ndesk-dbus (0.6.0-4) debian-dir only changes

Summary

 debian/README.source                             |   38 +++++++++
 debian/changelog                                 |   94 +++++++++++++++++++++++
 debian/compat                                    |    1 
 debian/control                                   |   44 ++++++++++
 debian/copyright                                 |   30 +++++++
 debian/libndesk-dbus1.0-cil-dev.install          |    1 
 debian/libndesk-dbus1.0-cil.install              |    1 
 debian/libndesk-dbus1.0-cil.installcligac        |    1 
 debian/patches/00list                            |    2 
 debian/patches/01_pkg-config-library-path.dpatch |   12 ++
 debian/patches/10_namespace-support.dpatch       |   21 +++++
 debian/rules                                     |   71 +++++++++++++++++
 debian/watch                                     |    2 
 13 files changed, 318 insertions(+)

    
download this patch

Patch contents

--- ndesk-dbus-0.6.0.orig/debian/control
+++ ndesk-dbus-0.6.0/debian/control
@@ -0,0 +1,44 @@
+Source: ndesk-dbus
+Section: cli-mono
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
+Uploaders: Sebastian Dröge <slomo@debian.org>
+Build-Depends: debhelper (>= 5), dpatch
+Build-Depends-Indep: cli-common-dev (>= 0.5.4),
+ mono-devel (>= 2.4.3),
+ libmono-dev (>= 2.0.1),
+ pkg-config
+Standards-Version: 3.8.3
+Homepage: http://www.ndesk.org/DBusSharp
+Vcs-Svn: svn://svn.debian.org/pkg-cli-libs/packages/ndesk-dbus/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/ndesk-dbus/trunk/
+
+Package: libndesk-dbus1.0-cil
+Architecture: all
+Depends: ${cli:Depends}, ${misc:Depends}
+Description: CLI implementation of D-Bus
+ ndesk-dbus is a C# implementation of D-Bus. It's often referred to as
+ "managed D-Bus" to avoid confusion with existing bindings (which wrap
+ libdbus).
+ .
+ D-Bus is a message bus, used for sending messages between
+ applications.  Conceptually, it fits somewhere in between raw sockets
+ and CORBA in terms of complexity.
+ .
+ This package contains the ndesk-dbus library itself.
+
+Package: libndesk-dbus1.0-cil-dev
+Architecture: all
+Depends: libndesk-dbus1.0-cil (= ${binary:Version}), ${misc:Depends}
+Replaces: libndesk-dbus1.0-cil (<< 0.6.0-4)
+Description: CLI implementation of D-Bus
+ ndesk-dbus is a C# implementation of D-Bus. It's often referred to as
+ "managed D-Bus" to avoid confusion with existing bindings (which wrap
+ libdbus).
+ .
+ D-Bus is a message bus, used for sending messages between
+ applications.  Conceptually, it fits somewhere in between raw sockets
+ and CORBA in terms of complexity.
+ .
+ This package contains development files for ndesk-dbus, and should be
+ used for compilation.
--- ndesk-dbus-0.6.0.orig/debian/compat
+++ ndesk-dbus-0.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- ndesk-dbus-0.6.0.orig/debian/rules
+++ ndesk-dbus-0.6.0/debian/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is for the .wapi directory for Mono.
+export MONO_SHARED_DIR=$(CURDIR)
+DEB_CLI_ABI_VERSION = 1.0
+DEB_CLI_API_VERSION = 0.6.0
+
+# provide patch and unpatch targets
+include /usr/share/dpatch/dpatch.make
+
+UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
+
+config: config-stamp
+config-stamp: patch-stamp
+	dh_testdir
+	GMCS=/usr/bin/mono-csc ./configure --prefix=/usr
+	touch config-stamp
+
+build: patch-stamp build-stamp
+build-stamp: config-stamp
+	$(MAKE)
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+	rm -f build-stamp
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	# install into /usr/lib/cli/NDesk.DBus-X.Y
+	mkdir -p debian/tmp/usr/lib/cli/NDesk.DBus-$(DEB_CLI_ABI_VERSION)
+	cp src/NDesk.DBus.dll* debian/tmp/usr/lib/cli/NDesk.DBus-$(DEB_CLI_ABI_VERSION)
+	mkdir -p debian/tmp/usr/lib/pkgconfig
+	cp ndesk-dbus-$(DEB_CLI_ABI_VERSION).pc debian/tmp/usr/lib/pkgconfig
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installdirs
+	dh_install
+	dh_installcligac
+	dh_installman
+	dh_clistrip
+	dh_compress
+	dh_fixperms
+	dh_clifixperms
+	dh_makeclilibs -m $(DEB_CLI_API_VERSION)
+	dh_clideps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install 
--- ndesk-dbus-0.6.0.orig/debian/libndesk-dbus1.0-cil.installcligac
+++ ndesk-dbus-0.6.0/debian/libndesk-dbus1.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/NDesk.DBus-1.0/NDesk.DBus.dll
--- ndesk-dbus-0.6.0.orig/debian/README.source
+++ ndesk-dbus-0.6.0/debian/README.source
@@ -0,0 +1,38 @@
+This package uses dpatch 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 get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer@debian.org>
+10 Aug 2008.
--- ndesk-dbus-0.6.0.orig/debian/libndesk-dbus1.0-cil-dev.install
+++ ndesk-dbus-0.6.0/debian/libndesk-dbus1.0-cil-dev.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/pkgconfig
--- ndesk-dbus-0.6.0.orig/debian/libndesk-dbus1.0-cil.install
+++ ndesk-dbus-0.6.0/debian/libndesk-dbus1.0-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/cli
--- ndesk-dbus-0.6.0.orig/debian/watch
+++ ndesk-dbus-0.6.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-([0-9.]*)\.tar\.gz debian uupdate
--- ndesk-dbus-0.6.0.orig/debian/changelog
+++ ndesk-dbus-0.6.0/debian/changelog
@@ -0,0 +1,94 @@
+ndesk-dbus (0.6.0-4) unstable; urgency=low
+
+  [ Iain Lane ]
+  * debian/control:
+    + Set section to cli-mono, per ftpmasters
+
+  [ Jo Shields ]
+  * debian/patches/01_pkg-config-library-path.dpatch,
+    debian/libndesk-dbus1.0-cil.installcligac,
+    debian/rules:
+    + CLI Policy 0.7 install location
+  * debian/control,
+    debian/libndesk-dbus1.0-cil.install,
+    debian/libndesk-dbus1.0-cil-dev.install:
+    + Create API-versioned -dev package containing pkg-config file
+  * debian/control:
+    + Bump build-dep to mono-devel 2.4.3, and remove corresponding
+      obsolete individual library build-depends.
+    + Remove Suggests on pkgconfig
+
+ -- Jo Shields <directhex@apebox.org>  Sat, 17 Oct 2009 00:28:14 +0100
+
+ndesk-dbus (0.6.0-3) unstable; urgency=low
+
+  * debian/patches/10_namespace-support.dpatch: Backport patch from upstream
+    bug#377672 to fix a crash in the case where we were dealing with
+    interfaces which had the same name in different namespaces. Thanks to Matt
+    Guo for the fix (LP: #377672)
+  * debian/control, debian/rules: Use mono-csc as compiler, bump mono-devel
+    versioned build-dep to one which provides this
+  * debian/control, debian/README.source: Standards-Version 3.8.3; add
+    README.source 
+
+ -- Iain Lane <laney@ubuntu.com>  Thu, 15 Oct 2009 22:53:17 +0100
+
+ndesk-dbus (0.6.0-2) unstable; urgency=low
+
+  [ Mirco Bauer ]
+  * Upload to unstable.
+  * debian/control:
+    + Changed Maintainer to pkg-cli-libs team.
+    + Bumped Standards-Version to 3.8.0 (no changes needed)
+    + Added Homepage, Vcs-Browser and Vcs-Svn fields.
+    + Bumped cli-common-dev build-dep to >= 0.5.4 as we use dh_clistrip from
+      it now.
+  * debian/rules:
+    + Call dh_clistrip in binary-indep target.
+    + Use variable for ABI/API versions.
+
+  [ Steve Langasek ]
+  * debian/rules: pass GMCS=/usr/bin/csc to configure, for the mono 2.0
+    transition.
+  * debian/control: update the build-dependencies for mono 2.0.
+
+ -- Mirco Bauer <meebey@debian.org>  Thu, 26 Feb 2009 23:54:37 +0100
+
+ndesk-dbus (0.6.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    + Update build dependencies.
+  * debian/rules:
+    + Update for new upstream build system.
+    + Call dh_clifixperms instead of manual find magic.
+    + Bump clilibs to >= 0.6.0.
+  * debian/watch:
+    + Update location.
+  * patches/01_pkg-config-library-path.dpatch:
+    + Fix library path in the pkg-config file.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 16 Oct 2007 11:52:32 +0200
+
+ndesk-dbus (0.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/ndesk-dbus-1.0.pc:
+    + Updated for the new version
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 12 Mar 2007 12:40:16 +0100
+
+ndesk-dbus (0.4.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/ndesk-dbus-1.0.pc:
+    + Updated
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 20 Feb 2007 17:09:31 +0100
+
+ndesk-dbus (0.4-1) unstable; urgency=low
+
+  * Initial Revision
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon,  5 Feb 2007 07:40:28 +0100
+
--- ndesk-dbus-0.6.0.orig/debian/copyright
+++ ndesk-dbus-0.6.0/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Sebastian Dröge <slomo@debian.org> on
+Mon,  5 Feb 2007 07:40:28 +0100.
+
+It was downloaded from http://www.ndesk.org
+
+Upstream Author: Alp Toker <alp@atoker.com>
+
+Copyright:
+
+Copyright 2006 Alp Toker <alp@atoker.com>
+
+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.
+
--- ndesk-dbus-0.6.0.orig/debian/patches/00list
+++ ndesk-dbus-0.6.0/debian/patches/00list
@@ -0,0 +1,2 @@
+01_pkg-config-library-path.dpatch
+10_namespace-support.dpatch
--- ndesk-dbus-0.6.0.orig/debian/patches/01_pkg-config-library-path.dpatch
+++ ndesk-dbus-0.6.0/debian/patches/01_pkg-config-library-path.dpatch
@@ -0,0 +1,12 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+
+@DPATCH@
+
+--- ndesk-dbus/ndesk-dbus-1.0.pc.in.old	2007-10-16 12:19:09.000000000 +0200
++++ ndesk-dbus/ndesk-dbus-1.0.pc.in	2007-10-16 12:19:17.000000000 +0200
+@@ -8,4 +8,4 @@
+ Description: Managed D-Bus IPC protocol library and CLR binding
+ Version: @VERSION@
+ URL: http://www.ndesk.org/DBusSharp
+-Libs: -r:${libdir}/mono/@PACKAGE@-@API_VERSION@/NDesk.DBus.dll
++Libs: -r:${libdir}/cli/NDesk.DBus-@API_VERSION@/NDesk.DBus.dll
--- ndesk-dbus-0.6.0.orig/debian/patches/10_namespace-support.dpatch
+++ ndesk-dbus-0.6.0/debian/patches/10_namespace-support.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_namespace-support.dpatch by Iain Lane <laney@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+# Description: Crash with interfaces with the same name but in different namespaces
+# Origin: other
+# Bug: https://bugs.launchpad.net/ndesk-dbus/+bug/377672
+
+@DPATCH@
+diff -urNad ndesk-dbus-0.6.0~/src/TypeImplementer.cs ndesk-dbus-0.6.0/src/TypeImplementer.cs
+--- ndesk-dbus-0.6.0~/src/TypeImplementer.cs	2007-10-11 21:01:11.000000000 +0100
++++ ndesk-dbus-0.6.0/src/TypeImplementer.cs	2009-10-15 22:30:15.462877986 +0100
+@@ -34,7 +34,7 @@
+ 
+ 			InitHack ();
+ 
+-			TypeBuilder typeB = modB.DefineType (declType.Name + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
++			TypeBuilder typeB = modB.DefineType (declType.FullName + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
+ 
+ 			Implement (typeB, declType);
+