debian/0000755000000000000000000000000012034573367007200 5ustar debian/copyright0000644000000000000000000000107311670655110011124 0ustar This package was debianized by Christopher L Cheney on Sat, 17 Feb 2001 23:38:12 -0600. It was downloaded from http://www.andrewchatham.com/pyogg/ Upstream Author: Andrew Chatham Copyright 2001,2002,2003 by Andrew Chatham It is licensed under the following terms: You are free to distribute this software under the terms of the GNU General Public License version 2. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/python-pyao.docs0000644000000000000000000000000707531251550012327 0ustar README debian/source/0000755000000000000000000000000011670655736010506 5ustar debian/source/format0000644000000000000000000000001411670655736011714 0ustar 3.0 (quilt) debian/python-pyao.examples0000644000000000000000000000001007531251550013207 0ustar test.py debian/changelog0000644000000000000000000001013312034573367011050 0ustar pyao (0.82-5build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 08 Oct 2012 16:53:27 +0100 pyao (0.82-5) unstable; urgency=low * QA upload. * Switch to format 3.0 (quilt). * debian/patches/*: - Convert inline patches to quilt ones. * debian/compat: - Bump compatibility level to 8. * debian/control: - Bump X-Python-Version to >= 2.5. - Bump Standards-Version to 3.9.2. - Drop Breaks: ${python:Breaks} field, no longer needed. - Add debug package. * debian/rules: - Pass --dbg-package to dh to build the debug package. -- Luca Falavigna Sun, 11 Dec 2011 15:21:43 +0100 pyao (0.82-4) unstable; urgency=low * QA upload. * Upgrade to debhelper v7 and convert to dh. * Convert to dh_python2 (closes: #616957). * Remove article from start of short description (thanks, Lintian). -- Colin Watson Thu, 23 Jun 2011 14:30:14 +0100 pyao (0.82-3) unstable; urgency=low * QA upload. * src/aomodule.{c,h}: + Add a driver_id property to ao_Object, allowing building with libao4 which has made the ao_device structure opaque. Thanks, Julien Cristau. (Closes: #577345) + Use "i" in format strings when referring to arguments of type "int". Thanks, Philipp Jocham. (Closes: #492917) + Fix FTBFS with Python 2.5. Thanks to Philipp Jocham for the patch. (Closes: #492772) * debian/copyright: Use correct path to the common-licenses copy of version 2 of the GPL. * debian/control: + Add ${misc:Depends}. + Bump Standards-Version to 3.8.4; no changes necessary. -- Adam D. Barratt Mon, 26 Apr 2010 23:59:46 +0100 pyao (0.82-2.1) unstable; urgency=low * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490516. -- Matthias Klose Fri, 18 Jul 2008 15:39:58 +0000 pyao (0.82-2) unstable; urgency=high * QA upload. * Fix python memory handling. Closes: #468985. * Set Maintainer to QA Group. * Bump standards to 3.7.3 (No changes). * Introduce debheler debian/compat * Enhance debian/copyright. -- Thomas Viehmann Tue, 04 Mar 2008 23:12:54 +0100 pyao (0.82-1.2) unstable; urgency=low * Add build dependency on python-central. -- Matthias Klose Sun, 16 Jul 2006 12:29:10 +0000 pyao (0.82-1.1) unstable; urgency=low * NMU * Upgraded to new python policy using pycentral (closes: #373549) -- Luis Rodrigo Gallardo Cruz Sun, 2 Jul 2006 14:04:52 -0500 pyao (0.82-1) unstable; urgency=low * Maintainer upload. -- Christopher L Cheney Thu, 11 Dec 2003 21:45:00 -0600 pyao (0.82-0.1) unstable; urgency=low * NMU. * New upstream release. - Fixes pytone breakage (closes: #202671). - No more multi-line strings (closes: #201001). * Correct debian/copyright. * Standards-version it 3.6.0. * Require debhelper 4.1.62. * Build with python 2.3. -- Josselin Mouette Wed, 13 Aug 2003 15:36:35 +0200 pyao (0.8-2.1) unstable; urgency=low * Non-Maintainer-Upload. * Switched to Python-2.2. (Closes: #161571) -- Michael Banck Fri, 11 Oct 2002 16:42:26 +0200 pyao (0.8-2) unstable; urgency=low * minor update -- Christopher L Cheney Thu, 22 Aug 2002 16:00:00 -0500 pyao (0.8-1) unstable; urgency=high * New upstream. (Closes: #108608, #117234) * Updated package to be Debian Python Policy compliant. -- Christopher L Cheney Sat, 24 Nov 2001 00:40:39 -0600 pyao (0.0.2-3) unstable; urgency=low * Fixed versioned depends. -- Christopher L Cheney Sun, 17 Jun 2001 20:00:00 -0500 pyao (0.0.2-2) unstable; urgency=low * Fixed Build-Depends libao-dev version to 0.6.0 (closes: #87977) -- Christopher L Cheney Wed, 28 Feb 2001 08:00:00 -0600 pyao (0.0.2-1) unstable; urgency=low * Initial Release. -- Christopher L Cheney Mon, 26 Feb 2001 08:00:00 -0600 Local variables: mode: debian-changelog End: debian/python-pyao.install0000644000000000000000000000004111671134152013041 0ustar usr/lib/*/*-packages/aomodule.so debian/patches/0000755000000000000000000000000011670656607010633 5ustar debian/patches/series0000644000000000000000000000007011670656425012043 0ustar driver_id.patch int_format_strings.patch python25.patch debian/patches/python25.patch0000644000000000000000000000072711670656607013352 0ustar Description: Fix FTBFS with python2.5 Author: Philipp Jocham Index: pyao-0.82/src/aomodule.c =================================================================== --- pyao-0.82.orig/src/aomodule.c 2011-12-10 14:22:01.816344171 +0100 +++ pyao-0.82/src/aomodule.c 2011-12-10 14:22:33.600345144 +0100 @@ -4,7 +4,7 @@ static ao_option * dict_to_options(PyObject *dict) { - int pos = 0; + Py_ssize_t pos = 0; PyObject *key, *val; ao_option *head = NULL; int ret; debian/patches/driver_id.patch0000644000000000000000000000242311670656523013621 0ustar Description: Add a driver_id property to ao_Object Author: Julien Cristau Index: pyao-0.82/src/aomodule.c =================================================================== --- pyao-0.82.orig/src/aomodule.c 2011-12-10 14:17:53.112336551 +0100 +++ pyao-0.82/src/aomodule.c 2011-12-10 14:20:37.128341576 +0100 @@ -141,8 +141,9 @@ return NULL; } - retobj = (ao_Object *) PyObject_NEW(ao_Object, &ao_Type); + retobj = (ao_Object *) PyObject_New(ao_Object, &ao_Type); retobj->dev = dev; + retobj->driver_id = driver_id; return (PyObject *) retobj; } @@ -150,7 +151,7 @@ py_ao_dealloc(ao_Object *self) { ao_close(self->dev); - PyMem_DEL(self); + PyObject_Del(self); } static PyObject * @@ -184,7 +185,7 @@ /* It's a method */ ao_Object *ao_self = (ao_Object *) self; - info = ao_driver_info(ao_self->dev->driver_id); + info = ao_driver_info(ao_self->driver_id); } else { Index: pyao-0.82/src/aomodule.h =================================================================== --- pyao-0.82.orig/src/aomodule.h 2011-12-10 14:17:53.112336551 +0100 +++ pyao-0.82/src/aomodule.h 2011-12-10 14:20:37.128341576 +0100 @@ -9,6 +9,7 @@ typedef struct { PyObject_HEAD ao_device *dev; + uint32_t driver_id; } ao_Object; static PyObject *Py_aoError; debian/patches/int_format_strings.patch0000644000000000000000000000160511670656552015570 0ustar Description: Use "i" in format strings when referring to arguments of type "int" Author: Philipp Jocham Index: pyao-0.82/src/aomodule.c =================================================================== --- pyao-0.82.orig/src/aomodule.c 2011-12-10 14:20:37.128341576 +0100 +++ pyao-0.82/src/aomodule.c 2011-12-10 14:22:01.816344171 +0100 @@ -71,7 +71,7 @@ *overwrite = 0; - if(PyArg_ParseTupleAndKeywords(args, kwargs, "s|llllO!sl", + if(PyArg_ParseTupleAndKeywords(args, kwargs, "s|iiiiO!si", (char **) driver_name_kwlist, &driver_name, &format->bits, @@ -84,7 +84,7 @@ *driver_id = ao_driver_id(driver_name); } else { PyErr_Clear(); - if(!(PyArg_ParseTupleAndKeywords(args, kwargs, "i|llllO!sl", + if(!(PyArg_ParseTupleAndKeywords(args, kwargs, "i|iiiiO!si", (char **) driver_id_kwlist, driver_id, &format->bits, debian/README.Debian0000644000000000000000000000025207577316717011252 0ustar python-pyao for Debian ---------------------- See README and examples/test.py for usage. -- Christopher L Cheney , Sat, 17 Feb 2001 23:38:12 -0600 debian/python-pyao-dbg.install0000644000000000000000000000004311671134153013576 0ustar usr/lib/*/*-packages/aomodule_d.so debian/control0000644000000000000000000000215711671136444010605 0ustar Source: pyao Section: python Priority: extra Maintainer: Debian QA Group Build-Depends: debhelper (>= 8~), libao-dev (>= 0.8.4), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~) X-Python-Version: >= 2.5 Standards-Version: 3.9.2 Package: python-pyao Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Python interface to the Audio Output library This module makes the libao (Audio Output) functions available in Python. With this module you can write Python applications that use the cross platform audio output library. Package: python-pyao-dbg Section: debug Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-dbg (>= 2.6.6-3~), python-pyao (= ${binary:Version}) Description: Python interface to the Audio Output library - debug symbols This module makes the libao (Audio Output) functions available in Python. With this module you can write Python applications that use the cross platform audio output library. . This package provides debugging symbols for python-pyao package. debian/rules0000755000000000000000000000037611670657301010262 0ustar #! /usr/bin/make -f %: dh $@ --with python2 --dbg-package=python-pyao-dbg override_dh_auto_configure: python config_unix.py --prefix /usr dh_auto_configure override_dh_auto_clean: [ -e Setup ] || python config_unix.py --prefix /usr dh_auto_clean debian/compat0000644000000000000000000000000211670655441010375 0ustar 8 debian/clean0000644000000000000000000000002111670655110010166 0ustar Setup config.log