[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#634797: opencv 2.3 transition



Hi, all.

2012/1/11 Bernd Zeimetz <bzed@debian.org>:
> On 01/10/2012 08:40 PM, Julien Cristau wrote:
>> On Tue, Dec 20, 2011 at 17:42:04 +0100, Bernd Zeimetz wrote:
>>
>>> Hi,
>>>
>>>> I just upload.
>>>> Sorry, reply was late.
>>>
>>> I'm just wondering if you've tried to build the
>>> build-reverse-dependencies against the new library and/or if you've
>>> notified the maintainers of these packages (if so I've missed the mail
>>> and I can't find a mail on appropriate lists...). Most packages I know
>>> want to link -lcv, which is gone. Installing (the old!?) libcv-dev
>>> package depends on a lot of new opencv_* library-packages, byt the only
>>> pkg-config file I was able to find is in libopencv-core-dev and says
>>>
>>> Libs: -L${libdir} -lopencv_core -lopencv_imgproc -lopencv_highgui
>>> -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d
>>> -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
>>>
>>> which sounds like all libraries are necessary anyway and could have been
>>> packaged together????
>>>
>>> Please provide a proper migration guide (I would have expected some
>>> pointers in libcv-dev at least) and next time inform people earlier
>>> about transitions.
>>>
>> So apparently this is still not resolved (or not completely?).  What's
>> going on here?
>
> Solved for gmic on Sunday - it doesn't use much from OpenCV luckily. Still
> wondering why there is no sane migration way, though...
>

Sorry about this.

Opencv is divided into some libraries.
These libraries are divided for every function.
However, the pkg-config file of opencv has a form depending on all the
libraries,
and developer and user may demand a library without necessity.
Therefore, Debian, package is divided for every library and the dependency
of a library is held according to the dependency of package.
Although this is already reported to upstream with the patch, it does
not apply yet[0].

It is necessary to put libopencv-dev into build dependency to use
opencv by pkg-config.
Moreover, each library can be specified when not using pkg-config.
Although I had described this information to README.Debian, since
information was old, I updated.

Best regards,
  Nobuhiro

[0]: https://code.ros.org/trac/opencv/ticket/332

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



Reply to: