From 941796b434a093d72b8b87035eb25ecd5f3bd0c6 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 14 Apr 2008 17:16:00 +0000 Subject: [PATCH] added gocr library --- release.in | 28 ++++++++++++++++++++++++++++ setup.py | 6 +++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/release.in b/release.in index 0b4f0d4..bd24d39 100644 --- a/release.in +++ b/release.in @@ -97,6 +97,32 @@ ${name}/lib/modules/swfobject.c \ ${name}/lib/modules/swfshape.c \ ${name}/lib/modules/swftext.c \ ${name}/lib/modules/swffont.c \ +${name}/lib/gocr/box.c \ +${name}/lib/gocr/database.c \ +${name}/lib/gocr/detect.c \ +${name}/lib/gocr/gocr.h \ +${name}/lib/gocr/job.c \ +${name}/lib/gocr/lines.c \ +${name}/lib/gocr/list.c \ +${name}/lib/gocr/list.h \ +${name}/lib/gocr/ocr0.c \ +${name}/lib/gocr/ocr0.h \ +${name}/lib/gocr/ocr0n.c \ +${name}/lib/gocr/ocr1.c \ +${name}/lib/gocr/ocr1.h \ +${name}/lib/gocr/otsu.c \ +${name}/lib/gocr/otsu.h \ +${name}/lib/gocr/output.c \ +${name}/lib/gocr/output.h \ +${name}/lib/gocr/pgm2asc.c \ +${name}/lib/gocr/pgm2asc.h \ +${name}/lib/gocr/pixel.c \ +${name}/lib/gocr/pnm.h \ +${name}/lib/gocr/progress.c \ +${name}/lib/gocr/progress.h \ +${name}/lib/gocr/remove.c \ +${name}/lib/gocr/unicode.c \ +${name}/lib/gocr/unicode.h \ ${name}/lib/gfxfont.h \ ${name}/lib/gfxfont.c \ ${name}/lib/modules/swfbutton.c \ @@ -146,6 +172,8 @@ ${name}/lib/gfxtools.h \ ${name}/lib/gfxpoly.h \ ${name}/lib/gfxtools.c \ ${name}/lib/gfxpoly.c \ +${name}/lib/devices/ocr.h \ +${name}/lib/devices/ocr.c \ ${name}/lib/devices/swf.h \ ${name}/lib/devices/swf.c \ ${name}/lib/devices/file.h \ diff --git a/setup.py b/setup.py index 265165d..a9de6a2 100644 --- a/setup.py +++ b/setup.py @@ -274,7 +274,11 @@ libgfx_sources = [ "lib/art/art_svp_render_aa.c", "lib/art/art_svp_vpath.c", "lib/art/art_svp_vpath_stroke.c", "lib/art/art_svp_wind.c", "lib/art/art_uta.c", "lib/art/art_uta_ops.c", "lib/art/art_uta_rect.c", "lib/art/art_uta_svp.c", "lib/art/art_uta_vpath.c", "lib/art/art_vpath.c", "lib/art/art_vpath_bpath.c", -"lib/art/art_vpath_dash.c", "lib/art/art_vpath_svp.c", +"lib/art/art_vpath_dash.c", "lib/art/art_vpath_svp.c", "lib/gocr/box.c", +"lib/gocr/database.c", "lib/gocr/detect.c", "lib/gocr/job.c", "lib/gocr/lines.c", "lib/gocr/list.c", +"lib/gocr/ocr0.c", "lib/gocr/ocr0n.c", "lib/gocr/ocr1.c", "lib/gocr/otsu.c", "lib/gocr/output.c", +"lib/gocr/pgm2asc.c", "lib/gocr/pixel.c", "lib/gocr/progress.c", "lib/gocr/remove.c", "lib/gocr/unicode.c", +"lib/devices/ocr.c", ] gfxswf_sources = ["lib/devices/swf.c", "lib/readers/swf.c", "lib/readers/image.c"] -- 1.7.10.4