summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2018-03-24 19:47:21 (GMT)
committerTobias Markmann <tm@ayena.de>2018-05-29 12:47:03 (GMT)
commitf0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3 (patch)
treea8cadb5f82dab9f129c6219067a39a81bb2dc5e9 /Swift
parentccb69544950110bc1d738162ed008444340ee0aa (diff)
downloadswift-f0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3.zip
swift-f0e4635dfda897e1b4ab7ce2f8ebd2e97f1714f3.tar.bz2
Sort input file list
so that the swift-im openSUSE package builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. License: This patch is BSD licensed - see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: Builds on different machines should no longer have differences in Swiften.h Change-Id: I8066a66db83c7d7ff10858196cb72b13af3f6008
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 3cd3228..8ee82e4 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -10,6 +10,8 @@ def generateQRCTheme(dir, prefix) :
#skip the Noto emoji fonts in Windows. No need to package them since they aren't used
if "Noto" in path and not env["PLATFORM"] == "linux" :
continue
+ dirs.sort()
+ files.sort()
for file in files :
filePath = os.path.join(path,file)
result += "<file alias=\"%(alias)s\">%(path)s</file>" % {