Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2017 21:19:19 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435843 - in head/graphics/tesseract: . files
Message-ID:  <201703102119.v2ALJJeR050152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Fri Mar 10 21:19:19 2017
New Revision: 435843
URL: https://svnweb.freebsd.org/changeset/ports/435843

Log:
  - Update tesseract to 3.05.00
  - Fix build when TOOLS option is disabled
  
  PR:		217587
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)

Deleted:
  head/graphics/tesseract/files/
Modified:
  head/graphics/tesseract/Makefile
  head/graphics/tesseract/distinfo
  head/graphics/tesseract/pkg-plist

Modified: head/graphics/tesseract/Makefile
==============================================================================
--- head/graphics/tesseract/Makefile	Fri Mar 10 21:09:05 2017	(r435842)
+++ head/graphics/tesseract/Makefile	Fri Mar 10 21:19:19 2017	(r435843)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tesseract
-PORTVERSION=	3.04.01
-PORTREVISION=	3
+PORTVERSION=	3.05.00
 CATEGORIES=	graphics
 
 MAINTAINER=	pkubaj@anongoth.pl
@@ -13,7 +12,7 @@ LICENSE=	APACHE20
 
 LIB_DEPENDS=	liblept.so:graphics/leptonica
 
-USES=		localbase libtool pathfix
+USES=		autoreconf localbase libtool pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
@@ -24,7 +23,7 @@ CONFIGURE_ENV=	LIBLEPT_HEADERSDIR="${LOC
 
 DATADIR=	${PREFIX}/share/tessdata
 PORTDATA=	*
-PORTDOCS=	AUTHORS ChangeLog README.md ReleaseNotes
+PORTDOCS=	AUTHORS ChangeLog README.md
 PORTEXAMPLES=	eurotext.tif phototest.tif
 INSTALL_TARGET=	install-strip
 
@@ -34,11 +33,11 @@ OPTIONS_SUB=	yes
 TOOLS_DESC=	Include training tools
 TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \
 		libfontconfig.so:x11-fonts/fontconfig
-TOOLS_USES=	compiler:c++11-lib pkgconfig
+TOOLS_USES=	compiler:c++11-lib
 TOOLS_USE=	GNOME=cairo,glib20,pango
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure.ac
 
 post-build-TOOLS-on:
 	@cd ${WRKSRC} && ${MAKE} training

Modified: head/graphics/tesseract/distinfo
==============================================================================
--- head/graphics/tesseract/distinfo	Fri Mar 10 21:09:05 2017	(r435842)
+++ head/graphics/tesseract/distinfo	Fri Mar 10 21:19:19 2017	(r435843)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470939746
-SHA256 (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a
-SIZE (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 2269105
+TIMESTAMP = 1488548040
+SHA256 (tesseract-ocr-tesseract-3.05.00_GH0.tar.gz) = 3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996
+SIZE (tesseract-ocr-tesseract-3.05.00_GH0.tar.gz) = 3581853

Modified: head/graphics/tesseract/pkg-plist
==============================================================================
--- head/graphics/tesseract/pkg-plist	Fri Mar 10 21:09:05 2017	(r435842)
+++ head/graphics/tesseract/pkg-plist	Fri Mar 10 21:19:19 2017	(r435843)
@@ -40,7 +40,7 @@ include/tesseract/unicharset.h
 lib/libtesseract.a
 lib/libtesseract.so
 lib/libtesseract.so.3
-lib/libtesseract.so.3.0.4
+lib/libtesseract.so.3.0.5
 libdata/pkgconfig/tesseract.pc
 man/man1/ambiguous_words.1.gz
 man/man1/cntraining.1.gz



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