Project

General

Profile

Freedom Issue #3107

[opencv] Downloads and installs binary blobs

nona - 13 days ago - . Updated 12 days ago.

Status:
unconfirmed
Priority:
freedom issue
Assignee:
-
% Done:

0%


Description

  • steps to reproduce:
    1. Download the PKGBUILD and libre.patch
    2. Run makepkg
  • expected result:
    binary-(blob)-free package and compilation
 parallel 'file {} | grep " data" | grep -v "\(image\|text\|JSON\|gzip\)"' ::: $(find . -type f)

Besides https://github.com/opencv/ade/archive/v0.1.1f.zip is downloaded during compilation.
  • proposed solution
    either rm -fr modules/{aruco,cnn_3dobj,dnns_easily_fooled,wechat_qrcode} or add -DOPENCV_FORCE_3DPARTY_BUILD=ON to configuration options (still testing, will report later)

    regarding the ADE file, add to sources and (sym)link to "${srcdir}"/"${pkgbase}"-"${pkgver}"/.cache/ade/b624b995ec9c439cbc2e9e6ee940d3a2-v0.1.1f.zip


Files

opencv-4.5.3-patches.tar.gz (2.08 KB) opencv-4.5.3-patches.tar.gz 4 patches to de-blob sources nona, 2021-10-07 05:18 PM
PKGBUILD (13.1 KB) PKGBUILD binary examples go in opencv-contrib samples dir nona, 2021-10-07 10:15 PM

History

#1

Updated by nona 13 days ago

#2

Updated by nona 13 days ago

  • File deleted (PKGBUILD)
#3

Updated by nona 13 days ago

  • File PKGBUILD added

I am attaching a PKGBUILD which works in my computer. I still don't know how to use mksource, but should be simple enough to adapt the prepare function.

#4

Updated by nona 12 days ago

  • File deleted (PKGBUILD)
#5

Updated by nona 12 days ago

Also available in: Atom PDF