Summary: | multimedia/ffmpeg dependency on opencv pulls the huge tesseract library and data | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ali Abdallah <ali.abdallah> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-multimedia (Nobody) <multimedia> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | freebsd, rhurlin, swills | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Ali Abdallah
2018-07-16 06:57:33 UTC
Better solution might be to change opencv-core so that it doesn't depend on tesseract. Since ffmpeg depends on opencv-core and not opencv, this might solve the large dependency problem and not change any functionality. I'm testing a patch for this now. Created attachment 195175 [details]
Patch to make opencv-core not depend on tesseract
Here's the patch I'm testing.
Created attachment 195208 [details]
updated patch to fix opencv-core LIB_DEPENDS
opencv-core only needs protobuf to build, so here's an updated version of the patch. Will commit this after some build tests finish.
Thanks very much for the quick fix! A commit references this bug: Author: swills Date: Wed Jul 18 12:53:36 UTC 2018 New revision: 474860 URL: https://svnweb.freebsd.org/changeset/ports/474860 Log: graphics/opencv-core: remove unneeded depends opencv-core only needs protobuf to build and doesn't need tesseract at all, so only add the LIB_DEPENDS when not building opencv-core PR: 229800 Reported by: Ali Abdallah <aliovx@gmail.com> Changes: head/graphics/opencv/Makefile head/graphics/opencv-core/Makefile Fix committed, thanks for reporting. Do you plan to MFH to 2018Q3? This maybe viewed as a regression since 3.x update. |