ports/138727: [patch] graphics/tesseract: update to version 2.04
Boris Samorodov
bsam at FreeBSD.org
Fri Sep 11 06:50:07 UTC 2009
>Number: 138727
>Category: ports
>Synopsis: [patch] graphics/tesseract: update to version 2.04
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 11 06:50:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Boris Samorodov
>Release: FreeBSD 8.0-BETA4 i386
>Organization:
InPharmTech, Co.
>Environment:
System: FreeBSD bb.ipt.ru 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Tue Sep 8 10:49:14 MSD 2009 root at bb.ipt.ru:/usr/obj/usr/src/sys/BB i386
>Description:
A new version (2.04) of graphics/tesseract is available since
June 30 2009: http://code.google.com/p/tesseract-ocr/
Changes since 2.03:
Integrated bug fixes and patches and misc changes for portability.
Integrated a patch to remove some of the "access" macros.
Removed dependence on lua from the viewer, speeding it up
dramatically.
Fixed the viewer so it compiles and runs properly!
Specifically fixing issues: 1, 63, 67, 71, 76, 81, 82, 106, 111,
112, 128, 129, 130, 133, 135, 142, 143, 145, 147, 153, 154, 160,
165, 170, 175, 177, 187, 192, 195, 199, 201, 205, 209, 108, 169
>How-To-Repeat:
>Fix:
Language data for Basque was added.
Three patches were incorporated upstream and should be removed:
. files/patch-java_makefile;
. files/patch-viewer_scrollview.cpp;
. files/patch-viewer_svmnode.cpp.
--- tesseract.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/tesseract/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 31 Jul 2009 13:52:51 -0000 1.9
+++ Makefile 11 Sep 2009 05:55:09 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= tesseract
-DISTVERSION= 2.03
-PORTREVISION= 1
+DISTVERSION= 2.04
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} CENKES
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LANGFILES}
@@ -20,8 +19,9 @@
PROJECTHOST= tesseract-ocr
LANGS2_00?= deu eng fra ita nld spa
LANGS2_01?= deu-f por vie
+LANGS2_04?= eus
-.for _N in 2_00 2_01
+.for _N in 2_00 2_01 2_04
LANGFILES+= ${LANGS${_N}:S|^|${PORTNAME}-${_N:S|_|.|}.|:S|$|${EXTRACT_SUFX}|}
.endfor
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/graphics/tesseract/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 27 Apr 2009 17:48:35 -0000 1.4
+++ distinfo 11 Sep 2009 05:55:09 -0000
@@ -1,6 +1,6 @@
-MD5 (tesseract-2.03.tar.gz) = 5777b70b11df16c1ac9aa155d7cfc553
-SHA256 (tesseract-2.03.tar.gz) = f39097176b0b0ac83312b5994970d15283ad0e036bc174d98b87500f572acaae
-SIZE (tesseract-2.03.tar.gz) = 1075509
+MD5 (tesseract-2.04.tar.gz) = b44eba1a9f4892ac62e484c807fe0533
+SHA256 (tesseract-2.04.tar.gz) = 62866f283916553e02cebdeb1b485856c6a790f5f8bf86c30b87c6304374bef8
+SIZE (tesseract-2.04.tar.gz) = 1118386
MD5 (tesseract-2.00.deu.tar.gz) = 609d91b1ae3759a756b819b5d8403653
SHA256 (tesseract-2.00.deu.tar.gz) = 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404
SIZE (tesseract-2.00.deu.tar.gz) = 1373777
@@ -28,3 +28,6 @@
MD5 (tesseract-2.01.vie.tar.gz) = 34a05c2ae1ec8524e6b7647bdeecd408
SHA256 (tesseract-2.01.vie.tar.gz) = 8026240029341d45a6142cfccf6f0f98e5b1f35cae5725f8379ac4a8de34283f
SIZE (tesseract-2.01.vie.tar.gz) = 964277
+MD5 (tesseract-2.04.eus.tar.gz) = 1f82f6c152dd10b5a7116b0a040a7125
+SHA256 (tesseract-2.04.eus.tar.gz) = 19aa30dda8049fb03e125e3b17d05ae402544e9ec81adcb18964d4a7b125a2fe
+SIZE (tesseract-2.04.eus.tar.gz) = 1207994
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/tesseract/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist 27 Apr 2009 17:48:35 -0000 1.4
+++ pkg-plist 11 Sep 2009 05:55:09 -0000
@@ -270,6 +270,7 @@
lib/libtesseract_wordrec.a
share/tessdata/configs/api_config
share/tessdata/configs/box.train
+share/tessdata/configs/box.train.stderr
share/tessdata/configs/inter
share/tessdata/configs/kannada
share/tessdata/configs/makebox
@@ -299,6 +300,14 @@
share/tessdata/eng.unicharset
share/tessdata/eng.user-words
share/tessdata/eng.word-dawg
+share/tessdata/eus.DangAmbigs
+share/tessdata/eus.freq-dawg
+share/tessdata/eus.inttemp
+share/tessdata/eus.normproto
+share/tessdata/eus.pffmtable
+share/tessdata/eus.unicharset
+share/tessdata/eus.user-words
+share/tessdata/eus.word-dawg
share/tessdata/fra.DangAmbigs
share/tessdata/fra.freq-dawg
share/tessdata/fra.inttemp
Index: files/patch-java_makefile
===================================================================
RCS file: files/patch-java_makefile
diff -N files/patch-java_makefile
--- files/patch-java_makefile 27 Apr 2009 17:48:35 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- java/makefile.orig 2009-04-14 12:55:04.000000000 +0000
-+++ java/makefile 2009-04-14 12:55:14.000000000 +0000
-@@ -40,7 +40,7 @@
- rm -f ScrollView.jar *.class
-
- # all-am does nothing, to make the java part optional.
--all all-am :
-+all all-am install :
-
- # dist runs the autoconf makefile to archive the files correctly.
- dist distdir :
Index: files/patch-viewer_scrollview.cpp
===================================================================
RCS file: files/patch-viewer_scrollview.cpp
diff -N files/patch-viewer_scrollview.cpp
--- files/patch-viewer_scrollview.cpp 27 Apr 2009 17:48:35 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- viewer/scrollview.cpp.orig 2009-04-14 11:54:19.000000000 +0000
-+++ viewer/scrollview.cpp 2009-04-14 11:56:15.000000000 +0000
-@@ -35,6 +35,8 @@
- #include <algorithm>
- #include <vector>
- #include <string>
-+#include <cstring>
-+#include <climits>
-
- #include "svutil.h"
-
Index: files/patch-viewer_svmnode.cpp
===================================================================
RCS file: files/patch-viewer_svmnode.cpp
diff -N files/patch-viewer_svmnode.cpp
--- files/patch-viewer_svmnode.cpp 27 Apr 2009 17:48:35 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- viewer/svmnode.cpp.orig 2009-04-14 11:54:39.000000000 +0000
-+++ viewer/svmnode.cpp 2009-04-14 11:57:02.000000000 +0000
-@@ -27,6 +27,7 @@
- #include "svmnode.h"
-
- #include <iostream>
-+#include <cstring>
-
- #include "scrollview.h"
-
Index: files/patch-viewer_svutil.cpp
===================================================================
RCS file: /home/pcvs/ports/graphics/tesseract/files/patch-viewer_svutil.cpp,v
retrieving revision 1.1
diff -u -r1.1 patch-viewer_svutil.cpp
--- files/patch-viewer_svutil.cpp 27 Apr 2009 17:48:35 -0000 1.1
+++ files/patch-viewer_svutil.cpp 11 Sep 2009 05:55:09 -0000
@@ -1,6 +1,6 @@
---- viewer/svutil.cpp.orig 2008-04-22 00:07:25.000000000 +0000
-+++ viewer/svutil.cpp 2009-04-14 12:13:10.000000000 +0000
-@@ -34,10 +34,14 @@
+--- viewer/svutil.cpp.orig 2009-06-03 20:29:38.000000000 +0400
++++ viewer/svutil.cpp 2009-09-10 15:45:19.000000000 +0400
+@@ -40,9 +40,13 @@
#ifdef __linux__
#include <sys/prctl.h>
#endif
@@ -8,9 +8,8 @@
#endif
#include <iostream>
- #include <string>
-+#include <cstring>
-+#include <cstdio>
++#include <cstring>
++#include <cstdio>
+#include <cstdlib>
const int kBufferSize = 65536;
--- tesseract.diff ends here ---
--
WBR, bsam
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list