--- listen-0.5.orig/debian/patches/08_mozilla_five_home.patch +++ listen-0.5/debian/patches/08_mozilla_five_home.patch @@ -0,0 +1,9 @@ +diff -ruN listen-0.5/misc/listen.in listen-0.5.new/misc/listen.in +--- listen-0.5/misc/listen.in 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/misc/listen.in 2007-07-11 17:10:44.000000000 +0200 +@@ -19,4 +19,4 @@ + # + ### + +-GTKMOZEMBED_PATH PYTHON -OO LIBDIR/listen.py "$@" ++MOZILLA_FIVE_HOME=/usr/lib/firefox GTKMOZEMBED_PATH PYTHON -OO LIBDIR/listen.py "$@" --- listen-0.5.orig/debian/patches/07_makefile_works.patch +++ listen-0.5/debian/patches/07_makefile_works.patch @@ -0,0 +1,40 @@ +--- Makefile.orig 2007-04-14 02:22:44.000000000 +0200 ++++ Makefile 2007-04-14 02:24:28.000000000 +0200 +@@ -4,11 +4,6 @@ + + VERSION ?= 0.5.99 + +-# 1 = Add LD_LIBRARY_PATH=/path/to/firefox/mozembed/so/file when listen start +-# to prevent segmentfault on wikipedia and lyrics widget for broken python-gtkmozemebed on some distribution like ubuntu edgy/dapper +- +-USE_MOZEMBED_HACK ?= 0 +- + #0 = don't check dependencies usefull to make distribued packages + CHECK_DEPENDS ?= 0 + +@@ -22,10 +17,9 @@ + DBUSDIR = $(DATADIR)/dbus-1 + + +-GTKMOZEMBED_PATH = $(shell pkg-config --libs-only-L mozilla-gtkmozembed 2>/dev/null || pkg-config --libs-only-L firefox-gtkmozembed 2>/dev/null | sed -e "s/-L//g" -e "s/[ ]/\,/" -e "s/[ ]//g" ) +-CONFIGURE_IN_MOZEMBED_HACK= sed -e 's!GTKMOZEMBED_PATH!LD_LIBRARY_PATH=$(GTKMOZEMBED_PATH)!g' ++GTKMOZEMBED_PATH = $(shell pkg-config --libs-only-L mozilla-gtkmozembed 2>/dev/null || pkg-config --libs-only-L firefox-gtkmozembed 2>/dev/null | sed -e "s/-L//g" -e "s/[ ]//g" ) + +-CONFIGURE_IN = sed -e 's!GTKMOZEMBED_PATH!!g' -e 's!PYTHON!$(PYTHON)!g' -e 's!LIBDIR!$(LIBDIR)!g' -e 's!DATADIR!$(DATADIR)!g' -e 's!PREFIX!$(PREFIX)!g' -e 's!BINDIR!$(BINDIR)!g' -e 's!LOCALEDIR!$(LOCALEDIR)!g' ++CONFIGURE_IN = sed -e 's!GTKMOZEMBED_PATH!LD_LIBRARY_PATH=$(GTKMOZEMBED_PATH)!g' -e 's!PYTHON!$(PYTHON)!g' -e 's!LIBDIR!$(LIBDIR)!g' -e 's!DATADIR!$(DATADIR)!g' -e 's!PREFIX!$(PREFIX)!g' -e 's!BINDIR!$(BINDIR)!g' -e 's!LOCALEDIR!$(LOCALEDIR)!g' + + FILES_IN = misc/listen.in misc/org.gnome.Listen.service.in src/dists.py.in + +@@ -40,11 +34,7 @@ + all: check mmkeys.so po-data + docbook2x-man misc/listen.1.docbook --to-stdout | gzip > misc/listen.1.gz + for fn in $(FILES_IN) ; do \ +- if [ $(USE_MOZEMBED_HACK) -eq 1 ]; then \ +- IN=`cat $$fn | $(CONFIGURE_IN_MOZEMBED_HACK) | $(CONFIGURE_IN)`; \ +- else \ +- IN=`cat $$fn | $(CONFIGURE_IN)`; \ +- fi ;\ ++ IN=`cat $$fn | $(CONFIGURE_IN)`; \ + F_OUT=`echo $$fn | sed -e 's/\.in$$//g'`; \ + echo "$$IN" > $$F_OUT; \ + done --- listen-0.5.orig/debian/patches/01_desktop_entry.patch +++ listen-0.5/debian/patches/01_desktop_entry.patch @@ -0,0 +1,23 @@ +diff -ruN listen-0.5/misc/listen.desktop.in listen-0.5.new/misc/listen.desktop.in +--- listen-0.5/misc/listen.desktop.in 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/misc/listen.desktop.in 2007-09-19 17:56:02.000000000 +0200 +@@ -1,15 +1,13 @@ + [Desktop Entry] + Version=1.0 +-Encoding=UTF-8 + _Name=Listen Music Player + _GenericName=Music Player +-_Comment=Listen , browse, or edit your audio collection ++_Comment=Listen, browse, or edit your audio collection + Exec=listen + Terminal=false + Type=Application +-Icon=listen.png ++Icon=listen + StartupNotify=true + StartupWMClass=Listen +-Categories=Application;AudioVideo;Player;GTK;GNOME +-MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;application/x-ape;audio/ape;audio/x-ape;audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;application/x-ape;audio/ape;audio/x-ape;audio/x-mp3;application/x-id3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;audip/mp3;audio/x-mp3;application/x-id3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;audip/mp3;audio/x-m4a;audio/x-m4a;audio/mpc;audio/x-mpc;audio/mp;audio/x-mp;audio/mpc;audio/x-mpc;audio/mp;audio/x-mp;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;audio/x-flac;application/x-flac;audio/flac; +- ++Categories=AudioVideo;Player;GTK;GNOME; ++MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;application/x-ape;audio/ape;audio/x-ape;audio/x-mp3;application/x-id3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;audip/mp3;audio/x-m4a;audio/mpc;audio/x-mpc;audio/mp;audio/x-mp;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac; --- listen-0.5.orig/debian/patches/03_fix_dbus.patch +++ listen-0.5/debian/patches/03_fix_dbus.patch @@ -0,0 +1,49 @@ +Index: src/dbus_manager.py +=================================================================== +--- src/dbus_manager.py (revision 670) ++++ src/dbus_manager.py (working copy) +@@ -30,9 +30,18 @@ + import dbus + import dbus.service + #Try connection du message bus +- dbus.SessionBus() +- if getattr(dbus, 'version', (0,0,0)) >= (0,41,0): ++ dbus_version = getattr(dbus, 'version',(0,0,0)) ++ if dbus_version >= (0,41,0) and dbus_version < (0,80,0): ++ dbus.SessionBus() + import dbus.glib ++ elif dbus_version >= (0,80,0): ++ from dbus.mainloop.glib import DBusGMainLoop ++ DBusGMainLoop(set_as_default=True) ++ dbus.SessionBus() ++ else: ++ pass ++ ++ + except: dbus_imported = False + else: dbus_imported=True + +@@ -41,14 +50,14 @@ + + if not dbus_imported: + class ListenDBus: +- def __init__(self,win,player,object_path="/org/gnome/listen/"): ++ def __init__(self,win,player,object_path="/org/gnome/listen"): + self.player = player + self.win = win + print "No dbus support" + else: + + class ListenDBus(dbus.service.Object): +- def __init__(self,win,player,object_path="/org/gnome/listen/"): ++ def __init__(self,win,player,object_path="/org/gnome/listen"): + self.player = player + self.win = win + self.bus = dbus.SessionBus() +@@ -105,4 +114,4 @@ + song = self.player.song + return str( song.get_str("title")+ " - ("+song.get_str("album")+" - "+song.get_str("artist")+")") + else: +- return "" +\ No newline at end of file ++ return "" --- listen-0.5.orig/debian/patches/05_fix_shebang.patch +++ listen-0.5/debian/patches/05_fix_shebang.patch @@ -0,0 +1,8 @@ +diff -Nur listen/src/listen.py listen.new/src/listen.py +--- listen/src/listen.py 2007-03-17 10:27:27.000000000 +0100 ++++ listen.new/src/listen.py 2007-03-17 11:57:18.000000000 +0100 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python2.4 + # vim: ts=4 + ### + # --- listen-0.5.orig/debian/patches/06_fix_mmkeys.patch +++ listen-0.5/debian/patches/06_fix_mmkeys.patch @@ -0,0 +1,83 @@ +diff -ruN listen-0.5/src/mmkeys_wrap.py listen-0.5.new/src/mmkeys_wrap.py +--- listen-0.5/src/mmkeys_wrap.py 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/src/mmkeys_wrap.py 2007-05-07 00:19:35.000000000 +0200 +@@ -27,16 +27,51 @@ + + class MMKeys: + def __init__(self): ++ self.application = 'Listen' ++ self.use = self.__use_gnome() or self.__use_mmkeys() ++ ++ def __use_gnome(self): ++ def on_gnome_mmkey(app, key): ++ if app == self.application: ++ if key == "Play": ++ helper.control("play") ++ if key == "PlayPause": ++ helper.control("play") ++ if key == "Stop": ++ helper.control("stop") ++ if key == "Next": ++ helper.control("next") ++ if key == "Previous": ++ helper.control("previous") ++ ++ try: ++ import dbus ++ bus = dbus.SessionBus() ++ obj = bus.get_object('org.gnome.SettingsDaemon', '/org/gnome/SettingsDaemon') ++ self.__gnome = dbus.Interface(obj, 'org.gnome.SettingsDaemon') ++ self.__gnome.GrabMediaPlayerKeys(self.application, 0) ++ self.__gnome.connect_to_signal("MediaPlayerKeyPressed", on_gnome_mmkey) ++ except: ++ return None ++ ++ return 'gnome' ++ ++ def __use_mmkeys(self): + try:import mmkeys + except: +- print "No mmkeys support" +- pass +- else: +- self.__keys = mmkeys.MmKeys() +- self.__keys.connect("mm_prev", self.mm_previous) +- self.__keys.connect("mm_next", self.mm_next) +- self.__keys.connect('mm_stop', self.mm_play) +- self.__keys.connect("mm_playpause", self.mm_play) ++ return None ++ ++ self.__keys = mmkeys.MmKeys() ++ self.__keys.connect("mm_prev", self.mm_previous) ++ self.__keys.connect("mm_next", self.mm_next) ++ self.__keys.connect('mm_stop', self.mm_play) ++ self.__keys.connect("mm_playpause", self.mm_play) ++ ++ return 'mmkeys' ++ ++ def __del__(self): ++ if self.use == 'gnome': ++ self.__gnome.ReleaseMediaPlayerKeys(self.application) + + def mm_play(self,a,b): + helper.control("play") +@@ -46,6 +81,5 @@ + + def mm_previous(self,a,b): + helper.control("previous") +- + +-mmkey = MMKeys() +\ No newline at end of file ++mmkey = MMKeys() +diff -ruN listen-0.5/src/widget/listen.py listen-0.5.new/src/widget/listen.py +--- listen-0.5/src/widget/listen.py 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/src/widget/listen.py 2007-05-07 00:20:15.000000000 +0200 +@@ -28,6 +28,7 @@ + + from dbus_manager import ListenDBus + from hal import hal ++from mmkeys_wrap import mmkey + + from player import Player + --- listen-0.5.orig/debian/patches/04_skip_depchecks.patch +++ listen-0.5/debian/patches/04_skip_depchecks.patch @@ -0,0 +1,12 @@ +diff -Nur listen/Makefile listen.new/Makefile +--- listen/Makefile 2007-03-17 10:27:28.000000000 +0100 ++++ listen.new/Makefile 2007-03-17 11:01:23.000000000 +0100 +@@ -10,7 +10,7 @@ + USE_MOZEMBED_HACK ?= 0 + + #0 = don't check dependencies usefull to make distribued packages +-CHECK_DEPENDS ?= 1 ++CHECK_DEPENDS ?= 0 + + PYTHON = python + PREFIX ?= /usr --- listen-0.5.orig/debian/patches/02_utf-8.patch +++ listen-0.5/debian/patches/02_utf-8.patch @@ -0,0 +1,18 @@ +diff -Nur listen-0.5/src/const.py listen-0.5.new/src/const.py +--- listen-0.5/src/const.py 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/src/const.py 2007-02-14 15:55:12.000000000 +0100 +@@ -1,4 +1,5 @@ + # vim: ts=4 ++# coding=utf-8 + ### + # + # Listen is the legal property of mehdi abaakouk +diff -Nur listen-0.5/src/song.py listen-0.5.new/src/song.py +--- listen-0.5/src/song.py 2007-02-13 00:04:25.000000000 +0100 ++++ listen-0.5.new/src/song.py 2007-02-14 15:55:07.000000000 +0100 +@@ -1,4 +1,5 @@ + # vim: ts=4 ++# coding=utf-8 + ### + # + # Listen is the legal property of mehdi abaakouk --- listen-0.5.orig/debian/changelog +++ listen-0.5/debian/changelog @@ -0,0 +1,223 @@ +listen (0.5-4ubuntu3) gutsy; urgency=low + + * debian/patches/01_desktop_entry.patch: + - Updated to fit freedesktop.org desktop files spec, and cleaned a bit. + (LP: #141009) + + -- Emilio Pozuelo Monfort Wed, 19 Sep 2007 16:26:11 +0200 + +listen (0.5-4ubuntu2) gutsy; urgency=low + + * debian/patches: + - Added 08_mozilla_five_home.patch (LP: #116687) + + -- Emilio Pozuelo Monfort Wed, 11 Jul 2007 17:12:40 +0200 + +listen (0.5-4ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - debian/patches: + + Added 07_makefile_works, so we have a good LD_LIBRARY_PATH (#87959) + - debian/control: + + Build-depend on firefox-dev instead of iceweasel + + Depend on firefox + + Do not depend on python-elementtree, since it's included in python2.5 + + Updated Maintainer field to match Debian-Maintainer-Spec + + -- Arthur Loiret Tue, 5 Jun 2007 12:07:23 +0200 + +listen (0.5-4) unstable; urgency=low + + * Added python-tunepimp as recommend + * Removed README.Debian: now useless + * debian/rules: + + Removed useless $PYVER + * Added a final line to debian/listen.1.docbook + + -- Julien Valroff Wed, 30 May 2007 18:39:41 +0200 + +listen (0.5-3ubuntu1) gutsy; urgency=low + + * Merge with Debian (LP: #118030), remaining Ubuntu changes: + - debian/patches: + + Added 07_makefile_works, so we have a good LD_LIBRARY_PATH (LP: #87959) + - debian/control: + + Build-depend on firefox-dev instead of iceweasel + + Depend on firefox + + Do not depend on python-elementtree, since it's included in python2.5 + + Updated Maintainer field to match Debian-Maintainer-Spec + + -- Emilio Pozuelo Monfort Wed, 30 May 2007 17:56:49 +0200 + +listen (0.5-3) unstable; urgency=low + + * Added notification-daemon as runtime dependency (Closes: #425877) + + -- Julien Valroff Thu, 24 May 2007 19:54:39 +0200 + +listen (0.5-2) unstable; urgency=low + + * Upload to unstable + * Fixed dependency on python-glade2 (Emilio Pozuelo Monfort) + * Applied patch from SVN to fix the multimedia keys + (Emilio Pozuelo Monfort) + + -- Julien Valroff Sat, 19 May 2007 18:28:39 +0200 + +listen (0.5-1) experimental; urgency=low + + * New upstream release (Closes: #386448): + + Improved GUI (Closes: #384947) + + Added support for m4a/aac files with appropriate Gstreamer plugins + (Closes: #384525) + * Most changes to Debian packaging stolen from Ubuntu + (thanks to Emilio Pozuelo Monfort ) + * debian/rules + + Fixed listen.png path (changed in upstream) + + Removed /mutagen/_sanity.sh line, as it no longer exist + + Removed dh_python call + * debian/control + + Changed short description to make it more neutral + + Improved long description to better describe Listen features + + Changed homepage url + + Added python-mutagen (>= 1.8) to build-dependencies + + Added intltool to both deps and build-deps + + Added python-gnome2-dev, python-gnome2-extras-dev, iceweasel, sgml-data + and python-gst0.10 to build-deps + + Added libgail-dev and at-spi to build-deps to add accessibility support + + Added dep to python-elementtree + + Dropped dep on versioned python-pyvorbis + + Recommends python-musicbrainz2 for optional AudioCD support + * debian/patches/ + + 20_notification_area_restore.patch dropped (fixed upstream) + + 15_desktop.patch dropped (useless) + + 10_fix_exception.patch dropped (fixed upstream) + + 05_remove_shebangs.patch dropped (fixed upstream) + + 00_Makefile.patch dropped (some fixed, some useless) + + 01_images_dir.patch dropped (useless) + + 01_desktop_entry.patch added (fixes typos in .desktop file) + + 02_utf-8.patch added (fixes 'Non-ASCII character warnings) + + 03_fixed_dbus.patch added (fixes DBus call for dbus >= 0.80) + + 04_skip_depchecks.patch added (skips dependecies checks while + building the package) + + 05_fix_shebang.patch added (removes useless shebang line in listen.py) + * debian/copyright + + Changed download url + + Updated copyright (included 2007) + * debian/README.Debian + + Created to add a note about Libtunepimp support not active + + -- Julien Valroff Sat, 17 Mar 2007 11:58:46 +0100 + +listen (0.5-0ubuntu4) gutsy; urgency=low + + * debian/patches: + - Added 06_from_svn_mmkeys.patch (LP: #105001) + - Added 04_makefile_works.patch (LP: #87959) + + Removed 04_gtkmozembed.patch and 05_listen_bin.patch (not needed + anymore, due to 04_makefile_works.patch) + - Added 07_listen.py.patch (fixes lintian errors) + * debian/control: + - Added missing dependency on python-glade2 and firefox + - Build-depend on firefox-dev instead of firefox + * debian/rules: + - Don't modify listen.py's hashbang (it's not there anymore because of + 07_listen.py.patch) + + -- Emilio Pozuelo Monfort Sat, 19 May 2007 13:31:40 +0200 + +listen (0.5-0ubuntu3) feisty; urgency=low + + * debian/patches + - added 04_gtkmozembed.patch and 05_listen_bin.patch (LP: #86744) + + -- Emilio Pozuelo Monfort Wed, 21 Feb 2007 19:04:55 +0100 + +listen (0.5-0ubuntu2) feisty; urgency=low + + * debian/control + - added python-gnome2-dev, python-gnome2-extras-dev, firefox, sgml-data + and python-gst0.10 to build-deps (fix FTBFS) + - added libgail-dev and at-spi to build-des to add accessibility support + * debian/rules + - removed dh_python call + * Thanks to geser, bddebian and slomo :) + + -- Emilio Pozuelo Monfort Tue, 20 Feb 2007 16:30:58 +0100 + +listen (0.5-0ubuntu1) feisty; urgency=low + + * New upstream release (LP: #84946; #74270) + + * debian/rules + - Fixed listen.png path (changed in upstream) + - Commented /mutagen/_sanity.sh line, as it no longer exist + + * debian/patches + - 20_notification_area_restore.patch dropped (fixed upstream) + - 15_desktop.patch dropped (useless) + - 10_fix_exception.patch dropped (fixed upstream) + - 05_remove_shebangs.patch dropped (fixed upstream) + - 00_Makefile.patch dropped (some fixed, some useless) + - 01_images_dir.patch dropped (useless) + - 01_desktop_entry.patch added + - 02_utf-8.patch added + - 03_fixed_dbus.patch added + + * debian/control + - changed maintainer and added XSBC-Original-Maintainer + - changed project url + - added python-mutagen (>= 1.8) to build-dependencies + - added intltool to both deps and build-deps + + * debian/copyright + - changed download url + - updated copyright (included 2007) + + -- Emilio Pozuelo Monfort Thu, 15 Feb 2007 17:05:35 +0100 + +listen (0.4.3-2) unstable; urgency=low + + * Sync with Ubunutu + + Drop (build-)dependencies on versioned python packages + + Fix broken restore from notification area + + -- Julien Valroff Tue, 20 Feb 2007 10:29:36 +0100 + +listen (0.4.3-1ubuntu2) feisty; urgency=low + + * Drop (build-)dependencies on versioned python packages. + + -- Matthias Klose Mon, 15 Jan 2007 17:41:53 +0100 + +listen (0.4.3-1ubuntu1) feisty; urgency=low + + * Fix broken restore from notification area. Fixes LP#78060 + + -- Soren Hansen Mon, 8 Jan 2007 22:11:06 +0100 + +listen (0.4.3-1) unstable; urgency=low + + * Initial upload to Debian (Closes: #356289) + + Adapted for new python policy + + Fixed dependencies + + Improved 01_images_dir.patch + + Fixed exception at launch time + + Improved short description to mention GNOME + + Added 15_desktop.patch to improve desktop entry + + Added menu entry + + -- Julien Valroff Tue, 15 Aug 2006 22:03:59 +0200 + +listen (0.4.3-0ubuntu1) edgy; urgency=low + + * Initial Release + * 00_Makefile.patch + - install files in correct locations + - do not execute check.py + * 01_images_dir.patch: + - change images dir in src/config.py + * 05_remove_shebangs.patch: + - remove useless shebangs + + -- Gauvain Pocentek Tue, 9 May 2006 11:11:12 +0200 --- listen-0.5.orig/debian/listen.1.docbook +++ listen-0.5/debian/listen.1.docbook @@ -0,0 +1,80 @@ + + + + + + Gauvain + Pocentek + gauvainpocentek@ubuntu.com + + + 2005 + Gauvain Pocentek + + + + 2005-11-16 + + + + listen + 1 + + + listen + music player + + + + listen + + + + DESCRIPTION + + music player and manager. + + + With Listen you can: + - Play your favorite songs + - Manage your library + - Make playlists + - Automatically or manually download album covers + - Automatically synchronize album covers with iPod + - Easily burn an audio CD + - Directly get informations from wikipedia when you play a song + - See the lyrics of a song + - Have statistics about your favorite songs, albums or artists + - Listen to web radio + - Submit your songs to Audioscrobbler + - Quick access to last.fm related file + + + + OPTIONS + + All KDE and Qt + programs accept a some common command-line options. kommando has no + application-specific options. + + + + COPYRIGHT + + This manual page was written by Gauvain Pocentek + gauvainpocentek@ubuntu.com for the + Debian system (but may be used by others). + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License, + Version 2 or any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + + + + --- listen-0.5.orig/debian/listen.install +++ listen-0.5/debian/listen.install @@ -0,0 +1 @@ +debian/listen.xpm usr/share/pixmaps/ --- listen-0.5.orig/debian/control +++ listen-0.5/debian/control @@ -0,0 +1,35 @@ +Source: listen +Section: sound +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Julien Valroff +Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python-central (>= 0.5), docbook2x, + pkg-config, python-gtk2-dev, python-all-dev (>= 2.3.5-11), imagemagick, python-mutagen (>= 1.8), + intltool, python-gnome2-dev, python-gnome2-extras-dev, firefox-dev, python-gst0.10, sgml-data, + libgail-dev, at-spi +Standards-Version: 3.7.2 +XS-Python-Version: current + +Package: listen +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, gstreamer0.10-alsa, python-gtk2, + python-pyogg (>= 1.3-1.1), python-pymad, python-dbus, python-gnome2, python-gnome2-extras, + gstreamer0.10-plugins-good, python-gst0.10 (>= 0.10.4-4), gstreamer0.10-plugins-base, + python-pysqlite2, python-pyvorbis (>= 1.3), python-mutagen (>= 1.8), firefox, + python-glade2, notification-daemon +Recommends: gstreamer0.10-x, gstreamer0.10-esd, serpentine, python-musicbrainz2, + python-tunepimp (>= 0.5) +Suggests: gstreamer0.10-plugins-bad, gstreamer0.10-plugins-ugly, python-gpod, libgpod0 (>= 0.3.2) +XB-Python-Version: ${python:Versions} +Description: music player and manager for GNOME + Listen is an audio player which helps you to organize your + music collections. + . + It supports many features such as Podcasts management, browse Shoutcast + directory, and provides direct access to lyrics, lastfm and wikipedia + information. + . + It intuitively creates playlists for you by retrieving information from + lastfm and what you most frequently listen to. + . + Homepage: http://www.listen-project.org/ --- listen-0.5.orig/debian/pycompat +++ listen-0.5/debian/pycompat @@ -0,0 +1 @@ +2 --- listen-0.5.orig/debian/rules +++ listen-0.5/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +DEB_MAKE_BUILD_TARGET := listen +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/listen/ + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_INSTALL_MANPAGES_listen = listen.1 + +build/listen:: + docbook2x-man debian/listen.1.docbook + convert -resize 32x32 $(CURDIR)/data/img/listen.png $(CURDIR)/debian/listen.xpm + +binary-install/listen:: + dh_pycentral + +clean:: + rm -f listen.1 + rm -f debian/listen.xpm --- listen-0.5.orig/debian/copyright +++ listen-0.5/debian/copyright @@ -0,0 +1,311 @@ +This package was debianized by Gauvain Pocentek on +Wed, 8 Mar 2006 09:46:06 +0100. + +It was downloaded from http://www.listen-project.org + + +Copyright (C) 2006,2007 Mehdi Abaakouk + +mutagen/*: + Copyright (C) 2005 Michael Urman + Copyright (C) 2005 Joe Wreschnig + +osd.py: + Copyright (C) 2006 Mehdi Abaakouk + Copyright (C) 2005 Ton van den Heuvel, Joe Wreshnig + Copyright (C) 2004 Gustavo J. A. M. Carneiro + +lyrics module based on lyrics.py from quodlibet + Copyright (C) 2005 Eduardo Gonzalez, Joe Wreschnig + +audioscrobbler_manager.py: + Copyright (C) 2006 Mehdi Abaakouk + Copyright (C) 2005 by Joshua Kwan , + Joe Wreschnig + +Volume button: + From quodlibet Copyright (C) 2005 Joe Wreschnig + But based on the Rhythmbox volume control button; thanks to Colin Walters, + Bichard Hult, Michael Fulbright, Miguel de Icaza, and Federico Mena. + +listen logo: + Copyright (C) 2004 Dowty + + +License for above files: + + 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 + + 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 St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +Version 2 can be found in `/usr/share/common-licenses/GPL-2' file. + + +mmkeys/*: + Copyright (C) 2004 Lee Willis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2, 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, write to the + Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +Version 2 can be found in "/usr/share/common-licenses/GPL" file. + + +amazon.py: + Copyright (C) 2002 Mark Pilgrim + + Distributed under the terms of the python license: + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI) in the Netherlands as a successor of a +language called ABC. Guido is Python's principal author, although it +includes many contributions from others. The last version released +from CWI was Python 1.2. In 1995, Guido continued his work on Python +at the Corporation for National Research Initiatives (CNRI) in Reston, +Virginia where he released several versions of the software. Python +1.6 was the last of the versions released by CNRI. In 2000, Guido and +the Python core development team moved to BeOpen.com to form the +BeOpen PythonLabs team. Python 2.0 was the first and only release +from BeOpen.com. + +Following the release of Python 1.6, and after Guido van Rossum left +CNRI to work with commercial software developers, it became clear that +the ability to use Python with software available under the GNU Public +License (GPL) was very desirable. CNRI and the Free Software +Foundation (FSF) interacted to develop enabling wording changes to the +Python license. Python 1.6.1 is essentially the same as Python 1.6, +with a few minor bug fixes, and with a different license that enables +later versions to be GPL-compatible. Python 2.0.1 is a derivative work +of Python 1.6.1, as well as of Python 2.0. + +After Python 2.0 was released by BeOpen.com, Guido van Rossum and the +other PythonLabs developers joined Digital Creations. All +intellectual property added from this point on, including Python +2.0.1 and its alpha and beta releases, is owned by the Python Software +Foundation (PSF), a non-profit modeled after the Apache Software +Foundation. See http://www.python.org/psf/ for more information about +the PSF. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PSF LICENSE AGREEMENT +--------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.0.1 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.0.1 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001 Python Software Foundation; All Rights Reserved" are retained in +Python 2.0.1 alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.0.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.0.1. + +4. PSF is making Python 2.0.1 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.0.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.0.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.0.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.0.1, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM TERMS AND CONDITIONS FOR PYTHON 2.0 +---------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT +------------------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI PERMISSIONS STATEMENT AND DISCLAIMER +---------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- listen-0.5.orig/debian/listen.menu +++ listen-0.5/debian/listen.menu @@ -0,0 +1,5 @@ +?package(listen):needs="X11" section="Apps/Sound"\ +title="Listen"\ +description="Music player for GNOME"\ +command="/usr/bin/listen"\ +icon="/usr/share/pixmaps/listen.xpm" --- listen-0.5.orig/debian/compat +++ listen-0.5/debian/compat @@ -0,0 +1 @@ +5