From owner-svn-ports-all@freebsd.org Tue Dec 18 20:27:21 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18061133E3B3; Tue, 18 Dec 2018 20:27:21 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from clavin1.langille.org (clavin1.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1D12868C9; Tue, 18 Dec 2018 20:27:20 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 52DF41FDEC ; Tue, 18 Dec 2018 20:27:11 +0000 (UTC) From: Dan Langille Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: svn commit: r487769 - in head/graphics: . p5-Image-OCR-Tesseract Date: Tue, 18 Dec 2018 15:27:10 -0500 References: <201812182018.wBIKI58m035404@repo.freebsd.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org In-Reply-To: <201812182018.wBIKI58m035404@repo.freebsd.org> Message-Id: <0B1691CD-182E-4B04-B001-5B6071C95A1D@FreeBSD.org> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: B1D12868C9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 20:27:21 -0000 > On Dec 18, 2018, at 3:18 PM, Dan Langille wrote: >=20 > Author: dvl > Date: Tue Dec 18 20:18:05 2018 > New Revision: 487769 > URL: https://svnweb.freebsd.org/changeset/ports/487769 >=20 > Log: > Add graphics/p5-Image-OCR-Tesseract >=20 > perform ocr on an image and output text to stdout >=20 > Added: > head/graphics/p5-Image-OCR-Tesseract/ > head/graphics/p5-Image-OCR-Tesseract/Makefile (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/distinfo (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/pkg-descr (contents, props = changed) > head/graphics/p5-Image-OCR-Tesseract/pkg-plist (contents, props = changed) > Modified: > head/graphics/Makefile >=20 > Modified: head/graphics/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/graphics/Makefile Tue Dec 18 20:12:33 2018 = (r487768) > +++ head/graphics/Makefile Tue Dec 18 20:18:05 2018 = (r487769) > @@ -763,6 +763,7 @@ > SUBDIR +=3D p5-Image-Math-Constrain > SUBDIR +=3D p5-Image-MetaData-GQview > SUBDIR +=3D p5-Image-MetaData-JPEG > + SUBDIR +=3D p5-Image-OCR-Tesseract > SUBDIR +=3D p5-Image-ObjectDetect > SUBDIR +=3D p5-Image-PBMlib > SUBDIR +=3D p5-Image-PNG-Libpng >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/Makefile Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,25 @@ > +# $FreeBSD$ > + > +PORTNAME=3D Image-OCR-Tesseract > +PORTVERSION=3D 1.24 > +CATEGORIES=3D graphics perl5 > +MASTER_SITES=3D CPAN > +MASTER_SITE_SUBDIR=3D CPAN:LEOCHARRE > +PKGNAMEPREFIX=3D p5- > + > +MAINTAINER=3D dvl@FreeBSD.org > +COMMENT=3D Read an image with Resseract OCR and get output > + > +LICENSE=3D GPLv3 > + > +MYDEPENDS=3D tesseract>0:graphics/tesseract \ > + ImageMagick6-nox11>0:graphics/ImageMagick6-nox11 That should be MY_DEPENDS. I will fix. Sorry. > +BUILD_DEPENDS=3D ${MY_DEPENDS} > +RUN_DEPENDS=3D ${MY_DEPENDS} > + > +USES=3D perl5 > +USE_PERL5=3D configure > + > +NO_ARCH=3D yes > + > +.include >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/distinfo > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/distinfo Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1545145985 > +SHA256 (Image-OCR-Tesseract-1.24.tar.gz) =3D = cd3428eb2aa9d12154bafbaa89e3d32f41a7b3c6c63884b80857643ca1431262 > +SIZE (Image-OCR-Tesseract-1.24.tar.gz) =3D 1468013 >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/pkg-descr > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/pkg-descr Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,17 @@ > +Provides a perl interface to tesseract. > + > +This is just an interface to make it quick an easy to get ocr output = from an > +image file. No matter what image type you provide, imagemagick = convert is > +called to turn it into the format for tesseract > + > +Also accepts any image input- takes care of converting your imput = image to a > +tiff to the required specs, without changing the original. > + > +Example usage: > + > +ocr ./image.jpg > ./savetext.txt > +ocr ./image.png > +ocr ./image1.jpg ./image2.jpg > ./alltext.txt > +ocr ./image*jpg > + > +WWW: https://metacpan.org/release/LEOCHARRE/Image-OCR-Tesseract-1.24 >=20 > Added: head/graphics/p5-Image-OCR-Tesseract/pkg-plist > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/graphics/p5-Image-OCR-Tesseract/pkg-plist Tue Dec 18 = 20:18:05 2018 (r487769) > @@ -0,0 +1,5 @@ > +bin/ocr > +%%SITE_PERL%%/Image/OCR/Tesseract.pm > +%%SITE_PERL%%/Image/OCR/Tesseract.pod > +%%PERL5_MAN1%%/ocr.1.gz > +%%PERL5_MAN3%%/Image::OCR::Tesseract.3.gz > _______________________________________________ > svn-ports-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-head > To unsubscribe, send any mail to = "svn-ports-head-unsubscribe@freebsd.org"