Bug 627359 - excluding OpenCVConfig.cmake ?
Summary: excluding OpenCVConfig.cmake ?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rakesh Pandit
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 19:49 UTC by Rex Dieter
Modified: 2011-10-31 17:07 UTC (History)
6 users (show)

Fixed In Version: opencv-2.1.0-5.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-04 05:15:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 658060 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 658060

Description Rex Dieter 2010-08-25 19:49:54 UTC
In f14+, opencv.spec contains

#This file is wrong - not redistributed
rm -rf $RPM_BUILD_ROOT%{_datadir}/opencv/OpenCVConfig.cmake

Why?

kipi-plugins expects it to be there to build, using cmake macros
INCLUDE(MacroOptionalFindPackage)
MACRO_OPTIONAL_FIND_PACKAGE(OpenCV)

without it, kipi-plugin's removeredeye plugin can't be built.

Comment 1 Nicolas Chauvet (kwizart) 2010-08-25 19:56:05 UTC
use pkg-config , it's not broken or propose a fix that fit our multilibs criteria

Comment 2 Rex Dieter 2010-08-25 20:03:32 UTC
Is the implication that OpenCVConfig.cmake is broken somehow wrt multilib?

Comment 3 Rex Dieter 2010-08-25 20:05:28 UTC
I see, it contains, 
LINK_DIRECTORIES("/usr/lib64")

Comment 4 Rex Dieter 2010-08-25 20:10:17 UTC
I think an acceptable fix would be to simply move it

from:  %{_datadir}/opencv/OpenCVConfig.cmake
to:    %{_libdir}/opencv/OpenCVConfig.cmake

Comment 5 Rex Dieter 2010-08-25 20:14:27 UTC
or even in
%{_libdir}/cmake/opencv/ 

too, which is where some kde-oriented packages put <foo>Config.cmake files

Comment 6 Rex Dieter 2010-08-25 20:27:02 UTC
Seems this latter location is preferable, see also,
http://mail.kde.org/pipermail/kde-buildsystem/2010-April/006852.html

If this is acceptable, I can help implement the fix(es).

Comment 7 Fedora Update System 2010-08-26 14:28:31 UTC
opencv-2.1.0-5.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/opencv-2.1.0-5.fc14

Comment 8 Fedora Update System 2010-08-26 18:38:55 UTC
opencv-2.1.0-5.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update opencv'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/opencv-2.1.0-5.fc14

Comment 9 Fedora Update System 2010-09-01 15:04:52 UTC
opencv-2.0.0-9.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/opencv-2.0.0-9.fc13

Comment 10 Fedora Update System 2010-09-02 20:38:29 UTC
opencv-2.0.0-9.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-09-04 05:14:58 UTC
opencv-2.1.0-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.