[ros-genlisp] 01/02: Add patch to make message build reproducible
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Mon Jul 11 14:05:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch master
in repository ros-genlisp.
commit c786e16317e21f3fba436fd490a750811d42d347
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Mon Jul 11 15:54:50 2016 +0200
Add patch to make message build reproducible
---
...rt-message-list-to-make-build-reproducible.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/0002-sort-message-list-to-make-build-reproducible.patch b/debian/patches/0002-sort-message-list-to-make-build-reproducible.patch
new file mode 100644
index 0000000..cd0fe30
--- /dev/null
+++ b/debian/patches/0002-sort-message-list-to-make-build-reproducible.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 11 Jul 2016 15:53:40 +0200
+Subject: sort message list to make build reproducible
+
+---
+ src/genlisp/generate.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/genlisp/generate.py b/src/genlisp/generate.py
+index b187127..d1d3ce7 100644
+--- a/src/genlisp/generate.py
++++ b/src/genlisp/generate.py
+@@ -736,7 +736,7 @@ def msg_list(pkg, search_path, ext):
+ files = []
+ for d in dir_list:
+ files.extend([f for f in os.listdir(d) if f.endswith(ext)])
+- return [f[:-len(ext)] for f in files]
++ return sorted([f[:-len(ext)] for f in files])
+
+ def generate_msg_from_spec(msg_context, spec, search_path, output_dir, package):
+ """
diff --git a/debian/patches/series b/debian/patches/series
index e423f74..9e5dce8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Fix-location-of-gen_lisp.py.patch
+0002-sort-message-list-to-make-build-reproducible.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-genlisp.git
More information about the debian-science-commits
mailing list