Source: node-opencv
Version: 6.0.0+git20180416.cfc96ba0-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that node-opencv could not be built reproducibly.

This is because it ships nondeterministic examples that are generated
in the tests and subsequently installed in the binary under a "tmp"
directory.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-03-13 08:41:32.113952961 +0000
--- b/debian/rules      2019-03-13 09:11:37.525328936 +0000
@@ -35,6 +35,9 @@
        rm -rf node_modules
        rm -rf build
 
+override_dh_installexamples:
+       dh_installexamples -Xtmp/
+
 DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
 GIT_URL = https://github.com/peterbraden/node-opencv.git
 get-orig-source:

Reply via email to