[Python-modules-commits] r30541 - in packages/ocr4gamera/trunk/debian (6 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Sep 8 15:11:13 UTC 2014


    Date: Monday, September 8, 2014 @ 15:11:12
  Author: danstender-guest
Revision: 30541

new upstream release, updated manpage, updated copyright, doc sources no compression, wrap-and-sort -a -s, doc-base: Section

Modified:
  packages/ocr4gamera/trunk/debian/changelog
  packages/ocr4gamera/trunk/debian/control
  packages/ocr4gamera/trunk/debian/copyright
  packages/ocr4gamera/trunk/debian/doc-base
  packages/ocr4gamera/trunk/debian/ocr4gamera.rst
  packages/ocr4gamera/trunk/debian/rules

Modified: packages/ocr4gamera/trunk/debian/changelog
===================================================================
--- packages/ocr4gamera/trunk/debian/changelog	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/changelog	2014-09-08 15:11:12 UTC (rev 30541)
@@ -1,8 +1,9 @@
-ocr4gamera (1.1.0-1) UNRELEASED; urgency=low
+ocr4gamera (1.2.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
     + Removed doc-fix-hyperlink-target.diff, doc-plugin-import.diff,
-      and no-wx-import.diff.
+      and no-wx-import.diff (applied upstream).
+    + Updated manpage.
   * Bumped Debhelper level to 9 (deb/control and deb/compat).
   * deb/control:
     + New maintainer (Closes: #629179).
@@ -12,16 +13,15 @@
     + Use canonical URIs for Vcs-* fields [Jakub Wilk].
     + Changed XS-Python-Version to X-Python-Version, bumped to 2.5.
     + Rearranged, wrapped and sorted.
-   * deb/copyright:
-    + Specified Upstream-Contact according to README.
-    + Added new maintainer.
-    + Improved Copyright lines.
+   * deb/copyright: updated, sorted, removed trailing commas, idented.
   * deb/rules:
     + Added export for DH_VERBOSE.
     + Reduced to build with dh sequencer.
-  * Removal of generated manpage(s) moved to deb/clean.
+    + Added override for dh_compress (save doc sources, updated doc-base).
+    + Removal of generated manpage moved to deb/clean.
+    + Removed Vim setup line.
 
- -- Daniel Stender <debian at danielstender.com>  Wed, 27 Aug 2014 15:43:05 +0200
+ -- Daniel Stender <debian at danielstender.com>  Mon, 08 Sep 2014 17:10:15 +0200
 
 ocr4gamera (1.0.6-3) unstable; urgency=low
 

Modified: packages/ocr4gamera/trunk/debian/control
===================================================================
--- packages/ocr4gamera/trunk/debian/control	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/control	2014-09-08 15:11:12 UTC (rev 30541)
@@ -19,9 +19,14 @@
 
 Package: python-gamera.toolkits.ocr
 Architecture: all
-Depends: python-gamera (>= 3.2.6), ${misc:Depends}, ${python:Depends}
-Suggests: aspell | ispell
-Enhances: python-gamera
+Depends:
+ python-gamera (>= 3.2.6),
+ ${misc:Depends},
+ ${python:Depends}
+Suggests:
+ aspell | ispell
+Enhances:
+ python-gamera
 Description: toolkit for building OCR systems
  The Gamera OCR Toolkit is meant to help building optical character
  recognition (OCR) systems for standard text documents. Even though it can

Modified: packages/ocr4gamera/trunk/debian/copyright
===================================================================
--- packages/ocr4gamera/trunk/debian/copyright	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/copyright	2014-09-08 15:11:12 UTC (rev 30541)
@@ -5,8 +5,9 @@
 
 Files: *
 Copyright: 2009-2010 Rene Baston
-           2009-2012 Christoph Dalitz
-           2010 Robert Butz
+           2010      Robert Butz
+           2009-2014 Christoph Dalitz
+           2014      Fabian Schmitt
 License: GPL-2+
  This toolkit is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License, either version 2
@@ -21,7 +22,7 @@
  version 2 can be found in the /usr/share/common-licenses/GPL-2 file.
 
 Files: debian/*
-Copyright: 2014 Daniel Stender <debian at danielstender.com
+Copyright: 2014      Daniel Stender <debian at danielstender.com
            2009-2012 Jakub Wilk
 License: GPL-2
  This package is free software; you can redistribute it and/or modify

Modified: packages/ocr4gamera/trunk/debian/doc-base
===================================================================
--- packages/ocr4gamera/trunk/debian/doc-base	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/doc-base	2014-09-08 15:11:12 UTC (rev 30541)
@@ -1,12 +1,12 @@
 Document: ocr4gamera-documentation
 Title: OCR toolkit for Gamera
 Author: Rene Baston, Christoph Dalitz
-Section: Programming
+Section: Programming/Python
 
 Format: HTML
 Index: /usr/share/doc/python-gamera.toolkits.ocr/html/index.html
 Files: /usr/share/doc/python-gamera.toolkits.ocr/html/*.html 
 
 Format: Text
-Index: /usr/share/doc/python-gamera.toolkits.ocr/rst/index.txt.gz
-Files: /usr/share/doc/python-gamera.toolkits.ocr/rst/*.txt /usr/share/doc/python-gamera.toolkits.ocr/rst/*.txt.gz
+Index: /usr/share/doc/python-gamera.toolkits.ocr/rst/index.txt
+Files: /usr/share/doc/python-gamera.toolkits.ocr/rst/*.txt

Modified: packages/ocr4gamera/trunk/debian/ocr4gamera.rst
===================================================================
--- packages/ocr4gamera/trunk/debian/ocr4gamera.rst	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/ocr4gamera.rst	2014-09-08 15:11:12 UTC (rev 30541)
@@ -15,34 +15,66 @@
 
 Options
 -------
+
 -v <int>, --verbosity=<int>
    Set verbosity level to `<int>`.
    Possible values are
    0 (default): silent operation;
    1:  information on progress;
    >2: segmentation info is written to PNG files with prefix ``debug_``.
+
 -h, --help
    Display help and exit.
+
+--version
+   Print version and exit.
+
 -d, --deskew
    Do a skew correction (recommended).
+
+-mf <ws>, --median_filter=<ws>
+  Smooth the input image with a median filter with window size `<ws>`.
+  Default is `<ws>=0`, which means no smoothing
+
+-ds <s>, --despeckle=<s>
+   Remove all speckle with size `<= <s>`.
+   Default is `<s> = 0`, which means no despeckling.
+
 -f, --filter
    Filter out very large (images) and very small components (noise).
+
 -a, --automatic-group
    Autogroup glyphs with classifier.
+
 -x <file>, --xmlfile=<file>
    Read training data from `<file>`.
+
 -o <xml>, --output=<xml>
    Write recognized text to file `<xml>` (otherwise it is written to stdout).
+
+-od <dir>, --output_directory=<dir>
+   Writes for each input image `<img>` the recognized text to `<dir>/<img>.txt`.
+   Note that this option cannot be used in combination with ``-o`` (--outfile).
+
 -c <csv>, --extra_chars_csvfile=<csv>
    Read additional class name conversions from file `<csv>`.
    `<csv>` must contain one conversion per line.
+
 -R <rules>, --heuristic_rules=<rules>
    Apply heuristic rules `<rules>` for disambiguation of some chars.
    `<rules>` can be ``roman`` (default) or ``none`` (for no rules).
+
 -D, --dictionary-correction
    Correct words using a dictionary (requires aspell or ispell).
+
 -L <lang>, --dictionary-language=<lang>
    Use `<lang>` as language for aspell (when option ``-D`` is set).
+
 -e <int>, --edit-distance=<int>
    Correct words only when edit distance not more than `<int>`.
 
+-ho, --hocr_out
+   Writes output as hocr file (only works with the ``-o`` option).
+
+-hi <hocrfile>, --hocr_in=<hocrfile>
+   Uses an hocr input file for textline segmentation.

Modified: packages/ocr4gamera/trunk/debian/rules
===================================================================
--- packages/ocr4gamera/trunk/debian/rules	2014-09-08 11:00:42 UTC (rev 30540)
+++ packages/ocr4gamera/trunk/debian/rules	2014-09-08 15:11:12 UTC (rev 30541)
@@ -23,4 +23,5 @@
 	rst2man debian/ocr4gamera.rst > debian/ocr4gamera.1
 	dh_installman debian/*.[1-9]
 
-# vim:ts=4 sw=4 noet
+override_dh_compress:
+	dh_compress -X.txt # saves doc sources




More information about the Python-modules-commits mailing list