Debian Codegraph @

debian/patches/reproducible/0014-Sort-directory-and-file-names-to-reproducible-build.patch

raw
1 From: YOKOTA Hiroshi <[email protected]>
2 Date: Sat, 1 Oct 2022 15:29:06 +0900
3 Subject: Sort directory and file names to reproducible build
4
5 Forwarded: not-needed
6 ---
7 src/calibre/utils/rcc/__init__.py | 2 ++
8 1 file changed, 2 insertions(+)
9
10 diff --git a/src/calibre/utils/rcc/__init__.py b/src/calibre/utils/rcc/__init__.py
11 index 2836705..66251cf 100644
12 --- a/src/calibre/utils/rcc/__init__.py
13 +++ b/src/calibre/utils/rcc/__init__.py
14 @@ -122,6 +122,8 @@ def compile_icon_dir_as_themes(
15 file('/'.join(dest))
16
17 for dirpath, dirnames, filenames in os.walk(path_to_dir):
18 + dirnames.sort()
19 + filenames.sort()
20 if 'textures' in dirnames:
21 dirnames.remove('textures')
22 if os.path.basename(tdir) in dirnames: