--- exaile-0.2.11.1.orig/debian/rules +++ exaile-0.2.11.1/debian/rules @@ -1,93 +1,75 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. -export DH_VERBOSE=1 - +#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 +PREFIX = /usr CFLAGS = -Wall -g - ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/exaile.sgml > exaile.1 - - touch $@ +build: patch-stamp -clean: +clean: unpatch dh_testdir dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) clean - + rm -f build-install-lib-stamp* + $(MAKE) clean + # This should be in upstream Makefile + rm -f exaile.glade.h messages.pot plugins/plugins.glade.h dh_clean -install: build +install: install-prereqs $(PYVERS:%=build-install-lib-stamp%) + $(MAKE) translations + $(MAKE) install DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) + # 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 + chmod +x $(DESTDIR)/usr/share/exaile/xl/burn.py + chmod +x $(DESTDIR)/usr/share/exaile/xl/cd_import.py + +install-prereqs: dh_testdir dh_testroot dh_clean -k dh_installdirs - # Add here commands to install the package into debian/exaile. - $(MAKE) install DESTDIR=$(CURDIR)/debian/exaile PREFIX=/usr - +build-install-lib-stamp%: build + $(MAKE) clean + $(MAKE) make-install-mmkeys.so DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) PYTHON_INC=/usr/include/python$* + touch $@ -# Build architecture-independent files here. binary-indep: build install -# We have nothing to do by default. -# Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs changelog dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman exaile.1 - dh_link + 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/xl/plugins/*.py $(DESTDIR)/usr/share/exaile/exaile.py + dh_link $(PREFIX)/share/exaile/exaile.py $(PREFIX)/lib/exaile/exaile.py dh_strip dh_compress dh_fixperms -# dh_perl -# dh_makeshlibs + dh_pysupport dh_installdeb dh_shlibdeps dh_gencontrol @@ -95,4 +77,4 @@ dh_builddeb binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +.PHONY: build clean binary-indep binary-arch binary install --- exaile-0.2.11.1.orig/debian/watch +++ exaile-0.2.11.1/debian/watch @@ -2,4 +2,6 @@ version=3 # Examine a Webserver directory -http://www.exaile.org/files/exaile_(.*)\.tar\.gz +# 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.11.1.orig/debian/changelog +++ exaile-0.2.11.1/debian/changelog @@ -1,44 +1,213 @@ -exaile (0.2.11.1) gutsy; urgency=low - * package update - - -- Adam Olsen Wed, 7 Nov 2007 09:15:00 -0700 +exaile (0.2.11.1-0ubuntu1~gutsy1) gutsy-backports; urgency=low -exaile (0.2.11) gutsy; urgency=low - * final release + * Automated backport upload; no source changes. - -- Adam Olsen Tue, 16 Oct 2007 15:36:00 -0700 + -- Johannes Sasongko Fri, 7 Dec 2007 08:43:11 +0000 -exaile (0.2.11b) feisty; urgency=low - * beta release +exaile (0.2.11.1-0ubuntu1) hardy; urgency=low - -- Adam Olsen Fri, 21 Sep 2007 07:10:00 -0700 + [ Cody A.W. Somerville ] + * New upstream release. + * Removed: + - debian/README.Debian-source (orig tarball not repackaged) + - debian/pyversions + - debian/README.Debian + * debian/control: Added XS/XB-Python-Version + * debian/docs: Removed README.Debian-source -exaile (0.2.11svn) feisty; urgency=low - * beta release + [ Sarah Hobbs ] + * Fixed changelog, and various parts of debian dir - -- Adam Olsen Fri, 31 Aug 2007 20:51:00 -0700 + -- Sarah Hobbs Fri, 23 Nov 2007 17:45:36 +1100 -exaile (0.2.9b) edgy; urgency=low - * beta release +exaile (0.2.11-0ubuntu1) hardy; urgency=low - -- Adam Olsen Fri, 23 Feb 2007 16:28:00 -0700 + * New upstream release. + * debian/patches: + - 03_gtkembedmoz_crash_fix patch removed, bug has been fixed + upstream. + - 432164.dpatch removed, bug has been fixed upstream as well. + - 02_files-on-share-dir, added to adjust the Makefile to point + to the right policy installation dir on /usr/share/pkg. + - fix_makefile_for_pysupport, updated and cleaned up a bit to have + a working patch-apply again. + * debian/rules: + - Added a link between /usr/lib/exaile/exaile.py and + /usr/share/exaile/exaile.py preventing an error while starting + exaile up. + - Updated strip_shebang target directory to /usr/share/exaile/xl/plugins. + It seems that upstream now ships plugins inside /xl dir. + - Making burn.py and cd_import.py executables making lintian + happy again. + * debian/control: + - Moving upstream's homepage url from package description to the new + Debian field Homepage at the top of debian/control. -exaile (0.2.7b) edgy; urgency=low - * beta release + -- Andrea Veri Wed, 07 Nov 2007 17:31:29 +0100 - -- Adam Olsen Fri, 1 Dec 2006 10:36:00 -0700 +exaile (0.2.10+debian-1.1ubuntu2) gutsy; urgency=low -exaile (0.2.5b) edgy; urgency=low - * beta release + * 03_gtkembedmoz_crash_fix: added to fix a crash related to lib gtkembedmoz + when trying to display any sub-tab like Artist/lyrics using the + latest exaile release. Steps to reproduce it can be found on the bug report. + Thanks to Fabien Tassin for reporting and fixing this issue. (LP: #123409) - -- Adam Olsen Thu, 2 Nov 2006 15:19:00 -0700 + -- Andrea Veri Sun, 14 Oct 2007 21:15:49 +0200 -exaile (0.2.4-1) unstable; urgency=low +exaile (0.2.10+debian-1.1ubuntu1) gutsy; urgency=low - * Initial debianization (Closes: #392828) - * Fixed dependencies problems - * Separated upstream changelog from debian changelog - * Removed unneeded shebang (to avoid lintian warnings) - * Wrote manpage + * Merge from Debian unstable. Remaining Ubuntu changes: + - Recommends python-gtkhtml2 + - Modify Maintainer value to match Debian-Maintainer-Field Spec + + -- Andrea Veri Tue, 10 Jul 2007 12:33:19 +0200 + +exaile (0.2.10+debian-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Applied patch to substitute a hard-coded color depth with the current + default color depth, (Closes: #432164). + + -- Eric Evans Mon, 09 Jul 2007 16:14:07 -0500 + +exaile (0.2.10+debian-1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Recommends python-gtkhtml2 + - Updated Maintainer field in debian/control. + + -- Luca Falavigna Fri, 29 Jun 2007 16:44:18 +0200 + +exaile (0.2.10+debian-1) unstable; urgency=low + + * New upstream release + * removed patch 02_fix_non-UTF-8_locales: + included upstream + * rules, patches/01_fix_makefile_for_pysupport.dpatch: + adapted to new Makefile. Translations are now compiled by the Makefile, + rather than beeing shipped with upstream tarball. + * control: + updated build-dependencies + + -- François Févotte Mon, 25 Jun 2007 19:46:08 +0200 + +exaile (0.2.9+debian-4ubuntu2) gutsy; urgency=low + + * 03_amazon_ecs40.dpatch: Use Amazon ECS version 4.0 (LP: #119643) + + -- Luca Falavigna Fri, 22 Jun 2007 11:47:46 +0200 + +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.11.1.orig/debian/control +++ exaile-0.2.11.1/debian/control @@ -1,22 +1,35 @@ Source: exaile -Section: universe/devel +Section: sound Priority: optional -Maintainer: Aren Olson -Build-Depends: debhelper (>= 5), python-dev, python-gtk2-dev +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: François Févotte +Uploaders: Adam Cécile (Le_Vert) +Homepage: http://www.exaile.org/ +Build-Depends: debhelper (>= 5), python-support (>= 0.5), dpatch (>= 2), + libgtk2.0-dev, python-all-dev, python-gtk2-dev, intltool, intltool-debian Standards-Version: 3.7.2 +XS-Python-Version: current, >= 2.4 Package: exaile Architecture: any -Depends: gstreamer0.10-plugins-good, python-gst0.10, python, +XB-Python-Version: ${python:Versions} +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-pysqlite2 | python (>= 2.5), - python-elementtree | python (>= 2.5), gstreamer0.10-plugins-base -Recommends: python-gnome2-extras, python-cddb, sexy-python | python-sexy, - gstreamer0.10-gnomevfs -Suggests: gstreamer0.10-plugins-bad, gstreamer0.10-plugins-ugly -Description: An AmaroK-like media player - 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 + 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 from Wikipedia, - last.fm support, an OSD, a powerful set of plugins and much more. + 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. --- exaile-0.2.11.1.orig/debian/copyright +++ exaile-0.2.11.1/debian/copyright @@ -1,14 +1,13 @@ This package was debianized by François Févotte -and Adam Olsen on Sun, 15 Oct 2006 20:48:34 +0200. +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 +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 @@ -23,8 +22,23 @@ 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'. +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 Debian packaging is (C) 2006, François Févotte -and Adam Olsen 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.11.1.orig/debian/menu +++ exaile-0.2.11.1/debian/menu @@ -1,3 +1,3 @@ ?package(exaile):needs="X11" section="Apps/Sound"\ title="Exaile" command="/usr/bin/exaile" \ - icon="/usr/share/pixmaps/exaile.png" + icon="/usr/share/pixmaps/exaile.xpm" --- exaile-0.2.11.1.orig/debian/patches/02_files-on-share-dir.dpatch +++ exaile-0.2.11.1/debian/patches/02_files-on-share-dir.dpatch @@ -0,0 +1,69 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_files-on-share-dir.dpatch by Andrea Veri +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: adjusting makefile to point to the right policy dir (/usr/share/exaile +## DP: instead of /usr/lib/exaile) + +@DPATCH@ +diff -urNad exaile-0.2.11~/Makefile exaile-0.2.11/Makefile +--- exaile-0.2.11~/Makefile 2007-11-07 19:02:36.000000000 +0100 ++++ exaile-0.2.11/Makefile 2007-11-07 19:04:25.000000000 +0100 +@@ -26,14 +26,11 @@ + + make-install-dirs: + mkdir -p $(DESTDIR)$(PREFIX)/bin +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR) +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/lib +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/gui +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/media +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/panels +- mkdir -p $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/plugins ++ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/lib ++ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl/gui ++ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl/media ++ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl/panels ++ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl/plugins + mkdir -p $(DESTDIR)$(PREFIX)/share/ + mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps + mkdir -p $(DESTDIR)$(PREFIX)/share/applications +@@ -49,25 +46,25 @@ + + install: make-install-dirs make-install-mmkeys.so + install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/share/man/man1 +- install -m 644 exaile.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile ++ install -m 644 exaile.py $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 exaile.glade $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 equalizer.ini $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 sql/*.sql $(DESTDIR)$(PREFIX)/share/exaile/sql + install -m 644 images/*.png $(DESTDIR)$(PREFIX)/share/exaile/images + install -m 644 images/default_theme/*.png \ + $(DESTDIR)$(PREFIX)/share/exaile/images/default_theme +- install -m 644 xl/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl +- -install -m 644 xl/*.py[co] $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl +- install -m 644 xl/media/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/media +- -install -m 644 xl/media/*.py[co] $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/media +- install -m 644 xl/panels/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/panels +- -install -m 644 xl/panels/*.py[co] $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/panels +- install -m 644 xl/gui/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/gui +- -install -m 644 xl/gui/*.py[co] $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/gui +- install -m 644 lib/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/lib +- -install -m 644 lib/*.py[co] $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/lib ++ install -m 644 xl/*.py $(DESTDIR)$(PREFIX)/share/exaile/xl ++ -install -m 644 xl/*.py[co] $(DESTDIR)$(PREFIX)/share/exaile/xl ++ install -m 644 xl/media/*.py $(DESTDIR)$(PREFIX)/share/exaile/xl/media ++ -install -m 644 xl/media/*.py[co] $(DESTDIR)$(PREFIX)/share//exaile/xl/media ++ install -m 644 xl/panels/*.py $(DESTDIR)$(PREFIX)/share/exaile/xl/panels ++ -install -m 644 xl/panels/*.py[co] $(DESTDIR)$(PREFIX))/share/exaile/xl/panels ++ install -m 644 xl/gui/*.py $(DESTDIR)$(PREFIX)/share/exaile/xl/gui ++ -install -m 644 xl/gui/*.py[co] $(DESTDIR)$(PREFIX)/share/exaile/xl/gui ++ install -m 644 lib/*.py $(DESTDIR)$(PREFIX)/share/exaile/lib ++ -install -m 644 lib/*.py[co] $(DESTDIR)$(PREFIX)/share/exaile/lib + install -m 644 data/*.ini $(DESTDIR)$(PREFIX)/share/exaile/data +- install -m 644 xl/plugins/*.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile/xl/plugins ++ install -m 644 xl/plugins/*.py $(DESTDIR)$(PREFIX)/share/exaile/xl/plugins + install -m 644 xl/plugins/*.glade $(DESTDIR)$(PREFIX)/share/exaile/xl/plugins + install -m 644 images/largeicon.png \ + $(DESTDIR)$(PREFIX)/share/pixmaps/exaile.png --- exaile-0.2.11.1.orig/debian/patches/01_fix_makefile_for_pysupport.dpatch +++ exaile-0.2.11.1/debian/patches/01_fix_makefile_for_pysupport.dpatch @@ -0,0 +1,61 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_fix_makefile_for_pysupport by Andrea Veri +## Patch updated after the new upstream release. Original patch has been done by +## Adam Cécile (Le_Vert) +## All lines beginning with `## DP:' are a description of the patch. +## 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.11~/Makefile exaile-0.2.11/Makefile +--- exaile-0.2.11~/Makefile 2007-10-02 18:25:55.000000000 +0200 ++++ exaile-0.2.11/Makefile 2007-11-07 17:47:54.000000000 +0100 +@@ -1,6 +1,9 @@ + PREFIX ?= /usr/local + LIBDIR ?= /lib + FIREFOX ?= /usr/lib/firefox ++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: compile mmkeys.so translations + @echo "Done" +@@ -11,7 +14,12 @@ + python -O -m compileall xl lib + + mmkeys.so: +- cd mmkeys && make mmkeys.so && cd .. && cp mmkeys/mmkeys.so . ++ $(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) + + translations: + python po/createpot.py compile +@@ -39,13 +47,12 @@ + mkdir -p $(DESTDIR)$(PREFIX)/share/locale + mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + +-install: make-install-dirs ++install: make-install-dirs make-install-mmkeys.so + install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/share/man/man1 + install -m 644 exaile.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile + install -m 644 exaile.glade $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 equalizer.ini $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 sql/*.sql $(DESTDIR)$(PREFIX)/share/exaile/sql +- -install -m 644 mmkeys.so $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile + install -m 644 images/*.png $(DESTDIR)$(PREFIX)/share/exaile/images + install -m 644 images/default_theme/*.png \ + $(DESTDIR)$(PREFIX)/share/exaile/images/default_theme +@@ -81,7 +88,7 @@ + + clean: + rm -f mmkeys.so +- cd mmkeys && make clean && cd .. ++ $(MAKE) clean -C mmkeys + find . -name "*.py[co]" -exec rm -f {} \; + find po -maxdepth 1 -regextype posix-basic -regex "po/[^.]*" -type d -exec rm -rf {} \; + rm -f exaile.glade.h messages.pot plugins/plugins.glade.h --- exaile-0.2.11.1.orig/debian/patches/00list +++ exaile-0.2.11.1/debian/patches/00list @@ -0,0 +1,2 @@ +01_fix_makefile_for_pysupport +02_files-on-share-dir --- exaile-0.2.11.1.orig/debian/manpages +++ exaile-0.2.11.1/debian/manpages @@ -0,0 +1 @@ +debian/exaile.1 --- exaile-0.2.11.1.orig/debian/strip_shebang +++ exaile-0.2.11.1/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.11.1.orig/debian/exaile.1 +++ exaile-0.2.11.1/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.