[Pkg-cli-apps-commits] [SCM] banshee-community-extensions branch, experimental, updated. debian/1.8.0-1-10-gd0ad679
Chow Loong Jin
hyperair at ubuntu.com
Fri Nov 12 06:44:13 UTC 2010
The following commit has been merged in the experimental branch:
commit 9897b7f16caab5a4919f4de01e4ef8edac371e94
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date: Fri Nov 12 10:48:13 2010 +0800
Fix FTBFS between Ampache and 1.9.0
* debian/patches/0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch:
+ Fix FTBFS with 1.9.0
diff --git a/debian/changelog b/debian/changelog
index 9ae22fd..692a1ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,8 +13,10 @@ banshee-community-extensions (1.9.0-1) UNRELEASED; urgency=low
+ Add and enable the three new extensions
* debian/patches/fix-ampache-unicode.patch:
+ Fix FTBFS due to unicode character in source
+ * debian/patches/0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch:
+ + Fix FTBFS with 1.9.0
- -- Chow Loong Jin <hyperair at ubuntu.com> Fri, 12 Nov 2010 04:25:52 +0800
+ -- Chow Loong Jin <hyperair at ubuntu.com> Fri, 12 Nov 2010 10:47:56 +0800
banshee-community-extensions (1.8.0-1) experimental; urgency=low
diff --git a/debian/patches/0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch b/debian/patches/0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch
new file mode 100644
index 0000000..932240d
--- /dev/null
+++ b/debian/patches/0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch
@@ -0,0 +1,51 @@
+From 3d3cdd6419b70f5f2f1c169649df153938dc6023 Mon Sep 17 00:00:00 2001
+From: Bertrand Lorentz <bertrand.lorentz at gmail.com>
+Date: Thu, 11 Nov 2010 22:04:48 +0100
+Subject: [PATCH] [Ampache] Fix compilation with banshee 1.9.0
+
+Also add a configure check for banshee 1.9.0.
+---
+ build/m4/extensions/ampache.m4 | 7 ++++++-
+ src/Ampache/Banshee.Ampache/AmpacheSource.cs | 4 ++--
+ 2 files changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/build/m4/extensions/ampache.m4 b/build/m4/extensions/ampache.m4
+index 4c07de2..8ec53ef 100644
+--- a/build/m4/extensions/ampache.m4
++++ b/build/m4/extensions/ampache.m4
+@@ -2,7 +2,12 @@ AC_DEFUN([BCE_AMPACHE],
+ [
+ BCE_ARG_DISABLE([Ampache], [yes])
+
+- if test "x$enable_Ampache" = "xyes"; then
++ BCE_CHECK_EXTENSION_DEP([Ampache], [BANSHEE_190],
++ [banshee-1-services >= 1.9.0],
++ [Banshee 1.9.0 was not found. Please install it or disable the Ampache extension by passing --disable-ampache])
++
++ if test "x$enable_Ampache" = "xyes" \
++ && test "x$have_BANSHEE_190" = "xyes"; then
+ AM_CONDITIONAL(ENABLE_AMPACHE, true)
+ else
+ AM_CONDITIONAL(ENABLE_AMPACHE, false)
+diff --git a/src/Ampache/Banshee.Ampache/AmpacheSource.cs b/src/Ampache/Banshee.Ampache/AmpacheSource.cs
+index f5331b4..5c303ed 100755
+--- a/src/Ampache/Banshee.Ampache/AmpacheSource.cs
++++ b/src/Ampache/Banshee.Ampache/AmpacheSource.cs
+@@ -150,12 +150,12 @@ namespace Banshee.Ampache
+ //throw new NotImplementedException ();
+ }
+
+- public void RemoveSelectedTracks ()
++ public void RemoveTracks (Hyena.Collections.Selection selection)
+ {
+ //throw new NotImplementedException ();
+ }
+
+- public void DeleteSelectedTracks ()
++ public void DeleteTracks (Hyena.Collections.Selection selection)
+ {
+ //throw new NotImplementedException ();
+ }
+--
+1.7.1
+
diff --git a/debian/patches/series b/debian/patches/series
index f4e1d76..cce5f0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-ampache-unicode.patch
+0001-Ampache-Fix-compilation-with-banshee-1.9.0.patch
--
banshee-community-extensions
More information about the Pkg-cli-apps-commits
mailing list