Subject: [patch] Update of graphics/tesseract to 2.00
To: None <pkgsrc-users@netbsd.org>
From: Rumko <rumcic@gmail.com>
List: pkgsrc-users
Date: 07/23/2007 00:45:52
--nextPart1281699.y68XsslsaJ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
I updated the package to 2.00, patch -p0 included patchfile
in /usr/pkgsrc/graphics/tesseract and delete the patches directory.
It seems to work on my machine, but if someone else could try (and maybe even
commit to pkgsrc) it would be lovely
--nextPart1281699.y68XsslsaJ
Content-Type: text/x-diff; name="neki"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="neki"
--- Makefile.orig 2007-05-18 08:39:27.000000000 +0200
+++ Makefile 2007-07-21 17:50:47.000000000 +0200
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1.1.1 2007/05/18 06:39:27 wiz Exp $
#
-DISTNAME= tesseract-1.04b
+DISTNAME= tesseract-2.00
CATEGORIES= graphics
MASTER_SITES= http://tesseract-ocr.googlecode.com/files/
@@ -13,7 +13,7 @@
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
-WRKSRC= ${WRKDIR}/tesseract-1.04
+WRKSRC= ${WRKDIR}/tesseract-2.00
post-build:
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \
--- PLIST.orig 2007-05-18 08:39:27.000000000 +0200
+++ PLIST 2007-07-21 17:50:17.000000000 +0200
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/18 06:39:27 wiz Exp $
+@comment $NetBSD$
bin/cntraining
bin/mftraining
bin/tesseract
+bin/unicharset_extractor
+bin/wordlist2dawg
include/tesseract/adaptions.h
include/tesseract/adaptive.h
include/tesseract/adaptmatch.h
@@ -37,7 +39,6 @@
include/tesseract/cluster.h
include/tesseract/clusttool.h
include/tesseract/cmndwin.h
-include/tesseract/cnTraining.dsp
include/tesseract/const.h
include/tesseract/context.h
include/tesseract/control.h
@@ -52,6 +53,7 @@
include/tesseract/djmenus.h
include/tesseract/dlltest.cpp
include/tesseract/dlltest.dsp
+include/tesseract/dlltest.vcproj
include/tesseract/docqual.h
include/tesseract/drawedg.h
include/tesseract/drawfx.h
@@ -114,9 +116,11 @@
include/tesseract/linlsq.h
include/tesseract/listio.h
include/tesseract/lmedsq.h
+include/tesseract/lookdawg.h
include/tesseract/lsterr.h
include/tesseract/mainblk.h
include/tesseract/makechop.h
+include/tesseract/makedawg.h
include/tesseract/makerow.h
include/tesseract/matchdefs.h
include/tesseract/matchtab.h
@@ -129,7 +133,6 @@
include/tesseract/mergenf.h
include/tesseract/metrics.h
include/tesseract/mf.h
-include/tesseract/mfTraining.dsp
include/tesseract/mfcpch.cpp
include/tesseract/mfcpch.h
include/tesseract/mfdefs.h
@@ -188,6 +191,7 @@
include/tesseract/quspline.h
include/tesseract/ratngs.h
include/tesseract/rect.h
+include/tesseract/reduce.h
include/tesseract/rejctmap.h
include/tesseract/reject.h
include/tesseract/render.h
@@ -262,6 +266,7 @@
lib/libtesseract_cutil.a
lib/libtesseract_dict.a
lib/libtesseract_display.a
+lib/libtesseract_full.a
lib/libtesseract_image.a
lib/libtesseract_main.a
lib/libtesseract_textord.a
@@ -270,7 +275,19 @@
lib/libtesseract_wordrec.a
libexec/tesseract
share/doc/tesseract/README
+share/tessdata/configs/box.train
+share/tessdata/configs/inter
+share/tessdata/configs/makebox
+share/tessdata/configs/unlv
share/tessdata/confsets
+share/tessdata/deu.DangAmbigs
+share/tessdata/deu.freq-dawg
+share/tessdata/deu.inttemp
+share/tessdata/deu.normproto
+share/tessdata/deu.pffmtable
+share/tessdata/deu.unicharset
+share/tessdata/deu.user-words
+share/tessdata/deu.word-dawg
share/tessdata/eng.DangAmbigs
share/tessdata/eng.freq-dawg
share/tessdata/eng.inttemp
@@ -279,8 +296,48 @@
share/tessdata/eng.unicharset
share/tessdata/eng.user-words
share/tessdata/eng.word-dawg
+share/tessdata/fra.DangAmbigs
+share/tessdata/fra.freq-dawg
+share/tessdata/fra.inttemp
+share/tessdata/fra.normproto
+share/tessdata/fra.pffmtable
+share/tessdata/fra.unicharset
+share/tessdata/fra.user-words
+share/tessdata/fra.word-dawg
+share/tessdata/ita.DangAmbigs
+share/tessdata/ita.freq-dawg
+share/tessdata/ita.inttemp
+share/tessdata/ita.normproto
+share/tessdata/ita.pffmtable
+share/tessdata/ita.unicharset
+share/tessdata/ita.user-words
+share/tessdata/ita.word-dawg
+share/tessdata/nld.DangAmbigs
+share/tessdata/nld.freq-dawg
+share/tessdata/nld.inttemp
+share/tessdata/nld.normproto
+share/tessdata/nld.pffmtable
+share/tessdata/nld.unicharset
+share/tessdata/nld.user-words
+share/tessdata/nld.word-dawg
+share/tessdata/spa.DangAmbigs
+share/tessdata/spa.freq-dawg
+share/tessdata/spa.inttemp
+share/tessdata/spa.normproto
+share/tessdata/spa.pffmtable
+share/tessdata/spa.unicharset
+share/tessdata/spa.user-words
+share/tessdata/spa.word-dawg
+share/tessdata/tessconfigs/batch
+share/tessdata/tessconfigs/batch.nochop
+share/tessdata/tessconfigs/matdemo
+share/tessdata/tessconfigs/msdemo
+share/tessdata/tessconfigs/nobatch
+share/tessdata/tessconfigs/segdemo
share/tesseract/phototest.tif
-@dirrm share/doc/tesseract
@dirrm share/tesseract
+@dirrm share/tessdata/tessconfigs
+@dirrm share/tessdata/configs
@dirrm share/tessdata
+@dirrm share/doc/tesseract
@dirrm include/tesseract
--- distinfo.orig 2007-05-18 08:39:27.000000000 +0200
+++ distinfo 2007-07-23 00:38:24.000000000 +0200
@@ -1,9 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2007/05/18 06:39:27 wiz Exp $
-SHA1 (tesseract-1.04b.tar.gz) = 263a65e462ed864c4da115cdcb3f3e78613de485
-RMD160 (tesseract-1.04b.tar.gz) = 5e9c70d4435a59157f0af6503a57b02a4a74350e
-Size (tesseract-1.04b.tar.gz) = 2899276 bytes
-SHA1 (patch-ae) = c22f254b73fb9bbd02cf8ef7b4ccbea475afd5df
-SHA1 (patch-ag) = 581ec7ac0528bb28fddb3fbaa35a87bb1835a82e
-SHA1 (patch-ah) = 22987d8523631c5c6e8b2fb5096ff87c5bc13124
-SHA1 (patch-ai) = e219077d2acf0652a9bf6418d3f8ce4e11782ed5
+SHA1 (tesseract-2.00.tar.gz) = 3051d90b74a255db791ce0d7a6dc3e12203727b9
+RMD160 (tesseract-2.00.tar.gz) = 96deb8315861e0e0c423fc2d12c9a69b776cb456
+Size (tesseract-2.00.tar.gz) = 1072362 bytes
--nextPart1281699.y68XsslsaJ--