debian/0000755000000000000000000000000012154475210007167 5ustar debian/copyright0000644000000000000000000000456012154474423011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Joaquim Rocha Source: http://ftp.gnome.org/pub/GNOME/sources/ocrfeeder/ Files: * Copyright: 2008-2013 Joaquim Rocha 2009-2012 Igalia, S.L. License: GPL-3+ Files: debian/* Copyright: 2010-2013 Alberto Garcia License: GPL-3+ Files: src/ocrfeeder/odf/* Copyright: 2006-2007 Søren Roug, European Environment Agency License: LGPL-2.1+ Files: src/ocrfeeder/odf/thumbnail.py Copyright: 2008 ZwahlenDesign License: GPL-2 License: GPL-3+ 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; either version 3 of the License, or (at your option) any later version. . 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 can be found in `/usr/share/common-licenses/GPL-3'. License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library 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 Lesser General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. . 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 General Public License for more details. . On Debian systems the full text of the GNU General Public License 2 can be found in the `/usr/share/common-licenses/GPL-2' file. debian/rules0000755000000000000000000000011312154474423010247 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --with python2,autoreconf debian/watch0000644000000000000000000000013412154474423010223 0ustar version=3 http://ftp.gnome.org/pub/GNOME/sources/ocrfeeder/(\d\.\d)/ocrfeeder-(.*)\.tar\.xz debian/patches/0000755000000000000000000000000012154474423010623 5ustar debian/patches/series0000644000000000000000000000011412154474423012034 0ustar icon-path.patch potfiles-quilt.patch gtkspell.patch automake-warnings.patch debian/patches/potfiles-quilt.patch0000644000000000000000000000043512154474423014627 0ustar From: Alberto Garcia Subject: Make intltool-update skip quilt's .pc directory Forwarded: not-needed Index: ocrfeeder/po/POTFILES.skip =================================================================== --- /dev/null +++ ocrfeeder/po/POTFILES.skip @@ -0,0 +1 @@ +.pc debian/patches/gtkspell.patch0000644000000000000000000000447712154474423013505 0ustar From: Alberto Garcia Subject: Remove deprecated gtkspell code Forwarded: not-needed Bug-Debian: http://bugs.debian.org/707849 Index: ocrfeeder/src/ocrfeeder/studio/widgetPresenter.py =================================================================== --- ocrfeeder.orig/src/ocrfeeder/studio/widgetPresenter.py +++ ocrfeeder/src/ocrfeeder/studio/widgetPresenter.py @@ -39,7 +39,6 @@ import sys import threading import Queue import time -import gtkspell pygtk.require('2.0') _ = gettext.gettext @@ -159,7 +158,7 @@ class MainWindow: menu_items['copy_to_clipboard']), ('SpellChecker', None, _('Spell_checker'), - 'F7', + None, _("Spell Check Recognized Text"), menu_items['spell_checker']), ]) @@ -189,6 +188,7 @@ class MainWindow: self.action_group = action_group self.spellchecker_menu = ui_manager.get_widget('/MenuBar/Tools/SpellChecker') self.spellchecker_menu.set_sensitive(False) + self.spellchecker_menu.set_visible(False) def setDestroyEvent(self, function): self.window.connect('delete-event', function) @@ -557,10 +557,6 @@ class BoxEditor(gtk.ScrolledWindow, gobj text_properties_notebook.set_tab_pos(gtk.POS_TOP) # Textview widget self.text_widget = gtk.TextView() - try: - gtkspell.Spell(self.text_widget, OCRFEEDER_DEFAULT_LOCALE) - except: - pass # The locale was not found by GTKSpell, ignoring... self.text_widget.set_wrap_mode(gtk.WRAP_WORD) self.text_content = self.text_widget.get_buffer() self.text_content.connect('changed', self.editedByUser) Index: ocrfeeder/configure.ac =================================================================== --- ocrfeeder.orig/configure.ac +++ ocrfeeder/configure.ac @@ -18,7 +18,6 @@ AM_PATH_PYTHON(2.5) dnl == Python dependencies == AX_PYTHON_MODULE([gtk],[needed]) AX_PYTHON_MODULE([pygtk],[needed]) -AX_PYTHON_MODULE([gtkspell],[needed]) AX_PYTHON_MODULE([goocanvas],[needed]) AX_PYTHON_MODULE([enchant],[needed]) AX_PYTHON_MODULE([sane],[needed]) debian/patches/icon-path.patch0000644000000000000000000000112712154474423013527 0ustar From: Alberto Garcia Subject: Set full path of the ocrfeeder icon Forwarded: not-needed Index: ocrfeeder/resources/ocrfeeder.desktop.in =================================================================== --- ocrfeeder.orig/resources/ocrfeeder.desktop.in +++ ocrfeeder/resources/ocrfeeder.desktop.in @@ -5,6 +5,6 @@ _Name=OCRFeeder _Comment=The complete OCR suite. TryExec=ocrfeeder Exec=ocrfeeder -Icon=ocrfeeder +Icon=/usr/share/ocrfeeder/icons/ocrfeeder.svg MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff; Categories=Application;Office; debian/patches/automake-warnings.patch0000644000000000000000000000112312154474423015275 0ustar From: Alberto Garcia Description: Set automake strictness to foreign This removes lots of warnings from dh-autoreconf. Forwarded: not-needed Index: ocrfeeder/configure.ac =================================================================== --- ocrfeeder.orig/configure.ac +++ ocrfeeder/configure.ac @@ -6,7 +6,7 @@ AC_INIT([ocrfeeder], AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([1.11]) +AM_INIT_AUTOMAKE([1.11 foreign]) AM_MAINTAINER_MODE([enable]) # Support silent build rules. Disable by either passing --disable-silent-rules # to configure or passing V=1 to make debian/control0000644000000000000000000000312412154474423010577 0ustar Source: ocrfeeder Section: graphics Priority: optional Maintainer: Python Applications Packaging Team Uploaders: W. Martin Borgert , Alberto Garcia , Bernhard Reiter Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3~), intltool, libglib2.0-dev, gnome-doc-utils, python-imaging-sane, python-enchant, python-pygoocanvas, python-reportlab, dh-autoreconf Standards-Version: 3.9.4 X-Python-Version: >= 2.5 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/ocrfeeder/trunk/ Vcs-Browser: http://anonscm.debian.org/viewsvn/python-apps/packages/ocrfeeder/trunk/ Homepage: http://live.gnome.org/OCRFeeder Package: ocrfeeder Architecture: all Depends: python-gtk2, python-imaging-sane, python-enchant, python-pygoocanvas, python-lxml, python-reportlab, ghostscript, ${misc:Depends}, ${python:Depends}, tesseract-ocr | ocrad | gocr | cuneiform Recommends: unpaper, yelp Description: Document layout analysis and optical character recognition system OCRFeeder is a document layout analysis and optical character recognition system. . Given the images it will automatically outline its contents, distinguish between what's graphics and text and perform OCR over the latter. It generates multiple formats being its main one ODT. . It features a complete GTK+ graphical user interface that allows the users to correct any unrecognized characters, defined or correct bounding boxes, set paragraph styles, clean the input images, import PDFs, save and load the project, export everything to multiple formats, etc. debian/changelog0000644000000000000000000001514612154474423011055 0ustar ocrfeeder (0.7.11-3) unstable; urgency=low * Update my e-mail address in debian/control and debian/copyright. * Add headers to all patches and remove their numbering. * gtkspell.patch: remove deprecated GtkSpell support (Closes: #707849). - debian/rules: run dh --with autoreconf. - debian/control: add build dependency on dh-autoreconf and libglib2.0-dev (for the AM_GLIB_GNU_GETTEXT macro) and remove dependencies on python-gtkspell. * automake-warnings.patch: set automake strictness to foreign. * debian/control: remove build dependency on python-gtk2-dev. This is not necessary since OCRFeeder 0.7.4. -- Alberto Garcia Sat, 08 Jun 2013 01:54:11 +0200 ocrfeeder (0.7.11-2) unstable; urgency=low * Upload to unstable. -- Alberto Garcia Sun, 05 May 2013 21:45:32 +0300 ocrfeeder (0.7.11-1) experimental; urgency=low * New upstream release. * debian/copyright: Update e-mail address and copyright years. * debian/control: - Remove obsolete DM-Upload-Allowed flag. - Bump Standards-Version to 3.9.4 (no changes needed). - Use canonical URLs in Vcs-* fields. - Depend on python-lxml. -- Alberto Garcia Fri, 08 Feb 2013 10:47:37 +0000 ocrfeeder (0.7.10-1) experimental; urgency=low * New upstream release. -- Alberto Garcia Thu, 11 Oct 2012 23:18:59 +0300 ocrfeeder (0.7.9-1) unstable; urgency=low * New upstream release (Closes: #661499). * debian/copyright: update format URL to version 1.0. * debian/copyright: add copyright information for Debian files. * Drop 03_missing-help-file.patch, it's already in this release. -- Alberto Garcia Wed, 11 Apr 2012 22:26:53 +0300 ocrfeeder (0.7.7-2) unstable; urgency=low * debian/control: - Drop python-gnome2 dependency as version 0.7.7 no longer requires it (Closes: #661346). - Bump Standards-Version to 3.9.3 (no changes needed). - Add myself to Uploaders. -- Bernhard Reiter Sun, 26 Feb 2012 21:49:49 +0100 ocrfeeder (0.7.7-1) unstable; urgency=low * New upstream release (Closes: #646605). * debian/watch: scan for .xz files, upstream no longer uses bz2. * debian/copyright: rewrite using the machine-readable format. * debian/control: add build dependency on python-reportlab. * 03_missing-help-file.patch: upstream forgot to add this file. -- Alberto Garcia Sat, 10 Dec 2011 18:21:56 +0200 ocrfeeder (0.7.6-1) unstable; urgency=low * New upstream release. * Add dependency on python-reportlab. * Move to dh_python2: - Replace python-support with python-all (>= 2.6.6-3~). - Use '--with python2' in debian/rules. - Replace debian/pyversions with X-Python-Version in debian/control. -- Alberto Garcia Sat, 06 Aug 2011 11:46:34 +0200 ocrfeeder (0.7.5-1) unstable; urgency=low * New upstream release. * debian/control: add build dependency on python-imaging-sane. * debian/control: update Standards-Version to 3.9.2. -- Alberto Garcia Thu, 19 May 2011 15:31:39 +0300 ocrfeeder (0.7.4-1) unstable; urgency=low * New upstream release. * Drop the following patches, now obsolete after upstream changes: - 03_unpaper.patch (upstream 396df7). - 04_gtkspell.patch (upstream e5348d). * debian/control: add build dependency on python-enchant, python-gtkspell and python-pygoocanvas. * debian/control: add dependency on ghostscript, needed to import PDF files. -- Alberto Garcia Sun, 20 Mar 2011 11:06:56 +0200 ocrfeeder (0.7.3-1) unstable; urgency=low * New upstream release. * Add debian/watch file. * debian/rules: switch from cdbs to dh. * debian/copyright: the source tarball is again the same as upstream's since the freeware icon has been replaced with a GPLed one. * 01_icon-path.patch: add description and update icon path. * Drop the following patches, now obsolete after upstream changes: - 02_ocrfeeder-package.patch (upstream 92980f). - 03_openoffice-icon.patch (upstream 544e74). - 04_ocrfeeder-cli-engines-fix.patch (upstream 646523). - 05_ocrfeeder-cli-help.patch (upstream 646523). * New patches: - 02_potfiles-quilt.patch: make intltool-update skip quilt's .pc directory. - 03_unpaper.patch: don't break the config dialog if unpaper is not installed (upstream 6b8976). - 04_gtkspell.patch: catch GTKSpell exceptions when a dictionary is not found (upstream e5348d). * debian/control: fix GTK+ name in package description. * debian/control: add DM-Upload-Allowed flag. * debian/control: update Standards-Version to 3.9.1. * debian/control: add build dependencies on python-gtk2-dev and gnome-doc-utils; remove cdbs and python. * debian/control: add dependencies on python-imaging-sane, python-enchant, python-gtkspell and cuneiform; remove python-imaging. * debian/control: remove unnecessary version numbers from dependencies. * debian/control: recommend 'yelp' to browse the online help. -- Alberto Garcia Tue, 08 Feb 2011 11:05:55 +0100 ocrfeeder (0.6.6+dfsg1-1) unstable; urgency=low * New version based on upstream 0.6.6 with the freeware icon odf/thumbnail.py removed from the source package (Closes: #598627) * debian/copyright: explain the icon removal from the source tarball * debian/control: Add myself to Uploaders * 03_openoffice-icon.patch: Update patch * 05_ocrfeeder-cli-help.patch: Add '--help' option to ocrfeeder-cli and update man page (Closes: #581426) -- Alberto Garcia Fri, 08 Oct 2010 14:21:52 +0200 ocrfeeder (0.6.6-3) unstable; urgency=low * Team upload * debian/control: Depend on python-gnome2 (Closes: #580254) * 04_ocrfeeder-cli-engines-fix.patch: Fix IndexError (Closes: #581427) -- Serafeim Zanikolas Thu, 13 May 2010 00:25:03 +0200 ocrfeeder (0.6.6-2) unstable; urgency=low * 02_ocrfeeder-package.patch: Place all python files inside the 'ocrfeeder' package (Closes: #578426, #579008) * 03_openoffice-icon.patch: Include the latest version of the OpenOffice.org icon, which is GPLed * debian/copyright: Add copyright information for the new icon * debian/control: Add dependency on an OCR engine (tesseract-ocr, ocrad or gocr) * debian/control: Recommend the unpaper package -- Alberto Garcia Tue, 20 Apr 2010 21:51:07 +0100 ocrfeeder (0.6.6-1) unstable; urgency=low * Initial release (Closes: #568155) * 01_icon-path.patch: Set full path of OCRFeeder icon -- Alberto Garcia Mon, 05 Apr 2010 20:02:04 +0200 debian/compat0000644000000000000000000000000112154474423010371 0ustar 7debian/source/0000755000000000000000000000000012154474423010474 5ustar debian/source/format0000644000000000000000000000001412154474423011702 0ustar 3.0 (quilt)