debian/0000775000000000000000000000000012145153653007175 5ustar debian/patches/0000775000000000000000000000000011745341560010625 5ustar debian/patches/series0000664000000000000000000000000011611571144012023 0ustar debian/source/0000775000000000000000000000000011745341560010476 5ustar debian/source/format0000664000000000000000000000001411353223321011671 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000001625712145153517011061 0ustar ocrodjvu (0.7.9-1.1) unstable; urgency=low * Non maintainer upload. * Drop build dependency and dependency on python-argparse. Closes: #707805. -- Matthias Klose Thu, 16 May 2013 14:52:47 +0200 ocrodjvu (0.7.9-1) unstable; urgency=low * Team upload. * New upstream release. + Fix detection of Tesseract (closes: #667548). Thanks to Ian Sullivan for the bug report. -- Jakub Wilk Mon, 23 Apr 2012 23:02:22 +0200 ocrodjvu (0.7.8-1) unstable; urgency=low * New upstream release (Closes: #655599). * Changes of debian/rules: + added version to b-p on python-argparse (Closes: #655598). * Changes of debian/copyright: + added final slash to Format URI. + expanded copyrights to 2012. -- Daniel Stender Sat, 25 Feb 2012 19:47:41 +0200 ocrodjvu (0.7.7-1) unstable; urgency=low * New upstream release. * Re-added Gocr and Ocrad as supported engines in the package description of debian/control, and changed that a little further. * Changed Format URI in debian/copyright. -- Daniel Stender Sun, 18 Dec 2011 15:25:42 +0200 ocrodjvu (0.7.6-2) unstable; urgency=low * Improved package description (Closes: #650374). -- Daniel Stender Sun, 04 Dec 2011 19:27:56 +0200 ocrodjvu (0.7.6-1) unstable; urgency=low * New upstream release (closes: #604874). + Fix typo in hocr output (closes: #600539). + Fix of upside-down generation of hocr data (closes: #611460). * New maintainer (closes: #598156). * Upload to unstable. * Change of debian/control + Changed maintainer. + Bumped Standards-Version to 3.9.2 (no changes needed). + Wrapped-and-sorted. + Bumped rev. of build-dep on python-all to 2.6.6-3~. + Added build-deps on python-html5lib, python-imaging and locales (needed by the upstream). + Changed Vcs-Browser URL. + Removed build-dep on python-support (changed to build with dh_python2. * Changes of debian/copyright + Changed source URL. + Extended copyrights to 2011. + tests/alice* moved to tests/hocr2djvused/alice*, added public domain explanation. + Changed maintainer. + Added myself as copyright holder of debian/*. * Changes of debian/rules + Changed to build with dh_python2. + Remove of subdirectory loop for nosetests. + Remove option --with-doctests for nosetests. + Added creation of standard locale during build-time. -- Daniel Stender Fri, 18 Nov 2011 22:24:31 +0100 ocrodjvu (0.6.1-1) experimental; urgency=low * New upstream release. + Fix crash on hOCR with image elements (closes: #598139). + Fix insecure use of temporary files (CVE-2010-4338, closes: #598134). -- Jakub Wilk Mon, 27 Sep 2010 00:58:24 +0200 ocrodjvu (0.6.0-1) experimental; urgency=low * New upstream release, which adds support for new OCR engine: stand-alone Tesseract. + Update package description. -- Jakub Wilk Thu, 16 Sep 2010 19:41:55 +0200 ocrodjvu (0.5.1-1) experimental; urgency=low * New upstream release. + Demote dependency on python-lxml to recommendation. -- Jakub Wilk Wed, 15 Sep 2010 19:24:35 +0200 ocrodjvu (0.5.0-1) experimental; urgency=low * New upstream release, which adds support for new OCR engines: Ocrad and GOCR. + Update package description. + Update the Suggests field. -- Jakub Wilk Tue, 14 Sep 2010 23:26:31 +0200 ocrodjvu (0.4.7-1) experimental; urgency=low * New upstream release. + Drop all patches, applied upstream. + Don't clean up environment when calling external programs (closes: #594385). -- Jakub Wilk Wed, 25 Aug 2010 21:13:35 +0200 ocrodjvu (0.4.6-1) unstable; urgency=low * New upstream release. + Fix crash of djvu2hocr on on very long documents (closes: #591389). + Fix deprecation warning with PyICU ≥ 1.0 (closes: #589027). * Fix version information in a test. [test-version.diff] * Add a missing changelog entry. [changelog-0.4.6.diff] * Run doctests at build time. + Build-depend on python-nose. * Require python-argparse only for Python ≤ 2.6. * Bump standards version to 3.9.1 (no changes needed). -- Jakub Wilk Tue, 03 Aug 2010 22:00:23 +0200 ocrodjvu (0.4.5-1) unstable; urgency=low * New upstream release. -- Jakub Wilk Mon, 24 May 2010 21:27:46 +0200 ocrodjvu (0.4.4-1) unstable; urgency=low * New upstream release: + Document that ocrodjvu honours TMPDIR environment variable (closes: #575488). + Don't remove temporary directory if ocrodjvu crashed (closes: #575487). * Enable tests for djvu2hocr. + Build-depend on djvulibre-bin, libxml2-utils. * Switch to source format 3.0 (quilt). -- Jakub Wilk Fri, 02 Apr 2010 13:02:03 +0200 ocrodjvu (0.4.3-1) unstable; urgency=low * New upstream release: + Give more meaningful error messages on a malformed hOCR produced by Cuneiform (closes: #572522). + Stop crashing on --version (closes: #573496). + Rewrite test running code in debian/rules. (But don't run tests for djvu2hocr, as they broken.) * Update homepage URL. -- Jakub Wilk Fri, 19 Mar 2010 12:21:17 +0100 ocrodjvu (0.4.2-1) unstable; urgency=low * New upstream release: + Add options to control which layers are rendered (closes: #572081). + Document more clearly semantics of --list-languages and default value for --language (closes: #572089). * Let dh_installdocs install the upstream changelog. * Bump standards version to 3.8.4 (no changes needed). * Update my e-mail addresses. * Respect the ‘nocheck’ build option. * Run tests with all supported Python versions: + Build-depend on python-all. -- Jakub Wilk Wed, 03 Mar 2010 22:02:32 +0100 ocrodjvu (0.4.1-1) unstable; urgency=low * New upstream release: - Suggest cuneiform, which is now one of the supported OCR engines. - Update package description. - Record in debian/copyright that test files are in public domain. - Run tests at build time. * Don't depend on ocropus, as some parts of the package are usable without it. * Explicitly recommend tesseract-ocr. -- Jakub Wilk Sat, 23 Jan 2010 13:16:43 +0100 ocrodjvu (0.3.2-1) unstable; urgency=low * New upstream release. * Update debian/copyright. -- Jakub Wilk Fri, 08 Jan 2010 18:25:56 +0100 ocrodjvu (0.3.0-1) unstable; urgency=low * New upstream release: - Add argparse as dependency. - Recommend ocropus (>= 0.3.1). - Recommend python-pyicu. - Require Python 2.5 (or later). * Make hocr2djvused and djvu2hocr scripts available in /usr/bin. * Update debian/copyright in accordance to the latest DEP-5 version. * Don't use distutils to install files; just copy the source into the right location. -- Jakub Wilk Tue, 22 Dec 2009 22:57:14 +0100 ocrodjvu (0.2.1-1) unstable; urgency=low * Initial release (closes: #550921). -- Jakub Wilk Sat, 17 Oct 2009 18:00:12 +0200 debian/links0000664000000000000000000000022111312464160010224 0ustar usr/share/ocrodjvu/ocrodjvu usr/bin/ocrodjvu usr/share/ocrodjvu/hocr2djvused usr/bin/hocr2djvused usr/share/ocrodjvu/djvu2hocr usr/bin/djvu2hocr debian/compat0000664000000000000000000000000211266374230010372 0ustar 7 debian/copyright0000664000000000000000000000216211714506362011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ocrodjvu Upstream-Contact: Jakub Wilk Source: https://bitbucket.org/jwilk/ocrodjvu Files: * Copyright: 2008-2012 Jakub Wilk License: GPL-2 Files: tests/hocr2djvused/alice* Copyright: not applicable License: public-domain Intellectual property rights have expired. Files: debian/* Copyright: 2009-2010 Jakub Wilk 2011-2012 Daniel Stender 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. debian/rules0000775000000000000000000000065211634717433010264 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_install: override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) mkdir -p debian/tmp/locale/ localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/ export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \ cd tests && \ set -e -x; \ for python in $(shell pyversions -r); do \ $$python /usr/bin/nosetests --all-modules --verbose; \ done endif debian/control0000664000000000000000000000262212145153644010602 0ustar Source: ocrodjvu Section: text Priority: optional Maintainer: Daniel Stender Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 7.0.50~), djvulibre-bin, libxml2-utils, locales, python-all (>= 2.6.6-3~), python-djvu, python-html5lib, python-imaging, python-lxml, python-nose, python-pyicu X-Python-Version: >= 2.7 Standards-Version: 3.9.2 Homepage: http://jwilk.net/software/ocrodjvu Vcs-Svn: svn://svn.debian.org/python-apps/packages/ocrodjvu/trunk/ Vcs-Browser: http://svn.debian.org/viewvc/python-apps/packages/ocrodjvu/trunk/ Package: ocrodjvu Architecture: all Depends: djvulibre-bin, python-djvu (>= 0.1.14), ${misc:Depends}, ${python:Depends} Recommends: ocropus (>= 0.3.1), python-lxml, python-pyicu, tesseract-ocr Suggests: cuneiform, gocr, ocrad Description: tool to perform OCR on DjVu documents Ocrodjvu is a wrapper around the Optical Character Recognition (OCR) systems Cuneiform, Gocr, Ocrad, OCRopus and (standalone) Tesseract. It is designed for OCR on documents in DjVu format, which is especially suited for high-quality archiving of books. . After processing, the DjVu document embeds a text layer. Other programs can then be used to read the document, search it for specific terms, print it out, or use the information in the OCR layer as a way to improve the document's accessibility. debian/docs0000664000000000000000000000001611330303701010027 0ustar doc/changelog debian/manpages0000664000000000000000000000001411443764636010717 0ustar doc/*.[0-9] debian/install0000664000000000000000000000021711611043045010554 0ustar djvu2hocr usr/share/ocrodjvu hocr2djvused usr/share/ocrodjvu lib usr/share/ocrodjvu ocrodjvu usr/share/ocrodjvu ocrodjvu.py usr/share/ocrodjvu debian/watch0000664000000000000000000000012611534367165010233 0ustar version=3 http://pypi.python.org/packages/source/o/ocrodjvu/ocrodjvu-([0-9.]+).tar.gz