Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438514 Details for
Bug 572836
media-libs/opencv-3.1.0 - /usr/lib64/libtesseract.so.3: undefined reference to `clBuildProgram'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
opencv-tesseract-test.patch
opencv-tesseract-test.patch (text/plain), 2.54 KB, created by
Adrian
on 2016-06-23 10:26:13 UTC
(
hide
)
Description:
opencv-tesseract-test.patch
Filename:
MIME Type:
Creator:
Adrian
Created:
2016-06-23 10:26:13 UTC
Size:
2.54 KB
patch
obsolete
>diff -Naur a/files/opencv_contrib-3.1.0-tesseract-opencl.patch b/files/opencv_contrib-3.1.0-tesseract-opencl.patch >--- a/files/opencv_contrib-3.1.0-tesseract-opencl.patch 1970-01-01 09:30:00.000000000 +0930 >+++ b/files/opencv_contrib-3.1.0-tesseract-opencl.patch 2016-06-23 19:17:35.110969055 +0930 >@@ -0,0 +1,23 @@ >+diff -Naur a/opencv_contrib-3.1.0/modules/text/CMakeLists.txt b/opencv_contrib-3.1.0/modules/text/CMakeLists.txt >+--- a/opencv_contrib-3.1.0/modules/text/CMakeLists.txt 2016-06-22 22:30:13.427798189 +0930 >++++ b/opencv_contrib-3.1.0/modules/text/CMakeLists.txt 2016-06-22 22:31:41.472796913 +0930 >+@@ -1,11 +1,13 @@ >+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) >+ >+-find_package(Tesseract) >+-if(Tesseract_FOUND) >+- message(STATUS "Tesseract: YES") >+- set(HAVE_TESSERACT 1) >+-else() >+- message(STATUS "Tesseract: NO") >++if (WITH_TESSERACT) >++ find_package(Tesseract) >++ if(Tesseract_FOUND) >++ message(STATUS "Tesseract: YES") >++ set(HAVE_TESSERACT 1) >++ else() >++ message(STATUS "Tesseract: NO") >++ endif() >+ endif() >+ >+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/text_config.hpp.in >diff -Naur a/opencv-3.1.0-r4.ebuild b/opencv-3.1.0-r4.ebuild >--- a/opencv-3.1.0-r4.ebuild 2016-06-23 19:17:06.984967765 +0930 >+++ b/opencv-3.1.0-r4.ebuild 2016-06-23 19:17:12.654968025 +0930 >@@ -22,7 +22,7 @@ > KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux" > IUSE="contrib cuda +eigen examples ffmpeg gdal gphoto2 gstreamer gtk \ > ieee1394 ipp jpeg jpeg2k libav opencl openexr opengl openmp pch png \ >- +python qt4 qt5 testprograms threads tiff vaapi v4l vtk webp xine" >+ +python qt4 qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine" > > REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) > ?? ( qt4 qt5 )" >@@ -76,6 +76,7 @@ > dev-qt/qtconcurrent:5 > opengl? ( dev-qt/qtopengl:5 ) > ) >+ tesseract? ( app-text/tesseract ) > threads? ( dev-cpp/tbb ) > tiff? ( media-libs/tiff:0 ) > v4l? ( >=media-libs/libv4l-0.8.3 ) >@@ -105,6 +106,10 @@ > src_prepare() { > default > >+ cd "${WORKDIR}/${PN}_contrib-${PV}" >+ epatch "${FILESDIR}"/${PN}_contrib-${PV}-tesseract-opencl.patch >+ cd "${S}" >+ > # remove bundled stuff > rm -rf 3rdparty || die "Removing 3rd party components failed" > sed -i \ >@@ -178,6 +183,7 @@ > -DWITH_VA_INTEL=$(usex vaapi ON OFF) > -DWITH_GDAL=$(usex gdal ON OFF) > -DWITH_GPHOTO2=$(usex gphoto2 ON OFF) >+ -DWITH_TESSERACT=$(usex tesseract ON OFF) > # =================================================== > # OpenCV build components > # ===================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 572836
:
423854
|
438450
|
438512
| 438514 |
438516