svn commit: r506495 - in head/graphics/tesseract: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jul 12 23:19:55 UTC 2019
Author: pkubaj
Date: Fri Jul 12 23:19:53 2019
New Revision: 506495
URL: https://svnweb.freebsd.org/changeset/ports/506495
Log:
graphics/tesseract: update to 4.1.0, change maintainer address, remove double USES=compiler
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D20887
Added:
head/graphics/tesseract/files/patch-src_ccutil_ocrclass.h (contents, props changed)
Deleted:
head/graphics/tesseract/files/patch-doc_Makefile.am
Modified:
head/graphics/tesseract/Makefile
head/graphics/tesseract/distinfo
head/graphics/tesseract/files/patch-configure.ac
head/graphics/tesseract/pkg-plist
Modified: head/graphics/tesseract/Makefile
==============================================================================
--- head/graphics/tesseract/Makefile Fri Jul 12 22:21:31 2019 (r506494)
+++ head/graphics/tesseract/Makefile Fri Jul 12 23:19:53 2019 (r506495)
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= tesseract
-PORTVERSION= 4.0.0
-PORTREVISION= 3
+PORTVERSION= 4.1.0
CATEGORIES= graphics
-MAINTAINER= pkubaj at anongoth.pl
+MAINTAINER= pkubaj at FreeBSD.org
COMMENT= Commercial quality open source OCR engine
LICENSE= APACHE20
@@ -49,7 +48,6 @@ OPENMP_LIB_DEPENDS=libomp.so:devel/openmp
TOOLS_DESC= Include training tools
TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \
libfontconfig.so:x11-fonts/fontconfig
-TOOLS_USES= compiler:c++11-lib
TOOLS_USE= GNOME=cairo,glib20,pango
post-patch:
Modified: head/graphics/tesseract/distinfo
==============================================================================
--- head/graphics/tesseract/distinfo Fri Jul 12 22:21:31 2019 (r506494)
+++ head/graphics/tesseract/distinfo Fri Jul 12 23:19:53 2019 (r506495)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1544717557
-SHA256 (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = a1f5422ca49a32e5f35c54dee5112b11b99928fc9f4ee6695cdc6768d69f61dd
-SIZE (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = 1961372
+TIMESTAMP = 1562588745
+SHA256 (tesseract-ocr-tesseract-4.1.0_GH0.tar.gz) = 5c5ed5f1a76888dc57a83704f24ae02f8319849f5c4cf19d254296978a1a1961
+SIZE (tesseract-ocr-tesseract-4.1.0_GH0.tar.gz) = 1965053
Modified: head/graphics/tesseract/files/patch-configure.ac
==============================================================================
--- head/graphics/tesseract/files/patch-configure.ac Fri Jul 12 22:21:31 2019 (r506494)
+++ head/graphics/tesseract/files/patch-configure.ac Fri Jul 12 23:19:53 2019 (r506495)
@@ -3,16 +3,15 @@ libpthread. Look for a symbol that causes us to load i
libtesseract.so is not linked against libomp if openmp is enabled,
which makes dependent ports fail. This adds a workaround by linking
directly against libomp.
---- configure.ac.orig 2019-03-26 21:58:42 UTC
+--- configure.ac.orig 2019-07-07 12:34:08 UTC
+++ configure.ac
-@@ -375,6 +375,10 @@ CXXFLAGS="$OLD_CXXFLAGS"
+@@ -372,6 +372,9 @@ esac
# ----------------------------------------
- AC_SEARCH_LIBS([sem_init], [pthread rt])
-+AC_SEARCH_LIBS([pthread_create], [pthread])
+ AC_SEARCH_LIBS([pthread_create], [pthread])
+if test "$enable_openmp" != no; then
+ AC_SEARCH_LIBS([omp_get_thread_num ], [omp])
+fi
-
+
# ----------------------------------------
Added: head/graphics/tesseract/files/patch-src_ccutil_ocrclass.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/tesseract/files/patch-src_ccutil_ocrclass.h Fri Jul 12 23:19:53 2019 (r506495)
@@ -0,0 +1,10 @@
+--- src/ccutil/ocrclass.h.orig 2019-07-08 13:00:14 UTC
++++ src/ccutil/ocrclass.h
+@@ -31,6 +31,7 @@
+ #ifdef _WIN32
+ #include <winsock2.h> // for timeval
+ #endif
++#include <sys/time.h>
+
+ /**********************************************************************
+ * EANYCODE_CHAR
Modified: head/graphics/tesseract/pkg-plist
==============================================================================
--- head/graphics/tesseract/pkg-plist Fri Jul 12 22:21:31 2019 (r506494)
+++ head/graphics/tesseract/pkg-plist Fri Jul 12 23:19:53 2019 (r506495)
@@ -22,7 +22,6 @@ include/tesseract/baseapi.h
include/tesseract/capi.h
include/tesseract/genericvector.h
include/tesseract/helpers.h
-include/tesseract/host.h
include/tesseract/ltrresultiterator.h
include/tesseract/ocrclass.h
include/tesseract/osdetect.h
@@ -40,7 +39,7 @@ include/tesseract/unichar.h
lib/libtesseract.a
lib/libtesseract.so
lib/libtesseract.so.4
-lib/libtesseract.so.4.0.0
+lib/libtesseract.so.4.0.1
libdata/pkgconfig/tesseract.pc
man/man1/ambiguous_words.1.gz
man/man1/classifier_tester.1.gz
More information about the svn-ports-head
mailing list