--- pytone-3.0.3.orig/debian/NEWS +++ pytone-3.0.3/debian/NEWS @@ -0,0 +1,68 @@ +pytone (3.0.0) unstable; urgency=low + + Upgrade notes: The following config file options have been removed: + playlistdir (in the general section), and playlistload (in the + keybindings.general section), dbenvdir, basename and the tags_* options (in + the database sections). New options are postprocessors (in the database + sections), which replaces the tags_* options by allowing to specify a + whitespace-separated list of metadata postprocessors, and toggledelete (in + the keybindings.filelistwindow) section. + + Unfortunatly there is no automatic conversion of the configfile available. + So you have to change your configuration to get everything working as + expected. + + -- Alexander Wirt Mon, 06 Aug 2007 07:16:34 +0200 + +pytone (2.3.1) unstable; urgency=low + + The plugin directory moved to /usr/lib/pytone/plugins + + -- Alexander Wirt Sun, 3 Sep 2006 12:42:58 +0200 + +pytone (2.3.0) unstable; urgency=low + + In this new release some options have changes in the configfile. + Maybe you have to update your config. + + Plugins are now installed in /usr/share/pytone/plugins + + -- Alexander Wirt Fri, 23 Sep 2005 11:23:32 +0200 + +pytone (2.2.4-1) unstable; urgency=low + + The network option have been cleaned and im some cases you have + to update your config file. See /etc/pytonerc for an example. + + Plugin does now support plugins, the don't get installed by default. For + more informations see README.Debian. + + Currently included plugins: + - audioscrobbler: enables audiosrobbler support for pytone + - osdtitle: displays title changes via libxosd + - termtitle: sets xterm title to the current played song + + -- Alexander Wirt Tue, 28 Jun 2005 16:11:18 +0200 + +pytone (2.0.12-1) unstable; urgency=low + + Pytone now supports several layouts, you may want to take a look into + /usr/share/doc/pytone/examples to see demos of the new compact and the + new ultracompact layout. + + -- Alexander Wirt Mon, 19 Apr 2004 10:51:22 +0200 + +pytone (2.0.7-1) unstable; urgency=low + + This versions introduces some new features, first is the new pytonectl + programm that allows remote control of a running pytone instance. + Also there are a few new config options: + - playerinfofile (a file where the currently played file is written into) + - cachesize (in the database section, controls cache size of database) + - socketfile (unix socket for use with pytonectl) + - initialplaylistmode (replaces autorandomplay, could be toggled with ^-T) + + You should be able to use your old config, but take a look over the example + and adapt it to you own need. + + -- Alexander Wirt Sun, 11 Jan 2004 12:36:59 +0100 --- pytone-3.0.3.orig/debian/README.Debian +++ pytone-3.0.3/debian/README.Debian @@ -0,0 +1,25 @@ +pytone for Debian +----------------- + +You have to edit /etc/pytonerc or install the example +config from /usr/share/doc/pytone/examples/ to ~/.pytone/pytonerc +to run the program. + +If you run pytone the first time it could react a little bit slow because +its building its database (depending on the size of your music collection). +Be patient :). + +This package was built with the internal player (libmad). + +plugins +======= + +pytone has now support for plugins. + +Plugins have to go to /usr/lib/pytone/plugins or ~/.pytone/plugins. +Plugins may also have own configuration sections, please look into the +documentation of the plugin. A small example plugin is in the examples +directory /usr/share/doc/pytone/examples/plugins. + + + -- Alexander Wirt , Sun, 28 Sep 2003 10:39:59 +0200 --- pytone-3.0.3.orig/debian/changelog +++ pytone-3.0.3/debian/changelog @@ -0,0 +1,302 @@ +pytone (3.0.3-0ubuntu3) yakkety; urgency=medium + + * Remove Mac OS X .*.py files that cannot be compiled. (LP: #1574068) + + -- Graham Inggs Wed, 27 Apr 2016 09:56:10 +0200 + +pytone (3.0.3-0ubuntu2) xenial; urgency=medium + + * Build using dh-python. + + -- Graham Inggs Sun, 17 Jan 2016 08:32:38 +0200 + +pytone (3.0.3-0ubuntu1) quantal; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.9.3. + * Add ${misc:Depends} to the binary. + * Update build structure in debian/rules to satisfy Lintian. + + -- Logan Rosen Mon, 23 Jul 2012 03:08:29 -0400 + +pytone (3.0.0-1build4) natty; urgency=low + + * Rebuild with python 2.7 as the python default. + + -- Matthias Klose Wed, 08 Dec 2010 15:09:46 +0000 + +pytone (3.0.0-1build3) maverick; urgency=low + + * No changes upload for libao2 -> libao4 transition + + -- Fabrice Coutadeur Tue, 24 Aug 2010 20:02:46 +0200 + +pytone (3.0.0-1build2) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Matthias Klose Sun, 22 Mar 2009 16:50:32 +0100 + +pytone (3.0.0-1build1) jaunty; urgency=low + + * No change rebuild to build with Python 2.6. + + -- Alessio Treglia Fri, 13 Mar 2009 15:49:04 +0000 + +pytone (3.0.0-1) unstable; urgency=low + + * New upstream release + * Top played songs are now stored in the database (Closes: #270220) + + -- Alexander Wirt Mon, 06 Aug 2007 07:12:52 +0200 + +pytone (3.0.0~pre2-2) UNRELEASED; urgency=low + + * This is just a preview :) + + -- Alexander Wirt Tue, 30 Jan 2007 20:41:23 +0100 + +pytone (3.0.0~pre2-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Tue, 30 Jan 2007 20:40:35 +0100 + +pytone (2.3.1-3) unstable; urgency=low + + * Fix detection of empty musicbasedir option and added some helptext + for creating a userconfig (Closes: #349970) + + -- Alexander Wirt Sat, 30 Sep 2006 15:35:42 +0200 + +pytone (2.3.1-2) unstable; urgency=low + + * Backported a patch from svn for byte order on several ao devices + * Add pyversions as 2.4 is needed for the transparent feature + + -- Alexander Wirt Wed, 6 Sep 2006 06:55:48 +0200 + +pytone (2.3.1-1) unstable; urgency=low + + * New upstream release + * Acknowledge NMU by Pierre Habouzit (Closes: #380921) + * Since pytone switched to python2.4 support for transparent terminals is + now available (Closes: #331500) + + + -- Alexander Wirt Sun, 3 Sep 2006 12:14:28 +0200 + +pytone (2.3.0-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Redo the previous NMU correctly: + + build for the current python (no more python2.3 references). + + use python-support. + + install all in /usr/lib/pytone. + + make /usr/bin/pythone{,ctl} be links instead of scripts, no more + dpatche's. + + -- Pierre Habouzit Wed, 30 Aug 2006 09:52:01 +0200 + +pytone (2.3.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the last python policy (Closes: #380921): + + build for current python (remove references to python2.3). + + remove python2.3 dpatch'es. + + use python-support. + + use distutils better, avoid custom dh_install's. + * bump Standards-Version to 3.7.2. + + -- Pierre Habouzit Tue, 29 Aug 2006 22:00:11 +0200 + +pytone (2.3.0-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Fri, 23 Sep 2005 11:03:27 +0200 + +pytone (2.2.4-1) unstable; urgency=low + + * New upstream release + - reenables network support (Closes: #309392) + + -- Alexander Wirt Tue, 28 Jun 2005 16:11:18 +0200 + +pytone (2.2.3-1) unstable; urgency=low + + * New upstream release + * Added example plugin and some informations about plugins + in README.Debian + + -- Alexander Wirt Wed, 27 Apr 2005 20:07:22 +0200 + +pytone (2.2.2-1) unstable; urgency=low + + * New upstream release + * Removed the rebuilding patch as its now included upstream + + -- Alexander Wirt Sat, 19 Mar 2005 11:57:53 +0100 + +pytone (2.2.1-1) unstable; urgency=low + + * New upstream release + * Added a fix for rebuilding the db and crashing build processes + + -- Alexander Wirt Wed, 9 Feb 2005 20:58:09 +0100 + +pytone (2.2.0-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Wed, 2 Feb 2005 07:11:42 +0100 + +pytone (2.1.3-2) unstable; urgency=low + + * Fixed Example Config (Closes: #289288) + + -- Alexander Wirt Sun, 9 Jan 2005 21:05:34 +0100 + +pytone (2.1.3-1) unstable; urgency=low + + * New upstream release + - bdb logfiles get now erased automatically (Closes: #273370) + - displaying the time a song was last played works now (Closes: #272515) + - storing the rating is now fixed (Closes: #269711) + * Added french translation + + -- Alexander Wirt Sun, 12 Dec 2004 11:52:57 +0100 + +pytone (2.1.2-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Wed, 10 Nov 2004 05:39:12 +0100 + +pytone (2.1.1-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Sun, 7 Nov 2004 20:46:56 +0100 + +pytone (2.1.0-2) unstable; urgency=low + + * Fixed the configfiles *grmml* + * The polnish translation also belongs into the package + + -- Alexander Wirt Mon, 16 Aug 2004 16:26:48 +0200 + +pytone (2.1.0-1) unstable; urgency=low + + * New upstream release + * Added two patches to fix filenamedetection + * New databaselayout (Closes: #245503) + + -- Alexander Wirt Mon, 16 Aug 2004 13:46:15 +0200 + +pytone (2.0.13-1) unstable; urgency=low + + * New upstream release + - Updated description of autoregisterer function + (closes: #245528) + * Improved manpage + * Added watchfile + + -- Alexander Wirt Sun, 20 Jun 2004 13:33:33 +0200 + +pytone (2.0.12-1) unstable; urgency=low + + * New upstream release + * Updated NEWS file + * Converted changelog to UTF-8 + + -- Alexander Wirt Mon, 19 Apr 2004 10:51:22 +0200 + +pytone (2.0.11-1) unstable; urgency=low + + * New upstream release + + -- Alexander Wirt Sun, 4 Apr 2004 16:36:05 +0200 + +pytone (2.0.10-1) unstable; urgency=low + + * New upstream release + * Files that are not fully played don't get counted as played anymore (closes: #218283) + + -- Alexander Wirt Sun, 21 Mar 2004 19:41:47 +0100 + +pytone (2.0.9-1) unstable; urgency=low + + * New upstream release + * Fixed menu file + + -- Alexander Wirt Mon, 8 Mar 2004 22:43:37 +0100 + +pytone (2.0.8-3) unstable; urgency=low + + * Added a small patch for null terminated m3u files (closes: #233808) + + -- Alexander Wirt Fri, 27 Feb 2004 15:03:47 +0100 + +pytone (2.0.8-2) unstable; urgency=low + + * Added italian translation + + -- Alexander Wirt Sun, 8 Feb 2004 16:51:50 +0100 + +pytone (2.0.8-1) unstable; urgency=low + + * New upstream release + * Removed patch for network.py (fixed in upstream) + + -- Alexander Wirt Sun, 18 Jan 2004 17:11:29 +0100 + +pytone (2.0.7-1) unstable; urgency=low + + * New upstream release + * Support for playlist repetition (closes: #218282) + * Added pytonectl manpage + * Added a patch for network.py that prevents a crash + + -- Alexander Wirt Sun, 11 Jan 2004 19:02:54 +0100 + +pytone (2.0.3-3) unstable; urgency=low + + * Added build-dep python only for debhelper *grmmbl* as python2.3 doesn't + provide a python binary... *grmmbl* + + -- Alexander Wirt Wed, 12 Nov 2003 20:52:30 +0100 + +pytone (2.0.3-2) unstable; urgency=low + + * Changes python call in rules file (closes: #220317) + + -- Alexander Wirt Wed, 12 Nov 2003 18:35:34 +0100 + +pytone (2.0.3-1) unstable; urgency=low + + * New upstream release + * Removed the -n switch from the manpage + * Removed patches for #216002 (integrated into upstream) + * Changed Maintainerfield + + -- Alexander Wirt Tue, 11 Nov 2003 22:50:52 +0100 + +pytone (2.0.2-2) unstable; urgency=low + + * Removed python-oss from Recommends, because Python 2.3 has its own + oss module. + * Added two patches from David KÃ¥gedal for monocolor + terminals (closes: #216002) + * Added build-dependency for dpatch + * Improved Description (closes: #215951) + * Improvded manpage + + -- Alexander Wirt Thu, 16 Oct 2003 16:08:32 +0200 + +pytone (2.0.2-1) unstable; urgency=low + + * Initial Release. + + -- Alexander Wirt Sun, 28 Sep 2003 10:39:59 +0200 + --- pytone-3.0.3.orig/debian/compat +++ pytone-3.0.3/debian/compat @@ -0,0 +1 @@ +4 --- pytone-3.0.3.orig/debian/control +++ pytone-3.0.3/debian/control @@ -0,0 +1,18 @@ +Source: pytone +Section: sound +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Alexander Wirt +Build-Depends: debhelper (>= 4.0.0), python-dev, dpatch, libao-dev, dh-python +Standards-Version: 3.9.3 + +Package: pytone +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-pymad, python-pyao (>= 0.82), python-eyed3, python-pysqlite2, ${misc:Depends} +Recommends: python-pyvorbis +Suggests: python-xmms, mpg321 +Description: Music jukebox with advanced features for DJs and a text-mode user interface + Pytone is a curses based Jukebox program with advanced features like + crossfading, multiple players (libmad,xmms,mpg321/123), prehearing + with a second soundcard, search functionality, logging, mixer functions + and an English and German interface. --- pytone-3.0.3.orig/debian/copyright +++ pytone-3.0.3/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Alexander Wirt on +Sun, 28 Sep 2003 10:39:59 +0200. + +It was downloaded from http://www.luga.de/pytone/download/ + +Upstream Author: Jörg Lehmann + +Copyright: + + 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; version 2 dated June, 1991. + + 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'. + --- pytone-3.0.3.orig/debian/dirs +++ pytone-3.0.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/pytone --- pytone-3.0.3.orig/debian/docs +++ pytone-3.0.3/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- pytone-3.0.3.orig/debian/lintian/pytone +++ pytone-3.0.3/debian/lintian/pytone @@ -0,0 +1,4 @@ +pytone: manpage-has-errors-from-man usr/share/man/man1/pytone.1.gz 34: warning: can't find numbered character 246 +pytone: manpage-has-errors-from-man usr/share/man/man1/pytonectl.1.gz 72: warning: can't find numbered character 246 +pytone: script-not-executable ./usr/lib/pytone/profile.py + --- pytone-3.0.3.orig/debian/menu +++ pytone-3.0.3/debian/menu @@ -0,0 +1,2 @@ +?package(pytone):needs="text" section="Apps/Sound"\ + title="PyTone" command="/usr/bin/pytone" --- pytone-3.0.3.orig/debian/patches/00list +++ pytone-3.0.3/debian/patches/00list @@ -0,0 +1 @@ + --- pytone-3.0.3.orig/debian/pytone.1 +++ pytone-3.0.3/debian/pytone.1 @@ -0,0 +1,34 @@ +.TH PYTONE "1" "Sept 2003" "pytone 2.0.2" + +.SH NAME +pytone \- music jukebox for your audio files + +.SH SYNOPSIS +.B pytone +.RI [ options ] +.br + +.SH DESCRIPTION +.B PyTone +is a music jukebox written in Python, that helps you to play and organize your audio (ogg, mp3) files. +It supports several external players (mpg321, mpg123, and xmms) as well as one internal player based on +libmad and libvorbis, respectively. +.SH OPTIONS +\fB\-h, \fB\-\-help\fR +shows this help +.TP +\fB\-c, \fB\-\-config \fI\fR +read config from \fI\fR +.TP +\fB\-d, \-\-debug \fI\fR +enable debugging output (into \fI\fR) +.TP +\fB\-r, \fB\-\-rebuild\fR +rebuild all databases + +.SH SEE ALSO +The full documentation for +.B PyTone + +.SH AUTHOR +PyTone was written by Jörg Lehmann . This manpage was written by Alexander Wirt for the Debian Distribution. --- pytone-3.0.3.orig/debian/pytone.install +++ pytone-3.0.3/debian/pytone.install @@ -0,0 +1,15 @@ +locale/de/LC_MESSAGES/*.mo usr/share/locale/de/LC_MESSAGES/ +locale/it/LC_MESSAGES/*.mo usr/share/locale/it/LC_MESSAGES/ +locale/pl/LC_MESSAGES/*.mo usr/share/locale/pl/LC_MESSAGES/ +locale/fr/LC_MESSAGES/*.mo usr/share/locale/fr/LC_MESSAGES/ + +src/pcm.so usr/lib/pytone/ +src/bufferedao.so usr/lib/pytone/ + +src/*.py usr/lib/pytone/ +src/services/* usr/lib/pytone/services +src/plugins/* usr/lib/pytone/plugins + +conf/pytonerc etc/ +conf/* usr/share/doc/pytone/examples +src/plugins/minimal.py usr/share/doc/pytone/examples/plugins --- pytone-3.0.3.orig/debian/pytone.links +++ pytone-3.0.3/debian/pytone.links @@ -0,0 +1,2 @@ +usr/lib/pytone/pytone.py usr/bin/pytone +usr/lib/pytone/pytonectl.py usr/bin/pytonectl --- pytone-3.0.3.orig/debian/pytonectl.1 +++ pytone-3.0.3/debian/pytonectl.1 @@ -0,0 +1,72 @@ +.TH PYTONECTL "1" "Jan 2004" "pytone 2.0.7" + +.SH NAME +pytonectl \- remote control for pytone + +.SH SYNOPSIS +.B pytonectl +[\fIoption\fR] \fIcommand\fR +.br + +.SH DESCRIPTION +.B pytonectl +is a commandline remote control for a running PyTone instance. It communicates +via Unix Sockets or TCP/IP with the running PyTone. +.SH OPTIONS +\fB\-h, \fB\-\-help\fR +shows this help +.TP +\fB\-s, \fB\-\-server \fI\fR +connects to PyTone instance on \fI\fR +.TP +\fB\-p, \-\-port \fI\fR +connect to PyTone Server on given \fI\fR +.TP +\fB\-f, \fB\-\-file\fR \fI\fR +connect to PyTone UNIX socket \fI\fR +.SH COMMANDS +.TP +getplayerinfo +show information on the song currently being played +.TP +playerforward +play the next song in the playlist +.TP +playerpause +pause the player +.TP +playerstart +start/unpause the player +.TP +playertogglepause +pause the player, if playing, or play, if paused +.TP +playerstop +stop the player +.TP +playerratecurrentsong \fI\fR +rate the song currently being played (1<=rating<=5) +.TP +playlistaddsongs \fI\fR +add files to end of playlist +.TP +playlistaddsongtop \fI\fR +play file immediately +.TP +playlistclear +clear the playlist +.TP +playlistdeleteplayedsongs +remove all played songs from the playlist +.TP +playlistreplay +mark all songs in the playlist as unplayed +.TP +playlistshuffle +shuffle the playlist +.SH SEE ALSO +The full documentation for +.B PyTone + +.SH AUTHOR +PyTone was written by Jörg Lehmann . This manpage was written by Alexander Wirt for the Debian Distribution. --- pytone-3.0.3.orig/debian/pyversions +++ pytone-3.0.3/debian/pyversions @@ -0,0 +1 @@ +2.4- --- pytone-3.0.3.orig/debian/rules +++ pytone-3.0.3/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +#include targets for dpatch +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp + +build-stamp: patch-stamp + dh_testdir + + # Compile our pcm module + python setup.py build_ext -i + + touch build-stamp + +clean: unpatch + + dh_testdir + dh_testroot + rm -f build-stamp + + #clean up everything + python setup.py clean + find -name '*.pyc' -exec rm {} \; + find -name '.*.py' -exec rm {} \; + dh_clean src/pcm.so src/bufferedao.so + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing lintian overrides + for LINTIAN in debian/lintian/*; \ + do \ + install -D -m 644 $$LINTIAN debian/`basename $$LINTIAN`/usr/share/lintian/overrides/`basename $$LINTIAN` || exit 1; \ + done + + + +# 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 THANKS + dh_installexamples + dh_install + dh_installmenu +# dh_installdebconf + dh_installman debian/pytone.1 debian/pytonectl.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_python2 + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pytone-3.0.3.orig/debian/watch +++ pytone-3.0.3/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.luga.de/pytone/download/PyTone-([\d\.]*)\.tar\.gz --- pytone-3.0.3.orig/src/bufferedao.c +++ pytone-3.0.3/src/bufferedao.c @@ -148,7 +148,7 @@ self->format.bits = 16; self->format.rate = 44100; self->format.channels = 2; - self->format.byte_format = 4; /* platform byte order */ + self->format.byte_format = 2; /* parse parameters... */ if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iis|iiiiO!", kwlist, --- pytone-3.0.3.orig/src/services/players/internal.py +++ pytone-3.0.3/src/services/players/internal.py @@ -49,7 +49,7 @@ class aoaudiodev: def __init__(self, aodevice, rate, options): - self.ao = ao.AudioDevice(aodevice, rate=rate, byte_format=4, options=options) + self.ao = ao.AudioDevice(aodevice, rate=rate, byte_format=2, options=options) def play(self, buff, bytes): self.ao.play(buff, bytes) @@ -261,7 +261,7 @@ # use C version of buffered audio device if present if bufferedao_present: - self.audiodev = bufferedao.bufferedao(bufsize, self.SIZE, aodevice, byte_format=4, rate=self.rate, options=aooptions) + self.audiodev = bufferedao.bufferedao(bufsize, self.SIZE, aodevice, rate=self.rate, options=aooptions) # we have to start a new thread for the bufferedao device thread.start_new(self.audiodev.start, ()) log.debug("bufferedao device opened")