debian/0000755000000000000000000000000011701663024007166 5ustar debian/rules0000755000000000000000000000121511651071205010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_INSTALL_DOCS_ALL = install/python-kaa-metadata:: : # Replace all '#!' calls to python with /usr/bin/python : # and make them executable for i in `find debian/python-kaa-metadata -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done clean:: rm -f src/version.pyc debian/compat0000644000000000000000000000000210637013562010367 0ustar 5 debian/manpages0000644000000000000000000000002010637013562010677 0ustar debian/mminfo.1 debian/changelog0000644000000000000000000001122611701661525011046 0ustar kaa-metadata (0.7.7+svn4596-4) unstable; urgency=low * fix: "FTBFS on hurd-i386", thanks to Samuel Thibault (Closes: #647974). -- A Mennucc1 Fri, 06 Jan 2012 22:10:42 +0100 kaa-metadata (0.7.7+svn4596-3) unstable; urgency=low * use patch 02_kfreebsd.diff from python-cddb -- A Mennucc1 Fri, 06 Jan 2012 21:41:51 +0100 kaa-metadata (0.7.7+svn4596-2) unstable; urgency=low * bump build-dependencies to avoid FTBFS * bump standard versions -- A Mennucc1 Mon, 24 Oct 2011 15:47:20 +0200 kaa-metadata (0.7.7+svn4596-1) unstable; urgency=low * add myself to uploaders * update to svn 4596 * Bug fix: "deprecation of dh_pycentral, please use dh_python2", thanks to Matthias Klose (Closes: #616853). -- A Mennucc1 Sat, 22 Oct 2011 21:53:07 +0200 kaa-metadata (0.7.7-2) unstable; urgency=low * Rebuild with pbuilder, to correct dependencies -- A Mennucc1 Fri, 26 Jun 2009 16:17:08 +0200 kaa-metadata (0.7.7-1) unstable; urgency=low * New upstream version. -- A Mennucc1 Thu, 11 Jun 2009 17:42:48 +0200 kaa-metadata (0.7.6-1) unstable; urgency=low * New upstream version. -- A Mennucc1 Tue, 26 May 2009 22:57:19 +0200 kaa-metadata (0.7.5+svn4046-1) experimental; urgency=low * New SVN version * This version needs Python >= 2.5.. -- A Mennucc1 Sat, 23 May 2009 18:19:38 +0200 kaa-metadata (0.7.5-1) unstable; urgency=low * New upstream release: -> Get rid of debian/patches/kaa-size.diff: fixed in this release. -> Fix handling of broken DVD subtitles (Closes: #507226). * debian/control: adding ${misc:Depends} since lintian complains about it not being here. -- Jeremie Corbier Tue, 02 Dec 2008 10:38:18 +0100 kaa-metadata (0.7.4-2) unstable; urgency=low * Add a SVN patch to avoid huge memory usage on broken AVI files. See http://sourceforge.net/tracker2/?func=detail&aid=2140819&group_id=46652&atid=446895 -- A Mennucc1 Sun, 26 Oct 2008 21:43:23 +0100 kaa-metadata (0.7.4-1) unstable; urgency=low * New upstream release. * Update debian/patches/001_remove-shebangs.patch. * Bump up Standards-Version to 3.8.0: no changes needed. -- Jeremie Corbier Sat, 27 Sep 2008 17:32:02 +0200 kaa-metadata (0.7.3-1) unstable; urgency=low * New upstream release. -- Jeremie Corbier Mon, 31 Mar 2008 01:49:06 +0200 kaa-metadata (0.7.2-1) unstable; urgency=medium * New upstream release. * Add a versionned build-dependency on kaa-base 0.2 (Closes: #462853). * Drop dependency on python-xml (Closes: #468603). -- Jeremie Corbier Sat, 15 Mar 2008 20:10:14 +0100 kaa-metadata (0.7.1-1) unstable; urgency=low * New upstream release. [Jeremie Corbier] * Set Maintainer to pkg-freevo-maint. * Update XS-Vcs-* fields: kaa-metadata is comaintained in the pkg-freevo SVN repository. * Use the Homepage field. * Vcs-* fields are official now. * Bump up Standards-Version: no changes needed. [Georg W. Leonhardt] * Add myself as uploader -- Jeremie Corbier Fri, 04 Jan 2008 00:04:52 +0100 kaa-metadata (0.6.1-1) unstable; urgency=low * New upstream release. Upstream changed name to kaa-metadata (Closes: #426121). * Add {build,}-dependency on python-kaa-base. * Use quilt instead of simple-patchsys. * Update debian/patches/001_remove-shebangs.patch. * Update mminfo manpage. * Update watch file. * Add XS-Vcs-* fields. -- Jeremie Corbier Tue, 29 May 2007 10:42:13 -0700 mmpython (0.4.10-1) unstable; urgency=low * New upstream release (Closes: #398239). * Acknowledge NMU. * Do not install useless README file (Closes: #389465). * Bump versionned build-dep on python-central. -- Jeremie Corbier Thu, 16 Nov 2006 21:41:42 -0800 mmpython (0.4.9-1.1) unstable; urgency=low * NMU * Remove explicit dependency on python2.3. -- Matthias Klose Sat, 28 Oct 2006 11:32:05 +0200 mmpython (0.4.9-1) unstable; urgency=low * Initial release (Closes: #372821). * debian/patches: -> debian/patches/ifoparser-add-stdint-include.patch: fix a FTBFS when if mmpython.disc.ifoparse is built. -> remove-shebangs.patch: remove useless shebangs from .py files which are not in the PATH. -- Jeremie Corbier Tue, 4 Jul 2006 17:18:01 +0200 debian/pycompat0000644000000000000000000000000210637013562010740 0ustar 2 debian/watch0000644000000000000000000000013010637013562010214 0ustar version=3 http://qa.debian.org/watch/sf.php/freevo kaa-metadata-((?:\d\.)+\d)\.tar\.gz debian/control0000644000000000000000000000236011651267722010603 0ustar Source: kaa-metadata Section: python Priority: optional Maintainer: Freevo Debian Dream Team Uploaders: Jeremie Corbier , Georg W. Leonhardt , A Mennucc1 Build-Depends: cdbs (>= 0.4.90), quilt, debhelper (>= 5.0.37.2), python-all-dev (>= 2.6.6-3), python-kaa-base (>= 0.6.0+svn4596), libdvdread-dev X-Python-Version: >= 2.6 Vcs-Svn: svn://svn.debian.org/svn/pkg-freevo/kaa-metadata/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-freevo/kaa-metadata/ Standards-Version: 3.9.2 Homepage: http://freevo.org/kaa Package: python-kaa-metadata Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-kaa-base XB-Python-Version: ${python:Versions} Provides: ${python:Provides}, python-mmpython Replaces: python-mmpython (<< 0.5) Conflicts: python-mmpython (<< 0.5) Description: Media Metadata for Python Kaa Metadata is a Media Meta Data retrieval framework. It retrieves metadata from mp3, ogg, avi, jpg, tiff and other file formats. Among others it thereby parses ID3v2, ID3v1, EXIF, IPTC and Vorbis data into an object oriented struture. . The Kaa Media Repository is a set of Python modules related to media. debian/source/0000755000000000000000000000000011701663024010466 5ustar debian/source/format0000644000000000000000000000001411651071205011672 0ustar 3.0 (quilt) debian/mminfo.10000644000000000000000000000120610637013562010537 0ustar .TH MMINFO 1 "June 2006" .SH NAME mminfo \- Kaa Metadata media info. .SH SYNOPSIS .B mminfo [--help] [-d] files .SH DESCRIPTION \fBmminfo\fP is a program that reads media .I files metadata (ID3, EXIF, Vorbis and IPTC tags) using Kaa Metadata. .SH OPTIONS .TP .BI --help Display this help and exit. .TP .BI -d Turn on debug mode. .SH AUTHOR Kaa Metadata is maintained by Dirk Meyer in the Freevo Kaa Media repository and is based on mmpython. mmpython was written by Thomas Schueppel and Dirk Meyer. .PP This manual page was written by Jeremie Corbier , for the Debian project (but may be used by others). debian/copyright0000644000000000000000000000515110637013562011126 0ustar This package was debianized by Jeremie Corbier on Thu, 8 Jun 2006 12:42:06 +0200. It was downloaded from http://sourceforge.net/projects/freevo/ Copyright: kaa-Metadata - Media Metadata for Python Copyright (C) 2003-2006 Thomas Schueppel, Dirk Meyer First Edition: Thomas Schueppel Maintainer: Dirk Meyer Please see the file AUTHORS for a complete list of authors. 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, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. The complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. This package also includes some code from the following projects: - disc/ifomodule.c is based on ifoinfo from Jens Arnfast (http://arnfast.net/projects/ifoinfo.php) Copyright (c) 2002 Jens Arnfast LICENSE This program is released under the same conditions as Perl, that is, either of the following: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. b) the Artistic License. - The Python CDDB module from Ben Gertzfield http://cddb-py.sourceforge.net/ Copyright (C) 1999-2003 Ben Gertzfield This work is released under the GNU GPL version 2 or any later version. - bins support by John Cooper, made for the Freevo project Copyright (C) 2002 John M Cooper This work is released under the GNU GPL version 2 or any later version. - code from "exifdump.py" originally written by Thierry Bousch and released into the public domain. and code by Gene Cash - code out of Vivake Guptas mp3info which is to be found at http://www.omniscia.org/~vivake/python/MP3Info.py Copyright (c) 2002-2004 Vivake Gupta (vivakeATlab49.com). All rights reserved. This work is released under the GNU GPL version 2 or any later version. debian/patches/0000755000000000000000000000000011701663024010615 5ustar debian/patches/001_remove-shebangs.patch0000644000000000000000000000126011115201402015265 0ustar Remove useless shebangs from a few files so lintian doesn't complain about them Index: kaa-metadata-0.7.4/src/disc/CDDB.py =================================================================== --- kaa-metadata-0.7.4.orig/src/disc/CDDB.py +++ kaa-metadata-0.7.4/src/disc/CDDB.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Module for retrieving CDDB v1 data from CDDB servers via HTTP Index: kaa-metadata-0.7.4/src/image/EXIF.py =================================================================== --- kaa-metadata-0.7.4.orig/src/image/EXIF.py +++ kaa-metadata-0.7.4/src/image/EXIF.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # This code was taken from exif-py: debian/patches/series0000644000000000000000000000007211701662106012031 0ustar 001_remove-shebangs.patch fix_hurd.diff 02_kfreebsd.diff debian/patches/02_kfreebsd.diff0000644000000000000000000000135011701657472013546 0ustar --- x/src/disc/cdrommodule.c +++ x/src/disc/cdrommodule.c @@ -28,7 +28,7 @@ #include #endif -#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(sun) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) #include #endif @@ -38,7 +38,7 @@ * so that we don't have to repeat the code. */ -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #define CDDB_TOC_HEADER_STRUCT ioc_toc_header #define CDDB_STARTING_TRACK_FIELD starting_track @@ -92,7 +92,7 @@ #define CDDB_DEFAULT_CDROM_FLAGS O_RDONLY | O_NONBLOCK -#endif /* __FreeBSD__ */ +#endif /* __FreeBSD__ || __FreeBSD_kernel__ */ static PyObject *cdrom_error; debian/patches/fix_hurd.diff0000644000000000000000000000073511701663011013260 0ustar Index: kaa-metadata-0.7.7+svn4596/src/disc/cdrommodule.c =================================================================== --- kaa-metadata-0.7.7+svn4596.orig/src/disc/cdrommodule.c 2012-01-06 22:20:28.000000000 +0100 +++ kaa-metadata-0.7.7+svn4596/src/disc/cdrommodule.c 2012-01-06 22:21:14.639732645 +0100 @@ -24,6 +24,10 @@ #include #include +#ifdef __GNU__ +#include +#endif + #ifdef __linux__ #include #endif