aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-03-27 20:28:05 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-03-27 20:28:05 +0000
commit0cf96364416dcef83cae87f9488162db58b66aee (patch)
tree7d77de839e59513099fc8b9e19c6b0269e8adb41 /graphics/tesseract
parent5742a6d17bbb3dcab14726f4e474695f77b06be4 (diff)
downloadports-0cf96364416dcef83cae87f9488162db58b66aee.tar.gz
ports-0cf96364416dcef83cae87f9488162db58b66aee.zip
graphics/tesseract: Update to 4.0.0
Changelog: https://github.com/tesseract-ocr/tesseract/wiki/ReleaseNotes#tesseract-release-notes-oct-29-2018---v400 - due to an issue with the build system the man pages are missing -- this will be corrected at a later stage. - bump revisions of dependencies due to shlib-version change. PR: 234285 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
Notes
Notes: svn path=/head/; revision=496977
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/Makefile16
-rw-r--r--graphics/tesseract/distinfo6
-rw-r--r--graphics/tesseract/pkg-plist31
3 files changed, 19 insertions, 34 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index e52e2e1bb815..52ddd90bb08c 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= tesseract
-PORTVERSION= 3.05.02
-PORTREVISION= 5
+PORTVERSION= 4.0.0
CATEGORIES= graphics
MAINTAINER= pkubaj@anongoth.pl
@@ -14,7 +13,8 @@ LICENSE= APACHE20
LIB_DEPENDS= liblept.so:graphics/leptonica
RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data
-USES= autoreconf compiler:c++11-lang localbase libtool pathfix pkgconfig
+USES= autoreconf compiler:c++11-lang gnome localbase libtool pathfix \
+ pkgconfig shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -26,10 +26,11 @@ CONFIGURE_ENV= LIBLEPT_HEADERSDIR="${LOCALBASE}/include/leptonica"
DATADIR= ${PREFIX}/share/tessdata
PORTDATA= *
PORTDOCS= AUTHORS ChangeLog README.md
-PORTEXAMPLES= eurotext.tif phototest.tif
INSTALL_TARGET= install-strip
+SHEBANG_FILES= src/training/language-specific.sh \
+ src/training/tesstrain.sh
-OPTIONS_DEFINE= DOCS EXAMPLES TOOLS
+OPTIONS_DEFINE= DOCS TOOLS
OPTIONS_DEFAULT=TOOLS
OPTIONS_SUB= yes
TOOLS_DESC= Include training tools
@@ -48,11 +49,6 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} testing/eurotext.tif \
- testing/phototest.tif ${STAGEDIR}${EXAMPLESDIR}
-
post-install-TOOLS-on:
@cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install
diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo
index af0523d42965..2336fcceaa79 100644
--- a/graphics/tesseract/distinfo
+++ b/graphics/tesseract/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1529694939
-SHA256 (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445
-SIZE (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 3571750
+TIMESTAMP = 1544717557
+SHA256 (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = a1f5422ca49a32e5f35c54dee5112b11b99928fc9f4ee6695cdc6768d69f61dd
+SIZE (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = 1961372
diff --git a/graphics/tesseract/pkg-plist b/graphics/tesseract/pkg-plist
index 837a053d4bd1..afead3d32e11 100644
--- a/graphics/tesseract/pkg-plist
+++ b/graphics/tesseract/pkg-plist
@@ -1,31 +1,32 @@
%%TOOLS%%bin/ambiguous_words
%%TOOLS%%bin/classifier_tester
%%TOOLS%%bin/cntraining
+%%TOOLS%%bin/combine_lang_model
%%TOOLS%%bin/combine_tessdata
%%TOOLS%%bin/dawg2wordlist
+%%TOOLS%%bin/language-specific.sh
+%%TOOLS%%bin/lstmtraining
+%%TOOLS%%bin/lstmeval
+%%TOOLS%%bin/merge_unicharsets
%%TOOLS%%bin/mftraining
%%TOOLS%%bin/set_unicharset_properties
%%TOOLS%%bin/shapeclustering
bin/tesseract
+%%TOOLS%%bin/tesstrain.sh
+%%TOOLS%%bin/tesstrain_utils.sh
%%TOOLS%%bin/text2image
%%TOOLS%%bin/unicharset_extractor
%%TOOLS%%bin/wordlist2dawg
include/tesseract/apitypes.h
include/tesseract/baseapi.h
-include/tesseract/basedir.h
include/tesseract/capi.h
-include/tesseract/errcode.h
-include/tesseract/fileerr.h
include/tesseract/genericvector.h
include/tesseract/helpers.h
include/tesseract/host.h
include/tesseract/ltrresultiterator.h
-include/tesseract/memry.h
-include/tesseract/ndminx.h
include/tesseract/ocrclass.h
include/tesseract/osdetect.h
include/tesseract/pageiterator.h
-include/tesseract/params.h
include/tesseract/platform.h
include/tesseract/publictypes.h
include/tesseract/renderer.h
@@ -33,23 +34,11 @@ include/tesseract/resultiterator.h
include/tesseract/serialis.h
include/tesseract/strngs.h
include/tesseract/tesscallback.h
+include/tesseract/tess_version.h
include/tesseract/thresholder.h
include/tesseract/unichar.h
-include/tesseract/unicharmap.h
-include/tesseract/unicharset.h
lib/libtesseract.a
lib/libtesseract.so
-lib/libtesseract.so.3
-lib/libtesseract.so.3.0.5
+lib/libtesseract.so.4
+lib/libtesseract.so.4.0.0
libdata/pkgconfig/tesseract.pc
-man/man1/ambiguous_words.1.gz
-man/man1/cntraining.1.gz
-man/man1/combine_tessdata.1.gz
-man/man1/dawg2wordlist.1.gz
-man/man1/mftraining.1.gz
-man/man1/shapeclustering.1.gz
-man/man1/tesseract.1.gz
-man/man1/unicharset_extractor.1.gz
-man/man1/wordlist2dawg.1.gz
-man/man5/unicharambigs.5.gz
-man/man5/unicharset.5.gz