Source: lomiri-content-hub
Version: 2.0.0-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
lomiri-content-hub could not be built reproducibly.

This is because it ships a results.txt report generated by rdfind:

│ │ ├── ./usr/share/doc/lomiri-content-hub/cpp/html/results.txt
│ │ │ │ @@ -1,25 +1,25 @@
│ │ │ │  # Automatically generated
│ │ │ │  # duptype id depth size device inode priority name
│ │ │ │ -DUPTYPE_FIRST_OCCURRENCE 188 1 179 65057 5641205 3 ./search/all_12.js
│ │ │ │ -DUPTYPE_WITHIN_SAME_TREE -188 1 179 65057 5640133 3 
./search/functions_12.js
│ │ │ │ -DUPTYPE_FIRST_OCCURRENCE 196 1 327 65057 5640161 3 ./search/all_8.js
│ │ │ │ -DUPTYPE_WITHIN_SAME_TREE -196 1 327 65057 5640927 3 
./search/functions_8.js
│ │ │ │ -DUPTYPE_FIRST_OCCURRENCE 202 1 538 65057 5640154 3 ./search/all_e.js
│ │ │ │ -DUPTYPE_WITHIN_SAME_TREE -202 1 538 65057 5641199 3 
./search/functions_e.js
│ │ │ │ -DUPTYPE_FIRST_OCCURRENCE 189 1 1236 65057 5640139 3 ./search/all_13.js

A patch is attached that suppresses the creation of these reports.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 56ce3cf..ece0504 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,9 +35,9 @@ endif
 
 override_dh_install:
        rmdir debian/tmp/usr/share/doc/lomiri-content-hub/qml/html/images/
-       cd debian/tmp/usr/share/doc/lomiri-content-hub/cpp/html/ && rdfind 
-makesymlinks true .
+       cd debian/tmp/usr/share/doc/lomiri-content-hub/cpp/html/ && rdfind 
-makesymlinks true -makeresultsfile false .
        cd debian/tmp/usr/share/doc/lomiri-content-hub/cpp/html/ && symlinks 
-rc .
-       cd debian/tmp/usr/share/doc/lomiri-content-hub/qml/html/ && rdfind 
-makesymlinks true .
+       cd debian/tmp/usr/share/doc/lomiri-content-hub/qml/html/ && rdfind 
-makesymlinks true -makeresultsfile false .
        cd debian/tmp/usr/share/doc/lomiri-content-hub/qml/html/ && symlinks 
-rc .
        dh_install
 

Reply via email to