aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2017-03-10 21:19:19 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2017-03-10 21:19:19 +0000
commitbbc9cc52140571bad191dcbe216d6c07bff7cf15 (patch)
tree92d47a7e5c15ef573310cde41aecea5b513837cb /graphics/tesseract
parent8843b309dd222210c2e9a028b3c0027339e83ecd (diff)
downloadports-bbc9cc52140571bad191dcbe216d6c07bff7cf15.tar.gz
ports-bbc9cc52140571bad191dcbe216d6c07bff7cf15.zip
- Update tesseract to 3.05.00
- Fix build when TOOLS option is disabled PR: 217587 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
Notes
Notes: svn path=/head/; revision=435843
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/Makefile11
-rw-r--r--graphics/tesseract/distinfo6
-rw-r--r--graphics/tesseract/files/patch-ccstruct_matrix.h11
-rw-r--r--graphics/tesseract/pkg-plist2
4 files changed, 9 insertions, 21 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 8a7feea81cb3..f137b05208c9 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -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="${LOCALBASE}/include/leptonica"
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
diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo
index a996ece8eddd..5be8232019d2 100644
--- a/graphics/tesseract/distinfo
+++ b/graphics/tesseract/distinfo
@@ -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
diff --git a/graphics/tesseract/files/patch-ccstruct_matrix.h b/graphics/tesseract/files/patch-ccstruct_matrix.h
deleted file mode 100644
index 67b186fa6f85..000000000000
--- a/graphics/tesseract/files/patch-ccstruct_matrix.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ccstruct/matrix.h.orig 2016-08-11 18:32:41 UTC
-+++ ccstruct/matrix.h
-@@ -30,7 +30,7 @@
-
- class BLOB_CHOICE_LIST;
-
--#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(NULL)
-+#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(0)
-
- // A generic class to hold a 2-D matrix with entries of type T, but can also
- // act as a base class for other implementations, such as a triangular or
diff --git a/graphics/tesseract/pkg-plist b/graphics/tesseract/pkg-plist
index 3b49a02c2298..837a053d4bd1 100644
--- a/graphics/tesseract/pkg-plist
+++ b/graphics/tesseract/pkg-plist
@@ -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