Source: paper-icon-theme
Version: 1.5.0+git20200312.aa3e8af-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
paper-icon-theme could not be built reproducibly.

This is caused by jdupes iterating over its arguments using the
filesystem ordering, instead of using their filenames. A patch is
attached that sorts the input prior to passing it to jdupes (using
find, sort and xargs), but it may be more sensible that jdupes does
this itself. Indeed, the jdupes manpage implies that it should do
this, but I leave this up to your (almost certainly more informed)
judgement.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2022-02-17 17:21:20.786897478 -0800
--- b/debian/rules      2022-02-17 17:40:21.992308727 -0800
@@ -7,4 +7,4 @@
 override_dh_auto_install:
        dh_auto_install
        # Remove duplicate files using softlinks
-       jdupes -lr debian/paper-icon-theme/usr/share/icons
+       find -type f -print0 debian/paper-icon-theme/usr/share/icons | sort -z 
| xargs -0r jdupes -Ol

Reply via email to