--- wncksync-0.2.24.orig/debian/changelog
+++ wncksync-0.2.24/debian/changelog
@@ -0,0 +1,173 @@
+wncksync (0.2.24-0ubuntu1) lucid; urgency=low
+
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Fri, 07 May 2010 13:04:35 +0200
+
+wncksync (0.2.22-0ubuntu1) lucid; urgency=low
+
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Fri, 16 Apr 2010 17:21:18 +0200
+
+wncksync (0.2.18-0ubuntu1) lucid; urgency=low
+
+  * debian/control:
+    - add libwncksync0-dbg and wncksyncdaemon-dbg package
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Fri, 19 Mar 2010 15:34:29 +0100
+
+wncksync (0.2.16-0ubuntu1) lucid; urgency=low
+
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Thu, 11 Mar 2010 20:33:49 +0100
+
+wncksync (0.2.14-0ubuntu1) lucid; urgency=low
+
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Thu, 04 Mar 2010 20:49:20 +0100
+
+wncksync (0.2.12-0ubuntu1) lucid; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    - remove libgnome-menu-dev build-dep
+
+ -- Didier Roche <didrocks@ubuntu.com>  Fri, 26 Feb 2010 13:45:17 +0100
+
+wncksync (0.2.11-0ubuntu1) lucid; urgency=low
+
+  [ Martin Pitt ]
+  * Add debian/wncksyncdaemon.postinst: Build a file name → Exec line index on
+    configuration and when package is triggered. This index can be used to
+    significantly speed up the startup, instead of parsing all the individual
+    .desktop files.
+  * Add debian/wncksyncdaemon.triggers: Trigger index regeneration on changes
+    of /usr/share/applications/, or on "gmenucache" (which is used by
+    python-gmenu as well).
+  * Add debian/wncksyncdaemon.postrm: Remove index on removal or purge.
+
+  [ Didier Roche ]
+  * New upstream release.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Thu, 25 Feb 2010 12:52:45 +0100
+
+wncksync (0.2.10-0ubuntu1) lucid; urgency=low
+
+  * new upstream release
+  * debian/control:
+    - Fix description
+    - remove Vcs-Bzr
+    - update Standards-Version
+
+ -- Didier Roche <didrocks@ubuntu.com>  Thu, 18 Feb 2010 19:11:34 +0100
+
+wncksync (0.2.8-0ubuntu1) lucid; urgency=low
+
+  * New upstream release
+  * debian/libwncksync0.install, debian/wncksyncdaemon.install:
+    move org.wncksync.Matcher.service to wncksyncdaemon
+  * debian/control:
+    - add Replaces: libwncksync0
+    - add libgnome-menu-dev build-dep
+
+ -- Didier Roche <didrocks@ubuntu.com>  Tue, 26 Jan 2010 21:07:01 +0100
+
+wncksync (0.2.4-0ubuntu2) lucid; urgency=low
+
+  * Add Vcs-Bzr.
+  * Fix URL in copyright.
+  * Fix shlibs and extra package name from debian/control.
+  * Don't repeat Section: libs in binary packages.
+  * Build-dep on pkg-config.
+  * Let the lib-dev package depend on libwnck-dev and libglib2.0-dev since the
+    .pc file Requires: them.
+  * Suffix versions in build-deps and deps with ~ to allow backported
+    versions.
+  * copyright: cover more files implicitly and remove bogus mention of
+    examples/.
+
+ -- Loïc Minier <loic.minier@ubuntu.com>  Tue, 26 Jan 2010 12:29:06 +0100
+
+wncksync (0.2.4-0ubuntu1) lucid; urgency=low
+
+  * debian/rules:
+    - remove DEB_CONFIGURE_SCRIPT = $(CURDIR)/autogen.sh as we will run
+      from tarballs now
+    - bump libwncksync in MAKESHLIBS_ARGS
+    - add gnome.mk and utils.mk, remove autotools.mk
+    - add common-binary-predeb-arch:: list-missing
+  * add debian/watch
+  * debian/control:
+    - remove depends on gnome-common for same reason
+    - change libglib2.0-dev version dependency to get glib fix
+    - rename Source: to wncksync
+    - add wncksyncdaemon package
+    - add libwncksync0 dep on wncksyncdaemon
+    - remove libwncksync-lib and merge with wncksyncdaemon
+  * add debian/wncksyncdaemon.install
+  * removed debian/libwncksync-glib.install
+  * debian/copyright: fix copyright
+  * debian/libwncksync0.install: remove unused /usr/lib/libwncksync/
+    directory
+
+ -- Didier Roche <didrocks@ubuntu.com>  Wed, 20 Jan 2010 16:52:43 +0100
+
+libwncksync (0.2.0+20091218-1ubuntu1) lucid; urgency=low
+
+  * fixed path in data/org.wncksync.Matcher.service
+
+ -- Ken VanDine <ken.vandine@canonical.com>  Fri, 18 Dec 2009 17:03:06 -0500
+
+libwncksync (0.2.0+20091218-1) lucid; urgency=low
+
+  * debian/libwncksync-dev.install
+    - don't install static libs
+
+ -- Ken VanDine <ken.vandine@canonical.com>  Fri, 18 Dec 2009 12:24:02 -0500
+
+libwncksync (0.2.0+20091218) lucid; urgency=low
+
+  * New snapshot
+  * debian/control
+    - build dep on libglib2.0-dev (>= 2.23.0-1ubuntu3wncksync1), we need 
+      the gio patch
+    - added build dep for gnome-common, so we can run autogen.sh for snapshots
+    - Removed Replaces for libwncksync-glib, it was replacing itself
+    - Renamed the libwncksync binary package libwncksync0
+
+ -- Ken VanDine <ken.vandine@canonical.com>  Fri, 18 Dec 2009 11:25:55 -0500
+
+libwncksync (0.2.0ubuntu4) karmic; urgency=low
+
+  * Rebuild from latest trunk (but with our no-mono branch)
+  * Separate gio module into libwncksync-glib
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Sat, 31 Oct 2009 08:04:27 +0000
+
+libwncksync (0.2.0ubuntu3) karmic; urgency=low
+
+  * Fix service file and installation
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Wed, 28 Oct 2009 12:08:19 +0000
+
+libwncksync (0.2.0ubuntu2) karmic; urgency=low
+
+  * Add gio module and daemon to build
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Wed, 28 Oct 2009 08:49:05 +0000
+
+libwncksync (0.2.0ubuntu1) karmic; urgency=low
+
+  * Fix packaging to include the dbus service file
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Tue, 27 Oct 2009 18:45:18 +0000
+
+libwncksync (0.2.0) karmic; urgency=low
+
+  * Initial release.
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Tue, 27 Oct 2009 15:05:26 +0000
--- wncksync-0.2.24.orig/debian/libwncksync-dev.install
+++ wncksync-0.2.24/debian/libwncksync-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/libwncksync/libwncksync/*
+debian/tmp/usr/lib/pkgconfig/libwncksync.pc
+debian/tmp/usr/lib/libwncksync.so
--- wncksync-0.2.24.orig/debian/compat
+++ wncksync-0.2.24/debian/compat
@@ -0,0 +1 @@
+5
--- wncksync-0.2.24.orig/debian/wncksyncdaemon.postinst
+++ wncksync-0.2.24/debian/wncksyncdaemon.postinst
@@ -0,0 +1,13 @@
+#! /bin/sh
+set -e
+
+if [ "$1" = "configure" ] || [ "$1" = "triggered" ]; then
+    if [ -d /usr/share/applications ]; then
+        # rebuild index
+        I=/usr/share/applications/wncksync.index
+	echo "Rebuilding $I..."
+        rm -f $I
+        perl -ne 'if (/^Exec=(.+)$/) { $f = (split "/", $ARGV)[-1]; print "$f\t$1\n"; }' /usr/share/applications/*.desktop > $I.new || rm -f $I.new
+        [ -e $I.new ] && mv $I.new $I || true
+    fi
+fi
--- wncksync-0.2.24.orig/debian/copyright
+++ wncksync-0.2.24/debian/copyright
@@ -0,0 +1,53 @@
+This package was debianized by Neil Jagdish Patel <neil.patel@canonical.com> on
+Wed, 27 Oct 2009 15:00:06 -0000.
+
+It was downloaded from <http://launchpad.net/wncksync/>
+
+Upstream Author:
+
+    Jason Smith <jassmith@gmail.com>
+
+Copyright:
+
+    Copyright (C) 2009 Canonical Ltd.
+
+License:
+
+    When not otherwise specified, the following license applies:
+    
+      This library is free software; you can redistribute it and/or
+      modify it under the terms of the GNU Lesser General Public
+      License Version 3.0 as published by the Free Software Foundation.
+
+      This library 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
+      Lesser General Public License for more details.
+
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in `/usr/share/common-licenses/LGPL-3'
+
+
+    * src/*:
+
+      This program is free software: you can redistribute it and/or modify
+      it under the terms of the GNU General Public License version 3 as 
+      published by the Free Software Foundation.
+ 
+      This program 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'
+
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Canonical Ltd.
+
+and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'.
--- wncksync-0.2.24.orig/debian/control
+++ wncksync-0.2.24/debian/control
@@ -0,0 +1,84 @@
+Source: wncksync
+Section: libs
+Priority: optional
+Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+Build-Depends: debhelper (>= 5.0),
+               cdbs (>= 0.4.41~),
+               pkg-config,
+               libglib2.0-dev (>= 2.23.0-1ubuntu3~),
+               libgtk2.0-dev (>= 2.12.0),
+               libdbus-glib-1-dev,
+               gnome-doc-utils,
+               libtool,
+               intltool,
+               libgtop2-dev,
+               libwnck-dev
+Standards-Version: 3.8.4
+Homepage: https://launchpad.net/wncksync
+
+Package: wncksyncdaemon
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+Replaces: libwncksync-glib,
+          libwncksync0
+Conflicts: libwncksync-glib
+Description: Window matching library - daemon
+ wncksync matches application windows to desktop files
+ .
+ This package contains the daemon used by the library and a gio
+ module that facilitates the matching of applications started
+ through GDesktopAppInfo
+
+Package: wncksyncdaemon-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, wncksyncdaemon (= ${binary:Version})
+Description: Window matching library - debugging symbols for daemon
+ wncksync matches application windows to desktop files
+ .
+ This package contains the daemon used by the library and a gio
+ module that facilitates the matching of applications started
+ through GDesktopAppInfo
+ .
+ This package contains debugging symbols for the daemon.
+
+Package: libwncksync0
+Replaces: libwncksync
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         wncksyncdaemon (= ${binary:Version})
+Description: Window matching library - shared library
+ wncksync matches application windows to desktop files
+ .
+ This package contains shared libraries to be used by applications.
+
+Package: libwncksync0-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, libwncksync0 (= ${binary:Version})
+Description: Window matching library - debugging symbols for the library
+ wncksync matches application windows to desktop files
+ .
+ This package contains the daemon used by the library and a gio
+ module that facilitates the matching of applications started
+ through GDesktopAppInfo
+ .
+ This package contains debugging symbols for the library.
+
+Package: libwncksync-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libwncksync0 (= ${binary:Version}),
+         libdbus-glib-1-dev (>= 0.76),
+         libwnck-dev,
+         libglib2.0-dev (>= 2.23.0-1ubuntu3~)
+Description: Window matching library - development files
+ wncksync matches application windows to desktop files
+ .
+ This package contains files that are needed to build applications.
--- wncksync-0.2.24.orig/debian/wncksyncdaemon.install
+++ wncksync-0.2.24/debian/wncksyncdaemon.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/wncksync
+debian/tmp/usr/lib/gio/modules/libgiowncksync.so
+debian/tmp/usr/share/dbus-1/services/
--- wncksync-0.2.24.orig/debian/watch
+++ wncksync-0.2.24/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://launchpad.net/wncksync/+download .*/wncksync-([0-9.]+)\.tar\.gz
--- wncksync-0.2.24.orig/debian/wncksyncdaemon.postrm
+++ wncksync-0.2.24/debian/wncksyncdaemon.postrm
@@ -0,0 +1,6 @@
+#! /bin/sh
+set -e
+
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+    rm -f /usr/share/applications/wncksync.index
+fi
--- wncksync-0.2.24.orig/debian/rules
+++ wncksync-0.2.24/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+libwncksyncN := $(shell sed -rn 's/^Package:[[:space:]]*(libwncksync[0-9]+)[[:space:]]*$$/\1/p' debian/control)
+
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+LDFLAGS += -Wl,-z,defs -Wl,--as-needed
+DEB_DH_MAKESHLIBS_ARGS_ALL += -V '$(libwncksyncN) (>= 0.2.2)'
+
+binary-pre-install::
+	find debian/tmp/usr/lib -name \*.la -exec rm {} \;
+	find debian/tmp/usr/lib -name \*.a -exec rm {} \;
+
+common-binary-predeb-arch:: list-missing
--- wncksync-0.2.24.orig/debian/wncksyncdaemon.triggers
+++ wncksync-0.2.24/debian/wncksyncdaemon.triggers
@@ -0,0 +1,2 @@
+interest /usr/share/applications
+interest gmenucache
--- wncksync-0.2.24.orig/debian/libwncksync0.install
+++ wncksync-0.2.24/debian/libwncksync0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libwncksync.so.*
