Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2009 19:55:34 GMT
From:      Jille Timmermans <jille@quis.cx>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133497: [UPDATE] graphics/tesseract -> 2.03
Message-ID:  <200904081955.n38JtY4I099263@www.freebsd.org>
Resent-Message-ID: <200904082000.n38K0Amn059303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133497
>Category:       ports
>Synopsis:       [UPDATE] graphics/tesseract -> 2.03
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 20:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jille Timmermans
>Release:        7.1-STABLE
>Organization:
>Environment:

>Description:
Updates tesseract from 2.01 to 2.03

* Removes an unnecessary run-depend for xterm
* Removes an patch that didn't cause compile errors (neither 2.01 nor 2.03)
* Adds an patch to fix an compile error (missing <netinet/in.h>)
* Updates the Makefile and distfile
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN tesseract/Makefile tesseract-2.03/Makefile
--- tesseract/Makefile	2008-09-07 06:07:05.000000000 +0200
+++ tesseract-2.03/Makefile	2009-04-08 21:35:46.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	tesseract
-DISTVERSION=	2.01
+DISTVERSION=	2.03
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} CENKES
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${LANGFILES}
@@ -15,7 +15,6 @@
 COMMENT=	Commercial quality open source OCR engine
 
 LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff
-RUN_DEPENDS=	xterm:${PORTSDIR}/x11/xterm
 
 PROJECTHOST=	tesseract-ocr
 LANGS=	deu eng fra ita nld spa
diff -ruN tesseract/distinfo tesseract-2.03/distinfo
--- tesseract/distinfo	2007-10-29 21:33:54.000000000 +0100
+++ tesseract-2.03/distinfo	2009-04-08 21:24:53.000000000 +0200
@@ -1,6 +1,6 @@
-MD5 (tesseract-2.01.tar.gz) = fb0e6e7652b985049c11a4bc8e593885
-SHA256 (tesseract-2.01.tar.gz) = d6568b6080590ca7299a697ef8f87505232884c5dfe066d241ebca9f59a64154
-SIZE (tesseract-2.01.tar.gz) = 1050770
+MD5 (tesseract-2.03.tar.gz) = 5777b70b11df16c1ac9aa155d7cfc553
+SHA256 (tesseract-2.03.tar.gz) = f39097176b0b0ac83312b5994970d15283ad0e036bc174d98b87500f572acaae
+SIZE (tesseract-2.03.tar.gz) = 1075509
 MD5 (tesseract-2.00.deu.tar.gz) = 609d91b1ae3759a756b819b5d8403653
 SHA256 (tesseract-2.00.deu.tar.gz) = 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404
 SIZE (tesseract-2.00.deu.tar.gz) = 1373777
diff -ruN tesseract/files/patch-cutil__tordvars.h tesseract-2.03/files/patch-cutil__tordvars.h
--- tesseract/files/patch-cutil__tordvars.h	2007-07-18 14:59:54.000000000 +0200
+++ tesseract-2.03/files/patch-cutil__tordvars.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- ./cutil/tordvars.h.orig	2007-05-17 01:33:53.000000000 +0400
-+++ ./cutil/tordvars.h	2007-07-18 15:54:41.000000000 +0400
-@@ -45,8 +45,8 @@
- extern int similarity_debug;                /* Level of debug output */
- extern int write_raw_output;                /* Text before context */
- extern int write_output;                    /* Text file output */
--//extern "C" { extern int display_ratings; }  /* Show the ratings */
--extern int display_ratings;                 /* Show the ratings */
-+extern "C" { extern int display_ratings; }  /* Show the ratings */
-+//extern int display_ratings;                 /* Show the ratings */
- extern int show_bold;                       /* Use bold text */
- extern int display_text;                    /* Show word text */
- extern int display_blocks;                  /* Show word as boxes */
diff -ruN tesseract/files/patch-viewer__svnutil.cpp tesseract-2.03/files/patch-viewer__svnutil.cpp
--- tesseract/files/patch-viewer__svnutil.cpp	1970-01-01 01:00:00.000000000 +0100
+++ tesseract-2.03/files/patch-viewer__svnutil.cpp	2009-04-08 21:33:35.000000000 +0200
@@ -0,0 +1,10 @@
+--- viewer/svutil.cpp	2009-04-08 21:30:29.000000000 +0200
++++ viewer/svutil.cpp	2009-04-08 21:31:07.000000000 +0200
+@@ -34,6 +34,7 @@
+ #ifdef __linux__
+ #include <sys/prctl.h>
+ #endif
++#include <netinet/in.h>
+ #endif
+ 
+ #include <iostream>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904081955.n38JtY4I099263>