[openarena-data] 02/07: d/rules: add a comment indicating why we cannot run dh_strip_nondeterminism

Simon McVittie smcv at debian.org
Tue Jun 28 11:51:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository openarena-data.

commit 4e9997dbd1c46745850d9eb0c9f6df0f6c0d957f
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Jun 28 10:12:43 2016 +0100

    d/rules: add a comment indicating why we cannot run dh_strip_nondeterminism
---
 debian/changelog | 4 ++++
 debian/rules     | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8c42a8b..a69a6dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,10 @@ openarena-data (0.8.5split-8) UNRELEASED; urgency=medium
   * Normalize permissions of PK3 archive contents to 0644/0755 to
     fix reproducibility under different umask (Closes: #819965)
 
+  [ Simon McVittie ]
+  * d/rules: add a comment indicating why we cannot run
+    dh_strip_nondeterminism
+
  -- Simon McVittie <smcv at debian.org>  Tue, 28 Jun 2016 09:58:34 +0100
 
 openarena-data (0.8.5split-7) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index ce38cd8..e1a4926 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,12 @@ include /usr/share/dpkg/default.mk
 paks := $(shell cat debian/$(DEB_SOURCE).paks)
 build_date := $(shell dpkg-parsechangelog --show-field=Date)
 
+# We cannot apply dh_strip_nondeterminism to the PK3 files because
+# it would sort the files inside the archive, and the idTech3 engine
+# is sensitive to order: an archive with re-ordered files is not
+# considered network-compatible. The order of files is arbitrary but
+# deterministic, and is chosen to match the arbitrary order that
+# is present in upstream binary releases.
 override_dh_strip_nondeterminism:
 	dh_strip_nondeterminism -X.pk3
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena-data.git



More information about the Pkg-games-commits mailing list