ChangeLog

# ChangeLog for app-text/gocr
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.55 2008/04/06 18:55:37 klausman Exp $

06 Apr 2008; Tobias Klausmann gocr-0.45.ebuild:
Stable on alpha, bug #189461

27 Mar 2008; Christian Faulhammer gocr-0.45.ebuild:
stable x86, bug 189461

26 Mar 2008; Markus Rothe gocr-0.45.ebuild:
Stable on ppc64; bug #189461

26 Mar 2008; Brent Baude gocr-0.45.ebuild:
stable ppc, bug 189461

25 Mar 2008; Ferris McCormick gocr-0.45.ebuild:
Sparc stable, Bug #189461.

25 Mar 2008; Samuli Suominen gocr-0.45.ebuild:
amd64 stable wrt bug #189461

07 Mar 2008; Alexis Ballier
-files/gocr-0.40-as-needed.patch, -files/gocr-0.44-makefile.patch,
-gocr-0.40-r2.ebuild, -gocr-0.44.ebuild:
remove unused versions

*gocr-0.45 (26 Jan 2008)

26 Jan 2008; Alexis Ballier
+files/gocr-0.45-makefile.patch, +gocr-0.45.ebuild:
version bump

20 Sep 2007; Alexis Ballier gocr-0.44.ebuild:
add dep on ghostscript when building doc, bug #188569

*gocr-0.44 (27 Jul 2007)

27 Jul 2007; Alexis Ballier
+files/gocr-0.44-makefile.patch, +gocr-0.44.ebuild:
version bump, bug #172764, thanks to Roberto Castagnola


03 Jul 2007; Tom Gall gocr-0.43.ebuild:
stable on ppc64

01 Jul 2007; Piotr Jaroszyński
+files/digest-gocr-0.40-r2, +files/digest-gocr-0.43, Manifest:
(QA) Add digests.

29 Jun 2007; Christian Faulhammer gocr-0.43.ebuild:
stable x86, bug 153068

29 Jun 2007; Christoph Mende gocr-0.43.ebuild:
Stable on amd64 wrt bug #153068

03 Jun 2007; Raúl Porcel gocr-0.43.ebuild:
Add ~alpha wrt #173100

06 May 2007; Tobias Scherbaum gocr-0.43.ebuild:
ppc stable

24 Apr 2007; Gustavo Zacarias gocr-0.43.ebuild:
Stable on sparc

23 Apr 2007; Sven Wegener gocr-0.43.ebuild:
Sync IUSE (+tk)

13 Mar 2007; Alexandre Buisse metadata.xml:
Replaced text-markup by tex as maintaining herd (text-markup split).

*gocr-0.43 (20 Jan 2007)

20 Jan 2007; Alin Nastac
+files/gocr-0.43-makefile.patch, -gocr-0.39.ebuild, -gocr-0.40.ebuild,
+gocr-0.43.ebuild:
Version bump (#145624). Remove obsolete versions.

06 Jun 2006; Simon Stelling gocr-0.40-r2.ebuild:
stable on amd64

30 May 2006; Jason Wever gocr-0.40-r2.ebuild:
Stable on SPARC wrt bug #133376.

26 May 2006; Joseph Jezak gocr-0.40-r2.ebuild:
Marked ppc stable for bug #133376.

25 May 2006; Chris Gianelloni gocr-0.40-r2.ebuild:
Stable on x86 wrt bug #133376.

23 May 2006; Alexandre Buisse -gocr-0.40-r1.ebuild:
Removed 0.40-r1 as -r2 is stable on ppc64.

23 May 2006; Markus Rothe gocr-0.40-r2.ebuild:
Stable on ppc64; bug #133376

*gocr-0.40-r2 (23 May 2006)

23 May 2006; Alexandre Buisse +gocr-0.40-r2.ebuild:
Added dep to imagemagick when gtk USE flag is set (see bug #133376).

*gocr-0.40-r1 (08 May 2006)

08 May 2006; Martin Ehmsen
+files/gocr-0.40-as-needed.patch, +gocr-0.40-r1.ebuild:
Added --as-needed patch from TGL , bug #132567.

23 Apr 2006; Markus Rothe gocr-0.40.ebuild:
Stable on ppc64

17 Dec 2005; Markus Rothe gocr-0.39.ebuild,
gocr-0.40.ebuild:
Added ~ppc64; bug #97355

24 Apr 2005; Michael Hanselmann gocr-0.39.ebuild:
Stable on ppc.

*gocr-0.40 (23 Apr 2005)

23 Apr 2005; Mamoru KOMACHI
-files/gocr-0.3.6-gentoo.diff, -gocr-0.3.6-r3.ebuild, -gocr-0.37.ebuild,
+gocr-0.40.ebuild:
Version bumped; bug #88736.

19 Oct 2004; Dylan Carlson gocr-0.39.ebuild:
Stable on amd64.

04 Jul 2004; David Holm gocr-0.39.ebuild:
Added to ~ppc.

02 Jun 2004; Aron Griffis gocr-0.37.ebuild,
gocr-0.39.ebuild:
Fix use invocation

10 May 2004; Ferris McCormick gocr-0.39.ebuild:
Marked stable for sparc.

03 May 2004; Ferris McCormick gocr-0.39.ebuild:
Add ~sparc keyword.

26 Apr 2004; Mike Gardiner gocr-0.37.ebuild,
gocr-0.39.ebuild:
Marked stable on x86

22 Mar 2004; Mamoru KOMACHI gocr-0.3.6-r2.ebuild,
gocr-0.3.6-r3.ebuild, gocr-0.37.ebuild, gocr-0.39.ebuild:
Marked 0.3.6-r3 as stable, closing bug #45242
Changed netpbm dependency to not require 10

*gocr-0.39 (12 Mar 2004)

12 Mar 2004; Mamoru KOMACHI gocr-0.39.ebuild:
Version bumped. Closing bug #42743

*gocr-0.3.6-r3 (12 Mar 2004)

12 Mar 2004; Mamoru KOMACHI gocr-0.3.6-r3.ebuild:
Fixed manpage directory and changed tetex IUSE flag to doc.
Closing bug #43211

10 Feb 2004; Mike Gardiner gocr-0.3.6-r2.ebuild,
gocr-0.37.ebuild:
Included examples in the USE='doc' case, thanks to pYrania, see bug #40617

09 Dec 2003; Heinrich Wendel gocr-0.3.6-r2.ebuild:
changed app-text/ghostscript to virtual/ghostscript

22 Oct 2003; Mike Gardiner gocr-0.3.6-r2.ebuild:
Fixed make install to use DESTDIR=D/usr so we get /usr as a prefix instead of
/, see bug #31676

*gocr-0.37 (16 Sep 2003)

16 Sep 2003; Mike Gardiner gocr-0.37.ebuild, metadata.xml:
New version with an ebuild rewrite. TeX is no longer required to build the
examples/etc, fig is used instead, which simplifies things a lot. Frontend
usage controlled by gtk, and examples/docs by doc

*gocr-0.3.6-r2 (06 Jul 2002)

19 Jan 2003; Martin Holzer gocr-0.3.6-r2.ebuild
ChangeLog :
gocr breaks with netpbm 10.11.4 so depending on 9.12*

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

20 Oct 2002; Matthew Turk gocr-0.3.6-r2.ebuild

Really really real this time. Fixed dependencies (on transfig) and sandbox.


06 Jul 2002; Seemant Kulleen gocr-0.3.6-r2.ebuild
files/digest-gocr-0.3.6-r2 :

real fix for sandbox violation

*gocr-0.3.6-r1 (29 Jun 2002)

29 Jun 2002; Seemant Kulleen gocr-0.3.6-r1.ebuild
files/digest-gocr-0.3.6-r1 :

sandbox violation fix.

*gocr-0.3.6 (28 Jun 2002)

28 Jun 2002; Ryan Phillips gocr-0.3.6.ebuild :

Added a new version, and disabled the sandbox temporarily. The
sandbox fails on latex font installations. Anybody know a workaround?

*gocr-0.3.4 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX gocr-0.43-makefile.patch 1017 RMD160 9db6d03f27b87183c999722ddea8f590316165bf SHA1 5ff4bfcee3735fa9c57da39b377dabf4c433eef8 SHA256 7d35a81fab4490d260524764897955e2df179295911978e2b489152ba601227c
AUX gocr-0.45-makefile.patch 705 RMD160 a40fb6747abed407efd97ec77bd55b10be4f63ef SHA1 227edd1ef804cd3dca3451fa83ac6b290505ae5c SHA256 3b3cdd999dc33a7190c05b96672e4163f9ce37d3461b601be2393be91f6537a4
DIST gocr-0.45.tar.gz 362952 RMD160 e0c2980fb39ca7c66cdc3e0805480f495fdb1a9b SHA1 5804535068ae13447ad86242966533f89d208d2b SHA256 d1846fe037b5d509373c92c0bc7dd4e6e5c290962e30e03fea5766326ec4b7f4
EBUILD gocr-0.45.ebuild 1331 RMD160 cd58c004194c7d123bba667c95274f2dc3d582e8 SHA1 3ff844d6e54a0ff3635c6ca62ad2c0ca852b6b69 SHA256 6e3d339227f4e9fc5e520e7d42a03c350805f071b99a7d8dbd5d3710355d87a5
MISC ChangeLog 7436 RMD160 661f51f1f4c8c8c47044ffb96cc8bf4be236b080 SHA1 067a19d1fd8470548529dd942b2b12944c60f546 SHA256 2a5eba1a7fba708b3290d13a2f83002d190ac984371552258a2a7a5d01ce1b2a
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6

files

gocr-0.45.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.45.ebuild,v 1.7 2008/04/06 18:55:37 klausman Exp $

inherit eutils

DESCRIPTION="An OCR (Optical Character Recognition) reader"
HOMEPAGE="http://jocr.sourceforge.net"
SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE="doc tk"

DEPEND=">=media-libs/netpbm-9.12
doc? ( >=media-gfx/transfig-3.2 virtual/ghostscript )
tk? ( dev-lang/tk )"

DOCS="AUTHORS BUGS CREDITS HISTORY RE* TODO"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-makefile.patch"
}

src_compile() {
local mymakes="src man"

use doc && mymakes="${mymakes} doc examples"

econf || die "econf failed"
emake ${mymakes} || die "make ${mymakes} failed"
}

src_install() {
emake DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die "make install failed"
# remove the tk frontend if tk is not selected
use tk || rm "${D}"/usr/bin/gocr.tcl
# and install the documentation and examples
if use doc ; then
DOCS="${DOCS} doc/gocr.html doc/examples.txt doc/unicode.txt"
insinto /usr/share/doc/${P}/examples
doins "${S}"/examples/*.{fig,tex,pcx}
fi
# and then install all the docs
dodoc ${DOCS}
}

metadata.xml




tex