summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-07-21 01:18:37 +0000
committerHanno Boeck <hanno@gentoo.org>2008-07-21 01:18:37 +0000
commitd59d6cd049e1d5485b946a8a39b7848e24c8c7e4 (patch)
tree75b0250963379093d6cd79b4fdabdc0d945eb6ee /app-text/tesseract
parentAdd de_FR locale (diff)
downloadhistorical-d59d6cd049e1d5485b946a8a39b7848e24c8c7e4.tar.gz
historical-d59d6cd049e1d5485b946a8a39b7848e24c8c7e4.tar.bz2
historical-d59d6cd049e1d5485b946a8a39b7848e24c8c7e4.zip
tesseract version bump
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26-git6 i686
Diffstat (limited to 'app-text/tesseract')
-rw-r--r--app-text/tesseract/ChangeLog10
-rw-r--r--app-text/tesseract/Manifest18
-rw-r--r--app-text/tesseract/files/includes.patch39
-rw-r--r--app-text/tesseract/tesseract-2.03.ebuild55
4 files changed, 119 insertions, 3 deletions
diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog
index b6ef7cdb01e9..04b088670778 100644
--- a/app-text/tesseract/ChangeLog
+++ b/app-text/tesseract/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/tesseract
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.12 2007/07/30 19:45:40 chutzpah Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.13 2008/07/21 01:18:36 hanno Exp $
+
+*tesseract-2.03 (21 Jul 2008)
+
+ 21 Jul 2008; Hanno Boeck <hanno@gentoo.org> +files/includes.patch,
+ +tesseract-2.03.ebuild:
+ Version bump.
*tesseract-2.00 (30 Jul 2007)
diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest
index d17ba970d48a..caf7e2de9bcd 100644
--- a/app-text/tesseract/Manifest
+++ b/app-text/tesseract/Manifest
@@ -1,3 +1,7 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX includes.patch 1187 RMD160 13e56bbac2ef091c2426a19e490817810fa9156c SHA1 d076a127568bc367b117f66d44da442ad1af4e2c SHA256 a6967c435e94e1b9a3e9767099416e20ef401c07a642cf2fc3ca27bb53803e79
AUX tesseract-1.0.xterm-path.patch 629 RMD160 bcfd96f1ee65420c9a20260f67b52d3968bed6a4 SHA1 f1e88fb8dcb275b7ada4ca89a09069efa1f12c2c SHA256 14d0ea0dbfa35f8b457da1c568af95c01a5401392f1fc92f3f30f1b1146cd88a
AUX tesseract-1.03-globals.patch 1820 RMD160 9f5863bba626d16dd15178d713ab71f6ea929a96 SHA1 a78f1328766395da015079beec202d7ed67d4554 SHA256 395fd24d9093223968a9e91b648771c87eb23d602b026f0cc0436909afa16424
AUX tesseract-1.04b-globals.patch 1715 RMD160 13cc5d76a733df65d7a659b5f60b5f9e69596433 SHA1 2cb9f4eb4dc2a1e096e9b98d246da98a786e88a0 SHA256 8aca3a7384ada2c55649bfc87f802d86e24af23a22d930a1c453f88dd3ce3b0a
@@ -10,8 +14,20 @@ DIST tesseract-2.00.ita.tar.gz 977683 RMD160 05e739d684ab138b5bb032526e019bfa01e
DIST tesseract-2.00.nld.tar.gz 1408071 RMD160 ce16fbf17d4ce544269b37f5c07d5239fad22bff SHA1 8bc0a5877c1992ab10a9e124643fd9006ff30350 SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859
DIST tesseract-2.00.spa.tar.gz 1365863 RMD160 0e1fcb5739b95d4131efeea440d353f5638bb57d SHA1 49206b79407cb23bc23b1cd95bee02544f2fcf9b SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e
DIST tesseract-2.00.tar.gz 1072362 RMD160 96deb8315861e0e0c423fc2d12c9a69b776cb456 SHA1 3051d90b74a255db791ce0d7a6dc3e12203727b9 SHA256 5e27365444da6c0d5219fc1800cafdc309b7d711b2716892fce549044ed27ddb
+DIST tesseract-2.01.deu-f.tar.gz 1312785 RMD160 a52f3050fd480beb83b6f62709246d2af835485c SHA1 f79b9f348d8d7418ebe69ffe6092c6f96b3e9ea1 SHA256 410143cf5029b10d274909439de2c407706e4d601cd5e1bb1309dbd46288757e
+DIST tesseract-2.01.por.tar.gz 2107696 RMD160 3b0217ec624f1f7f2cc8ed4f9d35346d9fc8e021 SHA1 96d8ee26781022a2eab19569dcf23597b88d6c81 SHA256 0dc30b76814a7694246ca347ccb402bcd40e5e6f3bf70cca31e6d3ca06210baa
+DIST tesseract-2.01.vie.tar.gz 964277 RMD160 d3bbb15a7e27de2f3b0f5eef5b216d1b5ebde2cc SHA1 ea2feb6a344c51a882de5f80020539fd1ad791ee SHA256 8026240029341d45a6142cfccf6f0f98e5b1f35cae5725f8379ac4a8de34283f
+DIST tesseract-2.03.tar.gz 1075509 RMD160 7519e7f4d876444bd3264d599dbf423e22443311 SHA1 b7859278ff98a8b64bf98b5a519688e1559cec57 SHA256 f39097176b0b0ac83312b5994970d15283ad0e036bc174d98b87500f572acaae
EBUILD tesseract-1.03-r1.ebuild 1314 RMD160 62fccd623b9d1eb845c6942dd16e004af3128250 SHA1 cf9d1a4a8aa38135551cb4c9bc0dad50c8a5e616 SHA256 f93a37937aa9655a8607374d9a3db8c8811301441208b5e6f67b118d523bcb9f
EBUILD tesseract-1.04b.ebuild 859 RMD160 a0a0355ca36a5c36eb62b877ee0b0bfbc4e5bd16 SHA1 9e8bc49b1a020c9ebd69ef9ea0d0e5262e2a149a SHA256 39c221b70fa25371a947faa24f9995e0f373f7290fec81f0d7f6fd4d38737d7e
EBUILD tesseract-2.00.ebuild 1564 RMD160 72edcb099c9b4fe26dbf2c7e439f3d1d0960a45e SHA1 b9d509d37e95111a0f23631fcf65267d58c6b5de SHA256 f5879732f007bfc3fb173c747148dc73ea050fc66e489d9b22e87e12d7f5d1f2
-MISC ChangeLog 2273 RMD160 3e07b4d9674c3220f940fefdc50b3caa89ccfe93 SHA1 c29f6ae9fd5b773f834e450ad20429e26aa6b508 SHA256 5b3d5a9b648bee4984c9cafdc36d80e9adcb6dc243dae4e67208495ccbb1e246
+EBUILD tesseract-2.03.ebuild 2030 RMD160 89a4be8cc999ae38b692fc4304b5e916066321d3 SHA1 a5931b435f1e9ca84d79d0cb0c4748208cffbd9f SHA256 4bb04de3af39f9f290f32caffd2283cfd86d39321a395a1d5d562db12f6efbcb
+MISC ChangeLog 2413 RMD160 ca2a16ef35922e028e30c782d8402bdaa5de79c8 SHA1 ed8cf66bd6a868bd7777d9ba518eb21f3a54c97f SHA256 f46be9dcfcf8b4a382b59d955018e53a22f7ffc9d99a454542021a510643fbbb
MISC metadata.xml 486 RMD160 a822519d57f956abde805856cb6efcf7168bb7a7 SHA1 e9d1b325f4a1e2fc4bc34211c31addde8e60ab95 SHA256 f42a3773900c016a5453b563b46aabb1cdac673dfa88f5553edf609b588ea3fa
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiD4/MACgkQr2QksT29OyCRnwCfbtPyF0N8EVJQBwPaEsr8DGuv
+k/MAn3gDzrZIjWg3Mnc9zKZ0Rdb7n4Td
+=w6MW
+-----END PGP SIGNATURE-----
diff --git a/app-text/tesseract/files/includes.patch b/app-text/tesseract/files/includes.patch
new file mode 100644
index 000000000000..68c26c65d786
--- /dev/null
+++ b/app-text/tesseract/files/includes.patch
@@ -0,0 +1,39 @@
+diff -urN tesseract-2.03/viewer/scrollview.cpp tesseract-2.03-NEW/viewer/scrollview.cpp
+--- tesseract-2.03/viewer/scrollview.cpp 2008-06-27 23:21:52.000000000 +0200
++++ tesseract-2.03-NEW/viewer/scrollview.cpp 2008-06-27 23:23:31.000000000 +0200
+@@ -34,7 +34,10 @@
+ #include <utility>
+ #include <algorithm>
+ #include <vector>
+-#include <string>
++#include <string.h>
++#include <stdlib.h>
++#include <limits.h>
++
+
+ #include "svutil.h"
+
+diff -urN tesseract-2.03/viewer/svmnode.cpp tesseract-2.03-NEW/viewer/svmnode.cpp
+--- tesseract-2.03/viewer/svmnode.cpp 2008-06-27 23:22:08.000000000 +0200
++++ tesseract-2.03-NEW/viewer/svmnode.cpp 2008-06-27 23:21:28.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include "svmnode.h"
+
+ #include <iostream>
++#include <string.h>
+
+ #include "scrollview.h"
+
+diff -urN tesseract-2.03/viewer/svutil.cpp tesseract-2.03-NEW/viewer/svutil.cpp
+--- tesseract-2.03/viewer/svutil.cpp 2008-06-27 23:22:47.000000000 +0200
++++ tesseract-2.03-NEW/viewer/svutil.cpp 2008-06-27 23:21:28.000000000 +0200
+@@ -37,7 +37,8 @@
+ #endif
+
+ #include <iostream>
+-#include <string>
++#include <string.h>
++#include <stdlib.h>
+
+ const int kBufferSize = 65536;
+ const int kMaxMsgSize = 4096;
diff --git a/app-text/tesseract/tesseract-2.03.ebuild b/app-text/tesseract/tesseract-2.03.ebuild
new file mode 100644
index 000000000000..8c849e341f6c
--- /dev/null
+++ b/app-text/tesseract/tesseract-2.03.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.03.ebuild,v 1.1 2008/07/21 01:18:36 hanno Exp $
+
+inherit eutils
+
+DESCRIPTION="A commercial quality OCR engine developed at HP in the 80's and early 90's."
+HOMEPAGE="http://code.google.com/p/tesseract-ocr/"
+SRC_URI="http://tesseract-ocr.googlecode.com/files/${P}.tar.gz
+ linguas_de? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.deu.tar.gz )
+ linguas_de_FR? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.deu-f.tar.gz )
+ linguas_en? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.eng.tar.gz )
+ linguas_fr? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.fra.tar.gz )
+ linguas_it? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.ita.tar.gz )
+ linguas_nl? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.nld.tar.gz )
+ linguas_es? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.00.spa.tar.gz )
+ linguas_pt? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.por.tar.gz )
+ linguas_vi? ( http://tesseract-ocr.googlecode.com/files/${PN}-2.01.vie.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="tiff linguas_de linguas_de_FR linguas_en linguas_fr linguas_it linguas_nl \
+linguas_es linguas_pt linguas_vi"
+
+DEPEND="tiff? ( media-libs/tiff )"
+
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Includes for gcc 4.3
+ epatch "${FILESDIR}/includes.patch" || die
+
+ # Move language files
+ mv -f "${WORKDIR}"/tessdata/* tessdata/
+
+ # Remove obsolete makefile, install target only in uppercase Makefile
+ rm -f "${S}/java/makefile"
+
+ sed -i -e "s:/usr/bin/X11/xterm:/usr/bin/xterm:" ccutil/debugwin.cpp
+}
+
+src_compile() {
+ econf $(use_with tiff libtiff) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ dodoc README ReleaseNotes AUTHORS phototest.tif || die "dodoc failed"
+}