--- exaile-0.2.9+debian.orig/debian/control +++ exaile-0.2.9+debian/debian/control @@ -0,0 +1,34 @@ +Source: exaile +Section: sound +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: François Févotte +Uploaders: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), python-support (>= 0.5), dpatch (>= 2), + libgtk2.0-dev, python-all-dev, python-gtk2-dev +Standards-Version: 3.7.2 + +Package: exaile +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-pysqlite2, + libgstreamer0.10-0, gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, + python-gst0.10, gstreamer0.10-alsa | gstreamer0.10-esd, + python-gtk2, python-glade2, python-dbus, python-pyvorbis, + python-mutagen, python-elementtree +Recommends: gstreamer0.10-plugins-ugly, python-gnome2-extras, python-cddb, + streamripper, python-gpod, python-gamin, python-notify, python-gtkhtml2 +Description: flexible audio player, similar to Amarok, but written in GTK+ + Exaile is a media player aiming to be similar to KDE's Amarok, but for + GTK+. It incorporates many of the cool things from Amarok (and other + media players) like automatic fetching of album art, handling of large + libraries, lyrics fetching, artist/album information via the wikipedia, + last.fm support, optional iPod support (assuming you have python-gpod + installed). + . + In addition, Exaile also includes a built-in shoutcast directory + browser, tabbed playlists (so you can have more than one playlist open + at a time), blacklisting of tracks (so they don't get scanned into your + library), downloading of guitar tablature from fretplay.com, and + submitting played tracks on your iPod to last.fm. + . + Homepage: http://www.exaile.org/ --- exaile-0.2.9+debian.orig/debian/copyright +++ exaile-0.2.9+debian/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by François Févotte +on Sun, 15 Oct 2006 20:48:34 +0200. + +It was downloaded from: http://www.exaile.org/files/ + +Upstream Author: Adam Olsen + +Copyright (C) 2005 Adam Olsen + +License: + This package 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 package 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 package; 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 can +be found in `/usr/share/common-licenses/GPL'. + +All files except those listed below are distributed under the terms of the +GPL with the copyright above. + + "mmkeys/mmkeys.c", "mmkeys/mmkeys.h" and "mmkeys/README" are released under + the terms of the GPL and are copyright (C) 2004 Lee Willis + + "mmkeys/mmkeys.override", "mmkeys/mmkeys.defs", "mmkeys/mmkeysmodule.c" and + "mmkeys/Makefile" are released under the terms of the GPL and are copyright + (C) 2004 Joe Wreschnig + +The Debian packaging is: + (C) 2006, François Févotte + (C) 2006, Adam Cécile (Le_Vert) +and is licensed under the GPL, see above. + +The upstream sources of this package have been repacked to remove the +existing debian directory --- exaile-0.2.9+debian.orig/debian/watch +++ exaile-0.2.9+debian/debian/watch @@ -0,0 +1,7 @@ +# Compulsory line, this is a version 3 file +version=3 + +# Examine a Webserver directory +# mangle the Debian version number to remove the +debian suffix +opts=dversionmangle=s/\+debian$// \ + http://www.exaile.org/files/exaile_([0-9.]+)\.tar\.gz --- exaile-0.2.9+debian.orig/debian/manpages +++ exaile-0.2.9+debian/debian/manpages @@ -0,0 +1 @@ +debian/exaile.1 --- exaile-0.2.9+debian.orig/debian/compat +++ exaile-0.2.9+debian/debian/compat @@ -0,0 +1 @@ +5 --- exaile-0.2.9+debian.orig/debian/menu +++ exaile-0.2.9+debian/debian/menu @@ -0,0 +1,3 @@ +?package(exaile):needs="X11" section="Apps/Sound"\ + title="Exaile" command="/usr/bin/exaile" \ + icon="/usr/share/pixmaps/exaile.xpm" --- exaile-0.2.9+debian.orig/debian/changelog +++ exaile-0.2.9+debian/debian/changelog @@ -0,0 +1,114 @@ +exaile (0.2.9+debian-4ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Recommends python-gtkhtml2 (LP: #84463) + - Updated maintainer fields. + + -- Kjell Braden Tue, 15 May 2007 17:40:22 +0200 + +exaile (0.2.9+debian-4) unstable; urgency=low + + * Build-depends on python-all-dev to avoid FTFBS due to python2.5 headers missing (Closes: #423552). + + -- Adam Cécile (Le_Vert) Sun, 13 May 2007 10:17:49 +0200 + +exaile (0.2.9+debian-3ubuntu1) gutsy; urgency=low + + * Merge with Debian Unstable, Ubuntu changes: (LP: #106301) + - Build-Depend on python-all-dev instead of python-dev to fix FTBS + - Recommends python-gtkhtml2 (LP: #84463) + - Updated maintainer fields. + + -- Lionel Le Folgoc Sun, 29 Apr 2007 20:36:48 +0200 + +exaile (0.2.9+debian-3) unstable; urgency=low + + * patches/02_fix_non-UTF-8_locales.dpatch: (Closes: #418559) + make glade aware of internationalization/localization + + -- François Févotte Tue, 24 Apr 2007 18:31:46 +0200 + +exaile (0.2.9+debian-2) unstable; urgency=low + + * debian/control: changed dependency on gstreamer (Closes: #417881) + + -- François Févotte Wed, 11 Apr 2007 22:17:44 +0200 + +exaile (0.2.9+debian-1) unstable; urgency=low + + * New upstream release + * removed patches 03_no_tray_icon_by_default, 04_install_locales: + they have been included upstream + * removed patch 02_fix_bugs_111_114: + these bugs have been fixed upstream + + -- François Févotte Tue, 27 Mar 2007 22:25:58 +0200 + +exaile (0.2.8+debian-2) unstable; urgency=low + + * patches/04_install_locales.dpatch: (Closes: #411237) + modify Makefile to install locales. + + -- François Févotte Sat, 3 Mar 2007 22:34:38 +0100 + +exaile (0.2.8+debian-1ubuntu2) feisty; urgency=low + + * debian/control: + - Recommends python-gtkhtml2 (LP: #84463) + - Updated maintainer fields + + -- Jonh Wendell Fri, 30 Mar 2007 15:21:32 -0300 + +exaile (0.2.8+debian-1ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - Build-Depend on python-all-dev instead of python-dev to fix FTBS + + -- Cody A.W. Somerville Mon, 29 Jan 2007 16:23:43 -0400 + +exaile (0.2.8+debian-1) unstable; urgency=low + + * New upstream release + * watch: added mangling of the Debian version + * removed patches/02_fix_bug_56.dpatch, patches/03_fix_bug_102.dpatch: + these bugs are fixed upstream now + * patches/02_fix_bugs_111_114.dpatch: fix upstream bugs #111 and #114, + which caused the playcount and rating statistics to be empty + * patches/03_no_tray_icon_by_default.dpatch: (Closes: #406791) + do not use tray icon as a default behaviour + * docs: install README.Debian-source in /usr/share/doc/exaile + + -- François Févotte Wed, 17 Jan 2007 22:46:52 +0100 + +exaile (0.2.7+debian-1ubuntu1) feisty; urgency=low + + * debian/control: + - Build-Depend on python-all-dev instead of python-dev to fix FTBS + + -- Matti Lindell Tue, 9 Jan 2007 19:06:21 +0200 + +exaile (0.2.7+debian-1) unstable; urgency=low + + * New upstream release + * control: added python-notify recommendation + * rules, strip_shebang: strip unneeded shebang lines in non-executable python + files + * README.Debian-source: give details about the source repackaging + * patches/02_fix_bug_56.dpatch: fix upstream bug#56, which caused a crash at + startup in some cases + * patches/03_fix_bug_102.dpatch: fix upstream bug#102: manage playlist + migration from 0.2.6 to 0.2.7 + + -- François Févotte Fri, 5 Jan 2007 19:24:27 +0100 + +exaile (0.2.6+debian-2) unstable; urgency=low + + * Added python-elementtree dependency (Closes: #403315) + + -- François Févotte Sat, 2 Dec 2006 19:33:47 +0100 + +exaile (0.2.6+debian-1) unstable; urgency=low + + * Initial release (Closes: #392828). + + -- François Févotte Sun, 15 Oct 2006 20:48:34 +0200 --- exaile-0.2.9+debian.orig/debian/exaile.1 +++ exaile-0.2.9+debian/debian/exaile.1 @@ -0,0 +1,85 @@ +.TH EXAILE 1 "October 16, 2006" +.SH NAME +.B exaile +\- flexible audio player, similar to Amarok, but written in GTK+ +.SH SYNOPSIS +.B exaile +.RI [options] +.SH DESCRIPTION +.B Exaile +is a media player aiming to be similar to KDE's Amarok, but for +GTK+. It incorporates many of the cool things from Amarok (and other media +players) like automatic fetching of album art, handling of large libraries, +lyrics fetching, artist/album information via the wikipedia, last.fm +support, optional iPod support (assuming you have python-gpod installed). + +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +Show summary of options and exit +.TP +\fB\-d\fR DIR, \fB\-\-duplicates\fR=DIR +Finds and deletes all duplicate tracks (based on their md5 sum) +.TP +\fB\-n\fR, \fB\-\-next\fR +Play the next track +.TP +\fB\-p\fR, \fB\-\-prev\fR +Play the previous track +.TP +\fB\-s\fR, \fB\-\-stop\fR +Stop playback +.TP +\fB\-a\fR, \fB\-\-play\fR +Play or Pause +.TP +\fB\-q\fR, \fB\-\-query\fR +Query player +.TP +\fB\-\-gui\-query\fR +Show a popup of the currently playing track +.TP +\fB\-\-get\-title\fR +Print the title of current track +.TP +\fB\-\-get\-album\fR +Print the album of current track +.TP +\fB\-\-get\-artist\fR +Print the artist of current track +.TP +\fB\-\-get\-length\fR +Print the length of current track +.TP +\fB\-\-current\-position\fR +Print the position inside the current track as a percentage +.TP +\fB\-i\fR VOL, \fB\-\-increase_vol\fR=VOL +Increases the volume by VOL +.TP +\fB\-l\fR VOL, \fB\-\-decrease_vol\fR=VOL +Decreases the volume by VOL +.TP +\fB\-\-stream\fR=URL +Stream URL +.TP +\fB\-\-new\fR +Start new instance +.TP +\fB\-\-settings\fR=SETTING +Settings Directory + +.SH SEE ALSO +More information is available on the +.B Exaile +web page: +.IR http://www.exaile.org +.SH AUTHORS +.B Exaile +is copyright (c) 2005 Adam Olsen , and is freely distributable software; see /usr/share/doc/exaile/copyright for licensing details. +.P +This manual page was written by Fran\[,c]ois F\['e]votte for the Debian system (but may be used by others). +.br +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. +.br +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. --- exaile-0.2.9+debian.orig/debian/patches/02_fix_non-UTF-8_locales.dpatch +++ exaile-0.2.9+debian/debian/patches/02_fix_non-UTF-8_locales.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_non-UTF-8_locales.dpatch by François Févotte +## after an original patch proposed by Marco de Freitas +## +## DP: Fix #418559: +## DP: set up glade to handle internationalization/localization + +@DPATCH@ +diff -urNad exaile-0.2.9+debian~/exaile.py exaile-0.2.9+debian/exaile.py +--- exaile-0.2.9+debian~/exaile.py 2007-03-27 20:56:45.000000000 +0200 ++++ exaile-0.2.9+debian/exaile.py 2007-04-24 18:51:24.000000000 +0200 +@@ -55,6 +55,9 @@ + gettext.bindtextdomain('exaile', 'po') + gettext.textdomain('exaile') + ++# set up glade for translations ++gtk.glade.bindtextdomain('exaile') ++ + ## Find out the location of exaile's working directory, and go there + basedir = os.path.dirname(os.path.realpath(__file__)) + if not os.path.exists(os.path.join(basedir, "exaile.py")): --- exaile-0.2.9+debian.orig/debian/patches/01_fix_makefile_for_pysupport.dpatch +++ exaile-0.2.9+debian/debian/patches/01_fix_makefile_for_pysupport.dpatch @@ -0,0 +1,66 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_makefile_for_pysupport +## by Adam Cécile (Le_Vert) +## +## DP: Make mmkeys.so python bindings separate from the build to allow +## DP: it to be built for each supported python version. +## DP: Handle PYTHON_INC variable. + +@DPATCH@ +diff -urNad exaile-0.2.9+debian~/Makefile exaile-0.2.9+debian/Makefile +--- exaile-0.2.9+debian~/Makefile 2007-03-04 11:43:20.000000000 +0100 ++++ exaile-0.2.9+debian/Makefile 2007-03-27 22:35:31.000000000 +0200 +@@ -1,5 +1,9 @@ + PREFIX=/usr + CWD=`pwd` ++MAKE=$(shell which make) ++PYTHON_INC=$(shell python -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('INCLUDEPY')") ++PYTHON_VER=$(shell echo $(PYTHON_INC) | sed 's!^.*\([0-9]\.[0-9]\)$$!\1!') ++ + all: build + @echo "Done" + @echo "Type: 'make install' now" +@@ -7,9 +11,13 @@ + build: mmkeys.so + + mmkeys.so: +- cd mmkeys && make mmkeys.so && cd .. ++ $(MAKE) -C mmkeys PYTHON_DIR=$(PYTHON_INC) + cp mmkeys/mmkeys.so . + ++make-install-mmkeys.so: mmkeys.so ++ mkdir -p $(DESTDIR)$(PREFIX)/lib/exaile/python$(PYTHON_VER) ++ install -m 644 mmkeys.so $(DESTDIR)$(PREFIX)/lib/exaile/python$(PYTHON_VER) ++ + make-install-dirs: + mkdir -p $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/share/ +@@ -25,11 +33,10 @@ + mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/sql + mkdir -p $(DESTDIR)$(PREFIX)/share/locale + +-install: make-install-dirs mmkeys.so ++install: make-install-dirs make-install-mmkeys.so + install -m 644 exaile.py $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 exaile.glade $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 sql/*.sql $(DESTDIR)$(PREFIX)/share/exaile/sql +- install -m 644 mmkeys.so $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 images/*.png $(DESTDIR)$(PREFIX)/share/exaile/images + install -m 644 images/*.svg $(DESTDIR)$(PREFIX)/share/exaile/images + install -m 644 images/default_theme/*.png \ +@@ -49,8 +56,8 @@ + cp -r {} $(DESTDIR)$(PREFIX)/share/locale \; + + clean: +- -rm mmkeys.so +- cd mmkeys && make clean && cd .. ++ rm -f mmkeys.so ++ $(MAKE) clean -C mmkeys + find . -name "*.pyc" -exec rm {} \; + find . -name "*.pyo" -exec rm {} \; + +@@ -60,3 +67,4 @@ + uninstall: + rm -r $(DESTDIR)$(PREFIX)/share/exaile + rm -r $(DESTDIR)$(PREFIX)/bin/exaile ++ rm -r $(DESTDIR)$(PREFIX)/lib/exaile --- exaile-0.2.9+debian.orig/debian/patches/00list +++ exaile-0.2.9+debian/debian/patches/00list @@ -0,0 +1,2 @@ +01_fix_makefile_for_pysupport +02_fix_non-UTF-8_locales --- exaile-0.2.9+debian.orig/debian/rules +++ exaile-0.2.9+debian/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Dpatch targets +include /usr/share/dpatch/dpatch.make + +# Get supported python version and destdir +PYVERS = $(shell pyversions -rv) +DESTDIR = $(CURDIR)/debian/exaile + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: patch-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-install-lib-stamp* + $(MAKE) clean + dh_clean + +install: install-prereqs $(PYVERS:%=build-install-lib-stamp%) + $(MAKE) install DESTDIR=$(DESTDIR) + # Move png to /usr/share/icons + mv $(DESTDIR)/usr/share/pixmaps $(DESTDIR)/usr/share/icons + # XPM icon + install -D -m 644 images/icon.xpm \ + $(DESTDIR)/usr/share/pixmaps/exaile.xpm + +install-prereqs: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +build-install-lib-stamp%: build + $(MAKE) clean + $(MAKE) make-install-mmkeys.so DESTDIR=$(DESTDIR) PYTHON_INC=/usr/include/python$* + touch $@ + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs changelog + dh_installdocs + dh_installmenu + dh_installman + # Add mmkeys private python module path + sed -i "s!\(^[^#]*import mmkey.*\)! sys.path.append(\"/usr/lib/exaile/\"+\"python\"+sys.version[:3])\n\1!" \ + $(DESTDIR)/usr/share/exaile/exaile.py + # Strip useless shebang lines + perl debian/strip_shebang $(DESTDIR)/usr/share/exaile/plugins/*.py + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- exaile-0.2.9+debian.orig/debian/docs +++ exaile-0.2.9+debian/debian/docs @@ -0,0 +1,2 @@ +TODO +debian/README.Debian-source --- exaile-0.2.9+debian.orig/debian/strip_shebang +++ exaile-0.2.9+debian/debian/strip_shebang @@ -0,0 +1,30 @@ +#! /usr/bin/perl + +use strict; + +while (my $file = shift) +{ + print STDERR "Stripping shebang from file: `$file'\n"; + + my $tmpfile = $file.'.tmp'; + system ('mv', $file, $tmpfile); + + open IN, $tmpfile + or die ("could not open file `$tmpfile': $!\n"); + + open OUT, ">$file" + or die ("could not open file `$file': $!\n"); + + $_ = ; + print OUT unless (/^\#!/); + + while () + { + print OUT; + } + + close IN; + close OUT; + + system ('rm', $tmpfile); +} --- exaile-0.2.9+debian.orig/debian/README.Debian-source +++ exaile-0.2.9+debian/debian/README.Debian-source @@ -0,0 +1,6 @@ +Exaile +------ + + The original tarball has been repackaged to remove the debian/ directory. + + -- François Févotte Fri, 5 Jan 2007 19:24:27 +0100 --- exaile-0.2.9+debian.orig/debian/pyversions +++ exaile-0.2.9+debian/debian/pyversions @@ -0,0 +1 @@ +2.4-