Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310969 - media-libs/opencv bundles a copy of LAPACK
Summary: media-libs/opencv bundles a copy of LAPACK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2010-03-23 19:11 UTC by Gottfried Munda
Modified: 2011-04-30 09:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against OpenCV-2.0.0 to use system LAPACK (opencv-2.0.0-lapack.patch,23.12 KB, patch)
2010-03-23 19:16 UTC, Gottfried Munda
Details | Diff
ebuild to incorporate the lapack patch (opencv-2.0.0-r2.ebuild,2.37 KB, text/plain)
2010-03-29 15:49 UTC, Gottfried Munda
Details

Note You need to log in before you can comment on or make changes to this bug.
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.