summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-12 06:21:50 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-12 06:21:50 +0000
commitb00211078eddeca825c139337394fa4c97c1fb22 (patch)
treeba9043d956184c6e7799ac9cc16135bcc53afa9d /app-text/gocr
parentdon't set S to default (Manifest recommit) (diff)
downloadgentoo-2-b00211078eddeca825c139337394fa4c97c1fb22.tar.gz
gentoo-2-b00211078eddeca825c139337394fa4c97c1fb22.tar.bz2
gentoo-2-b00211078eddeca825c139337394fa4c97c1fb22.zip
Version bumped. Fixed manpage directory. Closing bug #42743 and #43211
Diffstat (limited to 'app-text/gocr')
-rw-r--r--app-text/gocr/ChangeLog13
-rw-r--r--app-text/gocr/Manifest10
-rw-r--r--app-text/gocr/files/digest-gocr-0.3.6-r31
-rw-r--r--app-text/gocr/files/digest-gocr-0.391
-rw-r--r--app-text/gocr/gocr-0.3.6-r3.ebuild59
-rw-r--r--app-text/gocr/gocr-0.39.ebuild55
6 files changed, 135 insertions, 4 deletions
diff --git a/app-text/gocr/ChangeLog b/app-text/gocr/ChangeLog
index 685b99a8b626..5a1050968d80 100644
--- a/app-text/gocr/ChangeLog
+++ b/app-text/gocr/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for app-text/gocr
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.13 2004/02/10 14:32:14 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.14 2004/03/12 06:21:50 usata Exp $
+
+*gocr-0.39 (12 Mar 2004)
+
+ 12 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> gocr-0.39.ebuild:
+ Version bumped. Closing bug #42743
+
+*gocr-0.3.6-r3 (12 Mar 2004)
+
+ 12 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> gocr-0.3.6-r3.ebuild:
+ Fixed manpage directory and changed tetex IUSE flag to doc.
+ Closing bug #43211
10 Feb 2004; Mike Gardiner <obz@gentoo.org> gocr-0.3.6-r2.ebuild,
gocr-0.37.ebuild:
diff --git a/app-text/gocr/Manifest b/app-text/gocr/Manifest
index 23dde6cf8e21..f0983369f0bb 100644
--- a/app-text/gocr/Manifest
+++ b/app-text/gocr/Manifest
@@ -1,7 +1,11 @@
-MD5 6ae57380a5ab542f9116d9633b39505c ChangeLog 2381
-MD5 5de93415c728309f951f51428ed145e9 gocr-0.3.6-r2.ebuild 1385
MD5 03987d020b7a80e3430c951b1e9c6525 gocr-0.37.ebuild 1335
+MD5 6ae57380a5ab542f9116d9633b39505c ChangeLog 2381
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+MD5 744cdb6104e45dfb66b758e219255afc gocr-0.39.ebuild 1335
+MD5 2f7c2fe39b3f1188d9552d7ebc4f77e2 gocr-0.3.6-r3.ebuild 1469
+MD5 5de93415c728309f951f51428ed145e9 gocr-0.3.6-r2.ebuild 1385
MD5 fb58fc4e59edc313fe5eb203fc439f57 files/digest-gocr-0.3.6-r2 62
-MD5 dc76ed6fc1ad7aac76625586d5a36966 files/digest-gocr-0.37 61
MD5 ed4700fa87db2cf1b0ebb0fe3bc71e2e files/gocr-0.3.6-gentoo.diff 387
+MD5 dc76ed6fc1ad7aac76625586d5a36966 files/digest-gocr-0.37 61
+MD5 bfbcd9ee87b9d132e24dbd21f750d886 files/digest-gocr-0.39 61
+MD5 fb58fc4e59edc313fe5eb203fc439f57 files/digest-gocr-0.3.6-r3 62
diff --git a/app-text/gocr/files/digest-gocr-0.3.6-r3 b/app-text/gocr/files/digest-gocr-0.3.6-r3
new file mode 100644
index 000000000000..9dfd2823000b
--- /dev/null
+++ b/app-text/gocr/files/digest-gocr-0.3.6-r3
@@ -0,0 +1 @@
+MD5 47dadd37fe434c9e33443288119878a5 gocr-0.3.6.tar.gz 668653
diff --git a/app-text/gocr/files/digest-gocr-0.39 b/app-text/gocr/files/digest-gocr-0.39
new file mode 100644
index 000000000000..9c35170fb5a8
--- /dev/null
+++ b/app-text/gocr/files/digest-gocr-0.39
@@ -0,0 +1 @@
+MD5 35b024988af7d3ddb00971db4e6d53a1 gocr-0.39.tar.gz 720915
diff --git a/app-text/gocr/gocr-0.3.6-r3.ebuild b/app-text/gocr/gocr-0.3.6-r3.ebuild
new file mode 100644
index 000000000000..b08a96a60cfc
--- /dev/null
+++ b/app-text/gocr/gocr-0.3.6-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.3.6-r3.ebuild,v 1.1 2004/03/12 06:21:50 usata Exp $
+
+DESCRIPTION="Converts PNM to ASCII"
+SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz"
+HOMEPAGE="http://jocr.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+IUSE="doc"
+
+RDEPEND=">=media-libs/netpbm-9.12"
+DEPEND="${RDEPEND}
+ virtual/ghostscript
+ virtual/tetex
+ doc? ( >=media-gfx/transfig-3.2.3d-r1 )"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ cd ${S}
+ autoconf || die
+ cd ${S}/doc
+ cp Makefile.in Makefile.orig
+ sed -e "s:\$(DVIPS) \$?:\$(DVIPS) -o \$(OCRDOC).ps \$?:" \
+ Makefile.orig > Makefile.in
+ cd ../bin
+ mv gocr.tcl gocr.orig
+ sed -e "s:\.\./examples:/usr/share/gocr/fonts:" \
+ gocr.orig > gocr.tcl
+ cd ../src
+ cp database.c database.orig
+ sed -e "s:\./db/:${D}/usr/share/gocr/db/:" database.orig > database.c
+ cd ../examples
+ cp Makefile Makefile.orig
+ sed -e "s:polish.pbm man.pbm:polish.pbm:" Makefile.orig > Makefile
+}
+
+src_compile() {
+ addwrite "/usr/share/texmf/fonts/pk"
+ addwrite "/usr/share/texmf/ls-R"
+ econf || die
+ emake -j1 || die
+ emake -j1 src frontend database || die
+ if [ "`use doc`" ] ; then
+ emake -j1 examples || die
+ fi
+}
+
+src_install() {
+ addwrite "/usr/share/texmf"
+ make DESTDIR=${D} \
+ prefix=/usr \
+ exec_prefix=/usr \
+ mandir=/usr/share/man \
+ install || die
+}
diff --git a/app-text/gocr/gocr-0.39.ebuild b/app-text/gocr/gocr-0.39.ebuild
new file mode 100644
index 000000000000..659c0d789b5b
--- /dev/null
+++ b/app-text/gocr/gocr-0.39.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.39.ebuild,v 1.1 2004/03/12 06:21:50 usata Exp $
+
+DESCRIPTION="An OCR (Optical Character Recognition) reader"
+HOMEPAGE="http://jocr.sourceforge.net"
+SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz"
+LICENSE="GPL-2"
+
+IUSE="gtk doc"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND=">=media-libs/netpbm-10
+ doc? ( >=media-gfx/transfig-3.2 )
+ gtk? ( =x11-libs/gtk+-1* )"
+
+DOCS="AUTHORS BUGS CREDITS HISTORY INSTALL RE* TODO"
+
+src_unpack() {
+
+ unpack ${A}
+ # fix for erroneous Makefile in frontend/
+ cd ${S}/frontend
+ sed -i -e "s/configure/\.\/configure/" Makefile
+
+}
+
+src_compile() {
+
+ local mymakes="src man"
+
+ use gtk && mymakes="${mymakes} frontend"
+ use doc && mymakes="${mymakes} doc examples"
+
+ econf || die
+ make ${mymakes} || die
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die
+ # install the gtk frontend
+ use gtk && dobin ${S}/frontend/gnome/src/gtk-ocr
+ # 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}
+
+}