Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917121 - media-libs/opencv: please add QR Code Detector support
Summary: media-libs/opencv: please add QR Code Detector support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 13:05 UTC by Michał Górny
Modified: 2024-02-07 12:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 13:05:41 UTC
dev-python/fritzconnection needs "QR Code detector" support in media-libs/opencv for some of its tests.  Could we add it to the package?

FWICS it's currently magically disabled:

Download was disabled during configure phase by ENABLE_DOWNLOAD=OFF
CMake Warning at /var/tmp/portage/media-libs/opencv-4.8.0-r1/work/opencv_contrib-4.8.0/modules/wechat_qrcode/CMakeLists.txt:37 (message):     
  WeChatQRCode: Can't get detect caffemodel file for wechat qrcode.
Comment 1 Paul Zander 2023-11-23 17:45:33 UTC
Could you try if enabling the download USE-flag solves your problem?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-23 18:48:57 UTC
media-libs/opencv[download] Enable download during cmake configure

How is that even supposed to work?  Ebuilds aren't allowed to download anything during this phase.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-10 12:33:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9205edb9922309ecd568b7085fd59726c7d2ca

commit 0e9205edb9922309ecd568b7085fd59726c7d2ca
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-12-08 14:58:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 12:32:37 +0000

    media-libs/opencv: add 4.8.1-r1
    
    Closes: https://bugs.gentoo.org/702258
    Closes: https://bugs.gentoo.org/830294
    Closes: https://bugs.gentoo.org/883375
    Closes: https://bugs.gentoo.org/913740
    Closes: https://bugs.gentoo.org/914922
    Closes: https://bugs.gentoo.org/917121
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opencv/Manifest                         |   7 +
 .../files/opencv-4.8.1-ade-0.1.2a.tar.gz.patch     |  18 +
 .../opencv-4.8.1-drop-python2-detection.patch      |  23 +
 ...ncv-4.8.1-eliminate-lto-compiler-warnings.patch |  36 ++
 .../opencv/files/opencv-4.8.1-libpng16.patch       |  58 ++
 .../opencv/files/opencv-4.8.1-opencv_test.patch    |  18 +
 .../files/opencv-4.8.1-python3_12-support.patch    |  25 +
 .../opencv-4.8.1-use-system-flatbuffers.patch      |  36 ++
 .../files/opencv-4.8.1-use-system-opencl.patch     |  25 +
 ...rib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch |  20 +
 .../opencv/files/opencv_contrib-4.8.1-rgbd.patch   |  15 +
 media-libs/opencv/metadata.xml                     |  34 +-
 media-libs/opencv/opencv-4.8.1-r1.ebuild           | 644 +++++++++++++++++++++
 13 files changed, 945 insertions(+), 14 deletions(-)