--- griffith-0.9.6.orig/lib/gutils.py +++ griffith-0.9.6/lib/gutils.py @@ -463,7 +463,7 @@ }) try: import xml - version = '.'.join([str(i) for i in xml.version_info]) + version = xml.__version__ except: version = False depend.append({'module': 'xml', --- griffith-0.9.6.orig/debian/pycompat +++ griffith-0.9.6/debian/pycompat @@ -0,0 +1 @@ +2 --- griffith-0.9.6.orig/debian/control +++ griffith-0.9.6/debian/control @@ -0,0 +1,25 @@ +Source: griffith +Section: gnome +Priority: optional +Maintainer: Piotr Ożarowski +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: python (>= 2.3.5-11), python-central (>= 0.5.6) +Standards-Version: 3.7.3 +XS-Python-Version: >=2.3 +Vcs-Svn: svn://svn.berlios.de/griffith/trunk/debian +Vcs-Browser: http://svn.berlios.de/wsvn/griffith/debian/?sc=1 +Homepage: http://griffith.berlios.de/ + +Package: griffith +Architecture: all +Depends: ${python:Depends}, python-gtk2 (>= 2.8.6-1), python-glade2 (>= 2.8.6-1), + python (>= 2.5) | python-pysqlite2 (>= 2.3.0-1), + python-reportlab (>= 1.20debian-6), python-imaging (>= 1.1.5-6) +Recommends: python-gnome2-extras (>= 2.14.0-1), python-chardet, + python-psycopg2 (>= 1.1.21-6), python-mysqldb (>= 1.2.1-p2-2), python-sqlite +Suggests: griffith-extra-artwork (>= 0.9) +XB-Python-Version: ${python:Versions} +Description: film collection manager + Adding items to the movie collection is as quick and easy as typing the film + title and selecting a supported source. Griffith will then try to fetch all + the related information from the Web. --- griffith-0.9.6.orig/debian/compat +++ griffith-0.9.6/debian/compat @@ -0,0 +1 @@ +5 --- griffith-0.9.6.orig/debian/copyright +++ griffith-0.9.6/debian/copyright @@ -0,0 +1,70 @@ +This package was debianized by Piotr Ożarowski on +Fri, 24 Jun 2005 15:51:42 +0200. + +It was downloaded from http://griffith.berlios.de/ + +Copyright Holders: Vasco Nunes , + Piotr Ożarowski + +License: + + Copyright (c) 2005-2008 Vasco Nunes, Piotr Ożarowski + + 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 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library 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 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + You may use and distribute this software under the terms of the + GNU General Public License, version 2 or later + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. + +---------------------------------------------------------------- + +File lib/amazon.py is licensed under Python license and is copyrighted +by Mark Pilgrim + +Python licence can be found on http://www.python.org/psf/license/ + +---------------------------------------------------------------- + +lib/sqlalchemy directory: + + This is the MIT license: http://www.opensource.org/licenses/mit-license.php + + Copyright (c) 2005, 2006, 2007 Michael Bayer and contributors. SQLAlchemy is a + trademark of Michael Bayer. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +---------------------------------------------------------------- + +The Debian packaging is (C) 2005-2008, Piotr Ożarowski and +is licensed under the GPL. --- griffith-0.9.6.orig/debian/changelog +++ griffith-0.9.6/debian/changelog @@ -0,0 +1,128 @@ +griffith (0.9.6-2) unstable; urgency=low + + * Added patch for Python>=2.4's xml module compatibility (LP: #203161) + + -- Piotr Ożarowski Sat, 22 Mar 2008 15:15:01 +0100 + +griffith (0.9.6-1) unstable; urgency=low + + * New upstream release + + includes local copy of SQLAlchemy 0.3.11 (closes: #453736) + * python-sqlalchemy dependency temporary removed + (0.10 will require SQLAlchemy 0.4 so it closes: #443199) + * Remove "XS-" prefix from Vcs-* fields (dpkg supports them now) + * Add Homepage field + * Bump Standards-Version to 3.7.3 (no changes needed) + + -- Piotr Ożarowski Sun, 27 Jan 2008 23:28:39 +0100 + +griffith (0.9.5-1) unstable; urgency=low + + * New upstream release + * debian/watch file updated + * debian/menu file updated + * Add python-sqlalchemy (<< 0.4~) to depends (Griffith doesn't work with SA + 0.4 for now) + * python-sqlite package moved to Recommends + + -- Piotr Ożarowski Sun, 02 Sep 2007 23:56:26 +0200 + +griffith (0.9.4-1) unstable; urgency=low + + * New upstream release + * Update XS-Vcs-* fields to point to debian dir + + -- Piotr Ożarowski Sun, 05 Aug 2007 20:21:23 +0200 + +griffith (0.9.3.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Mon, 02 Jul 2007 19:32:15 +0200 + +griffith (0.9.3-1) unstable; urgency=low + + * New upstream release + * Don't require python-pysqlite2 if Python 2.5 is the default Python version + (sqlite3 module will be used if possible) + * Changed my address to piotr@debian.org + + -- Piotr Ożarowski Sat, 30 Jun 2007 16:47:04 +0200 + +griffith (0.9.2-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Tue, 20 Feb 2007 17:01:26 +0100 + +griffith (0.9.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Mon, 12 Feb 2007 21:30:40 +0100 + +griffith (0.9-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Fri, 26 Jan 2007 19:49:36 +0100 + +griffith (0.9~rc3-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Tue, 9 Jan 2007 23:17:41 +0100 + +griffith (0.9~rc2-1) unstable; urgency=low + + * New upstream release + * debian/copyright and debian/watch files updated + + -- Piotr Ozarowski Mon, 8 Jan 2007 00:04:41 +0100 + +griffith (0.9~rc1-1) experimental; urgency=low + + * New upstream release + * Dependencies updated (python-sqlite is still in Depends: to make the + upgrade process smooth) + * Added XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control + * Homepage updated + + -- Piotr Ozarowski Wed, 20 Dec 2006 17:30:14 +0100 + +griffith (0.6.2-1) unstable; urgency=low + + * New upstream release + * Updated to latest python policy (closes: #380835) + - Convert to python-central + - Bumped debhelper compatibility level to 5 + - Dependencies updated (closes: #377570) + - Added new debian/pycompat file + * Watch file added + * Removed changelog entries before initial Debian release + * Added info about amazon.py file in debian/copyright + * Standards-version bumped to 3.7.2 (no changes needed) + + -- Piotr Ozarowski Tue, 1 Aug 2006 15:38:22 +0200 + +griffith (0.6.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Fri, 14 Apr 2006 22:50:45 +0200 + +griffith (0.6+svn293-1) unstable; urgency=low + + * Upstream homepage added to the package description + * Updated to latest SVN version + + -- Piotr Ozarowski Sun, 12 Mar 2006 17:48:08 +0100 + +griffith (0.6-1) unstable; urgency=low + + * New upstream release (closes: #329853) + * Recommendations and build-depends updated + * Package is now lintian and linda clean + + -- Piotr Ozarowski Sun, 5 Mar 2006 19:53:00 +0100 + --- griffith-0.9.6.orig/debian/docs +++ griffith-0.9.6/debian/docs @@ -0,0 +1,6 @@ +AUTHORS +NEWS +README +THANKS +TODO +TRANSLATORS --- griffith-0.9.6.orig/debian/rules +++ griffith-0.9.6/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build-stamp: + dh_testdir + touch build-stamp + +build: build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + $(MAKE) install DESTDIR=$(CURDIR)/debian/griffith + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_installmenu -i + dh_link usr/share/griffith/lib/griffith /usr/bin/griffith + dh_compress -i + dh_fixperms -i + dh_pycentral -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- griffith-0.9.6.orig/debian/menu +++ griffith-0.9.6/debian/menu @@ -0,0 +1,8 @@ +?package(griffith):needs="X11" \ + section="Applications/Data Management" \ + hints="Gnome" \ + title="Griffith" \ + longtitle="Film collection manager" \ + command="/usr/bin/griffith" \ + icon="/usr/share/pixmaps/griffith.xpm" + --- griffith-0.9.6.orig/debian/watch +++ griffith-0.9.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts="uversionmangle=s/-rc/~rc/" http://griffith.berlios.de/pages/download.php http://download.berlios.de/griffith/griffith-(\d.*).tar.gz