--- banshee-extension-mirage-0.6.0.orig/debian/Mirage.dll.config
+++ banshee-extension-mirage-0.6.0/debian/Mirage.dll.config
@@ -0,0 +1,4 @@
+
+
+
+
--- banshee-extension-mirage-0.6.0.orig/debian/copyright
+++ banshee-extension-mirage-0.6.0/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Chow Loong Jin on
+Tue, 05 Aug 2008 19:09:22 +0800.
+
+It was downloaded from
+
+Upstream Authors:
+
+ Dominik Schnitzer
+ Bertrand Lorentz
+
+Copyright:
+
+ Copyright (C) 2007 Dominik Schnitzer
+
+License:
+
+ 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 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+The Debian packaging is (C) 2008, Chow Loong Jin and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
+
--- banshee-extension-mirage-0.6.0.orig/debian/control
+++ banshee-extension-mirage-0.6.0/debian/control
@@ -0,0 +1,49 @@
+Source: banshee-extension-mirage
+Section: sound
+Priority: optional
+Maintainer: Sebastian Dröge
+Uploaders: Chow Loong Jin
+Build-Depends: cdbs,
+ debhelper (>= 5),
+ cli-common-dev (>= 0.4.4),
+ autotools-dev,
+ mono-devel (>= 2.4.2.3),
+ libglib2.0-dev,
+ libfftw3-dev,
+ libsqlite3-dev (>= 3.3),
+ libgstreamer0.10-dev (>= 0.10.15),
+ libgstreamer-plugins-base0.10-dev (>= 0.10.15),
+ libsamplerate0-dev,
+ intltool (>= 0.35),
+ banshee (>= 1.3.2),
+ libwebkit-cil-dev,
+ libgconf2.0-cil-dev,
+ libglib2.0-cil-dev,
+ libgtk2.0-cil-dev,
+ libtaglib-cil-dev,
+ libndesk-dbus-glib1.0-cil-dev,
+ libndesk-dbus1.0-cil-dev,
+ libmono-addins-cil-dev
+Standards-Version: 3.8.3
+Homepage: http://hop.at/mirage/
+Vcs-Git: git://git.debian.org/git/pkg-cli-apps/packages/banshee-extension-mirage.git
+Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/banshee-extension-mirage.git
+
+Package: banshee-extension-mirage
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${cli:Depends},
+ ${misc:Depends},
+ banshee (>= 1.4.1)
+Description: Automatic Playlist Generation Extension for Banshee
+ Mirage is a ready-to-try implementation of the latest research
+ in automatic playlist generation and music similarity. Mirage
+ analyzes your music collection and computes similarity models
+ for each song. After your music has been analyzed, Mirage is
+ able to automatically generate playlists of similar music.
+ .
+ Mirage is far from being perfect! But it is a nice and easy way
+ to rediscover your music collection. Imagine it's an automated
+ radio station DJ playing songs from your collection and all songs
+ somehow fit together.
+
--- banshee-extension-mirage-0.6.0.orig/debian/changelog
+++ banshee-extension-mirage-0.6.0/debian/changelog
@@ -0,0 +1,109 @@
+banshee-extension-mirage (0.6.0-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control:
+ + Lower mono-devel requirement to 2.4.2.3 -- mono-csc was introduced then
+ + Update gstreamer-plugins-base and banshee required versions
+ + Add me to Uploaders
+ * debian/patches/:
+ + 01_gettext-package.patch, 03_fix-banshee-1.5.3.patch, 99_autoreconf.patch:
+ - Dropped, applied upstream
+ + 02_am-maintainer-mode.patch:
+ - Dropped, no longer needed
+
+ -- Chow Loong Jin Fri, 05 Feb 2010 01:51:54 +0800
+
+banshee-extension-mirage (0.5.0-3) unstable; urgency=low
+
+ [ Chow Loong Jin ]
+ * debian/control:
+ + Vcs-* updated to reflect migration to git
+ + Bump Standards-Version to 3.8.3
+
+ [ Jo Shields ]
+ * debian/control,
+ debian/rules:
+ + Use mono-csc from mono-devel 2.4.3 as compiler (Closes: #562274)
+ + Update build-deps to prevent FTBFS (Closes: #566204)
+
+ -- Jo Shields Mon, 25 Jan 2010 11:36:43 +0000
+
+banshee-extension-mirage (0.5.0-2) unstable; urgency=low
+
+ * debian/patches/01_gettext-package.patch:
+ + Fix gettext package to prevent file conflicts with the
+ image viewer "mirage" (Closes: #519133).
+ * debian/patches/02_am-maintainer-mode.patch:
+ + Add AM_MAINTAINER_MODE to configure.ac to allow easier patching
+ of autotools generated files.
+ * debian/patches/99_autoreconf.patch:
+ + Regenerate autotools generated files for the above changes.
+
+ -- Sebastian Dröge Mon, 16 Mar 2009 11:21:03 +0100
+
+banshee-extension-mirage (0.5.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastian Dröge Tue, 10 Mar 2009 08:09:23 +0100
+
+banshee-extension-mirage (0.4.0+r81-2) unstable; urgency=low
+
+ * Upload to unstable.
+ * debian/control:
+ + Use Gnome# 2.20 for now.
+
+ -- Sebastian Dröge Fri, 06 Mar 2009 14:43:43 +0100
+
+banshee-extension-mirage (0.4.0+r81-1) experimental; urgency=low
+
+ * New SVN snapshot, fixing translation issues.
+ * debian/control:
+ + Update for Gnome# 2.24.
+ * debian/rules,
+ debian/control,
+ debian/patches/10_configurable_compiler.patch:
+ + Don't run automake/autoconf during build as it's not required
+ anymore.
+
+ -- Sebastian Dröge Thu, 29 Jan 2009 14:06:25 +0100
+
+banshee-extension-mirage (0.4.0-3) experimental; urgency=low
+
+ [ Iain Lane ]
+ * debian/control, debian/rules,
+ debian/patches/10_configurable_compiler.patch:
+ + Update for Mono 2.0 transition (Closes: #507413)
+ + Patch build system to respect GMCS variable passed to configure
+ - Requires running automake during build, and build-depending on it
+ + Update build-deps (mono-devel) to pull in csc
+ + Pass csc to configure
+
+ [ Mirco Bauer ]
+ * debian/control:
+ + Added Vcs-Browser and Vcs-Svn fields.
+
+ -- Iain Lane Mon, 15 Dec 2008 22:39:34 +0000
+
+banshee-extension-mirage (0.4.0-2) experimental; urgency=low
+
+ * debian/control:
+ + Update GStreamer and banshee (Build-)Depends to be accurate
+ according to configure.ac and conform with reality.
+
+ -- Sebastian Dröge Tue, 11 Nov 2008 19:40:53 +0100
+
+banshee-extension-mirage (0.4.0-1) experimental; urgency=low
+
+ * New upstream release:
+ + Ensure compatibility with banshee 1.4 (Closes: #503898).
+
+ -- Sebastian Dröge Tue, 11 Nov 2008 19:04:05 +0100
+
+banshee-extension-mirage (0.3.0-1) experimental; urgency=low
+
+ * Initial release, packaging based on the Ubuntu packaging by
+ Chow Loong Jin.
+
+ -- Sebastian Dröge Fri, 08 Aug 2008 16:27:37 +0200
+
--- banshee-extension-mirage-0.6.0.orig/debian/rules
+++ banshee-extension-mirage-0.6.0/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+export MONO_SHARED_DIR=$(CURDIR)
+
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+
+DEB_CONFIGURE_USER_FLAGS += GMCS=/usr/bin/mono-csc
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-static
+
+common-binary-predeb-arch::
+ dh_clifixperms
+ dh_clideps -d
+
+binary-install/banshee-extension-mirage::
+ rm -f debian/banshee-extension-mirage/usr/lib/*.*a
+ mv -v debian/banshee-extension-mirage/usr/lib/libmirageaudio.so \
+ debian/banshee-extension-mirage/usr/lib/banshee-1/Extensions/
+ cp -v debian/Mirage.dll.config \
+ debian/banshee-extension-mirage/usr/lib/banshee-1/Extensions/
+
+clean::
+ rm -rf $(MONO_SHARED_DIR)/.wapi
+
--- banshee-extension-mirage-0.6.0.orig/debian/compat
+++ banshee-extension-mirage-0.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- banshee-extension-mirage-0.6.0.orig/debian/watch
+++ banshee-extension-mirage-0.6.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://hop.at/mirage/download/ mirage-(.*)\.tar\.gz
+
--- banshee-extension-mirage-0.6.0.orig/debian/patches/99_ltmain_as-needed.patch
+++ banshee-extension-mirage-0.6.0/debian/patches/99_ltmain_as-needed.patch
@@ -0,0 +1,30 @@
+--- ltmain.sh.old 2007-10-09 07:38:25.000000000 +0200
++++ ltmain.sh 2007-10-09 07:39:25.000000000 +0200
+@@ -1794,6 +1794,11 @@
+ arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ ;;
+
++ -Wl,--as-needed)
++ deplibs="$deplibs $arg"
++ continue
++ ;;
++
+ -Wl,*)
+ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ arg=
+@@ -2137,6 +2142,15 @@
+ lib=
+ found=no
+ case $deplib in
++ -Wl,--as-needed)
++ if test "$linkmode,$pass" = "prog,link"; then
++ compile_deplibs="$deplib $compile_deplibs"
++ finalize_deplibs="$deplib $finalize_deplibs"
++ else
++ deplibs="$deplib $deplibs"
++ fi
++ continue
++ ;;
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"