[med-svn] [odil] 01/01: Fix reproducibility
Julien Lamy
lamy-guest at moszumanska.debian.org
Thu May 26 06:33:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamy-guest pushed a commit to branch master
in repository odil.
commit 44bc200d1f9f918dca57e0b6f1351eecd4917d0a
Author: Julien Lamy <lamy at unistra.fr>
Date: Thu May 26 08:33:21 2016 +0200
Fix reproducibility
---
debian/changelog | 6 ++++++
debian/patches/series | 1 +
debian/patches/sort-cmake-filelists.patch | 23 +++++++++++++++++++++++
3 files changed, 30 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8c88844..70ac7e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+odil (0.6.0-2) UNRELEASED; urgency=medium
+
+ * Make build reproducible
+
+ -- Julien Lamy <lamy at unistra.fr> Thu, 26 May 2016 08:32:47 +0200
+
odil (0.6.0-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/patches/series b/debian/patches/series
index eddd26d..8f508cf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
cli-import-path.patch
+sort-cmake-filelists.patch
diff --git a/debian/patches/sort-cmake-filelists.patch b/debian/patches/sort-cmake-filelists.patch
new file mode 100644
index 0000000..ce5a74a
--- /dev/null
+++ b/debian/patches/sort-cmake-filelists.patch
@@ -0,0 +1,23 @@
+Subject: Sort the file lists in CMake
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -6,6 +6,9 @@ find_package(JsonCpp REQUIRED)
+ file(GLOB_RECURSE Header_Files "*.h")
+ file(GLOB_RECURSE Source_Files "*.cpp")
+ file(GLOB_RECURSE templates "*.txx")
++list(SORT Header_Files)
++list(SORT Source_Files)
++list(SORT templates)
+
+ # Regroup files by folder
+ GroupFiles(Header_Files)
+--- a/wrappers/CMakeLists.txt
++++ b/wrappers/CMakeLists.txt
+@@ -8,6 +8,7 @@ include_directories(
+ link_directories(${Boost_LIBRARY_DIRS})
+
+ file(GLOB_RECURSE files "*.cpp")
++list(SORT files)
+ python_add_module(pyodil SHARED ${files})
+ set_target_properties(
+ pyodil PROPERTIES OUTPUT_NAME odil FOLDER "Wrappers")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/odil.git
More information about the debian-med-commit
mailing list