summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-07-30 19:45:40 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-07-30 19:45:40 +0000
commit215731abdd61fd6900a774b62af7e938b41df035 (patch)
tree88d7baf9fff4d81e5151823af7033f16dfe4e887 /app-text/tesseract
parentstable x86, bug 186146 (diff)
downloadhistorical-215731abdd61fd6900a774b62af7e938b41df035.tar.gz
historical-215731abdd61fd6900a774b62af7e938b41df035.tar.bz2
historical-215731abdd61fd6900a774b62af7e938b41df035.zip
Version bump, make tiff dependency optional and add LINGUAS for downloading extra language data.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'app-text/tesseract')
-rw-r--r--app-text/tesseract/ChangeLog8
-rw-r--r--app-text/tesseract/Manifest32
-rw-r--r--app-text/tesseract/files/digest-tesseract-2.0021
-rw-r--r--app-text/tesseract/tesseract-2.00.ebuild47
4 files changed, 93 insertions, 15 deletions
diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog
index e098807f86e6..b6ef7cdb01e9 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.11 2007/07/10 18:28:56 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.12 2007/07/30 19:45:40 chutzpah Exp $
+
+*tesseract-2.00 (30 Jul 2007)
+
+ 30 Jul 2007; Patrick McLean <chutzpah@gentoo.org> +tesseract-2.00.ebuild:
+ Version bump, make tiff dependency optional and add LINGUAS for downloading
+ extra language data.
*tesseract-1.04b (10 Jul 2007)
diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest
index 5df8ad9e8291..b619c43898b0 100644
--- a/app-text/tesseract/Manifest
+++ b/app-text/tesseract/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX tesseract-1.0.xterm-path.patch 629 RMD160 bcfd96f1ee65420c9a20260f67b52d3968bed6a4 SHA1 f1e88fb8dcb275b7ada4ca89a09069efa1f12c2c SHA256 14d0ea0dbfa35f8b457da1c568af95c01a5401392f1fc92f3f30f1b1146cd88a
MD5 295f0f50f90c5be7176218c9f943c251 files/tesseract-1.0.xterm-path.patch 629
RMD160 bcfd96f1ee65420c9a20260f67b52d3968bed6a4 files/tesseract-1.0.xterm-path.patch 629
@@ -15,6 +12,13 @@ RMD160 13cc5d76a733df65d7a659b5f60b5f9e69596433 files/tesseract-1.04b-globals.pa
SHA256 8aca3a7384ada2c55649bfc87f802d86e24af23a22d930a1c453f88dd3ce3b0a files/tesseract-1.04b-globals.patch 1715
DIST tesseract-1.03.tar.gz 2828351 RMD160 21a3fa31ed3c2232e33c5ebf43321c4feba735d1 SHA1 086df31165a5b467aae96f7076b2dee86dce6583 SHA256 75033707378f01e5f6e67b90e050ac385ad5bf29ab81d9063acfc791a163d971
DIST tesseract-1.04b.tar.gz 2899276 RMD160 5e9c70d4435a59157f0af6503a57b02a4a74350e SHA1 263a65e462ed864c4da115cdcb3f3e78613de485 SHA256 4dcbddbed71b1b27f7260413dd5d1498b835954128192acb0ab93c0d835c1c0c
+DIST tesseract-2.00.deu.tar.gz 1373777 RMD160 c7e6755e94084114fb1a1be8e9308c8dddd2fdda SHA1 d8d89e2681421a144f3a1ec61ee0c530686f5096 SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404
+DIST tesseract-2.00.eng.tar.gz 1013090 RMD160 4a8090729504c216b3988f189ea79a5a5e223173 SHA1 40292c8d206090c4ab342f6b7814ea41c075abce SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7
+DIST tesseract-2.00.fra.tar.gz 1007776 RMD160 96bf4e6bfca6ac2b9a3ec03b545a4fd12d8f343e SHA1 24f58cab2b1418816ba09e6f28e33aee34605889 SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25
+DIST tesseract-2.00.ita.tar.gz 977683 RMD160 05e739d684ab138b5bb032526e019bfa01e1a2f6 SHA1 8ac6c41708950660fd66789f5925068577fb89b1 SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a
+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
EBUILD tesseract-1.03-r1.ebuild 1314 RMD160 62fccd623b9d1eb845c6942dd16e004af3128250 SHA1 cf9d1a4a8aa38135551cb4c9bc0dad50c8a5e616 SHA256 f93a37937aa9655a8607374d9a3db8c8811301441208b5e6f67b118d523bcb9f
MD5 dcb2fa23bef82bc40f219eca1c60777a tesseract-1.03-r1.ebuild 1314
RMD160 62fccd623b9d1eb845c6942dd16e004af3128250 tesseract-1.03-r1.ebuild 1314
@@ -23,10 +27,14 @@ EBUILD tesseract-1.04b.ebuild 859 RMD160 a0a0355ca36a5c36eb62b877ee0b0bfbc4e5bd1
MD5 fe9055e80e90e75dd458d4425bbe00d8 tesseract-1.04b.ebuild 859
RMD160 a0a0355ca36a5c36eb62b877ee0b0bfbc4e5bd16 tesseract-1.04b.ebuild 859
SHA256 39c221b70fa25371a947faa24f9995e0f373f7290fec81f0d7f6fd4d38737d7e tesseract-1.04b.ebuild 859
-MISC ChangeLog 2064 RMD160 2a95529b27d0536ab562dd8df8de1d6876127d17 SHA1 731575f27d501196a3207de8fa573255d82d2ba9 SHA256 f7900e5636f0610b66913cbab1bb1750b056e151f8df863dce467e196075233d
-MD5 888c8cbf49eb831261f632210925aa1a ChangeLog 2064
-RMD160 2a95529b27d0536ab562dd8df8de1d6876127d17 ChangeLog 2064
-SHA256 f7900e5636f0610b66913cbab1bb1750b056e151f8df863dce467e196075233d ChangeLog 2064
+EBUILD tesseract-2.00.ebuild 1564 RMD160 72edcb099c9b4fe26dbf2c7e439f3d1d0960a45e SHA1 b9d509d37e95111a0f23631fcf65267d58c6b5de SHA256 f5879732f007bfc3fb173c747148dc73ea050fc66e489d9b22e87e12d7f5d1f2
+MD5 db2ae4cab4323c12d1122dc87e707c86 tesseract-2.00.ebuild 1564
+RMD160 72edcb099c9b4fe26dbf2c7e439f3d1d0960a45e tesseract-2.00.ebuild 1564
+SHA256 f5879732f007bfc3fb173c747148dc73ea050fc66e489d9b22e87e12d7f5d1f2 tesseract-2.00.ebuild 1564
+MISC ChangeLog 2273 RMD160 3e07b4d9674c3220f940fefdc50b3caa89ccfe93 SHA1 c29f6ae9fd5b773f834e450ad20429e26aa6b508 SHA256 5b3d5a9b648bee4984c9cafdc36d80e9adcb6dc243dae4e67208495ccbb1e246
+MD5 eee4962d2cb0b8d26a81dcecdcaa04d1 ChangeLog 2273
+RMD160 3e07b4d9674c3220f940fefdc50b3caa89ccfe93 ChangeLog 2273
+SHA256 5b3d5a9b648bee4984c9cafdc36d80e9adcb6dc243dae4e67208495ccbb1e246 ChangeLog 2273
MISC metadata.xml 486 RMD160 a822519d57f956abde805856cb6efcf7168bb7a7 SHA1 e9d1b325f4a1e2fc4bc34211c31addde8e60ab95 SHA256 f42a3773900c016a5453b563b46aabb1cdac673dfa88f5553edf609b588ea3fa
MD5 b9a60e5d0d72507a2f5bcde06064d1a2 metadata.xml 486
RMD160 a822519d57f956abde805856cb6efcf7168bb7a7 metadata.xml 486
@@ -37,10 +45,6 @@ SHA256 47a9110af0c3375d9c3ab1a012a8d235ba8c979678e98281f49dfcd6588e7c02 files/di
MD5 8f9f1d12a631b8593269ce80366417e7 files/digest-tesseract-1.04b 250
RMD160 d17179d32c657b76b73e6dc021fbe68f37e6e2e8 files/digest-tesseract-1.04b 250
SHA256 bb1eeb414fe8c21dda8908c52807c44b79806eee29cd020149e8818a0685a037 files/digest-tesseract-1.04b 250
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.5 (GNU/Linux)
-
-iD8DBQFGk8+3Wt/XSf2CZdkRAudqAJ0cIu4oEi18wkUNcHUoLVF9iIS2MQCfTpTl
-65AI9l6LviQb35j6Q1f5ZMg=
-=bgbl
------END PGP SIGNATURE-----
+MD5 40458904eb2ffa6a618d3349a069fffd files/digest-tesseract-2.00 1798
+RMD160 f17605959bdfaa7aba4e1decbda4c255c1a18700 files/digest-tesseract-2.00 1798
+SHA256 cd1e89784495a2f1c4279828e61873acd5d916a98f332f44cbc8ff93a0558fb9 files/digest-tesseract-2.00 1798
diff --git a/app-text/tesseract/files/digest-tesseract-2.00 b/app-text/tesseract/files/digest-tesseract-2.00
new file mode 100644
index 000000000000..f1bb0bbdc91c
--- /dev/null
+++ b/app-text/tesseract/files/digest-tesseract-2.00
@@ -0,0 +1,21 @@
+MD5 609d91b1ae3759a756b819b5d8403653 tesseract-2.00.deu.tar.gz 1373777
+RMD160 c7e6755e94084114fb1a1be8e9308c8dddd2fdda tesseract-2.00.deu.tar.gz 1373777
+SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404 tesseract-2.00.deu.tar.gz 1373777
+MD5 b8291d6b3a63ce7879d688e845e341a9 tesseract-2.00.eng.tar.gz 1013090
+RMD160 4a8090729504c216b3988f189ea79a5a5e223173 tesseract-2.00.eng.tar.gz 1013090
+SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7 tesseract-2.00.eng.tar.gz 1013090
+MD5 64896b462e62572a3708bb461820126c tesseract-2.00.fra.tar.gz 1007776
+RMD160 96bf4e6bfca6ac2b9a3ec03b545a4fd12d8f343e tesseract-2.00.fra.tar.gz 1007776
+SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25 tesseract-2.00.fra.tar.gz 1007776
+MD5 2759e1dae91a989a43490ff4c2253a4b tesseract-2.00.ita.tar.gz 977683
+RMD160 05e739d684ab138b5bb032526e019bfa01e1a2f6 tesseract-2.00.ita.tar.gz 977683
+SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a tesseract-2.00.ita.tar.gz 977683
+MD5 b2f6ede182cea4bbfffd3b040533ce58 tesseract-2.00.nld.tar.gz 1408071
+RMD160 ce16fbf17d4ce544269b37f5c07d5239fad22bff tesseract-2.00.nld.tar.gz 1408071
+SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859 tesseract-2.00.nld.tar.gz 1408071
+MD5 bc26a777b2384613895677cb8e61ca75 tesseract-2.00.spa.tar.gz 1365863
+RMD160 0e1fcb5739b95d4131efeea440d353f5638bb57d tesseract-2.00.spa.tar.gz 1365863
+SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e tesseract-2.00.spa.tar.gz 1365863
+MD5 6d68d940ed15c61300cb04019c30f46c tesseract-2.00.tar.gz 1072362
+RMD160 96deb8315861e0e0c423fc2d12c9a69b776cb456 tesseract-2.00.tar.gz 1072362
+SHA256 5e27365444da6c0d5219fc1800cafdc309b7d711b2716892fce549044ed27ddb tesseract-2.00.tar.gz 1072362
diff --git a/app-text/tesseract/tesseract-2.00.ebuild b/app-text/tesseract/tesseract-2.00.ebuild
new file mode 100644
index 000000000000..2ab487031d0a
--- /dev/null
+++ b/app-text/tesseract/tesseract-2.00.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.00.ebuild,v 1.1 2007/07/30 19:45:40 chutzpah Exp $
+
+inherit eutils multilib
+
+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/${P}.deu.tar.gz )
+ linguas_en? ( http://tesseract-ocr.googlecode.com/files/${P}.eng.tar.gz )
+ linguas_fr? ( http://tesseract-ocr.googlecode.com/files/${P}.fra.tar.gz )
+ linguas_it? ( http://tesseract-ocr.googlecode.com/files/${P}.ita.tar.gz )
+ linguas_nl? ( http://tesseract-ocr.googlecode.com/files/${P}.nld.tar.gz )
+ linguas_es? ( http://tesseract-ocr.googlecode.com/files/${P}.spa.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="tiff linguas_de linguas_en linguas_es linguas_fr linguas_it linguas_nl"
+
+DEPEND="tiff? ( media-libs/tiff )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P%b}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # data files shouldn't be executable
+ chmod a-x "${WORKDIR}"/tessdata/*
+ mv -f "${WORKDIR}"/tessdata/* tessdata/
+
+ 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
+
+ dodoc README AUTHORS phototest.tif
+}