--- djvusmooth-0.2.9.orig/djvusmooth_importer.py +++ djvusmooth-0.2.9/djvusmooth_importer.py @@ -0,0 +1,34 @@ +# encoding=UTF-8 +# Copyright © 2009 Jakub Wilk +# +# 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. + +import sys +import imp + +class Loader(object): + + def __init__(self, *args): + self.args = args + + def load_module(self, fullname): + return imp.load_module(fullname, *self.args) + +class Importer(object): + + def find_module(self, fullname, path=None): + if fullname != 'djvusmooth': + return + args = imp.find_module('lib', path) + return Loader(*args) + +sys.meta_path = [Importer()] + +# vim:ts=4 sw=4 et --- djvusmooth-0.2.9.orig/.pc/.version +++ djvusmooth-0.2.9/.pc/.version @@ -0,0 +1 @@ +2 --- djvusmooth-0.2.9.orig/.pc/.quilt_series +++ djvusmooth-0.2.9/.pc/.quilt_series @@ -0,0 +1 @@ +series --- djvusmooth-0.2.9.orig/.pc/.quilt_patches +++ djvusmooth-0.2.9/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches --- djvusmooth-0.2.9.orig/debian/djvusmooth.desktop +++ djvusmooth-0.2.9/debian/djvusmooth.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=djvusmooth +GenericName=Graphical editor for DjVu +GenericName[pl]=Graficzny edytor plików DjVu +Exec=/usr/bin/djvusmooth %f +Terminal=false +MimeType=image/x-djvu;image/x.djvu;image/vnd.djvu; +Categories=Graphics; --- djvusmooth-0.2.9.orig/debian/links +++ djvusmooth-0.2.9/debian/links @@ -0,0 +1 @@ +usr/share/djvusmooth/djvusmooth usr/bin/djvusmooth --- djvusmooth-0.2.9.orig/debian/install +++ djvusmooth-0.2.9/debian/install @@ -0,0 +1,4 @@ +djvusmooth* usr/share/djvusmooth +lib usr/share/djvusmooth +locale usr/share +debian/djvusmooth.desktop usr/share/applications/ --- djvusmooth-0.2.9.orig/debian/changelog +++ djvusmooth-0.2.9/debian/changelog @@ -0,0 +1,58 @@ +djvusmooth (0.2.9-1~lffl~lucid~ppa) lucid; urgency=low + + * New upstream release + + -- Ferramosca Roberto Tue, 20 Jan 2011 20:00:00 +0100 + +djvusmooth (0.2.6-1) unstable; urgency=low + + * New upstream release: + + Fix crash after save (closes: #585896). + * Run doctests at build time. + + Build-depend on python-all, python-nose. + + -- Jakub Wilk Tue, 15 Jun 2010 22:21:27 +0200 + +djvusmooth (0.2.4-1) unstable; urgency=low + + * New upstream release. + * Switch to source format 3.0 (quilt). + + -- Jakub Wilk Wed, 31 Mar 2010 19:04:34 +0200 + +djvusmooth (0.2.3-1) unstable; urgency=low + + * New upstream release: + + Fix issues with the “Overprinted annotation properties” dialog + (closes: #574362, #574338). + + Document that very narrow hyperlink borders are not portable + (closes: #574361). + * Let dh_installdocs install the upstream changelog. + * Bump standards version to 3.8.4 (no changes needed). + * Update my e-mail addresses. + * Update homepage URL. + + -- Jakub Wilk Wed, 17 Mar 2010 22:10:21 +0100 + +djvusmooth (0.2.2-1) unstable; urgency=low + + * New upstream relase: + - Works with both wxPython 2.8 and 2.6; adjust dependencies accordingly. + + -- Jakub Wilk Fri, 22 Jan 2010 19:43:06 +0100 + +djvusmooth (0.2.1-1) unstable; urgency=low + + * New upstream release. + * Update debian/copyright. + * Add Debian menu entry. + * Add freedesktop.org desktop entry. + * Use the lowercase “djvusmooth” spelling in debian/control. + + -- Jakub Wilk Mon, 11 Jan 2010 18:49:49 +0100 + +djvusmooth (0.2.0-1) unstable; urgency=low + + * Initial release (closes: #550922). + + -- Jakub Wilk Sun, 22 Nov 2009 10:28:47 +0100 --- djvusmooth-0.2.9.orig/debian/menu +++ djvusmooth-0.2.9/debian/menu @@ -0,0 +1,3 @@ +?package(djvusmooth):needs="X11" \ + section="Applications/Graphics" \ + title="djvusmooth" command="/usr/bin/djvusmooth" --- djvusmooth-0.2.9.orig/debian/watch +++ djvusmooth-0.2.9/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/d/djvusmooth/djvusmooth-([0-9.]+).tar.gz --- djvusmooth-0.2.9.orig/debian/manpages +++ djvusmooth-0.2.9/debian/manpages @@ -0,0 +1 @@ +doc/*.[0-9] --- djvusmooth-0.2.9.orig/debian/copyright +++ djvusmooth-0.2.9/debian/copyright @@ -0,0 +1,28 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 +Name: djvusmooth +Maintainer: Jakub Wilk +Source: http://jwilk.net/software/djvusmooth + +Files: * +Copyright: + 2008, 2009, 2010 Jakub Wilk + 2009 Mateusz Turcza +License: GPL-2 + +Files: debian/* +Copyright: + 2009, 2010, Jakub Wilk +License: GPL-2 + +License: GPL-2 + 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. + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in the /usr/share/common-licenses/GPL-2 file. --- djvusmooth-0.2.9.orig/debian/control +++ djvusmooth-0.2.9/debian/control @@ -0,0 +1,22 @@ +Source: djvusmooth +Section: text +Priority: optional +Maintainer: Jakub Wilk +Uploaders: Python Applications Packaging Team +Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), python-all, gettext, python-nose +XS-Python-Version: all +Standards-Version: 3.8.4 +Homepage: http://jwilk.net/software/djvusmooth +Vcs-Svn: svn://svn.debian.org/python-apps/packages/djvusmooth/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/djvusmooth/trunk/ + +Package: djvusmooth +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, + python-djvu (>= 0.1.15), djvulibre-bin (>= 3.5.20-5~), + python-wxgtk2.8 | python-wxgtk2.6, python-xdg +Description: graphical editor for DjVu + djvusmooth is a graphical editor for DjVu files, which allows to: + * edit document metadata, + * edit document outline (bookmarks), + * correct occasional errors in the hidden text layer. --- djvusmooth-0.2.9.orig/debian/rules +++ djvusmooth-0.2.9/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +.PHONY: build +build: + dh build + +.PHONY: build-arch +build-arch: + +.PHONY: build-indep +build-indep: build + +.PHONY: override_dh_auto_build +override_dh_auto_build: + ./update-i18n + +.PHONY: override_dh_auto_test +override_dh_auto_test: +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) + set -e -x; \ + for python in $(shell pyversions -r); do \ + grep --include='*.py' '>>>' -r . -l | xargs $$python /usr/bin/nosetests --with-doctest -v; \ + done +endif + +.PHONY: install +install: build + dh install + +.PHONY: override_dh_auto_install +override_dh_auto_install: + +.PHONY: binary +binary: + dh binary + +.PHONY: binary-arch +binary-arch: + +.PHONY: binary-indep +binary-indep: binary + +.PHONY: clean +clean: + dh clean + find -name '*.py[co]' -delete + rm -Rf locale/ + +# vim:ts=4 sw=4 noet --- djvusmooth-0.2.9.orig/debian/compat +++ djvusmooth-0.2.9/debian/compat @@ -0,0 +1 @@ +7 --- djvusmooth-0.2.9.orig/debian/docs +++ djvusmooth-0.2.9/debian/docs @@ -0,0 +1 @@ +doc/changelog