From 57435abd0706509b3a7e8b47058af9320acbe108 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 4 Jun 2010 12:57:43 +0000
Subject: [PATCH]  - downgrade ocropus to version which is known to compile
 (0.1.1)  - update helpers

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35994 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/helpers/debian.lenny.sh       |  4 +++-
 buildout/helpers/mandriva2010.0.sh     |  2 ++
 buildout/software-profiles/ocropus.cfg | 14 ++++++++++++--
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/buildout/helpers/debian.lenny.sh b/buildout/helpers/debian.lenny.sh
index d001380a8e..41ba570f39 100755
--- a/buildout/helpers/debian.lenny.sh
+++ b/buildout/helpers/debian.lenny.sh
@@ -7,14 +7,15 @@ build-essential
 cpio
 flex
 gcc
+jam
 libbz2-dev
 libgdbm-dev
 libglib2.0-dev
 libjpeg62-dev
 libldap2-dev
 libncurses5-dev
-libreadline-dev
 libneon27-gnutls-dev
+libreadline-dev
 libsasl2-dev
 libssl-dev
 libsvn-dev
@@ -27,6 +28,7 @@ python-setuptools
 rpm
 subversion
 subversion-tools
+tesseract-ocr-dev
 xvfb
 zip
 zlib1g-dev\
diff --git a/buildout/helpers/mandriva2010.0.sh b/buildout/helpers/mandriva2010.0.sh
index 03fa2658f3..545c9b46f4 100755
--- a/buildout/helpers/mandriva2010.0.sh
+++ b/buildout/helpers/mandriva2010.0.sh
@@ -17,6 +17,7 @@ automake
 bison
 cpio
 flex
+ftjam
 gcc
 gcc-c++
 groff
@@ -41,6 +42,7 @@ rpm
 subversion
 subversion-devel
 subversion-tools
+tesseract-devel
 x11-server-xvfb
 zip
 zlib1-devel\
diff --git a/buildout/software-profiles/ocropus.cfg b/buildout/software-profiles/ocropus.cfg
index 3497d79a4b..9ae8147893 100644
--- a/buildout/software-profiles/ocropus.cfg
+++ b/buildout/software-profiles/ocropus.cfg
@@ -3,5 +3,15 @@ parts = ocropus
 
 [ocropus]
 recipe = hexagonit.recipe.cmmi
-url = http://ocropus.googlecode.com/files/ocropus-0.4.tar.gz
-md5sum = d883ee9c9fd63bfdd42b25992f63c9ed
+url = http://ocropus.googlecode.com/files/ocropus-0.1.1.tar.gz
+md5sum = 91a0e9b44d5599f22a42139a93ed0127
+configure-options =
+  --with-tesseract=/usr/
+make-binary=jam
+
+[requirements]
+development =
+  tesseract/baseapi.h
+binary =
+  jam
+
-- 
2.30.9