Source: kopano-webapp
Version: 3.4.4+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because it encoded the build path in the .js.map files.

(You can probably use -X<item> to also avoid the unwieldy removal
of *debug*.js files too but I didn't do this in this patch.)


Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2018-01-22 21:58:07.337442569 +1100
--- b/debian/rules      2018-01-22 22:33:16.426722269 +1100
@@ -17,7 +17,7 @@
        cp -a $(CURDIR)/deploy $(CURDIR)/debian/tmp/
 
 override_dh_install:
-       dh_install
+       dh_install -X.js.map
        # figure out package version
        echo $(DEB_VERSION) > \
                
$(CURDIR)/debian/kopano-webapp-common/usr/share/kopano-webapp/version

Reply via email to