summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkramm <kramm>2008-04-14 17:16:00 +0000
committerkramm <kramm>2008-04-14 17:16:00 +0000
commit941796b434a093d72b8b87035eb25ecd5f3bd0c6 (patch)
treef3365880b44b635817aadfc839464c17a4fb75a5
parent9a812372d649307cb46fb2888aa0c75ccb41a77e (diff)
added gocr library
-rw-r--r--release.in28
-rw-r--r--setup.py6
2 files changed, 33 insertions, 1 deletions
diff --git a/release.in b/release.in
index 0b4f0d49..bd24d39d 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 265165db..a9de6a20 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"]