[Python-apps-commits] r13151 - in packages/ocrfeeder/trunk/debian (7 files)

berto at users.alioth.debian.org berto at users.alioth.debian.org
Mon May 2 19:24:05 UTC 2016


    Date: Monday, May 2, 2016 @ 19:24:04
  Author: berto
Revision: 13151

0.8.1-3: upload to unstable

Added:
  packages/ocrfeeder/trunk/debian/patches/ocrfeeder-cli.patch
  packages/ocrfeeder/trunk/debian/patches/plain-text-unicode.patch
Modified:
  packages/ocrfeeder/trunk/debian/changelog
  packages/ocrfeeder/trunk/debian/compat
  packages/ocrfeeder/trunk/debian/control
  packages/ocrfeeder/trunk/debian/copyright
  packages/ocrfeeder/trunk/debian/patches/series

Modified: packages/ocrfeeder/trunk/debian/changelog
===================================================================
--- packages/ocrfeeder/trunk/debian/changelog	2016-05-02 15:59:54 UTC (rev 13150)
+++ packages/ocrfeeder/trunk/debian/changelog	2016-05-02 19:24:04 UTC (rev 13151)
@@ -1,3 +1,22 @@
+ocrfeeder (0.8.1-3) unstable; urgency=medium
+
+  * plain-text-unicode.patch:
+    - Fix unicode problems when exporting to plain text (Closes: #811571).
+  * ocrfeeder-cli.patch:
+    - Add missing options to the ocrfeeder-cli manpage (Closes: #813496).
+  * debian/control:
+    - Bump Standards-Version to 3.9.8 (no changes needed).
+    - Add build dependency on dh-python and python-setuptools.
+    - Use https url in the Vcs-Browser field.
+    - Update homepage url.
+    - Bump build dependency on debhelper to 9.
+  * debian/compat:
+    - Set compat version to 9.
+  * debian/copyright:
+    - Update copyright years.
+
+ -- Alberto Garcia <berto at igalia.com>  Mon, 02 May 2016 17:32:32 +0300
+
 ocrfeeder (0.8.1-2) unstable; urgency=medium
 
   * Upload to unstable (Closes: #717576, #708745, #740150).

Modified: packages/ocrfeeder/trunk/debian/compat
===================================================================
--- packages/ocrfeeder/trunk/debian/compat	2016-05-02 15:59:54 UTC (rev 13150)
+++ packages/ocrfeeder/trunk/debian/compat	2016-05-02 19:24:04 UTC (rev 13151)
@@ -1 +1 @@
-7
\ No newline at end of file
+9
\ No newline at end of file

Modified: packages/ocrfeeder/trunk/debian/control
===================================================================
--- packages/ocrfeeder/trunk/debian/control	2016-05-02 15:59:54 UTC (rev 13150)
+++ packages/ocrfeeder/trunk/debian/control	2016-05-02 19:24:04 UTC (rev 13151)
@@ -3,8 +3,10 @@
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: W. Martin Borgert <debacle at debian.org>, Alberto Garcia <berto at igalia.com>, Bernhard Reiter <ockham at raz.or.at>
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 9),
                python-all (>= 2.6.6-3~),
+               dh-python,
+               python-setuptools,
                intltool,
                libglib2.0-dev,
                gnome-doc-utils,
@@ -17,11 +19,11 @@
                gir1.2-gtk-3.0,
                gir1.2-goocanvas-2.0,
                dh-autoreconf
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 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
+Vcs-Browser: https://anonscm.debian.org/viewsvn/python-apps/packages/ocrfeeder/trunk/
+Homepage: https://wiki.gnome.org/Apps/OCRFeeder
 
 Package: ocrfeeder
 Architecture: all

Modified: packages/ocrfeeder/trunk/debian/copyright
===================================================================
--- packages/ocrfeeder/trunk/debian/copyright	2016-05-02 15:59:54 UTC (rev 13150)
+++ packages/ocrfeeder/trunk/debian/copyright	2016-05-02 19:24:04 UTC (rev 13151)
@@ -8,7 +8,7 @@
 License: GPL-3+
 
 Files: debian/*
-Copyright: 2010-2015 Alberto Garcia <berto at igalia.com>
+Copyright: 2010-2016 Alberto Garcia <berto at igalia.com>
 License: GPL-3+
 
 Files: src/ocrfeeder/odf/*

Added: packages/ocrfeeder/trunk/debian/patches/ocrfeeder-cli.patch
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/ocrfeeder-cli.patch	                        (rev 0)
+++ packages/ocrfeeder/trunk/debian/patches/ocrfeeder-cli.patch	2016-05-02 19:24:04 UTC (rev 13151)
@@ -0,0 +1,31 @@
+From: Alberto Garcia <berto at igalia.com>
+Subject: Add missing options to the ocrfeeder-cli manpage
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=761590
+Bug-Debian: https://bugs.debian.org/813496
+Index: ocrfeeder/resources/ocrfeeder-cli.1
+===================================================================
+--- ocrfeeder.orig/resources/ocrfeeder-cli.1
++++ ocrfeeder/resources/ocrfeeder-cli.1
+@@ -1,4 +1,4 @@
+-.TH ocrfeeder-cli 1 "2010\-11\-19"
++.TH ocrfeeder-cli 1 "2016\-02\-05"
+ .SH NAME
+ ocrfeeder-cli \- command line interface for OCRFeeder, a document layout analysis and optical character recognition system.
+ .SH SYNOPSIS
+@@ -32,7 +32,15 @@ Name for the generated file
+ Images to be recognized
+ .TP
+ .BI \-f " FORMAT\fR, " \-\^\-format= "FORMAT"
+-Format for the generated document (odt or html)
++Format for the generated document: PDF, HTML, ODT, TXT or SPDF
++(searchable PDF)
++.TP
++.BI \-e " ENGINE\fR, " \-\^\-engine= "ENGINE"
++The OCR engine to be used. Options are: GOCR or Ocrad
++.TP
++.BI \-l " LANGUAGE\fR, " \-\^\-language= "LANGUAGE"
++The language according to the ISO-639-1. For example "pt" for
++Portuguese or "en" for English
+ .TP
+ .BI \-\^\-window-size= "WINDOW_SIZE"
+ Desired window size of OCRFeeder's segmentation algorithm. If 

Added: packages/ocrfeeder/trunk/debian/patches/plain-text-unicode.patch
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/plain-text-unicode.patch	                        (rev 0)
+++ packages/ocrfeeder/trunk/debian/patches/plain-text-unicode.patch	2016-05-02 19:24:04 UTC (rev 13151)
@@ -0,0 +1,18 @@
+From: Joaquim Rocha <me at joaquimrocha.com>
+Subject: Fix unicode problems when generating a plain text file
+Origin: https://git.gnome.org/browse/ocrfeeder/commit/?id=691f54618ed17a2553f154af07a6cfb4bf887e09
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=765847
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811571
+Index: ocrfeeder/src/ocrfeeder/feeder/documentGeneration.py
+===================================================================
+--- ocrfeeder.orig/src/ocrfeeder/feeder/documentGeneration.py
++++ ocrfeeder/src/ocrfeeder/feeder/documentGeneration.py
+@@ -358,7 +358,7 @@ class PlaintextGenerator(DocumentGenerat
+         self.text = ''
+ 
+     def addText(self, newText):
+-        self.text += newText
++        self.text += unicode(newText, 'utf-8')
+ 
+     def addPage(self, page):
+         self.addText(page.getTextFromBoxes())

Modified: packages/ocrfeeder/trunk/debian/patches/series
===================================================================
--- packages/ocrfeeder/trunk/debian/patches/series	2016-05-02 15:59:54 UTC (rev 13150)
+++ packages/ocrfeeder/trunk/debian/patches/series	2016-05-02 19:24:04 UTC (rev 13151)
@@ -2,3 +2,5 @@
 potfiles-quilt.patch
 automake-warnings.patch
 desktop-exec-code.patch
+plain-text-unicode.patch
+ocrfeeder-cli.patch




More information about the Python-apps-commits mailing list