[Python-apps-commits] r6790 - in packages/ocrfeeder/trunk/debian (5 files)

agarcia-guest at users.alioth.debian.org agarcia-guest at users.alioth.debian.org
Sun Mar 20 11:04:17 UTC 2011


    Date: Sunday, March 20, 2011 @ 11:04:05
  Author: agarcia-guest
Revision: 6790

0.7.4-1: new upstream release

Modified:
  packages/ocrfeeder/trunk/debian/changelog
  packages/ocrfeeder/trunk/debian/control
  packages/ocrfeeder/trunk/debian/patches/series
Deleted:
  packages/ocrfeeder/trunk/debian/patches/03_unpaper.patch
  packages/ocrfeeder/trunk/debian/patches/04_gtkspell.patch

Modified: packages/ocrfeeder/trunk/debian/changelog
===================================================================
--- packages/ocrfeeder/trunk/debian/changelog	2011-03-20 09:12:11 UTC (rev 6789)
+++ packages/ocrfeeder/trunk/debian/changelog	2011-03-20 11:04:05 UTC (rev 6790)
@@ -1,3 +1,16 @@
+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 <agarcia at igalia.com>  Sun, 20 Mar 2011 11:06:56 +0200
+
 ocrfeeder (0.7.3-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/ocrfeeder/trunk/debian/control
===================================================================
--- packages/ocrfeeder/trunk/debian/control	2011-03-20 09:12:11 UTC (rev 6789)
+++ packages/ocrfeeder/trunk/debian/control	2011-03-20 11:04:05 UTC (rev 6790)
@@ -4,7 +4,7 @@
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: W. Martin Borgert <debacle at debian.org>, Alberto Garcia <agarcia at igalia.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7), python-support, intltool, python-gtk2-dev, gnome-doc-utils
+Build-Depends: debhelper (>= 7), python-support, intltool, python-gtk2-dev, gnome-doc-utils, python-enchant, python-gtkspell, python-pygoocanvas
 Standards-Version: 3.9.1
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/ocrfeeder/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/ocrfeeder/trunk/
@@ -12,7 +12,7 @@
 
 Package: ocrfeeder
 Architecture: all
-Depends: python-gtk2, python-gnome2, python-imaging-sane, python-enchant, python-gtkspell, python-pygoocanvas, ${misc:Depends}, ${python:Depends}, tesseract-ocr | ocrad | gocr | cuneiform
+Depends: python-gtk2, python-gnome2, python-imaging-sane, python-enchant, python-gtkspell, python-pygoocanvas, 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

Deleted: packages/ocrfeeder/trunk/debian/patches/03_unpaper.patch
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/03_unpaper.patch	2011-03-20 09:12:11 UTC (rev 6789)
+++ packages/ocrfeeder/trunk/debian/patches/03_unpaper.patch	2011-03-20 11:04:05 UTC (rev 6790)
@@ -1,16 +0,0 @@
-Prevent the config dialog from failing if unpaper is not installed
-
-Upstream commit 6b89768cd8d9c4039e0b55534d4e85b7172c8fe0
-diff --git a/src/ocrfeeder/studio/configuration.py b/src/ocrfeeder/studio/configuration.py
-index 551d98d..41ad748 100644
---- a/src/ocrfeeder/studio/configuration.py
-+++ b/src/ocrfeeder/studio/configuration.py
-@@ -286,7 +286,7 @@ class ConfigurationManager(object):
-                 BOXES_STROKE: (94, 156, 235, 250),
-                 IMAGE_FILL: (0, 183, 0, 150),
-                 WINDOW_SIZE: 'auto',
--                UNPAPER: getExecPath('unpaper'),
-+                UNPAPER: getExecPath('unpaper') or '',
-                 UNPAPER_USE_BLACK_FILTER: True,
-                 UNPAPER_NOISE_FILTER_INTENSITY: 'auto',
-                 UNPAPER_GRAY_FILTER_SIZE: 'auto',

Deleted: packages/ocrfeeder/trunk/debian/patches/04_gtkspell.patch
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/04_gtkspell.patch	2011-03-20 09:12:11 UTC (rev 6789)
+++ packages/ocrfeeder/trunk/debian/patches/04_gtkspell.patch	2011-03-20 11:04:05 UTC (rev 6790)
@@ -1,21 +0,0 @@
-Catch GTKSpell exceptions
-
-This makes OCRFeeder work when a dictionary is not found
-
-Upstream commit e5348d1a9228661bf6fdf3138fc2df8e9cd1ce73
-Index: ocrfeeder/src/ocrfeeder/studio/widgetPresenter.py
-===================================================================
---- ocrfeeder.orig/src/ocrfeeder/studio/widgetPresenter.py
-+++ ocrfeeder/src/ocrfeeder/studio/widgetPresenter.py
-@@ -515,7 +515,10 @@ class BoxEditor(gtk.ScrolledWindow, gobj
-         text_properties_notebook.set_tab_pos(gtk.POS_TOP)
-         # Textview widget
-         self.text_widget = gtk.TextView()
--        gtkspell.Spell(self.text_widget, OCRFEEDER_DEFAULT_LOCALE)
-+        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)

Modified: packages/ocrfeeder/trunk/debian/patches/series
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/series	2011-03-20 09:12:11 UTC (rev 6789)
+++ packages/ocrfeeder/trunk/debian/patches/series	2011-03-20 11:04:05 UTC (rev 6790)
@@ -1,4 +1,2 @@
 01_icon-path.patch
 02_potfiles-quilt.patch
-03_unpaper.patch
-04_gtkspell.patch




More information about the Python-apps-commits mailing list