[Python-modules-commits] r10949 - in packages/ocr4gamera/trunk/debian (4 files)

jwilk-guest at users.alioth.debian.org jwilk-guest at users.alioth.debian.org
Fri Jan 1 23:32:39 UTC 2010


    Date: Friday, January 1, 2010 @ 23:32:38
  Author: jwilk-guest
Revision: 10949

Don't hardcode path to training data file.

Added:
  packages/ocr4gamera/trunk/debian/patches/
  packages/ocr4gamera/trunk/debian/patches/classifier-path.diff
  packages/ocr4gamera/trunk/debian/patches/series
Modified:
  packages/ocr4gamera/trunk/debian/changelog

Modified: packages/ocr4gamera/trunk/debian/changelog
===================================================================
--- packages/ocr4gamera/trunk/debian/changelog	2010-01-01 22:57:42 UTC (rev 10948)
+++ packages/ocr4gamera/trunk/debian/changelog	2010-01-01 23:32:38 UTC (rev 10949)
@@ -1,5 +1,6 @@
 ocr4gamera (1.0.0-1) UNRELEASED; urgency=low
 
   * Initial release (closes: #553044).
+  * Don't hardcode path to training data file.
 
  -- Jakub Wilk <ubanus at users.sf.net>  Wed, 30 Dec 2009 16:56:30 +0100

Added: packages/ocr4gamera/trunk/debian/patches/classifier-path.diff
===================================================================
--- packages/ocr4gamera/trunk/debian/patches/classifier-path.diff	                        (rev 0)
+++ packages/ocr4gamera/trunk/debian/patches/classifier-path.diff	2010-01-01 23:32:38 UTC (rev 10949)
@@ -0,0 +1,16 @@
+Description: Don't hardcode path to training data file.
+Author: Jakub Wilk <ubanus at users.sf.net>
+
+Index: ocr4gamera-1.0.0/scripts/ocr4gamera
+===================================================================
+--- ocr4gamera-1.0.0.orig/scripts/ocr4gamera	2010-01-01 21:51:48.000000000 +0100
++++ ocr4gamera-1.0.0/scripts/ocr4gamera	2010-01-01 21:53:03.000000000 +0100
+@@ -175,7 +175,7 @@
+ 
+ if(automatic):
+   cknn = knn.kNNInteractive([], ["aspect_ratio", "moments"], 0)
+-  cknn.from_xml_filename('merged-latexsyn-latexdoc.xml')
++  cknn.from_xml_filename(classifier)
+   if(ccsfilter):
+     the_ccs = ccs
+   else:

Added: packages/ocr4gamera/trunk/debian/patches/series
===================================================================
--- packages/ocr4gamera/trunk/debian/patches/series	                        (rev 0)
+++ packages/ocr4gamera/trunk/debian/patches/series	2010-01-01 23:32:38 UTC (rev 10949)
@@ -0,0 +1 @@
+classifier-path.diff




More information about the Python-modules-commits mailing list