File webkitgtk-reproducible.patch of Package webkitgtk
commit 6b37a6348a1d52f45d3c9028f4ed83c7a3922e8b
Author: commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Jul 16 12:51:26 2017 +0000
[GTK] Sort inspector GResource manifest to ensure reproducible builds
https://bugs.webkit.org/show_bug.cgi?id=174540
Patch by Bernhard M. Wiedemann <bwiedemann@suse.de> on 2017-07-16
Reviewed by Michael Catanzaro.
* gtk/generate-inspector-gresource-manifest.py:
(get_filenames): sort list of input files
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/gtk/generate-inspector-gresource-manifest.py b/Tools/gtk/generate-inspector-gresource-manifest.py
index 03060cfa29..ce23b66938 100755
--- a/Tools/gtk/generate-inspector-gresource-manifest.py
+++ b/Tools/gtk/generate-inspector-gresource-manifest.py
@@ -28,7 +28,7 @@ def get_filenames(args):
filenames = []
for pattern in args:
- paths = glob.glob(pattern)
+ paths = sorted(glob.glob(pattern))
for filename in paths:
base_dir_index = filename.rfind(BASE_DIR)
if base_dir_index != -1: