<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/59f9d9c9e3988a5b287f44d8b2149641d205cfe5">https://github.com/macports/macports-ports/commit/59f9d9c9e3988a5b287f44d8b2149641d205cfe5</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 59f9d9c tesseract: use C++11; fix mtree violation, lib name
</span>59f9d9c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 59f9d9c9e3988a5b287f44d8b2149641d205cfe5
</span>Author: Davide Liessi <davide.liessi@gmail.com>
AuthorDate: Sun Jul 29 14:21:08 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> tesseract: use C++11; fix mtree violation, lib name
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patchfile patch-fix-library-name.diff is commit
</span><span style='display:block; white-space:pre;color:#404040;'> 52cac3a42ef2b823b9367b9ee2d1d84f8eda4ea0
</span><span style='display:block; white-space:pre;color:#404040;'> from https://github.com/tesseract-ocr/tesseract
</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/56059
</span>---
textproc/tesseract/Portfile | 5 +++++
textproc/tesseract/files/patch-fix-library-name.diff | 19 +++++++++++++++++++
.../patch-fix-mtree-violation-by-cmake-files.diff | 18 ++++++++++++++++++
3 files changed, 42 insertions(+)
<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 f457e0ef..df71b8a 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;'>@@ -4,8 +4,10 @@ PortSystem 1.0
</span>
PortGroup github 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
github.setup tesseract-ocr tesseract 3.05.01
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories textproc graphics pdf
platforms darwin
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +39,9 @@ if {${name} eq ${subport}} {
</span>
cmake.out_of_source yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-fix-library-name.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-mtree-violation-by-cmake-files.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.regex "/tag/(\[\.0-9\]+\[-a-z\]*)"
} else {
revision 1
<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>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0c5f132
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/tesseract/files/patch-fix-library-name.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+commit 52cac3a42ef2b823b9367b9ee2d1d84f8eda4ea0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Author: Clayton Walker <cwalker@sofi.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue Aug 29 15:14:13 2017 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Fix library being named liblibtesseract on non win32 platforms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 09e155ff..90aea1ee 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -227,6 +227,8 @@ set_target_properties (libtesseract PROPERTIES SOVERSION ${VERSION_MAJ
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties (libtesseract PROPERTIES DEBUG_OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR}d)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 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>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9744978
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</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;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git CMakeLists.txt.orig CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 25ded3c..d7a2160 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -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;'>+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tesseract.pc DESTINATION lib/pkgconfig)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(TARGETS tesseract RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(TARGETS libtesseract EXPORT TesseractTargets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-install(EXPORT TesseractTargets DESTINATION cmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++install(EXPORT TesseractTargets DESTINATION lib/cmake/tesseract)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(FILES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_BINARY_DIR}/TesseractConfig.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_BINARY_DIR}/TesseractConfig-version.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- DESTINATION cmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ DESTINATION lib/cmake/tesseract)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(FILES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # from api/makefile.am
</span></pre><pre style='margin:0'>
</pre>