From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 12 14:10:17 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D0E116A4D3 for ; Wed, 12 Nov 2003 14:10:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61EB743FE0 for ; Wed, 12 Nov 2003 14:10:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hACMACFY022342 for ; Wed, 12 Nov 2003 14:10:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hACMAC4C022341; Wed, 12 Nov 2003 14:10:12 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 12 Nov 2003 14:10:12 -0800 (PST) Resent-Message-Id: <200311122210.hACMAC4C022341@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5436716A4D1 for ; Wed, 12 Nov 2003 14:05:20 -0800 (PST) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7832E43FDD for ; Wed, 12 Nov 2003 14:05:18 -0800 (PST) (envelope-from q@uni.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id 114027472C for ; Wed, 12 Nov 2003 23:05:17 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id C24C71CF59 for ; Wed, 12 Nov 2003 23:05:16 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 9CD231CF4B for ; Wed, 12 Nov 2003 23:05:16 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by mailmaster.uni-wuerzburg.de (Postfix) with SMTP id 8B6F969DDF for ; Wed, 12 Nov 2003 23:05:16 +0100 (CET) Received: (qmail 23591 invoked from network); 12 Nov 2003 22:05:16 -0000 Received: from gb-21-237.galgenberg.net (HELO coyote.q.local) (172.16.21.237) by frodo.galgenberg.net with SMTP; 12 Nov 2003 22:05:16 -0000 Received: from roadrunner.q.local (roadrunner [192.168.0.147]) by coyote.q.local (8.12.9p2/8.12.9) with ESMTP id hACM5FNv002974 for ; Wed, 12 Nov 2003 23:05:16 +0100 (CET) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.12.9/8.12.9) with ESMTP id hACM5Fin007297 for ; Wed, 12 Nov 2003 23:05:15 +0100 (CET) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.12.9/8.12.9/Submit) id hACM5ETA007296; Wed, 12 Nov 2003 23:05:14 +0100 (CET) (envelope-from q) Message-Id: <200311122205.hACM5ETA007296@roadrunner.q.local> Date: Wed, 12 Nov 2003 23:05:14 +0100 (CET) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/59232: [NEW PORT] graphics/ocrad: OCR program implemented as filter, based on feature extraction method X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 22:10:17 -0000 >Number: 59232 >Category: ports >Synopsis: [NEW PORT] graphics/ocrad: OCR program implemented as filter, based on feature extraction method >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 12 14:10:11 PST 2003 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD roadrunner 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #1: Sat Sep 27 20:33:30 CEST 2003 >Description: GNU Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. It can be used as a stand-alone console application, or as a backend to other programs. WWW: http://www.gnu.org/software/ocrad/ocrad.html Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- ocrad-0.5.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ocrad # ocrad/Makefile # ocrad/distinfo # ocrad/files # ocrad/files/patch-configure # ocrad/files/patch-main.cc # ocrad/pkg-descr # ocrad/pkg-plist # echo c - ocrad mkdir -p ocrad > /dev/null 2>&1 echo x - ocrad/Makefile sed 's/^X//' >ocrad/Makefile << 'END-of-ocrad/Makefile' X# New ports collection makefile for: graphics/ocrad X# Date created: 12.11.2003 X# Whom: Ulrich Spoerlein X# X# $FreeBSD$ X# X XPORTNAME= ocrad XPORTVERSION= 0.5 XCATEGORIES= graphics XMASTER_SITES= ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= q@uni.de XCOMMENT= OCR program implemented as filter, based on feature extraction method X XUSE_BZIP2= yes XHAS_CONFIGURE= yes X XCONFIGURE_ARGS= --prefix=${PREFIX} X XINFO= ocrad X X.include END-of-ocrad/Makefile echo x - ocrad/distinfo sed 's/^X//' >ocrad/distinfo << 'END-of-ocrad/distinfo' XMD5 (ocrad-0.5.tar.bz2) = 75bdfda680ddeede5dafa523a16c7191 END-of-ocrad/distinfo echo c - ocrad/files mkdir -p ocrad/files > /dev/null 2>&1 echo x - ocrad/files/patch-configure sed 's/^X//' >ocrad/files/patch-configure << 'END-of-ocrad/files/patch-configure' X--- configure.orig Mon Aug 25 00:07:09 2003 X+++ configure Wed Nov 12 22:50:24 2003 X@@ -13,7 +13,7 @@ X while true ; do X X # Break out if there are no more args X- if [ $# == 0 ]; then break ; fi X+ if [ $# = 0 ]; then break ; fi X X # Get the first arg, and shuffle X option=$1 X@@ -48,7 +48,7 @@ X X # Find the source files, if location was not specified. X srcdirtext= X-if [ x${srcdir} == x ]; then X+if [ x${srcdir} = x ]; then X srcdirtext="or . or .." ; srcdir=. X if [ ! -r ${srcdir}/${srctrigger} ] ; then srcdir=.. ; fi X if [ ! -r ${srcdir}/${srctrigger} ] ; then X@@ -65,7 +65,7 @@ X fi X X # Set srcdir to . if that's what it is. X-if [ $(pwd) == $(cd ${srcdir} ; pwd) ] ; then srcdir=. ; fi X+if [ $(pwd) = $(cd ${srcdir} ; pwd) ] ; then srcdir=. ; fi X X # write variables to config file. X rm -f Makefile END-of-ocrad/files/patch-configure echo x - ocrad/files/patch-main.cc sed 's/^X//' >ocrad/files/patch-main.cc << 'END-of-ocrad/files/patch-main.cc' X--- main.cc.orig Sat Oct 18 01:27:29 2003 X+++ main.cc Wed Nov 12 22:43:12 2003 X@@ -28,6 +28,7 @@ X #include X #include X #include X+#include X #include "common.h" X #include "rectangle.h" X #include "bitmap.h" END-of-ocrad/files/patch-main.cc echo x - ocrad/pkg-descr sed 's/^X//' >ocrad/pkg-descr << 'END-of-ocrad/pkg-descr' XGNU Ocrad is an OCR (Optical Character Recognition) program implemented Xas a filter and based on a feature extraction method. It reads a bitmap Ximage in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. XAlso includes a layout analyser able to separate the columns or blocks Xof text normally found on printed pages. XIt can be used as a stand-alone console application, or as a backend to Xother programs. X XWWW: http://www.gnu.org/software/ocrad/ocrad.html END-of-ocrad/pkg-descr echo x - ocrad/pkg-plist sed 's/^X//' >ocrad/pkg-plist << 'END-of-ocrad/pkg-plist' Xbin/ocrad END-of-ocrad/pkg-plist exit --- ocrad-0.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: