Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310969

Summary: media-libs/opencv bundles a copy of LAPACK
Product: Gentoo Linux Reporter: Gottfried Munda <phaidros>
Component: New packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against OpenCV-2.0.0 to use system LAPACK
ebuild to incorporate the lapack patch

Description Gottfried Munda 2010-03-23 19:11:24 UTC
OpenCV-2.0.0 bundles a copy of LAPACK (3rdparty/lapack)
Attached is a modified patch based on the patch by Anuraag Agrawal [1] to use system LAPACK. Building/Linking of bundled/system LAPACK is controlled through the cmake variable BUILD_LAPACK, which is on by default to maintain current bahviour.

Maybe someone can work this into the ebuild, unfortunately I'm not familiar with writing ebuilds at all.

best regards,
gottfried

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2778556&group_id=22870&atid=376679

Reproducible: Always
Comment 1 Gottfried Munda 2010-03-23 19:16:43 UTC
Created attachment 224933 [details, diff]
patch against OpenCV-2.0.0 to use system LAPACK
Comment 2 Gottfried Munda 2010-03-29 15:48:21 UTC
I modified the ebuild to incorporate the patch, it works fine in my local overlay. The useflag bundled-lapack controls building/linking of bundled/system LAPACK. It is set on by default w.r.t. upstream.

Maybe i can also fix the issue with bundled zlib
http://bugs.gentoo.org/show_bug.cgi?id=296683
it seems a quite similar problem.

best regards
gottfried
Comment 3 Gottfried Munda 2010-03-29 15:49:26 UTC
Created attachment 225667 [details]
ebuild to incorporate the lapack patch

Added useflag bundled-lapack, set on by default
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-30 09:54:06 UTC
Fixed in 2.2.0 in kde overlay. Will be moved to main tree soon.