<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be72756feca04e878404afc3a06920dd8d6137e4">https://github.com/macports/macports-ports/commit/be72756feca04e878404afc3a06920dd8d6137e4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit be72756feca04e878404afc3a06920dd8d6137e4
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Feb 16 08:53:10 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> tesseract*: update version 3.05.02/3.04.00->4.0.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/58071
</span>---
textproc/tesseract/Portfile | 23 ++++++++++------------
.../tesseract/files/patch-fix-library-name.diff | 19 ------------------
.../patch-fix-mtree-violation-by-cmake-files.diff | 2 +-
3 files changed, 11 insertions(+), 33 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/tesseract/Portfile b/textproc/tesseract/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 36b0aff..f44d71f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/tesseract/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/tesseract/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,9 +6,9 @@ PortGroup github 1.0
</span> PortGroup cxx11 1.1
if {"tesseract" eq ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup tesseract-ocr tesseract 3.05.02
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup tesseract-ocr tesseract 4.0.0
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup tesseract-ocr tessdata 3.04.00
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup tesseract-ocr tessdata 4.0.0
</span> name tesseract
}
categories textproc graphics pdf
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,9 +27,9 @@ long_description The Tesseract OCR engine was one of the top 3 engines in \
</span> uncompressed TIFF images, or libtiff can be added to read \
compressed images.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 c31e95c288d9ecfa893bebe467dc5cc5f0edce5a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3571750
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 237576f9a616aaa013b7c80562d1c0cd8fd4af87 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2135162c4b306d9f13d07747058fd0f3406fea06d601503ced3cf99aad9899b9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1961991
</span>
if {${name} eq ${subport}} {
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,20 +49,17 @@ if {${name} eq ${subport}} {
</span> port:leptonica \
port:jpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-fix-library-name.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-fix-mtree-violation-by-cmake-files.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-fix-mtree-violation-by-cmake-files.diff
</span>
github.livecheck.regex {(\d\.\d+(\.\d+)?(?!-rc))}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- github.master_sites ${github.homepage}/archive/${git.branch}
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 1165490a13e17661bef325822f97bf50863aa34a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c54859b0ce38d05ade1ef8a5c0c8f3055e19353123044b65d1ba21a9e953f26c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 499088538
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 037e33f19787c2f08544bcde213eb202f73d9546 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1c36d1e521e6420ea9c8bf13d8a45f67d54fdcf6a132fa72370ae85464118b96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 669255785
</span>
use_configure no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/tesseract/files/patch-fix-library-name.diff b/textproc/tesseract/files/patch-fix-library-name.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0c5f132..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/tesseract/files/patch-fix-library-name.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-commit 52cac3a42ef2b823b9367b9ee2d1d84f8eda4ea0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Author: Clayton Walker <cwalker@sofi.org>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Tue Aug 29 15:14:13 2017 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Fix library being named liblibtesseract on non win32 platforms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 09e155ff..90aea1ee 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -227,6 +227,8 @@ set_target_properties (libtesseract PROPERTIES SOVERSION ${VERSION_MAJ
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set_target_properties (libtesseract PROPERTIES DEBUG_OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR}d)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (NOT CPPAN_BUILD)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/tesseract/files/patch-fix-mtree-violation-by-cmake-files.diff b/textproc/tesseract/files/patch-fix-mtree-violation-by-cmake-files.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 9744978..48ddd09 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/tesseract/files/patch-fix-mtree-violation-by-cmake-files.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/tesseract/files/patch-fix-mtree-violation-by-cmake-files.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@ diff --git CMakeLists.txt.orig CMakeLists.txt
</span> index 25ded3c..d7a2160 100644
--- CMakeLists.txt.orig
+++ CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -261,11 +261,11 @@ configure_file(tesseract.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/tesseract.pc @ONLY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -319,11 +319,11 @@ configure_file(tesseract.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/tesseract.pc @ONLY
</span> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tesseract.pc DESTINATION lib/pkgconfig)
install(TARGETS tesseract RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
install(TARGETS libtesseract EXPORT TesseractTargets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
</pre><pre style='margin:0'>
</pre>