Package: node-opencv / 7.0.0+git20200316.f0a03a4b-1

Metadata

Package Version Patches format
node-opencv 7.0.0+git20200316.f0a03a4b-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
async_malloc.patch | (download)

src/OpenCV.cc | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 avoid occasional crash in async call to opencv
0002_patch_unittest.patch | (download)

test/examples.js | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 remove some unit test that are not good to run
 Don't test camera because we don't have camera.
 Don't run unstable tests like detect edges.
0002_port_to_axios_from_request.patch | (download)

examples/face-proxy.js | 23 22 + 1 - 0 !
package.json | 2 1 + 1 - 0 !
2 files changed, 23 insertions(+), 2 deletions(-)

 port from request to axios
 node-request is deprecated. We port the test to node-axios.
0003_port_to_nodejs14.patch | (download)

src/FaceRecognizer.cc | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 src: facerecognizer.cc: fix ftbfs on nodejs 14
 When building on Debian with nodejs 14, we got the following error:
  src/FaceRecognizer.cc:202:74: error: base operand of '->' has
    non-pointer type 'v8::MaybeLocal<v8::Value>'
  src/FaceRecognizer.cc:206:56: error: base operand of '->' has
    non-pointer type 'v8::MaybeLocal<v8::Value>'
  src/FaceRecognizer.cc:207:50: error: could not convert
    '((v8::Object*)valarr.v8::Local<v8::Array>::operator->())->
    v8::Object::Get(Nan::GetCurrentContext(), 1)' from
    'v8::MaybeLocal<v8::Value>' to 'v8::Local<v8::Value>'
 .
 This commit use .ToLocalChecked() to convert v8::MaybeLocal to v8::Local
Bug-Debian: https://bugs.debian.org/1007843