Bug#989958: libopencv-*-dev: Missing pkg-config file (.pc)

Alejandro Colomar (man-pages) alx.manpages at gmail.com
Mon Jul 26 11:26:12 BST 2021


Hi Nicolas,

I'm adding you to this thread, as you commented on opencv's thread about
pkg-config files.

I'd like to know if you forked opencv's .pc file and are maintaining it,
or if you just renamed it to opencv.pc, or what you decided to do at all.

I've had a lot of problems with their .pc file.  The last one being that
it uses -I instead of -isystem so I have a lot of warnings from their code.

I'd like to patch opencv with a correct pc file, but they want it
autogenerated and I don't know cmake...  So I'm considering all options
available.

Thanks,

Alex

On 7/25/21 11:31 PM, Jochen Sprickerhof wrote:
> * Alejandro Colomar (man-pages) <alx.manpages at gmail.com> [2021-07-25
> 21:38]:
>>> I think that would be to big of a patch.
>>
>> Yes.  What is Fedora doing?  Do you know?
> 
> They provide a opencv.pc:
> 
> https://fedora.pkgs.org/rawhide/fedora-x86_64/opencv-devel-4.5.3-1.fc35.x86_64.rpm.html
> 
> 
> The opencv4.pc is a symbolic link:
> 
> https://src.fedoraproject.org/rpms/opencv/blob/rawhide/f/opencv.spec#_350
> 
> Cheers Jochen

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



More information about the debian-science-maintainers mailing list