FreeBSD Bugzilla – Attachment 37140 Details for
Bug 59232
[NEW PORT] graphics/ocrad: OCR program implemented as filter, based on feature extraction method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ocrad-0.5.shar
ocrad-0.5.shar (text/plain), 3.29 KB, created by
Ulrich Spoerlein
on 2003-11-12 22:10:11 UTC
(
hide
)
Description:
ocrad-0.5.shar
Filename:
MIME Type:
Creator:
Ulrich Spoerlein
Created:
2003-11-12 22:10:11 UTC
Size:
3.29 KB
patch
obsolete
># 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 <q@uni.de> >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 <bsd.port.mk> >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 <cstring> >X #include <vector> >X #include <getopt.h> >X+#include <libgen.h> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 59232
: 37140