Source: ardour
Version: 1:5.12.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that ardour could not be built reproducibly as it iterates over
a hash in non-deterministic order.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/tools/fmt-bindings b/tools/fmt-bindings
index d2dd1ad..4940b04 100755
--- a/tools/fmt-bindings
+++ b/tools/fmt-bindings
@@ -309,7 +309,7 @@ while (<SOURCE>) {
if ($make_accelmap) {
print "<BindingSet name=\"" . $bindings_name . "\">\n";
- foreach $owner (keys %owner_bindings) {
+ foreach $owner (sort keys %owner_bindings) {
print " <Bindings name=\"$owner\">\n <Press>\n";
$bindings = $owner_bindings{$owner};
shift (@$bindings); # remove initial empty element