# 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.2 2007/02/05 16:50:56 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.3 2007/02/21 19:28:46 chutzpah Exp $
+
+*tesseract-1.03-r1 (21 Feb 2007)
+
+ 21 Feb 2007; Patrick McLean <chutzpah@gentoo.org>
+ +tesseract-1.03-r1.ebuild:
+ Revision bump, for some reason this needs libtiff support specifically
+ turned off to actually work (bug #167047).
*tesseract-1.03 (05 Feb 2007)
------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
MD5 e97bc4e035176a6ca0647f6b5b5c5ec1 tesseract-1.02.02022007.ebuild 1197
RMD160 c99475c3814dc08957c1635ea392692627c5c690 tesseract-1.02.02022007.ebuild 1197
SHA256 8aa2fb2d5289ab12e3dcb79d6b4e43c9f442e6f1fe350b34439ec69786f14049 tesseract-1.02.02022007.ebuild 1197
+EBUILD tesseract-1.03-r1.ebuild 1247 RMD160 38700a04b3fa1a317447067c5609170da0f55a1a SHA1 62912643d8e6c62276d3a32228d4b26e0269d17c SHA256 59c4f388b4770f600e23535b9b3f5ceb8cc15d96645ba96005101ec8231d0525
+MD5 a476dbce427b091301e2fce0bd625c31 tesseract-1.03-r1.ebuild 1247
+RMD160 38700a04b3fa1a317447067c5609170da0f55a1a tesseract-1.03-r1.ebuild 1247
+SHA256 59c4f388b4770f600e23535b9b3f5ceb8cc15d96645ba96005101ec8231d0525 tesseract-1.03-r1.ebuild 1247
EBUILD tesseract-1.03.ebuild 1149 RMD160 edaffa5f406712cfa6b48127b73ec21fa2446139 SHA1 647ac95aa1106d6b4203dfa06c8829d84ccecba6 SHA256 7c5c1fa8cd97d9b08a6a7621428b8fe231c2afc00fc6698f32fc4acefcfbe68a
MD5 af5a64d6c27e092d0f7042f664a274a5 tesseract-1.03.ebuild 1149
RMD160 edaffa5f406712cfa6b48127b73ec21fa2446139 tesseract-1.03.ebuild 1149
SHA256 7c5c1fa8cd97d9b08a6a7621428b8fe231c2afc00fc6698f32fc4acefcfbe68a tesseract-1.03.ebuild 1149
-MISC ChangeLog 636 RMD160 3be1d4a1ec387cc2c7765a55d3f8e07104bb3026 SHA1 1e1f51495b790ebedd16b9859a15f2987d3add25 SHA256 c7f4b73e0c2151cc255a9ed619251a314eefa6fee785ee2ac84b75666071b0fc
-MD5 9cd118032b49cd6b46dd7754e8ad9002 ChangeLog 636
-RMD160 3be1d4a1ec387cc2c7765a55d3f8e07104bb3026 ChangeLog 636
-SHA256 c7f4b73e0c2151cc255a9ed619251a314eefa6fee785ee2ac84b75666071b0fc ChangeLog 636
+MISC ChangeLog 870 RMD160 bda8eac31401151a4e37ecaf6218e2cb02b78bf4 SHA1 aff17397745fb107e5a18d45e1a6c8679c9e0dfc SHA256 bba70bec031c05d55e66d3b9aa2af45524c4f03c07960bcc2dd1403932c7ce81
+MD5 098093ce2ad6e733cc4bfe9df03ac1b6 ChangeLog 870
+RMD160 bda8eac31401151a4e37ecaf6218e2cb02b78bf4 ChangeLog 870
+SHA256 bba70bec031c05d55e66d3b9aa2af45524c4f03c07960bcc2dd1403932c7ce81 ChangeLog 870
MISC metadata.xml 486 RMD160 a822519d57f956abde805856cb6efcf7168bb7a7 SHA1 e9d1b325f4a1e2fc4bc34211c31addde8e60ab95 SHA256 f42a3773900c016a5453b563b46aabb1cdac673dfa88f5553edf609b588ea3fa
MD5 b9a60e5d0d72507a2f5bcde06064d1a2 metadata.xml 486
RMD160 a822519d57f956abde805856cb6efcf7168bb7a7 metadata.xml 486
MD5 a83c5c92795fca976632add5e04a60fd files/digest-tesseract-1.03 247
RMD160 a6a4065997a301c5f9705d9ab6d532ba45412310 files/digest-tesseract-1.03 247
SHA256 47a9110af0c3375d9c3ab1a012a8d235ba8c979678e98281f49dfcd6588e7c02 files/digest-tesseract-1.03 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFx2CEWt/XSf2CZdkRAghCAJ9ToJ6vwUZ5VMHeTczGVrAsl2PElwCdF0cx
-/qe0Kd3+0Olayow+PdA5Ppc=
-=iHhN
------END PGP SIGNATURE-----
+MD5 a83c5c92795fca976632add5e04a60fd files/digest-tesseract-1.03-r1 247
+RMD160 a6a4065997a301c5f9705d9ab6d532ba45412310 files/digest-tesseract-1.03-r1 247
+SHA256 47a9110af0c3375d9c3ab1a012a8d235ba8c979678e98281f49dfcd6588e7c02 files/digest-tesseract-1.03-r1 247
--- /dev/null
+# 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-1.03-r1.ebuild,v 1.1 2007/02/21 19:28:46 chutzpah Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="A commercial quality OCR engine developed at HP in the 80's and early 90's."
+HOMEPAGE="http://sourceforge.net/projects/tesseract-ocr/"
+SRC_URI="mirror://sourceforge/tesseract-ocr/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="media-libs/tiff"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}"/tesseract-1.0.xterm-path.patch
+}
+
+src_compile() {
+ econf --with-libtiff=no || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/${PN}"
+
+ dodir "${dest}"
+
+ exeinto "${dest}"
+ doexe ccmain/tesseract
+
+ dodir "${dest}/tessdata/configs"
+ dodir "${dest}/tessdata/tessconfigs"
+
+ insinto "${dest}/tessdata"
+ doins tessdata/*
+
+ insinto "${dest}/tessdata/configs"
+ doins tessdata/configs/*
+
+ insinto "${dest}/tessdata/tessconfigs"
+ doins tessdata/tessconfigs/*
+
+ dodoc README AUTHORS phototest.tif
+
+ echo -e "#!/bin/sh\n${dest}/${PN} \"\${@}\"" > ${PN}.sh
+ newbin ${PN}.sh ${PN}
+}