--- bansheelyricsplugin-0.8.1.orig/debian/control +++ bansheelyricsplugin-0.8.1/debian/control @@ -0,0 +1,39 @@ +Source: bansheelyricsplugin +Section: sound +Priority: optional +Maintainer: Debian CLI Applications Team +Uploaders: Chow Loong Jin , Sebastian Dröge +Build-Depends: debhelper (>= 7.0.50), + quilt (>= 0.46-7~), + cli-common-dev (>= 0.5.7), + pkg-config (>= 0.9.0), + mono-devel (>= 2.4.2.3), + banshee (>= 1.5.3), + 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://bansheelyricsplugin.googlecode.com +Vcs-Git: git://git.debian.org/git/pkg-cli-apps/packages/bansheelyricsplugin.git +Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/bansheelyricsplugin.git + +Package: banshee-extension-lyrics +Architecture: all +Depends: ${cli:Depends}, + ${misc:Depends}, + banshee (>= 1.5.3) +Description: Lyrics extension for Banshee + Banshee Lyrics Plugin is an extension which shows lyrics of songs played in + Banshee. It supports downloading lyrics from: + * http://lyrc.com.ar + * http://lyriky.com + * http://lyricwiki.org + * http://www.autolyrics.com + . + Banshee is a media management and playback application for the GNOME + desktop --- bansheelyricsplugin-0.8.1.orig/debian/compat +++ bansheelyricsplugin-0.8.1/debian/compat @@ -0,0 +1 @@ +7 --- bansheelyricsplugin-0.8.1.orig/debian/rules +++ bansheelyricsplugin-0.8.1/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +include /usr/share/cli-common/cli.make +include /usr/share/quilt/quilt.make + +# some vars for get-orig-source +MAKEFILE = $(firstword $(MAKEFILE_LIST)) +DEBIAN_DIR = $(dir $(MAKEFILE)) +SOURCE_DIR = $(DEBIAN_DIR)/.. +PACKAGE = $(shell sed -n 's/^Source: //p' $(DEBIAN_DIR)/control) +UPSTREAM_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | \ + sed -n 's/-.*$$//; s/^Version: //p') + +override_dh_auto_configure: + dh_auto_configure -- MCS=/usr/bin/mono-csc + +# don't install upstream changelog, it contains nothing +override_dh_installchangelogs: + dh_installchangelogs -XChangeLog + +get-orig-source: + uscan \ + --force-download \ + --download \ + --upstream-version $(UPSTREAM_VERSION) \ + --package $(PACKAGE) \ + --watchfile $(DEBIAN_DIR)/watch \ + --destdir . \ + --rename \ + --repack \ + --rename + +%: + dh --with=quilt $@ + +.PHONY: get-orig-source --- bansheelyricsplugin-0.8.1.orig/debian/README.source +++ bansheelyricsplugin-0.8.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt 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 configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- bansheelyricsplugin-0.8.1.orig/debian/watch +++ bansheelyricsplugin-0.8.1/debian/watch @@ -0,0 +1,9 @@ +version=3 + +# Mangle 1.0 into 0.2 so that it won't be considered > 0.6 +options="uversionmangle=s/^1\.0$/0.2/" \ + http://code.google.com/p/bansheelyricsplugin/downloads/list \ + .*/BansheeLyricsPlugin([0-9.]*).tar.bz2 + +http://code.google.com/p/bansheelyricsplugin/downloads/list \ + .*/bansheelyricsplugin-([0-9.]+).tar.bz2 --- bansheelyricsplugin-0.8.1.orig/debian/changelog +++ bansheelyricsplugin-0.8.1/debian/changelog @@ -0,0 +1,65 @@ +bansheelyricsplugin (0.8.1-2) unstable; urgency=low + + * debian/patches/01_fix-banshee-1.5.3.patch: + + Fix compilation with Banshee 1.5.3 + * debian/(control, rules, README.source: + + Quiltify package + + -- Chow Loong Jin Fri, 29 Jan 2010 08:03:00 +0800 + +bansheelyricsplugin (0.8.1-1) unstable; urgency=low + + [ Chow Loong Jin ] + * New upstream release + * debian/control: + + Replace libgtkhtml3.14-cil-dev with libwebkit1.0-cil-dev as per upstream + change + + Update my e-mail address + * debian/rules: + + Use mono-csc instead of csc for MCS (Closes: #562266) + + Bump mono-devel version requirement to 2.4.2.3 for mono-csc + + [ Iain Lane ] + * debian/control: Update build-deps to use new gnome# and gnome-desktop# + -dev packages. + + -- Chow Loong Jin Sun, 17 Jan 2010 00:46:59 +0800 + +bansheelyricsplugin (0.7-1) unstable; urgency=low + + * New Upstream Version + * debian/control: + + Changed Vcs-* fields to git addresses + + Bump Standards-Version + + Fix grammatical error "an media" to "a media" + + Combined Build-Depends-Indep into Build-Depends; there is only one package + anyway. + + Use DH7.0.50 + + Use banshee >= 0.98, as per configure.ac + + Drop automake, autoconf, and libtool build-depends, relax pkg-config + build-depends + * debian/rules: + + Use debhelper minimal rule style + + Fix get-orig-source + * debian/watch: + + Updated to track new url as well + + -- Chow Loong Jin Thu, 04 Jun 2009 21:10:40 +0800 + +bansheelyricsplugin (0.6-2) unstable; urgency=low + + * Upload to unstable. + * debian/control: + + Use Gnome# 2.20 for now. + + -- Sebastian Dröge Fri, 06 Mar 2009 14:57:40 +0100 + +bansheelyricsplugin (0.6-1) unstable; urgency=low + + * Initial release (Closes: #513212) + * Original tarball is only available in .tar.bz2 format, so it was + repackaged into .tar.gz, removing .svn and autom4te.cache directories in + the process. + + -- Chow Loong Jin Sat, 24 Jan 2009 10:20:14 +0800 + --- bansheelyricsplugin-0.8.1.orig/debian/copyright +++ bansheelyricsplugin-0.8.1/debian/copyright @@ -0,0 +1,32 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: Banshee Lyrics Plugin +Upstream-Maintainer: Christian Martellini , + Fabiano Ridolfi +Upstream-Source: http://bansheelyricsplugin.googlecode.com +X-Upstream-Source-Repackaged: Original .tar.bz2 has been repackaged into .tar.gz + with .svn and autom4te.cache dirs removed + +Files: * +Copyright: Copyright 2008 Christian Martellini +Copyright: Copyright 2008 Fabiano Ridolfi +License: GPL-2 + 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 + . + A full copy of this license can be found in /usr/share/common-licenses/GPL-2 + +Files: debian/* +Copyright: Copyright 2008 Chow Loong Jin +License: GPL-2 + --- bansheelyricsplugin-0.8.1.orig/debian/patches/series +++ bansheelyricsplugin-0.8.1/debian/patches/series @@ -0,0 +1 @@ +01_fix-banshee-1.5.3.patch --- bansheelyricsplugin-0.8.1.orig/debian/patches/01_fix-banshee-1.5.3.patch +++ bansheelyricsplugin-0.8.1/debian/patches/01_fix-banshee-1.5.3.patch @@ -0,0 +1,74 @@ +Description: Fix compilation with Banshee 1.5.3 and drop 1.5.2 support +Origin; upstream +Index: bansheelyricsplugin/src/Banshee.Lyrics/LyricsManager.cs +=================================================================== +--- bansheelyricsplugin.orig/src/Banshee.Lyrics/LyricsManager.cs 2010-01-29 10:09:44.365689203 +0800 ++++ bansheelyricsplugin/src/Banshee.Lyrics/LyricsManager.cs 2010-01-29 10:09:47.558956064 +0800 +@@ -106,7 +106,7 @@ + + LoadStarted (null, null); + +- Banshee.Base.ThreadAssist.SpawnFromMain (delegate { ++ ThreadAssist.SpawnFromMain (delegate { + try { + if (cache.IsInCache (track)) { + lyrics = cache.ReadLyrics (track); +@@ -128,7 +128,7 @@ + error = e.Message; + } + +- Banshee.Base.ThreadAssist.ProxyToMain (delegate { ++ ThreadAssist.ProxyToMain (delegate { + LoadFinished (this, new LoadFinishedEventArgs (lyrics, suggestion, error));}); + }); + } +@@ -236,7 +236,7 @@ + return; + } + +- Banshee.Base.ThreadAssist.SpawnFromMain (delegate { ++ ThreadAssist.SpawnFromMain (delegate { + if (rewrite) { + cache.DeleteLyrics (track); + } +Index: bansheelyricsplugin/src/Makefile.am +=================================================================== +--- bansheelyricsplugin.orig/src/Makefile.am 2010-01-29 10:09:52.519690885 +0800 ++++ bansheelyricsplugin/src/Makefile.am 2010-01-29 10:10:50.897777837 +0800 +@@ -1,6 +1,6 @@ + ASSEMBLY = Banshee.Lyrics.dll + TARGET = library +-MCS_FLAGS = -debug /r:System.Web ++MCS_FLAGS = -debug + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug + CUSTOM_MCS_FLAGS = $(MCS_FLAGS) \ + -unsafe +@@ -30,7 +30,6 @@ + Resources/LyricsMenu.xml + + REFERENCES = \ +- System.Web \ + System.Web.Services \ + System.Xml \ + $(WEBKIT_SHARP_LIBS) \ +Index: bansheelyricsplugin/src/Makefile.in +=================================================================== +--- bansheelyricsplugin.orig/src/Makefile.in 2010-01-29 10:09:54.601960821 +0800 ++++ bansheelyricsplugin/src/Makefile.in 2010-01-29 10:10:59.131690468 +0800 +@@ -180,7 +180,7 @@ + top_srcdir = @top_srcdir@ + ASSEMBLY = Banshee.Lyrics.dll + TARGET = library +-MCS_FLAGS = -debug /r:System.Web ++MCS_FLAGS = -debug + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug + CUSTOM_MCS_FLAGS = $(MCS_FLAGS) \ + -unsafe +@@ -212,7 +212,6 @@ + Resources/LyricsMenu.xml + + REFERENCES = \ +- System.Web \ + System.Web.Services \ + System.Xml \ + $(WEBKIT_SHARP_LIBS) \