Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168411030
D20887.id59563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D20887.id59563.diff
View Options
Index: graphics/tesseract/Makefile
===================================================================
--- graphics/tesseract/Makefile
+++ graphics/tesseract/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= tesseract
-PORTVERSION= 4.0.0
-PORTREVISION= 3
+PORTVERSION= 4.1.0
CATEGORIES= graphics
-MAINTAINER= pkubaj@anongoth.pl
+MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Commercial quality open source OCR engine
LICENSE= APACHE20
Index: graphics/tesseract/distinfo
===================================================================
--- graphics/tesseract/distinfo
+++ graphics/tesseract/distinfo
@@ -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
Index: graphics/tesseract/files/patch-configure.ac
===================================================================
--- graphics/tesseract/files/patch-configure.ac
+++ graphics/tesseract/files/patch-configure.ac
@@ -3,16 +3,15 @@
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
-
+
# ----------------------------------------
Index: graphics/tesseract/files/patch-doc_Makefile.am
===================================================================
--- graphics/tesseract/files/patch-doc_Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
---- doc/Makefile.am.orig 2019-03-28 05:11:18 UTC
-+++ doc/Makefile.am
-@@ -36,7 +36,11 @@ EXTRA_DIST = $(man_MANS) Doxyfile
- html: $(patsubst %,%.html,$(man_MANS))
-
- %: %.asc
-- $(asciidoc) -o $@ $<
-+ $(asciidoc) $<
-+ $(asciidoc) -b docbook $<
-+ %%LOCALBASE%%/bin/xsltproc --nonet --param man.charmap.use.subset "0" \
-+ %%LOCALBASE%%/share/xsl/docbook/manpages/docbook.xsl \
-+ $@.xml
-
- %.html: %.asc
- asciidoc -b html5 -o $@ $<
Index: graphics/tesseract/files/patch-src_ccutil_ocrclass.h
===================================================================
--- /dev/null
+++ graphics/tesseract/files/patch-src_ccutil_ocrclass.h
@@ -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
Index: graphics/tesseract/pkg-plist
===================================================================
--- graphics/tesseract/pkg-plist
+++ graphics/tesseract/pkg-plist
@@ -22,7 +22,6 @@
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 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 29, 3:19 AM (14 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37461726
Default Alt Text
D20887.id59563.diff (3 KB)
Attached To
Mode
D20887: graphics/tesseract: update to 4.1
Attached
Detach File
Event Timeline
Log In to Comment