From: "Tomas Chvatal" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: media-libs/opencv/files/, media-libs/opencv/
Date: Fri, 29 Apr 2011 22:09:11 +0000 (UTC) [thread overview]
Message-ID: <dc9c3a25e2b4bf47299a13fb17a8570adb510244.scarabeus@gentoo> (raw)
commit: dc9c3a25e2b4bf47299a13fb17a8570adb510244
Author: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 22:08:05 2011 +0000
Commit: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 22:08:05 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=dc9c3a25
[media-libs/opencv] Still fails to link but now just on lapack :/
---
.../opencv/files/2.2.0-use_system_libs.patch | 16 ++++++++++++++--
media-libs/opencv/opencv-2.2.0.ebuild | 1 +
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/media-libs/opencv/files/2.2.0-use_system_libs.patch b/media-libs/opencv/files/2.2.0-use_system_libs.patch
index 5804fc3..9d5fb72 100644
--- a/media-libs/opencv/files/2.2.0-use_system_libs.patch
+++ b/media-libs/opencv/files/2.2.0-use_system_libs.patch
@@ -34,6 +34,18 @@ diff -urN OpenCV-2.2.0.old/modules/core/src/lapack.cpp OpenCV-2.2.0/modules/core
#endif
#undef abs
+diff -urN OpenCV-2.2.0.old/modules/haartraining/CMakeLists.txt OpenCV-2.2.0/modules/haartraining/CMakeLists.txt
+--- OpenCV-2.2.0.old/modules/haartraining/CMakeLists.txt 2010-12-05 04:35:24.000000000 +0100
++++ OpenCV-2.2.0/modules/haartraining/CMakeLists.txt 2011-04-29 23:43:17.000000000 +0200
+@@ -18,7 +18,7 @@
+ link_directories(${CMAKE_SOURCE_DIR}/lib ${CMAKE_SOURCE_DIR}/bin ${CMAKE_CURRENT_BINARY_DIR})
+ endif()
+
+-set(haartraining_libs opencv_core opencv_imgproc opencv_highgui opencv_objdetect opencv_calib3d opencv_haartraining_engine)
++set(haartraining_libs opencv_core opencv_imgproc opencv_highgui opencv_objdetect opencv_calib3d opencv_haartraining_engine ${FLANN_LIBRARIES} ${LAPACK_LIBRARIES})
+
+ link_libraries(${haartraining_libs})
+
diff -urN OpenCV-2.2.0.old/modules/highgui/CMakeLists.txt OpenCV-2.2.0/modules/highgui/CMakeLists.txt
--- OpenCV-2.2.0.old/modules/highgui/CMakeLists.txt 2010-12-05 04:35:24.000000000 +0100
+++ OpenCV-2.2.0/modules/highgui/CMakeLists.txt 2011-04-29 23:11:47.000000000 +0200
@@ -70,13 +82,13 @@ diff -urN OpenCV-2.2.0.old/modules/highgui/src/grfmt_png.cpp OpenCV-2.2.0/module
/****************************************************************************************\
diff -urN OpenCV-2.2.0.old/OpenCVModule.cmake OpenCV-2.2.0/OpenCVModule.cmake
--- OpenCV-2.2.0.old/OpenCVModule.cmake 2010-12-05 04:35:25.000000000 +0100
-+++ OpenCV-2.2.0/OpenCVModule.cmake 2011-04-29 23:34:22.000000000 +0200
++++ OpenCV-2.2.0/OpenCVModule.cmake 2011-04-29 23:43:42.000000000 +0200
@@ -57,7 +57,7 @@
)
# Add the required libraries for linking:
- target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${IPP_LIBS} ${ARGN})
-+ target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${IPP_LIBS} ${ARGN} ${FLANN_LIBRARIES} ${CLAPACK_LIBRARIES})
++ target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${IPP_LIBS} ${ARGN} ${FLANN_LIBRARIES} ${LAPACK_LIBRARIES})
if(MSVC)
if(CMAKE_CROSSCOMPILING)
diff --git a/media-libs/opencv/opencv-2.2.0.ebuild b/media-libs/opencv/opencv-2.2.0.ebuild
index 0a30fdb..2dd6260 100644
--- a/media-libs/opencv/opencv-2.2.0.ebuild
+++ b/media-libs/opencv/opencv-2.2.0.ebuild
@@ -25,6 +25,7 @@ RDEPEND="
sys-libs/zlib
sci-libs/clapack
sci-libs/flann
+ virtual/lapack
cuda? ( dev-util/nvidia-cuda-toolkit )
eigen? ( dev-cpp/eigen:2 )
ffmpeg? ( virtual/ffmpeg )
next reply other threads:[~2011-04-29 22:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 22:09 Tomas Chvatal [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-30 19:57 [gentoo-commits] proj/kde:master commit in: media-libs/opencv/files/, media-libs/opencv/ Andreas K. Huettel
2011-04-30 10:28 Tomas Chvatal
2011-04-30 9:59 Tomas Chvatal
2011-04-30 9:20 Tomas Chvatal
2011-04-29 21:43 Tomas Chvatal
2011-04-29 20:00 Tomas Chvatal
2011-04-29 19:39 Tomas Chvatal
2011-04-29 19:25 Tomas Chvatal
2011-04-29 19:08 Tomas Chvatal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dc9c3a25e2b4bf47299a13fb17a8570adb510244.scarabeus@gentoo \
--to=scarabeus@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox